|
NAMEPaws::CustomerProfiles::CreateProfile - Arguments for method CreateProfile on Paws::CustomerProfiles DESCRIPTIONThis 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> ATTRIBUTESAccountNumber => StrA unique account number that you have given to the customer. AdditionalInformation => StrAny additional information relevant to the customer’s profile. Address => Paws::CustomerProfiles::AddressA generic address associated with the customer that is not mailing, shipping, or billing. Attributes => Paws::CustomerProfiles::AttributesA key value pair of attributes of a customer profile. BillingAddress => Paws::CustomerProfiles::AddressThe customer’s billing address. BirthDate => StrThe customer’s birth date. BusinessEmailAddress => StrThe customer’s business email address. BusinessName => StrThe name of the customer’s business. BusinessPhoneNumber => StrThe customer’s business phone number. REQUIRED DomainName => StrThe unique name of the domain. EmailAddress => StrThe customer’s email address, which has not been specified as a personal or business address. FirstName => StrThe customer’s first name. Gender => StrThe gender with which the customer identifies. Valid values are: "MALE", "FEMALE", "UNSPECIFIED" HomePhoneNumber => StrThe customer’s home phone number. LastName => StrThe customer’s last name. MailingAddress => Paws::CustomerProfiles::AddressThe customer’s mailing address. MiddleName => StrThe customer’s middle name. MobilePhoneNumber => StrThe customer’s mobile phone number. PartyType => StrThe type of profile used to describe the customer. Valid values are: "INDIVIDUAL", "BUSINESS", "OTHER" PersonalEmailAddress => StrThe customer’s personal email address. PhoneNumber => StrThe customer’s phone number, which has not been specified as a mobile, home, or business number. ShippingAddress => Paws::CustomerProfiles::AddressThe customer’s shipping address. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateProfile in Paws::CustomerProfiles BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|