create_profile
(**kwargs)¶Creates a standard profile.
A standard profile represents the following attributes for a customer profile in a domain.
See also: AWS API Documentation
Request Syntax
response = client.create_profile(
DomainName='string',
AccountNumber='string',
AdditionalInformation='string',
PartyType='INDIVIDUAL'|'BUSINESS'|'OTHER',
BusinessName='string',
FirstName='string',
MiddleName='string',
LastName='string',
BirthDate='string',
Gender='MALE'|'FEMALE'|'UNSPECIFIED',
PhoneNumber='string',
MobilePhoneNumber='string',
HomePhoneNumber='string',
BusinessPhoneNumber='string',
EmailAddress='string',
PersonalEmailAddress='string',
BusinessEmailAddress='string',
Address={
'Address1': 'string',
'Address2': 'string',
'Address3': 'string',
'Address4': 'string',
'City': 'string',
'County': 'string',
'State': 'string',
'Province': 'string',
'Country': 'string',
'PostalCode': 'string'
},
ShippingAddress={
'Address1': 'string',
'Address2': 'string',
'Address3': 'string',
'Address4': 'string',
'City': 'string',
'County': 'string',
'State': 'string',
'Province': 'string',
'Country': 'string',
'PostalCode': 'string'
},
MailingAddress={
'Address1': 'string',
'Address2': 'string',
'Address3': 'string',
'Address4': 'string',
'City': 'string',
'County': 'string',
'State': 'string',
'Province': 'string',
'Country': 'string',
'PostalCode': 'string'
},
BillingAddress={
'Address1': 'string',
'Address2': 'string',
'Address3': 'string',
'Address4': 'string',
'City': 'string',
'County': 'string',
'State': 'string',
'Province': 'string',
'Country': 'string',
'PostalCode': 'string'
},
Attributes={
'string': 'string'
},
PartyTypeString='string',
GenderString='string'
)
[REQUIRED]
The unique name of the domain.
A generic address associated with the customer that is not mailing, shipping, or billing.
The first line of a customer address.
The second line of a customer address.
The third line of a customer address.
The fourth line of a customer address.
The city in which a customer lives.
The county in which a customer lives.
The state in which a customer lives.
The province in which a customer lives.
The country in which a customer lives.
The postal code of a customer address.
The customer’s shipping address.
The first line of a customer address.
The second line of a customer address.
The third line of a customer address.
The fourth line of a customer address.
The city in which a customer lives.
The county in which a customer lives.
The state in which a customer lives.
The province in which a customer lives.
The country in which a customer lives.
The postal code of a customer address.
The customer’s mailing address.
The first line of a customer address.
The second line of a customer address.
The third line of a customer address.
The fourth line of a customer address.
The city in which a customer lives.
The county in which a customer lives.
The state in which a customer lives.
The province in which a customer lives.
The country in which a customer lives.
The postal code of a customer address.
The customer’s billing address.
The first line of a customer address.
The second line of a customer address.
The third line of a customer address.
The fourth line of a customer address.
The city in which a customer lives.
The county in which a customer lives.
The state in which a customer lives.
The province in which a customer lives.
The country in which a customer lives.
The postal code of a customer address.
A key value pair of attributes of a customer profile.
PartyType
which accepts any string as input.Gender
which accepts any string as input.dict
Response Syntax
{
'ProfileId': 'string'
}
Response Structure
(dict) --
ProfileId (string) --
The unique identifier of a customer profile.
Exceptions
CustomerProfiles.Client.exceptions.BadRequestException
CustomerProfiles.Client.exceptions.AccessDeniedException
CustomerProfiles.Client.exceptions.ResourceNotFoundException
CustomerProfiles.Client.exceptions.ThrottlingException
CustomerProfiles.Client.exceptions.InternalServerException