The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

Paws::CustomerProfiles::CreateProfile - Arguments for method CreateProfile on Paws::CustomerProfiles

DESCRIPTION

This class represents the parameters used for calling the method CreateProfile on the Amazon Connect Customer Profiles service. Use the attributes of this class as arguments to method CreateProfile.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateProfile.

SYNOPSIS

my $profile = Paws->service('CustomerProfiles');
my $CreateProfileResponse = $profile->CreateProfile(
DomainName => 'Myname',
AccountNumber => 'Mystring1To255', # OPTIONAL
AdditionalInformation => 'Mystring1To1000', # OPTIONAL
Address => {
Address1 => 'Mystring1To255', # min: 1, max: 255
Address2 => 'Mystring1To255', # min: 1, max: 255
Address3 => 'Mystring1To255', # min: 1, max: 255
Address4 => 'Mystring1To255', # min: 1, max: 255
City => 'Mystring1To255', # min: 1, max: 255
Country => 'Mystring1To255', # min: 1, max: 255
County => 'Mystring1To255', # min: 1, max: 255
PostalCode => 'Mystring1To255', # min: 1, max: 255
Province => 'Mystring1To255', # min: 1, max: 255
State => 'Mystring1To255', # min: 1, max: 255
}, # OPTIONAL
Attributes => {
'Mystring1To255' =>
'Mystring1To255', # key: min: 1, max: 255, value: min: 1, max: 255
}, # OPTIONAL
BillingAddress => {
Address1 => 'Mystring1To255', # min: 1, max: 255
Address2 => 'Mystring1To255', # min: 1, max: 255
Address3 => 'Mystring1To255', # min: 1, max: 255
Address4 => 'Mystring1To255', # min: 1, max: 255
City => 'Mystring1To255', # min: 1, max: 255
Country => 'Mystring1To255', # min: 1, max: 255
County => 'Mystring1To255', # min: 1, max: 255
PostalCode => 'Mystring1To255', # min: 1, max: 255
Province => 'Mystring1To255', # min: 1, max: 255
State => 'Mystring1To255', # min: 1, max: 255
}, # OPTIONAL
BirthDate => 'Mystring1To255', # OPTIONAL
BusinessEmailAddress => 'Mystring1To255', # OPTIONAL
BusinessName => 'Mystring1To255', # OPTIONAL
BusinessPhoneNumber => 'Mystring1To255', # OPTIONAL
EmailAddress => 'Mystring1To255', # OPTIONAL
FirstName => 'Mystring1To255', # OPTIONAL
Gender => 'MALE', # OPTIONAL
HomePhoneNumber => 'Mystring1To255', # OPTIONAL
LastName => 'Mystring1To255', # OPTIONAL
MailingAddress => {
Address1 => 'Mystring1To255', # min: 1, max: 255
Address2 => 'Mystring1To255', # min: 1, max: 255
Address3 => 'Mystring1To255', # min: 1, max: 255
Address4 => 'Mystring1To255', # min: 1, max: 255
City => 'Mystring1To255', # min: 1, max: 255
Country => 'Mystring1To255', # min: 1, max: 255
County => 'Mystring1To255', # min: 1, max: 255
PostalCode => 'Mystring1To255', # min: 1, max: 255
Province => 'Mystring1To255', # min: 1, max: 255
State => 'Mystring1To255', # min: 1, max: 255
}, # OPTIONAL
MiddleName => 'Mystring1To255', # OPTIONAL
MobilePhoneNumber => 'Mystring1To255', # OPTIONAL
PartyType => 'INDIVIDUAL', # OPTIONAL
PersonalEmailAddress => 'Mystring1To255', # OPTIONAL
PhoneNumber => 'Mystring1To255', # OPTIONAL
ShippingAddress => {
Address1 => 'Mystring1To255', # min: 1, max: 255
Address2 => 'Mystring1To255', # min: 1, max: 255
Address3 => 'Mystring1To255', # min: 1, max: 255
Address4 => 'Mystring1To255', # min: 1, max: 255
City => 'Mystring1To255', # min: 1, max: 255
Country => 'Mystring1To255', # min: 1, max: 255
County => 'Mystring1To255', # min: 1, max: 255
PostalCode => 'Mystring1To255', # min: 1, max: 255
Province => 'Mystring1To255', # min: 1, max: 255
State => 'Mystring1To255', # min: 1, max: 255
}, # OPTIONAL
);
# Results:
my $ProfileId = $CreateProfileResponse->ProfileId;
# Returns a L<Paws::CustomerProfiles::CreateProfileResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/profile/CreateProfile

ATTRIBUTES

AccountNumber => Str

A unique account number that you have given to the customer.

AdditionalInformation => Str

Any additional information relevant to the customer’s profile.

Address => Paws::CustomerProfiles::Address

A generic address associated with the customer that is not mailing, shipping, or billing.

Attributes => Paws::CustomerProfiles::Attributes

A key value pair of attributes of a customer profile.

BillingAddress => Paws::CustomerProfiles::Address

The customer’s billing address.

BirthDate => Str

The customer’s birth date.

BusinessEmailAddress => Str

The customer’s business email address.

BusinessName => Str

The name of the customer’s business.

BusinessPhoneNumber => Str

The customer’s business phone number.

REQUIRED DomainName => Str

The unique name of the domain.

EmailAddress => Str

The customer’s email address, which has not been specified as a personal or business address.

FirstName => Str

The customer’s first name.

Gender => Str

The gender with which the customer identifies.

Valid values are: "MALE", "FEMALE", "UNSPECIFIED"

HomePhoneNumber => Str

The customer’s home phone number.

LastName => Str

The customer’s last name.

MailingAddress => Paws::CustomerProfiles::Address

The customer’s mailing address.

MiddleName => Str

The customer’s middle name.

MobilePhoneNumber => Str

The customer’s mobile phone number.

PartyType => Str

The type of profile used to describe the customer.

Valid values are: "INDIVIDUAL", "BUSINESS", "OTHER"

PersonalEmailAddress => Str

The customer’s personal email address.

PhoneNumber => Str

The customer’s phone number, which has not been specified as a mobile, home, or business number.

ShippingAddress => Paws::CustomerProfiles::Address

The customer’s shipping address.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateProfile in Paws::CustomerProfiles

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues