

# Amazon Connect Customer Profiles
<a name="API_Operations_Amazon_Connect_Customer_Profiles"></a>

The following actions are supported by Amazon Connect Customer Profiles:
+  [AddProfileKey](API_connect-customer-profiles_AddProfileKey.md) 
+  [BatchGetCalculatedAttributeForProfile](API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile.md) 
+  [BatchGetProfile](API_connect-customer-profiles_BatchGetProfile.md) 
+  [CreateCalculatedAttributeDefinition](API_connect-customer-profiles_CreateCalculatedAttributeDefinition.md) 
+  [CreateDomain](API_connect-customer-profiles_CreateDomain.md) 
+  [CreateDomainLayout](API_connect-customer-profiles_CreateDomainLayout.md) 
+  [CreateEventStream](API_connect-customer-profiles_CreateEventStream.md) 
+  [CreateEventTrigger](API_connect-customer-profiles_CreateEventTrigger.md) 
+  [CreateIntegrationWorkflow](API_connect-customer-profiles_CreateIntegrationWorkflow.md) 
+  [CreateProfile](API_connect-customer-profiles_CreateProfile.md) 
+  [CreateRecommender](API_connect-customer-profiles_CreateRecommender.md) 
+  [CreateRecommenderFilter](API_connect-customer-profiles_CreateRecommenderFilter.md) 
+  [CreateRecommenderSchema](API_connect-customer-profiles_CreateRecommenderSchema.md) 
+  [CreateSegmentDefinition](API_connect-customer-profiles_CreateSegmentDefinition.md) 
+  [CreateSegmentEstimate](API_connect-customer-profiles_CreateSegmentEstimate.md) 
+  [CreateSegmentSnapshot](API_connect-customer-profiles_CreateSegmentSnapshot.md) 
+  [CreateUploadJob](API_connect-customer-profiles_CreateUploadJob.md) 
+  [DeleteCalculatedAttributeDefinition](API_connect-customer-profiles_DeleteCalculatedAttributeDefinition.md) 
+  [DeleteDomain](API_connect-customer-profiles_DeleteDomain.md) 
+  [DeleteDomainLayout](API_connect-customer-profiles_DeleteDomainLayout.md) 
+  [DeleteDomainObjectType](API_connect-customer-profiles_DeleteDomainObjectType.md) 
+  [DeleteEventStream](API_connect-customer-profiles_DeleteEventStream.md) 
+  [DeleteEventTrigger](API_connect-customer-profiles_DeleteEventTrigger.md) 
+  [DeleteIntegration](API_connect-customer-profiles_DeleteIntegration.md) 
+  [DeleteProfile](API_connect-customer-profiles_DeleteProfile.md) 
+  [DeleteProfileKey](API_connect-customer-profiles_DeleteProfileKey.md) 
+  [DeleteProfileObject](API_connect-customer-profiles_DeleteProfileObject.md) 
+  [DeleteProfileObjectType](API_connect-customer-profiles_DeleteProfileObjectType.md) 
+  [DeleteRecommender](API_connect-customer-profiles_DeleteRecommender.md) 
+  [DeleteRecommenderFilter](API_connect-customer-profiles_DeleteRecommenderFilter.md) 
+  [DeleteRecommenderSchema](API_connect-customer-profiles_DeleteRecommenderSchema.md) 
+  [DeleteSegmentDefinition](API_connect-customer-profiles_DeleteSegmentDefinition.md) 
+  [DeleteWorkflow](API_connect-customer-profiles_DeleteWorkflow.md) 
+  [DetectProfileObjectType](API_connect-customer-profiles_DetectProfileObjectType.md) 
+  [GetAutoMergingPreview](API_connect-customer-profiles_GetAutoMergingPreview.md) 
+  [GetCalculatedAttributeDefinition](API_connect-customer-profiles_GetCalculatedAttributeDefinition.md) 
+  [GetCalculatedAttributeForProfile](API_connect-customer-profiles_GetCalculatedAttributeForProfile.md) 
+  [GetDomain](API_connect-customer-profiles_GetDomain.md) 
+  [GetDomainLayout](API_connect-customer-profiles_GetDomainLayout.md) 
+  [GetDomainObjectType](API_connect-customer-profiles_GetDomainObjectType.md) 
+  [GetEventStream](API_connect-customer-profiles_GetEventStream.md) 
+  [GetEventTrigger](API_connect-customer-profiles_GetEventTrigger.md) 
+  [GetIdentityResolutionJob](API_connect-customer-profiles_GetIdentityResolutionJob.md) 
+  [GetIntegration](API_connect-customer-profiles_GetIntegration.md) 
+  [GetMatches](API_connect-customer-profiles_GetMatches.md) 
+  [GetObjectTypeAttributeStatistics](API_connect-customer-profiles_GetObjectTypeAttributeStatistics.md) 
+  [GetProfileHistoryRecord](API_connect-customer-profiles_GetProfileHistoryRecord.md) 
+  [GetProfileObjectType](API_connect-customer-profiles_GetProfileObjectType.md) 
+  [GetProfileObjectTypeTemplate](API_connect-customer-profiles_GetProfileObjectTypeTemplate.md) 
+  [GetProfileRecommendations](API_connect-customer-profiles_GetProfileRecommendations.md) 
+  [GetRecommender](API_connect-customer-profiles_GetRecommender.md) 
+  [GetRecommenderFilter](API_connect-customer-profiles_GetRecommenderFilter.md) 
+  [GetRecommenderSchema](API_connect-customer-profiles_GetRecommenderSchema.md) 
+  [GetSegmentDefinition](API_connect-customer-profiles_GetSegmentDefinition.md) 
+  [GetSegmentEstimate](API_connect-customer-profiles_GetSegmentEstimate.md) 
+  [GetSegmentMembership](API_connect-customer-profiles_GetSegmentMembership.md) 
+  [GetSegmentSnapshot](API_connect-customer-profiles_GetSegmentSnapshot.md) 
+  [GetSimilarProfiles](API_connect-customer-profiles_GetSimilarProfiles.md) 
+  [GetUploadJob](API_connect-customer-profiles_GetUploadJob.md) 
+  [GetUploadJobPath](API_connect-customer-profiles_GetUploadJobPath.md) 
+  [GetWorkflow](API_connect-customer-profiles_GetWorkflow.md) 
+  [GetWorkflowSteps](API_connect-customer-profiles_GetWorkflowSteps.md) 
+  [ListAccountIntegrations](API_connect-customer-profiles_ListAccountIntegrations.md) 
+  [ListCalculatedAttributeDefinitions](API_connect-customer-profiles_ListCalculatedAttributeDefinitions.md) 
+  [ListCalculatedAttributesForProfile](API_connect-customer-profiles_ListCalculatedAttributesForProfile.md) 
+  [ListDomainLayouts](API_connect-customer-profiles_ListDomainLayouts.md) 
+  [ListDomainObjectTypes](API_connect-customer-profiles_ListDomainObjectTypes.md) 
+  [ListDomains](API_connect-customer-profiles_ListDomains.md) 
+  [ListEventStreams](API_connect-customer-profiles_ListEventStreams.md) 
+  [ListEventTriggers](API_connect-customer-profiles_ListEventTriggers.md) 
+  [ListIdentityResolutionJobs](API_connect-customer-profiles_ListIdentityResolutionJobs.md) 
+  [ListIntegrations](API_connect-customer-profiles_ListIntegrations.md) 
+  [ListObjectTypeAttributes](API_connect-customer-profiles_ListObjectTypeAttributes.md) 
+  [ListObjectTypeAttributeValues](API_connect-customer-profiles_ListObjectTypeAttributeValues.md) 
+  [ListProfileAttributeValues](API_connect-customer-profiles_ListProfileAttributeValues.md) 
+  [ListProfileHistoryRecords](API_connect-customer-profiles_ListProfileHistoryRecords.md) 
+  [ListProfileObjects](API_connect-customer-profiles_ListProfileObjects.md) 
+  [ListProfileObjectTypes](API_connect-customer-profiles_ListProfileObjectTypes.md) 
+  [ListProfileObjectTypeTemplates](API_connect-customer-profiles_ListProfileObjectTypeTemplates.md) 
+  [ListRecommenderFilters](API_connect-customer-profiles_ListRecommenderFilters.md) 
+  [ListRecommenderRecipes](API_connect-customer-profiles_ListRecommenderRecipes.md) 
+  [ListRecommenders](API_connect-customer-profiles_ListRecommenders.md) 
+  [ListRecommenderSchemas](API_connect-customer-profiles_ListRecommenderSchemas.md) 
+  [ListRuleBasedMatches](API_connect-customer-profiles_ListRuleBasedMatches.md) 
+  [ListSegmentDefinitions](API_connect-customer-profiles_ListSegmentDefinitions.md) 
+  [ListTagsForResource](API_connect-customer-profiles_ListTagsForResource.md) 
+  [ListUploadJobs](API_connect-customer-profiles_ListUploadJobs.md) 
+  [ListWorkflows](API_connect-customer-profiles_ListWorkflows.md) 
+  [MergeProfiles](API_connect-customer-profiles_MergeProfiles.md) 
+  [PutDomainObjectType](API_connect-customer-profiles_PutDomainObjectType.md) 
+  [PutIntegration](API_connect-customer-profiles_PutIntegration.md) 
+  [PutProfileObject](API_connect-customer-profiles_PutProfileObject.md) 
+  [PutProfileObjectType](API_connect-customer-profiles_PutProfileObjectType.md) 
+  [SearchProfiles](API_connect-customer-profiles_SearchProfiles.md) 
+  [StartRecommender](API_connect-customer-profiles_StartRecommender.md) 
+  [StartUploadJob](API_connect-customer-profiles_StartUploadJob.md) 
+  [StopRecommender](API_connect-customer-profiles_StopRecommender.md) 
+  [StopUploadJob](API_connect-customer-profiles_StopUploadJob.md) 
+  [TagResource](API_connect-customer-profiles_TagResource.md) 
+  [UntagResource](API_connect-customer-profiles_UntagResource.md) 
+  [UpdateCalculatedAttributeDefinition](API_connect-customer-profiles_UpdateCalculatedAttributeDefinition.md) 
+  [UpdateDomain](API_connect-customer-profiles_UpdateDomain.md) 
+  [UpdateDomainLayout](API_connect-customer-profiles_UpdateDomainLayout.md) 
+  [UpdateEventTrigger](API_connect-customer-profiles_UpdateEventTrigger.md) 
+  [UpdateProfile](API_connect-customer-profiles_UpdateProfile.md) 
+  [UpdateRecommender](API_connect-customer-profiles_UpdateRecommender.md) 

# AddProfileKey
<a name="API_connect-customer-profiles_AddProfileKey"></a>

Associates a new key value with a specific profile, such as a Contact Record ContactId.

A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.

## Request Syntax
<a name="API_connect-customer-profiles_AddProfileKey_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/keys HTTP/1.1
Content-type: application/json

{
   "KeyName": "string",
   "ProfileId": "string",
   "Values": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_AddProfileKey_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_AddProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_AddProfileKey-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_AddProfileKey_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [KeyName](#API_connect-customer-profiles_AddProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_AddProfileKey-request-KeyName"></a>
A searchable identifier of a customer profile. The predefined keys you can use include: \$1account, \$1profileId, \$1assetId, \$1caseId, \$1orderId, \$1fullName, \$1phone, \$1email, \$1ctrContactId, \$1marketoLeadId, \$1salesforceAccountId, \$1salesforceContactId, \$1salesforceAssetId, \$1zendeskUserId, \$1zendeskExternalId, \$1zendeskTicketId, \$1serviceNowSystemId, \$1serviceNowIncidentId, \$1segmentUserId, \$1shopifyCustomerId, \$1shopifyOrderId.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ProfileId](#API_connect-customer-profiles_AddProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_AddProfileKey-request-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

 ** [Values](#API_connect-customer-profiles_AddProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_AddProfileKey-request-Values"></a>
A list of key values.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_AddProfileKey_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "KeyName": "string",
   "Values": [ "string" ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_AddProfileKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [KeyName](#API_connect-customer-profiles_AddProfileKey_ResponseSyntax) **   <a name="connect-connect-customer-profiles_AddProfileKey-response-KeyName"></a>
A searchable identifier of a customer profile.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Values](#API_connect-customer-profiles_AddProfileKey_ResponseSyntax) **   <a name="connect-connect-customer-profiles_AddProfileKey-response-Values"></a>
A list of key values.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_AddProfileKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_AddProfileKey_Examples"></a>

### Example
<a name="API_connect-customer-profiles_AddProfileKey_Example_1"></a>

This example illustrates one usage of AddProfileKey.

#### Sample Request
<a name="API_connect-customer-profiles_AddProfileKey_Example_1_Request"></a>

```
POST /v1/domains/ExampleDomainName/profiles/keys

Content-type: application/json 
{
  "ProfileId": "3991a7d959d248bba82546b2dEXAMPLE",
  "KeyName": "_ctrContactId",
  "Values": ["valueOfTheContactId"]
}
```

#### Sample Response
<a name="API_connect-customer-profiles_AddProfileKey_Example_1_Response"></a>

```
Content-type: application/json
{
   "KeyName": "_ctrContactId",
   "Values": ["valueOfTheContactId"]
}
```

## See Also
<a name="API_connect-customer-profiles_AddProfileKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/AddProfileKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/AddProfileKey) 

# BatchGetCalculatedAttributeForProfile
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile"></a>

Fetch the possible attribute values given the attribute name.

## Request Syntax
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_RequestSyntax"></a>

```
POST /domains/DomainName/calculated-attributes/CalculatedAttributeName/batch-get-for-profiles HTTP/1.1
Content-type: application/json

{
   "ConditionOverrides": { 
      "Range": { 
         "End": number,
         "Start": number,
         "Unit": "string"
      }
   },
   "ProfileIds": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CalculatedAttributeName](#API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_BatchGetCalculatedAttributeForProfile-request-uri-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_BatchGetCalculatedAttributeForProfile-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ConditionOverrides](#API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_BatchGetCalculatedAttributeForProfile-request-ConditionOverrides"></a>
Overrides the condition block within the original calculated attribute definition.  
Type: [ConditionOverrides](API_connect-customer-profiles_ConditionOverrides.md) object  
Required: No

 ** [ProfileIds](#API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_BatchGetCalculatedAttributeForProfile-request-ProfileIds"></a>
List of unique identifiers for customer profiles to retrieve.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 100 items.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CalculatedAttributeValues": [ 
      { 
         "CalculatedAttributeName": "string",
         "DisplayName": "string",
         "IsDataPartial": "string",
         "LastObjectTimestamp": number,
         "ProfileId": "string",
         "Value": "string"
      }
   ],
   "ConditionOverrides": { 
      "Range": { 
         "End": number,
         "Start": number,
         "Unit": "string"
      }
   },
   "Errors": [ 
      { 
         "Code": "string",
         "Message": "string",
         "ProfileId": "string"
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CalculatedAttributeValues](#API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_BatchGetCalculatedAttributeForProfile-response-CalculatedAttributeValues"></a>
List of calculated attribute values retrieved.  
Type: Array of [CalculatedAttributeValue](API_connect-customer-profiles_CalculatedAttributeValue.md) objects

 ** [ConditionOverrides](#API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_BatchGetCalculatedAttributeForProfile-response-ConditionOverrides"></a>
Overrides the condition block within the original calculated attribute definition.  
Type: [ConditionOverrides](API_connect-customer-profiles_ConditionOverrides.md) object

 ** [Errors](#API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_BatchGetCalculatedAttributeForProfile-response-Errors"></a>
List of errors for calculated attribute values that could not be retrieved.  
Type: Array of [BatchGetCalculatedAttributeForProfileError](API_connect-customer-profiles_BatchGetCalculatedAttributeForProfileError.md) objects

## Errors
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_BatchGetCalculatedAttributeForProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/BatchGetCalculatedAttributeForProfile) 

# BatchGetProfile
<a name="API_connect-customer-profiles_BatchGetProfile"></a>

Get a batch of profiles.

## Request Syntax
<a name="API_connect-customer-profiles_BatchGetProfile_RequestSyntax"></a>

```
POST /domains/DomainName/batch-get-profiles HTTP/1.1
Content-type: application/json

{
   "ProfileIds": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_BatchGetProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_BatchGetProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_BatchGetProfile-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_BatchGetProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ProfileIds](#API_connect-customer-profiles_BatchGetProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_BatchGetProfile-request-ProfileIds"></a>
List of unique identifiers for customer profiles to retrieve.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 20 items.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_BatchGetProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Errors": [ 
      { 
         "Code": "string",
         "Message": "string",
         "ProfileId": "string"
      }
   ],
   "Profiles": [ 
      { 
         "AccountNumber": "string",
         "AdditionalInformation": "string",
         "Address": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         },
         "Attributes": { 
            "string" : "string" 
         },
         "BillingAddress": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         },
         "BirthDate": "string",
         "BusinessEmailAddress": "string",
         "BusinessName": "string",
         "BusinessPhoneNumber": "string",
         "EmailAddress": "string",
         "EngagementPreferences": { 
            "Email": [ 
               { 
                  "ContactType": "string",
                  "KeyName": "string",
                  "KeyValue": "string",
                  "ProfileId": "string"
               }
            ],
            "Phone": [ 
               { 
                  "ContactType": "string",
                  "KeyName": "string",
                  "KeyValue": "string",
                  "ProfileId": "string"
               }
            ]
         },
         "FirstName": "string",
         "FoundByItems": [ 
            { 
               "KeyName": "string",
               "Values": [ "string" ]
            }
         ],
         "Gender": "string",
         "GenderString": "string",
         "HomePhoneNumber": "string",
         "LastName": "string",
         "MailingAddress": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         },
         "MiddleName": "string",
         "MobilePhoneNumber": "string",
         "PartyType": "string",
         "PartyTypeString": "string",
         "PersonalEmailAddress": "string",
         "PhoneNumber": "string",
         "ProfileId": "string",
         "ProfileType": "string",
         "ShippingAddress": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         }
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_BatchGetProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Errors](#API_connect-customer-profiles_BatchGetProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_BatchGetProfile-response-Errors"></a>
For information about the errors that are common to all actions, see [Common Errors](https://docs.aws.amazon.com/connect/latest/APIReference/CommonErrors.html).  
Type: Array of [BatchGetProfileError](API_connect-customer-profiles_BatchGetProfileError.md) objects

 ** [Profiles](#API_connect-customer-profiles_BatchGetProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_BatchGetProfile-response-Profiles"></a>
Array of Profile Objects.  
Type: Array of [Profile](API_connect-customer-profiles_Profile.md) objects

## Errors
<a name="API_connect-customer-profiles_BatchGetProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_BatchGetProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/BatchGetProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/BatchGetProfile) 

# CreateCalculatedAttributeDefinition
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition"></a>

Creates a new calculated attribute definition. After creation, new object data ingested into Customer Profiles will be included in the calculated attribute, which can be retrieved for a profile using the [GetCalculatedAttributeForProfile](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetCalculatedAttributeForProfile.html) API. Defining a calculated attribute makes it available for all profiles within a domain. Each calculated attribute can only reference one `ObjectType` and at most, two fields from that `ObjectType`.

## Request Syntax
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax"></a>

```
POST /domains/DomainName/calculated-attributes/CalculatedAttributeName HTTP/1.1
Content-type: application/json

{
   "AttributeDetails": { 
      "Attributes": [ 
         { 
            "Name": "string"
         }
      ],
      "Expression": "string"
   },
   "Conditions": { 
      "ObjectCount": number,
      "Range": { 
         "TimestampFormat": "string",
         "TimestampSource": "string",
         "Unit": "string",
         "Value": number,
         "ValueRange": { 
            "End": number,
            "Start": number
         }
      },
      "Threshold": { 
         "Operator": "string",
         "Value": "string"
      }
   },
   "Description": "string",
   "DisplayName": "string",
   "Filter": { 
      "Groups": [ 
         { 
            "Dimensions": [ 
               { 
                  "Attributes": { 
                     "string" : { 
                        "DimensionType": "string",
                        "Values": [ "string" ]
                     }
                  }
               }
            ],
            "Type": "string"
         }
      ],
      "Include": "string"
   },
   "Statistic": "string",
   "Tags": { 
      "string" : "string" 
   },
   "UseHistoricalData": boolean
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CalculatedAttributeName](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-uri-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [AttributeDetails](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-AttributeDetails"></a>
Mathematical expression and a list of attribute items specified in that expression.  
Type: [AttributeDetails](API_connect-customer-profiles_AttributeDetails.md) object  
Required: Yes

 ** [Conditions](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-Conditions"></a>
The conditions including range, object count, and threshold for the calculated attribute.  
Type: [Conditions](API_connect-customer-profiles_Conditions.md) object  
Required: No

 ** [Description](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-Description"></a>
The description of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [DisplayName](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-DisplayName"></a>
The display name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$`   
Required: No

 ** [Filter](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-Filter"></a>
Defines how to filter incoming objects to include part of the Calculated Attribute.  
Type: [Filter](API_connect-customer-profiles_Filter.md) object  
Required: No

 ** [Statistic](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-Statistic"></a>
The aggregation operation to perform for the calculated attribute.  
Type: String  
Valid Values: `FIRST_OCCURRENCE | LAST_OCCURRENCE | COUNT | SUM | MINIMUM | MAXIMUM | AVERAGE | MAX_OCCURRENCE`   
Required: Yes

 ** [Tags](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

 ** [UseHistoricalData](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-request-UseHistoricalData"></a>
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.  
Type: Boolean  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "AttributeDetails": { 
      "Attributes": [ 
         { 
            "Name": "string"
         }
      ],
      "Expression": "string"
   },
   "CalculatedAttributeName": "string",
   "Conditions": { 
      "ObjectCount": number,
      "Range": { 
         "TimestampFormat": "string",
         "TimestampSource": "string",
         "Unit": "string",
         "Value": number,
         "ValueRange": { 
            "End": number,
            "Start": number
         }
      },
      "Threshold": { 
         "Operator": "string",
         "Value": "string"
      }
   },
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "Filter": { 
      "Groups": [ 
         { 
            "Dimensions": [ 
               { 
                  "Attributes": { 
                     "string" : { 
                        "DimensionType": "string",
                        "Values": [ "string" ]
                     }
                  }
               }
            ],
            "Type": "string"
         }
      ],
      "Include": "string"
   },
   "LastUpdatedAt": number,
   "Readiness": { 
      "Message": "string",
      "ProgressPercentage": number
   },
   "Statistic": "string",
   "Status": "string",
   "Tags": { 
      "string" : "string" 
   },
   "UseHistoricalData": boolean
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AttributeDetails](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-AttributeDetails"></a>
Mathematical expression and a list of attribute items specified in that expression.  
Type: [AttributeDetails](API_connect-customer-profiles_AttributeDetails.md) object

 ** [CalculatedAttributeName](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [Conditions](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-Conditions"></a>
The conditions including range, object count, and threshold for the calculated attribute.  
Type: [Conditions](API_connect-customer-profiles_Conditions.md) object

 ** [CreatedAt](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-CreatedAt"></a>
The timestamp of when the calculated attribute definition was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-Description"></a>
The description of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [DisplayName](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-DisplayName"></a>
The display name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$` 

 ** [Filter](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-Filter"></a>
The filter that was used as part of the request.  
Type: [Filter](API_connect-customer-profiles_Filter.md) object

 ** [LastUpdatedAt](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-LastUpdatedAt"></a>
The timestamp of when the calculated attribute definition was most recently edited.  
Type: Timestamp

 ** [Readiness](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-Readiness"></a>
Information indicating if the Calculated Attribute is ready for use by confirming all historical data has been processed and reflected.  
Type: [Readiness](API_connect-customer-profiles_Readiness.md) object

 ** [Statistic](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-Statistic"></a>
The aggregation operation to perform for the calculated attribute.  
Type: String  
Valid Values: `FIRST_OCCURRENCE | LAST_OCCURRENCE | COUNT | SUM | MINIMUM | MAXIMUM | AVERAGE | MAX_OCCURRENCE` 

 ** [Status](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-Status"></a>
Status of the Calculated Attribute creation (whether all historical data has been indexed.)  
Type: String  
Valid Values: `PREPARING | IN_PROGRESS | COMPLETED | FAILED` 

 ** [Tags](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [UseHistoricalData](#API_connect-customer-profiles_CreateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateCalculatedAttributeDefinition-response-UseHistoricalData"></a>
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.  
Type: Boolean

## Errors
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateCalculatedAttributeDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition) 

# CreateDomain
<a name="API_connect-customer-profiles_CreateDomain"></a>

Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations.

Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.

Use this API or [UpdateDomain](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html) to enable [identity resolution](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html): set `Matching` to true.

To prevent cross-service impersonation when you call this API, see [Cross-service confused deputy prevention](https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html) for sample policies that you should apply. 

**Note**  
It is not possible to associate a Customer Profiles domain with an Amazon Connect Instance directly from the API. If you would like to create a domain and associate a Customer Profiles domain, use the Amazon Connect admin website. For more information, see [Enable Customer Profiles](https://docs.aws.amazon.com/connect/latest/adminguide/enable-customer-profiles.html#enable-customer-profiles-step1).  
Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.

## Request Syntax
<a name="API_connect-customer-profiles_CreateDomain_RequestSyntax"></a>

```
POST /domains/DomainName HTTP/1.1
Content-type: application/json

{
   "DataStore": { 
      "Enabled": boolean
   },
   "DeadLetterQueueUrl": "string",
   "DefaultEncryptionKey": "string",
   "DefaultExpirationDays": number,
   "Matching": { 
      "AutoMerging": { 
         "ConflictResolution": { 
            "ConflictResolvingModel": "string",
            "SourceName": "string"
         },
         "Consolidation": { 
            "MatchingAttributesList": [ 
               [ "string" ]
            ]
         },
         "Enabled": boolean,
         "MinAllowedConfidenceScoreForMerging": number
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "JobSchedule": { 
         "DayOfTheWeek": "string",
         "Time": "string"
      }
   },
   "RuleBasedMatching": { 
      "AttributeTypesSelector": { 
         "Address": [ "string" ],
         "AttributeMatchingModel": "string",
         "EmailAddress": [ "string" ],
         "PhoneNumber": [ "string" ]
      },
      "ConflictResolution": { 
         "ConflictResolvingModel": "string",
         "SourceName": "string"
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "MatchingRules": [ 
         { 
            "Rule": [ "string" ]
         }
      ],
      "MaxAllowedRuleLevelForMatching": number,
      "MaxAllowedRuleLevelForMerging": number
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateDomain_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateDomain_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [DataStore](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-DataStore"></a>
Set to true to enabled data store for this domain.  
Type: [DataStoreRequest](API_connect-customer-profiles_DataStoreRequest.md) object  
Required: No

 ** [DeadLetterQueueUrl](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-DeadLetterQueueUrl"></a>
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [DefaultEncryptionKey](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-DefaultEncryptionKey"></a>
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [DefaultExpirationDays](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-DefaultExpirationDays"></a>
The default number of days until the data within the domain expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.  
Required: Yes

 ** [Matching](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-Matching"></a>
The process of matching duplicate profiles. If `Matching` = `true`, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.   
After the Identity Resolution Job completes, use the [GetMatches](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) API to return and review the results. Or, if you have configured `ExportingConfig` in the `MatchingRequest`, you can download the results from S3.  
Type: [MatchingRequest](API_connect-customer-profiles_MatchingRequest.md) object  
Required: No

 ** [RuleBasedMatching](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-RuleBasedMatching"></a>
The process of matching duplicate profiles using the Rule-Based matching. If `RuleBasedMatching` = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the `RuleBasedMatchingRequest`. You can use the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return and review the results. Also, if you have configured `ExportingConfig` in the `RuleBasedMatchingRequest`, you can download the results from S3.  
Type: [RuleBasedMatchingRequest](API_connect-customer-profiles_RuleBasedMatchingRequest.md) object  
Required: No

 ** [Tags](#API_connect-customer-profiles_CreateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateDomain_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "DataStore": { 
      "Enabled": boolean,
      "Readiness": { 
         "Message": "string",
         "ProgressPercentage": number
      }
   },
   "DeadLetterQueueUrl": "string",
   "DefaultEncryptionKey": "string",
   "DefaultExpirationDays": number,
   "DomainName": "string",
   "LastUpdatedAt": number,
   "Matching": { 
      "AutoMerging": { 
         "ConflictResolution": { 
            "ConflictResolvingModel": "string",
            "SourceName": "string"
         },
         "Consolidation": { 
            "MatchingAttributesList": [ 
               [ "string" ]
            ]
         },
         "Enabled": boolean,
         "MinAllowedConfidenceScoreForMerging": number
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "JobSchedule": { 
         "DayOfTheWeek": "string",
         "Time": "string"
      }
   },
   "RuleBasedMatching": { 
      "AttributeTypesSelector": { 
         "Address": [ "string" ],
         "AttributeMatchingModel": "string",
         "EmailAddress": [ "string" ],
         "PhoneNumber": [ "string" ]
      },
      "ConflictResolution": { 
         "ConflictResolvingModel": "string",
         "SourceName": "string"
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "MatchingRules": [ 
         { 
            "Rule": [ "string" ]
         }
      ],
      "MaxAllowedRuleLevelForMatching": number,
      "MaxAllowedRuleLevelForMerging": number,
      "Status": "string"
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateDomain_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-CreatedAt"></a>
The timestamp of when the domain was created.  
Type: Timestamp

 ** [DataStore](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-DataStore"></a>
The data store.  
Type: [DataStoreResponse](API_connect-customer-profiles_DataStoreResponse.md) object

 ** [DeadLetterQueueUrl](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-DeadLetterQueueUrl"></a>
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [DefaultEncryptionKey](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-DefaultEncryptionKey"></a>
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [DefaultExpirationDays](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-DefaultExpirationDays"></a>
The default number of days until the data within the domain expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.

 ** [DomainName](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-LastUpdatedAt"></a>
The timestamp of when the domain was most recently edited.  
Type: Timestamp

 ** [Matching](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-Matching"></a>
The process of matching duplicate profiles. If `Matching` = `true`, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.   
After the Identity Resolution Job completes, use the [GetMatches](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) API to return and review the results. Or, if you have configured `ExportingConfig` in the `MatchingRequest`, you can download the results from S3.  
Type: [MatchingResponse](API_connect-customer-profiles_MatchingResponse.md) object

 ** [RuleBasedMatching](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-RuleBasedMatching"></a>
The process of matching duplicate profiles using the Rule-Based matching. If `RuleBasedMatching` = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the `RuleBasedMatchingRequest`. You can use the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return and review the results. Also, if you have configured `ExportingConfig` in the `RuleBasedMatchingRequest`, you can download the results from S3.  
Type: [RuleBasedMatchingResponse](API_connect-customer-profiles_RuleBasedMatchingResponse.md) object

 ** [Tags](#API_connect-customer-profiles_CreateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomain-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_CreateDomain_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_CreateDomain_Examples"></a>

### Example
<a name="API_connect-customer-profiles_CreateDomain_Example_1"></a>

This example illustrates one usage of CreateDomain.

#### Sample Request
<a name="API_connect-customer-profiles_CreateDomain_Example_1_Request"></a>

```
POST /v1/domains/ExampleDomainName 
Content-type: application/json 
{ 
   "DeadLetterQueueUrl": "arn:aws:sqs:us-east-1:123456789012:DLQName", 
   "DefaultEncryptionKey": "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE", 
   "DefaultExpirationDays": 1098,
   "DomainName":"ExampleDomainName" 
}
```

#### Sample Response
<a name="API_connect-customer-profiles_CreateDomain_Example_1_Response"></a>

```
Content-type: application/json 
{ 
   "DeadLetterQueueUrl": "arn:aws:sqs:us-east-1:123456789012:DLQName", 
   "CreatedAt": 1479249799770, 
   "DefaultEncryptionKey":"arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE", 
   "DefaultExpirationDays": 1098,   
   "LastUpdatedAt":1479249799770, 
   "DomainName": "ExampleDomainName"
}
```

## See Also
<a name="API_connect-customer-profiles_CreateDomain_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateDomain) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateDomain) 

# CreateDomainLayout
<a name="API_connect-customer-profiles_CreateDomainLayout"></a>

Creates the layout to view data for a specific domain. This API can only be invoked from the Amazon Connect admin website.

## Request Syntax
<a name="API_connect-customer-profiles_CreateDomainLayout_RequestSyntax"></a>

```
POST /domains/DomainName/layouts/LayoutDefinitionName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "DisplayName": "string",
   "IsDefault": boolean,
   "Layout": "string",
   "LayoutType": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateDomainLayout_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [LayoutDefinitionName](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-uri-LayoutDefinitionName"></a>
The unique name of the layout.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateDomainLayout_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-Description"></a>
The description of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: Yes

 ** [DisplayName](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-DisplayName"></a>
The display name of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$`   
Required: Yes

 ** [IsDefault](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-IsDefault"></a>
If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.  
Type: Boolean  
Required: No

 ** [Layout](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-Layout"></a>
A customizable layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000000.  
Required: Yes

 ** [LayoutType](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-LayoutType"></a>
The type of layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Valid Values: `PROFILE_EXPLORER`   
Required: Yes

 ** [Tags](#API_connect-customer-profiles_CreateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "IsDefault": boolean,
   "LastUpdatedAt": number,
   "Layout": "string",
   "LayoutDefinitionName": "string",
   "LayoutType": "string",
   "Tags": { 
      "string" : "string" 
   },
   "Version": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateDomainLayout_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-CreatedAt"></a>
The timestamp of when the layout was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-Description"></a>
The description of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [DisplayName](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-DisplayName"></a>
The display name of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$` 

 ** [IsDefault](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-IsDefault"></a>
If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.  
Type: Boolean

 ** [LastUpdatedAt](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-LastUpdatedAt"></a>
The timestamp of when the layout was most recently updated.  
Type: Timestamp

 ** [Layout](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-Layout"></a>
A customizable layout that can be used to view data under Customer Profiles domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000000.

 ** [LayoutDefinitionName](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-LayoutDefinitionName"></a>
The unique name of the layout.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LayoutType](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-LayoutType"></a>
The type of layout that can be used to view data under customer profiles domain.  
Type: String  
Valid Values: `PROFILE_EXPLORER` 

 ** [Tags](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [Version](#API_connect-customer-profiles_CreateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateDomainLayout-response-Version"></a>
The version used to create layout.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_CreateDomainLayout_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateDomainLayout_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateDomainLayout) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateDomainLayout) 

# CreateEventStream
<a name="API_connect-customer-profiles_CreateEventStream"></a>

Creates an event stream, which is a subscription to real-time events, such as when profiles are created and updated through Amazon Connect Customer Profiles.

Each event stream can be associated with only one Kinesis Data Stream destination in the same region and AWS account as the customer profiles domain

## Request Syntax
<a name="API_connect-customer-profiles_CreateEventStream_RequestSyntax"></a>

```
POST /domains/DomainName/event-streams/EventStreamName HTTP/1.1
Content-type: application/json

{
   "Tags": { 
      "string" : "string" 
   },
   "Uri": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateEventStream_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventStream-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EventStreamName](#API_connect-customer-profiles_CreateEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventStream-request-uri-EventStreamName"></a>
The name of the event stream.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateEventStream_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Tags](#API_connect-customer-profiles_CreateEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventStream-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

 ** [Uri](#API_connect-customer-profiles_CreateEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventStream-request-Uri"></a>
The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_CreateEventStream_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "EventStreamArn": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateEventStream_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [EventStreamArn](#API_connect-customer-profiles_CreateEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventStream-response-EventStreamArn"></a>
A unique identifier for the event stream.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [Tags](#API_connect-customer-profiles_CreateEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventStream-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_CreateEventStream_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateEventStream_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateEventStream) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateEventStream) 

# CreateEventTrigger
<a name="API_connect-customer-profiles_CreateEventTrigger"></a>

Creates an event trigger, which specifies the rules when to perform action based on customer's ingested data.

Each event stream can be associated with only one integration in the same region and AWS account as the event stream. 

## Request Syntax
<a name="API_connect-customer-profiles_CreateEventTrigger_RequestSyntax"></a>

```
POST /domains/DomainName/event-triggers/EventTriggerName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "EventTriggerConditions": [ 
      { 
         "EventTriggerDimensions": [ 
            { 
               "ObjectAttributes": [ 
                  { 
                     "ComparisonOperator": "string",
                     "FieldName": "string",
                     "Source": "string",
                     "Values": [ "string" ]
                  }
               ]
            }
         ],
         "LogicalOperator": "string"
      }
   ],
   "EventTriggerLimits": { 
      "EventExpiration": number,
      "Periods": [ 
         { 
            "MaxInvocationsPerProfile": number,
            "Unit": "string",
            "Unlimited": boolean,
            "Value": number
         }
      ]
   },
   "ObjectTypeName": "string",
   "SegmentFilter": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateEventTrigger_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EventTriggerName](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-uri-EventTriggerName"></a>
The unique name of the event trigger.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateEventTrigger_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-Description"></a>
The description of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [EventTriggerConditions](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-EventTriggerConditions"></a>
A list of conditions that determine when an event should trigger the destination.  
Type: Array of [EventTriggerCondition](API_connect-customer-profiles_EventTriggerCondition.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Required: Yes

 ** [EventTriggerLimits](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-EventTriggerLimits"></a>
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.  
Type: [EventTriggerLimits](API_connect-customer-profiles_EventTriggerLimits.md) object  
Required: No

 ** [ObjectTypeName](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-ObjectTypeName"></a>
The unique name of the object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [SegmentFilter](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-SegmentFilter"></a>
The destination is triggered only for profiles that meet the criteria of a segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

 ** [Tags](#API_connect-customer-profiles_CreateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-request-Tags"></a>
An array of key-value pairs to apply to this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "EventTriggerConditions": [ 
      { 
         "EventTriggerDimensions": [ 
            { 
               "ObjectAttributes": [ 
                  { 
                     "ComparisonOperator": "string",
                     "FieldName": "string",
                     "Source": "string",
                     "Values": [ "string" ]
                  }
               ]
            }
         ],
         "LogicalOperator": "string"
      }
   ],
   "EventTriggerLimits": { 
      "EventExpiration": number,
      "Periods": [ 
         { 
            "MaxInvocationsPerProfile": number,
            "Unit": "string",
            "Unlimited": boolean,
            "Value": number
         }
      ]
   },
   "EventTriggerName": "string",
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "SegmentFilter": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateEventTrigger_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-CreatedAt"></a>
The timestamp of when the event trigger was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-Description"></a>
The description of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [EventTriggerConditions](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-EventTriggerConditions"></a>
A list of conditions that determine when an event should trigger the destination.  
Type: Array of [EventTriggerCondition](API_connect-customer-profiles_EventTriggerCondition.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 5 items.

 ** [EventTriggerLimits](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-EventTriggerLimits"></a>
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.  
Type: [EventTriggerLimits](API_connect-customer-profiles_EventTriggerLimits.md) object

 ** [EventTriggerName](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-EventTriggerName"></a>
The unique name of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-LastUpdatedAt"></a>
The timestamp of when the event trigger was most recently updated.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-ObjectTypeName"></a>
The unique name of the object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [SegmentFilter](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-SegmentFilter"></a>
The destination is triggered only for profiles that meet the criteria of a segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Tags](#API_connect-customer-profiles_CreateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateEventTrigger-response-Tags"></a>
An array of key-value pairs to apply to this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_CreateEventTrigger_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateEventTrigger_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateEventTrigger) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateEventTrigger) 

# CreateIntegrationWorkflow
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow"></a>

 Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo. 

## Request Syntax
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow_RequestSyntax"></a>

```
POST /domains/DomainName/workflows/integrations HTTP/1.1
Content-type: application/json

{
   "IntegrationConfig": { 
      "AppflowIntegration": { 
         "Batches": [ 
            { 
               "EndTime": number,
               "StartTime": number
            }
         ],
         "FlowDefinition": { 
            "Description": "string",
            "FlowName": "string",
            "KmsArn": "string",
            "SourceFlowConfig": { 
               "ConnectorProfileName": "string",
               "ConnectorType": "string",
               "IncrementalPullConfig": { 
                  "DatetimeTypeFieldName": "string"
               },
               "SourceConnectorProperties": { 
                  "Marketo": { 
                     "Object": "string"
                  },
                  "S3": { 
                     "BucketName": "string",
                     "BucketPrefix": "string"
                  },
                  "Salesforce": { 
                     "EnableDynamicFieldUpdate": boolean,
                     "IncludeDeletedRecords": boolean,
                     "Object": "string"
                  },
                  "ServiceNow": { 
                     "Object": "string"
                  },
                  "Zendesk": { 
                     "Object": "string"
                  }
               }
            },
            "Tasks": [ 
               { 
                  "ConnectorOperator": { 
                     "Marketo": "string",
                     "S3": "string",
                     "Salesforce": "string",
                     "ServiceNow": "string",
                     "Zendesk": "string"
                  },
                  "DestinationField": "string",
                  "SourceFields": [ "string" ],
                  "TaskProperties": { 
                     "string" : "string" 
                  },
                  "TaskType": "string"
               }
            ],
            "TriggerConfig": { 
               "TriggerProperties": { 
                  "Scheduled": { 
                     "DataPullMode": "string",
                     "FirstExecutionFrom": number,
                     "ScheduleEndTime": number,
                     "ScheduleExpression": "string",
                     "ScheduleOffset": number,
                     "ScheduleStartTime": number,
                     "Timezone": "string"
                  }
               },
               "TriggerType": "string"
            }
         }
      }
   },
   "ObjectTypeName": "string",
   "RoleArn": "string",
   "Tags": { 
      "string" : "string" 
   },
   "WorkflowType": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateIntegrationWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [IntegrationConfig](#API_connect-customer-profiles_CreateIntegrationWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-request-IntegrationConfig"></a>
Configuration data for integration workflow.  
Type: [IntegrationConfig](API_connect-customer-profiles_IntegrationConfig.md) object  
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_CreateIntegrationWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-request-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [RoleArn](#API_connect-customer-profiles_CreateIntegrationWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-request-RoleArn"></a>
The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.  
Type: String  
Length Constraints: Maximum length of 512.  
Pattern: `arn:aws:iam:.*:[0-9]+:.*`   
Required: Yes

 ** [Tags](#API_connect-customer-profiles_CreateIntegrationWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

 ** [WorkflowType](#API_connect-customer-profiles_CreateIntegrationWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-request-WorkflowType"></a>
The type of workflow. The only supported value is APPFLOW\$1INTEGRATION.  
Type: String  
Valid Values: `APPFLOW_INTEGRATION`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string",
   "WorkflowId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_CreateIntegrationWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-response-Message"></a>
A message indicating create request was received.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [WorkflowId](#API_connect-customer-profiles_CreateIntegrationWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateIntegrationWorkflow-response-WorkflowId"></a>
Unique identifier for the workflow.  
Type: String  
Pattern: `[a-f0-9]{32}` 

## Errors
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateIntegrationWorkflow_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateIntegrationWorkflow) 

# CreateProfile
<a name="API_connect-customer-profiles_CreateProfile"></a>

Creates a standard profile.

A standard profile represents the following attributes for a customer profile in a domain.

## Request Syntax
<a name="API_connect-customer-profiles_CreateProfile_RequestSyntax"></a>

```
POST /domains/DomainName/profiles HTTP/1.1
Content-type: application/json

{
   "AccountNumber": "string",
   "AdditionalInformation": "string",
   "Address": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   },
   "Attributes": { 
      "string" : "string" 
   },
   "BillingAddress": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   },
   "BirthDate": "string",
   "BusinessEmailAddress": "string",
   "BusinessName": "string",
   "BusinessPhoneNumber": "string",
   "EmailAddress": "string",
   "EngagementPreferences": { 
      "Email": [ 
         { 
            "ContactType": "string",
            "KeyName": "string",
            "KeyValue": "string",
            "ProfileId": "string"
         }
      ],
      "Phone": [ 
         { 
            "ContactType": "string",
            "KeyName": "string",
            "KeyValue": "string",
            "ProfileId": "string"
         }
      ]
   },
   "FirstName": "string",
   "Gender": "string",
   "GenderString": "string",
   "HomePhoneNumber": "string",
   "LastName": "string",
   "MailingAddress": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   },
   "MiddleName": "string",
   "MobilePhoneNumber": "string",
   "PartyType": "string",
   "PartyTypeString": "string",
   "PersonalEmailAddress": "string",
   "PhoneNumber": "string",
   "ProfileType": "string",
   "ShippingAddress": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [AccountNumber](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-AccountNumber"></a>
An account number that you have assigned to the customer.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [AdditionalInformation](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-AdditionalInformation"></a>
Any additional information relevant to the customer’s profile.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [Address](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-Address"></a>
A generic address associated with the customer that is not mailing, shipping, or billing.  
Type: [Address](API_connect-customer-profiles_Address.md) object  
Required: No

 ** [Attributes](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-Attributes"></a>
A key value pair of attributes of a customer profile.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [BillingAddress](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-BillingAddress"></a>
The customer’s billing address.  
Type: [Address](API_connect-customer-profiles_Address.md) object  
Required: No

 ** [BirthDate](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-BirthDate"></a>
The customer’s birth date.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [BusinessEmailAddress](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-BusinessEmailAddress"></a>
The customer’s business email address.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [BusinessName](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-BusinessName"></a>
The name of the customer’s business.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [BusinessPhoneNumber](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-BusinessPhoneNumber"></a>
The customer’s business phone number.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [EmailAddress](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-EmailAddress"></a>
The customer’s email address, which has not been specified as a personal or business address.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [EngagementPreferences](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-EngagementPreferences"></a>
Object that defines the preferred methods of engagement, per channel.  
Type: [EngagementPreferences](API_connect-customer-profiles_EngagementPreferences.md) object  
Required: No

 ** [FirstName](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-FirstName"></a>
The customer’s first name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [Gender](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-Gender"></a>
 *This parameter has been deprecated.*   
The gender with which the customer identifies.   
Type: String  
Valid Values: `MALE | FEMALE | UNSPECIFIED`   
Required: No

 ** [GenderString](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-GenderString"></a>
An alternative to `Gender` which accepts any string as input.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [HomePhoneNumber](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-HomePhoneNumber"></a>
The customer’s home phone number.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [LastName](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-LastName"></a>
The customer’s last name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [MailingAddress](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-MailingAddress"></a>
The customer’s mailing address.  
Type: [Address](API_connect-customer-profiles_Address.md) object  
Required: No

 ** [MiddleName](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-MiddleName"></a>
The customer’s middle name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [MobilePhoneNumber](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-MobilePhoneNumber"></a>
The customer’s mobile phone number.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [PartyType](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-PartyType"></a>
 *This parameter has been deprecated.*   
The type of profile used to describe the customer.  
Type: String  
Valid Values: `INDIVIDUAL | BUSINESS | OTHER`   
Required: No

 ** [PartyTypeString](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-PartyTypeString"></a>
An alternative to `PartyType` which accepts any string as input.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [PersonalEmailAddress](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-PersonalEmailAddress"></a>
The customer’s personal email address.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [PhoneNumber](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-PhoneNumber"></a>
The customer’s phone number, which has not been specified as a mobile, home, or business number.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [ProfileType](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-ProfileType"></a>
The type of the profile.  
Type: String  
Valid Values: `ACCOUNT_PROFILE | PROFILE`   
Required: No

 ** [ShippingAddress](#API_connect-customer-profiles_CreateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-request-ShippingAddress"></a>
The customer’s shipping address.  
Type: [Address](API_connect-customer-profiles_Address.md) object  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileId](#API_connect-customer-profiles_CreateProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateProfile-response-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}` 

## Errors
<a name="API_connect-customer-profiles_CreateProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_CreateProfile_Examples"></a>

### Example
<a name="API_connect-customer-profiles_CreateProfile_Example_1"></a>

This example illustrates one usage of CreateProfile.

#### Sample Request
<a name="API_connect-customer-profiles_CreateProfile_Example_1_Request"></a>

```
POST /domains/ExampleDomainName/profiles HTTP/1.1

Content-type: application/json
{
   "AccountNumber": "ACCT12344",
   "Address": { 
      "Address1": "123 Sample St",
      "Address2": "Apt 4",
      "Address3": "null",
      "Address4": "null",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   },
   "Attributes": { 
      "SSN" : "123-44-3433",
      "LoyaltyPoints" : "3000" 
   },
   "BillingAddress": { 
      "Address1": "789 Sample St",
      "Address2": "Apt 1",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   },
   "BirthDate": "07/12/1980",
   "BusinessEmailAddress": "example@amazon.com",
   "BusinessName": "My Awesome Company",
   "BusinessPhoneNumber": "555-334-3389",
   "EmailAddress": "example@gmail.com",
   "FirstName": "John",
   "Gender": "MALE",
   "HomePhoneNumber": "555-334-3344",
   "LastName": "Doe",
   "MailingAddress": { 
      "Address1": "234 Home St",
      "Address2": "Apt 5",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   },
   "AdditionalInformation": "High Profile Customer",
   "MiddleName": "",
   "MobilePhoneNumber": "555-334-7777",
   "PartyType": "INDIVIDUAL",
   "PersonalEmailAddress": "email1@gmail.com",
   "PhoneNumber": "",
   "ShippingAddress": { 
      "Address1": "555 A St",
      "Address2": "Suite 100",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   }
}
```

#### Sample Response
<a name="API_connect-customer-profiles_CreateProfile_Example_1_Response"></a>

```
Content-type: application/json
{
   "ProfileId" : "3991a7d959d248bb982546b2dEXAMPLE"
}
```

## See Also
<a name="API_connect-customer-profiles_CreateProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateProfile) 

# CreateRecommender
<a name="API_connect-customer-profiles_CreateRecommender"></a>

Creates a recommender

## Request Syntax
<a name="API_connect-customer-profiles_CreateRecommender_RequestSyntax"></a>

```
POST /domains/DomainName/recommenders/RecommenderName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "RecommenderConfig": { 
      "EventsConfig": { 
         "EventParametersList": [ 
            { 
               "EventType": "string",
               "EventValueThreshold": number,
               "EventWeight": number
            }
         ]
      },
      "IncludedColumns": { 
         "string" : [ "string" ]
      },
      "InferenceConfig": { 
         "MinProvisionedTPS": number
      },
      "TrainingFrequency": number
   },
   "RecommenderRecipeName": "string",
   "RecommenderSchemaName": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateRecommender_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderName](#API_connect-customer-profiles_CreateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-request-uri-RecommenderName"></a>
The name of the recommender.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateRecommender_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_CreateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-request-Description"></a>
The description of the domain object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [RecommenderConfig](#API_connect-customer-profiles_CreateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-request-RecommenderConfig"></a>
The recommender configuration.  
Type: [RecommenderConfig](API_connect-customer-profiles_RecommenderConfig.md) object  
Required: No

 ** [RecommenderRecipeName](#API_connect-customer-profiles_CreateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-request-RecommenderRecipeName"></a>
The name of the recommeder recipe.  
Type: String  
Valid Values: `recommended-for-you | similar-items | frequently-paired-items | popular-items | trending-now | personalized-ranking`   
Required: Yes

 ** [RecommenderSchemaName](#API_connect-customer-profiles_CreateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-request-RecommenderSchemaName"></a>
The name of the recommender schema to use for this recommender. If not specified, the default schema is used.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

 ** [Tags](#API_connect-customer-profiles_CreateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateRecommender_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "RecommenderArn": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateRecommender_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [RecommenderArn](#API_connect-customer-profiles_CreateRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-response-RecommenderArn"></a>
The ARN of the recommender  
Type: String  
Pattern: `arn:([a-z\d-]+):profile:.*:.*:.+` 

 ** [Tags](#API_connect-customer-profiles_CreateRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommender-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_CreateRecommender_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateRecommender_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateRecommender) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateRecommender) 

# CreateRecommenderFilter
<a name="API_connect-customer-profiles_CreateRecommenderFilter"></a>

Creates a recommender filter. A recommender filter specifies which items to include or exclude from recommendations.

## Request Syntax
<a name="API_connect-customer-profiles_CreateRecommenderFilter_RequestSyntax"></a>

```
POST /domains/DomainName/recommender-filters/RecommenderFilterName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "RecommenderFilterExpression": "string",
   "RecommenderSchemaName": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateRecommenderFilter_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderFilterName](#API_connect-customer-profiles_CreateRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-request-uri-RecommenderFilterName"></a>
The name of the recommender filter. The name must be unique within the domain.  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z0-9_-]+`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateRecommenderFilter_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_CreateRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-request-Description"></a>
A description of the recommender filter.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [RecommenderFilterExpression](#API_connect-customer-profiles_CreateRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-request-RecommenderFilterExpression"></a>
The filter expression that defines which items to include or exclude from recommendations.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2500.  
Required: Yes

 ** [RecommenderSchemaName](#API_connect-customer-profiles_CreateRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-request-RecommenderSchemaName"></a>
The name of the recommender schema to use for this recommender filter. If not specified, the default schema is used.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

 ** [Tags](#API_connect-customer-profiles_CreateRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateRecommenderFilter_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "RecommenderFilterArn": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateRecommenderFilter_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [RecommenderFilterArn](#API_connect-customer-profiles_CreateRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-response-RecommenderFilterArn"></a>
The Amazon Resource Name (ARN) of the recommender filter.  
Type: String  
Pattern: `arn:([a-z\d-]+):profile:.*:.*:.+` 

 ** [Tags](#API_connect-customer-profiles_CreateRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderFilter-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_CreateRecommenderFilter_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateRecommenderFilter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateRecommenderFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateRecommenderFilter) 

# CreateRecommenderSchema
<a name="API_connect-customer-profiles_CreateRecommenderSchema"></a>

Creates a recommender schema. A recommender schema defines the set of data columns available for training recommenders and filters under a domain.

## Request Syntax
<a name="API_connect-customer-profiles_CreateRecommenderSchema_RequestSyntax"></a>

```
POST /domains/DomainName/recommender-schemas/RecommenderSchemaName HTTP/1.1
Content-type: application/json

{
   "Fields": { 
      "string" : [ 
         { 
            "ContentType": "string",
            "FeatureType": "string",
            "TargetFieldName": "string"
         }
      ]
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateRecommenderSchema_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderSchemaName](#API_connect-customer-profiles_CreateRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-request-uri-RecommenderSchemaName"></a>
The name of the recommender schema. The name must be unique within the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateRecommenderSchema_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Fields](#API_connect-customer-profiles_CreateRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-request-Fields"></a>
A map of dataset type to column definitions that specifies which data columns to include in the schema. Currently only the `_webAnalytics` key is supported.  
Type: String to array of [RecommenderSchemaField](API_connect-customer-profiles_RecommenderSchemaField.md) objects map  
Map Entries: Maximum number of 1 item.  
Array Members: Minimum number of 1 item. Maximum number of 9 items.  
Required: Yes

 ** [Tags](#API_connect-customer-profiles_CreateRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateRecommenderSchema_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Fields": { 
      "string" : [ 
         { 
            "ContentType": "string",
            "FeatureType": "string",
            "TargetFieldName": "string"
         }
      ]
   },
   "RecommenderSchemaArn": "string",
   "RecommenderSchemaName": "string",
   "Status": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateRecommenderSchema_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_CreateRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-response-CreatedAt"></a>
The timestamp of when the recommender schema was created.  
Type: Timestamp

 ** [Fields](#API_connect-customer-profiles_CreateRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-response-Fields"></a>
A map of dataset type to column definitions included in the schema.  
Type: String to array of [RecommenderSchemaField](API_connect-customer-profiles_RecommenderSchemaField.md) objects map  
Map Entries: Maximum number of 1 item.  
Array Members: Minimum number of 1 item. Maximum number of 9 items.

 ** [RecommenderSchemaArn](#API_connect-customer-profiles_CreateRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-response-RecommenderSchemaArn"></a>
The Amazon Resource Name (ARN) of the recommender schema.  
Type: String  
Pattern: `arn:([a-z\d-]+):profile:.*:.*:.+` 

 ** [RecommenderSchemaName](#API_connect-customer-profiles_CreateRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-response-RecommenderSchemaName"></a>
The name of the recommender schema.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Status](#API_connect-customer-profiles_CreateRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-response-Status"></a>
The status of the recommender schema.  
Type: String  
Valid Values: `ACTIVE | DELETING` 

 ** [Tags](#API_connect-customer-profiles_CreateRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateRecommenderSchema-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_CreateRecommenderSchema_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateRecommenderSchema_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateRecommenderSchema) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateRecommenderSchema) 

# CreateSegmentDefinition
<a name="API_connect-customer-profiles_CreateSegmentDefinition"></a>

Creates a segment definition associated to the given domain.

## Request Syntax
<a name="API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax"></a>

```
POST /domains/DomainName/segment-definitions/SegmentDefinitionName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "DisplayName": "string",
   "SegmentGroups": { 
      "Groups": [ 
         { 
            "Dimensions": [ 
               { ... }
            ],
            "SourceSegments": [ 
               { 
                  "SegmentDefinitionName": "string"
               }
            ],
            "SourceType": "string",
            "Type": "string"
         }
      ],
      "Include": "string"
   },
   "SegmentSort": { 
      "Attributes": [ 
         { 
            "DataType": "string",
            "Name": "string",
            "Order": "string",
            "Type": "string"
         }
      ]
   },
   "SegmentSqlQuery": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateSegmentDefinition_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [SegmentDefinitionName](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-uri-SegmentDefinitionName"></a>
The unique name of the segment definition.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateSegmentDefinition_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-Description"></a>
The description of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 4000.  
Required: No

 ** [DisplayName](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-DisplayName"></a>
The display name of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [SegmentGroups](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-SegmentGroups"></a>
Specifies the base segments and dimensions for a segment definition along with their respective relationship.  
Type: [SegmentGroup](API_connect-customer-profiles_SegmentGroup.md) object  
Required: No

 ** [SegmentSort](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-SegmentSort"></a>
The segment sort.  
Type: [SegmentSort](API_connect-customer-profiles_SegmentSort.md) object  
Required: No

 ** [SegmentSqlQuery](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-SegmentSqlQuery"></a>
The segment SQL query.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 50000.  
Required: No

 ** [Tags](#API_connect-customer-profiles_CreateSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateSegmentDefinition_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "SegmentDefinitionArn": "string",
   "SegmentDefinitionName": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateSegmentDefinition_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_CreateSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-response-CreatedAt"></a>
The timestamp of when the segment definition was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_CreateSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-response-Description"></a>
The description of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 4000.

 ** [DisplayName](#API_connect-customer-profiles_CreateSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-response-DisplayName"></a>
The display name of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [SegmentDefinitionArn](#API_connect-customer-profiles_CreateSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-response-SegmentDefinitionArn"></a>
The arn of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [SegmentDefinitionName](#API_connect-customer-profiles_CreateSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-response-SegmentDefinitionName"></a>
The name of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Tags](#API_connect-customer-profiles_CreateSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentDefinition-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_CreateSegmentDefinition_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateSegmentDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateSegmentDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateSegmentDefinition) 

# CreateSegmentEstimate
<a name="API_connect-customer-profiles_CreateSegmentEstimate"></a>

Creates a segment estimate query.

## Request Syntax
<a name="API_connect-customer-profiles_CreateSegmentEstimate_RequestSyntax"></a>

```
POST /domains/DomainName/segment-estimates HTTP/1.1
Content-type: application/json

{
   "SegmentQuery": { 
      "Groups": [ 
         { 
            "Dimensions": [ 
               { ... }
            ],
            "SourceSegments": [ 
               { 
                  "SegmentDefinitionName": "string"
               }
            ],
            "SourceType": "string",
            "Type": "string"
         }
      ],
      "Include": "string"
   },
   "SegmentSqlQuery": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateSegmentEstimate_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateSegmentEstimate_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentEstimate-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateSegmentEstimate_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [SegmentQuery](#API_connect-customer-profiles_CreateSegmentEstimate_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentEstimate-request-SegmentQuery"></a>
The segment query for calculating a segment estimate.  
Type: [SegmentGroupStructure](API_connect-customer-profiles_SegmentGroupStructure.md) object  
Required: No

 ** [SegmentSqlQuery](#API_connect-customer-profiles_CreateSegmentEstimate_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentEstimate-request-SegmentSqlQuery"></a>
The segment SQL query.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 50000.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateSegmentEstimate_ResponseSyntax"></a>

```
HTTP/1.1 StatusCode
Content-type: application/json

{
   "DomainName": "string",
   "EstimateId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateSegmentEstimate_ResponseElements"></a>

If the action is successful, the service sends back the following HTTP response.

 ** [StatusCode](#API_connect-customer-profiles_CreateSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentEstimate-response-StatusCode"></a>
The status code for the response.

The following data is returned in JSON format by the service.

 ** [DomainName](#API_connect-customer-profiles_CreateSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentEstimate-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [EstimateId](#API_connect-customer-profiles_CreateSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentEstimate-response-EstimateId"></a>
A unique identifier for the resource. The value can be passed to `GetSegmentEstimate` to retrieve the result of segment estimate status.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_CreateSegmentEstimate_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateSegmentEstimate_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateSegmentEstimate) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateSegmentEstimate) 

# CreateSegmentSnapshot
<a name="API_connect-customer-profiles_CreateSegmentSnapshot"></a>

Triggers a job to export a segment to a specified destination.

## Request Syntax
<a name="API_connect-customer-profiles_CreateSegmentSnapshot_RequestSyntax"></a>

```
POST /domains/DomainName/segments/SegmentDefinitionName/snapshots HTTP/1.1
Content-type: application/json

{
   "DataFormat": "string",
   "DestinationUri": "string",
   "EncryptionKey": "string",
   "RoleArn": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateSegmentSnapshot_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentSnapshot-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [SegmentDefinitionName](#API_connect-customer-profiles_CreateSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentSnapshot-request-uri-SegmentDefinitionName"></a>
The name of the segment definition used in this snapshot request.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateSegmentSnapshot_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [DataFormat](#API_connect-customer-profiles_CreateSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentSnapshot-request-DataFormat"></a>
The format in which the segment will be exported.  
Type: String  
Valid Values: `CSV | JSONL | ORC`   
Required: Yes

 ** [DestinationUri](#API_connect-customer-profiles_CreateSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentSnapshot-request-DestinationUri"></a>
The destination to which the segment will be exported. This field must be provided if the request is not submitted from the Amazon Connect Admin Website.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [EncryptionKey](#API_connect-customer-profiles_CreateSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentSnapshot-request-EncryptionKey"></a>
The Amazon Resource Name (ARN) of the KMS key used to encrypt the exported segment.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [RoleArn](#API_connect-customer-profiles_CreateSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentSnapshot-request-RoleArn"></a>
The Amazon Resource Name (ARN) of the IAM role that allows Customer Profiles service principal to assume the role for conducting KMS and S3 operations.  
Type: String  
Length Constraints: Maximum length of 512.  
Pattern: `arn:aws:iam:.*:[0-9]+:.*`   
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_CreateSegmentSnapshot_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "SnapshotId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateSegmentSnapshot_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [SnapshotId](#API_connect-customer-profiles_CreateSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateSegmentSnapshot-response-SnapshotId"></a>
The unique identifier of the segment snapshot.  
Type: String  
Pattern: `[a-f0-9]{32}` 

## Errors
<a name="API_connect-customer-profiles_CreateSegmentSnapshot_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateSegmentSnapshot_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateSegmentSnapshot) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateSegmentSnapshot) 

# CreateUploadJob
<a name="API_connect-customer-profiles_CreateUploadJob"></a>

Creates an Upload job to ingest data for segment imports. The metadata is created for the job with the provided field mapping and unique key. 

## Request Syntax
<a name="API_connect-customer-profiles_CreateUploadJob_RequestSyntax"></a>

```
POST /domains/DomainName/upload-jobs HTTP/1.1
Content-type: application/json

{
   "DataExpiry": number,
   "DisplayName": "string",
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "UniqueKey": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_CreateUploadJob_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_CreateUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateUploadJob-request-uri-DomainName"></a>
The unique name of the domain. Domain should be exists for the upload job to be created.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_CreateUploadJob_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [DataExpiry](#API_connect-customer-profiles_CreateUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateUploadJob-request-DataExpiry"></a>
The expiry duration for the profiles ingested with the job. If not provided, the system default of 2 weeks is used.   
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.  
Required: No

 ** [DisplayName](#API_connect-customer-profiles_CreateUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateUploadJob-request-DisplayName"></a>
The unique name of the upload job. Could be a file name to identify the upload job.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [Fields](#API_connect-customer-profiles_CreateUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateUploadJob-request-Fields"></a>
The mapping between CSV Columns and Profile Object attributes. A map of the name and ObjectType field.  
Type: String to [ObjectTypeField](API_connect-customer-profiles_ObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$`   
Required: Yes

 ** [UniqueKey](#API_connect-customer-profiles_CreateUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_CreateUploadJob-request-UniqueKey"></a>
The unique key columns for de-duping the profiles used to map data to the profile.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_CreateUploadJob_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "JobId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_CreateUploadJob_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [JobId](#API_connect-customer-profiles_CreateUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_CreateUploadJob-response-JobId"></a>
The unique identifier for the created upload job.   
Type: String  
Pattern: `[a-f0-9]{32}` 

## Errors
<a name="API_connect-customer-profiles_CreateUploadJob_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_CreateUploadJob_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/CreateUploadJob) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/CreateUploadJob) 

# DeleteCalculatedAttributeDefinition
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition"></a>

Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute is possible, however once deleted, you will be unable to undo that action and will need to recreate it on your own using the CreateCalculatedAttributeDefinition API if you want it back.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_RequestSyntax"></a>

```
DELETE /domains/DomainName/calculated-attributes/CalculatedAttributeName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CalculatedAttributeName](#API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteCalculatedAttributeDefinition-request-uri-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteCalculatedAttributeDefinition-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteCalculatedAttributeDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition) 

# DeleteDomain
<a name="API_connect-customer-profiles_DeleteDomain"></a>

Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteDomain_RequestSyntax"></a>

```
DELETE /domains/DomainName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteDomain_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteDomain-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteDomain_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteDomain_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteDomain_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteDomain-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteDomain_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_DeleteDomain_Examples"></a>

### Example
<a name="API_connect-customer-profiles_DeleteDomain_Example_1"></a>

This example illustrates one usage of DeleteDomain.

#### Sample Request
<a name="API_connect-customer-profiles_DeleteDomain_Example_1_Request"></a>

```
DELETE /v1/domains/ExampleDomainName HTTP/1.1
```

#### Sample Response
<a name="API_connect-customer-profiles_DeleteDomain_Example_1_Response"></a>

```
Content-type: application/json
{
   "Message": "Domain Deleted"
}
```

## See Also
<a name="API_connect-customer-profiles_DeleteDomain_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteDomain) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteDomain) 

# DeleteDomainLayout
<a name="API_connect-customer-profiles_DeleteDomainLayout"></a>

Deletes the layout used to view data for a specific domain. This API can only be invoked from the Amazon Connect admin website.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteDomainLayout_RequestSyntax"></a>

```
DELETE /domains/DomainName/layouts/LayoutDefinitionName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteDomainLayout_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteDomainLayout-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [LayoutDefinitionName](#API_connect-customer-profiles_DeleteDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteDomainLayout-request-uri-LayoutDefinitionName"></a>
The unique name of the layout.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteDomainLayout_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteDomainLayout_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteDomainLayout_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteDomainLayout-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteDomainLayout_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteDomainLayout_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteDomainLayout) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteDomainLayout) 

# DeleteDomainObjectType
<a name="API_connect-customer-profiles_DeleteDomainObjectType"></a>

Delete a DomainObjectType for the given Domain and ObjectType name.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteDomainObjectType_RequestSyntax"></a>

```
DELETE /domains/DomainName/domain-object-types/ObjectTypeName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteDomainObjectType_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteDomainObjectType-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_DeleteDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteDomainObjectType-request-uri-ObjectTypeName"></a>
The unique name of the domain object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteDomainObjectType_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteDomainObjectType_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteDomainObjectType_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_DeleteDomainObjectType_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteDomainObjectType_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteDomainObjectType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteDomainObjectType) 

# DeleteEventStream
<a name="API_connect-customer-profiles_DeleteEventStream"></a>

Disables and deletes the specified event stream.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteEventStream_RequestSyntax"></a>

```
DELETE /domains/DomainName/event-streams/EventStreamName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteEventStream_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteEventStream-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EventStreamName](#API_connect-customer-profiles_DeleteEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteEventStream-request-uri-EventStreamName"></a>
The name of the event stream  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteEventStream_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteEventStream_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteEventStream_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_DeleteEventStream_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteEventStream_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteEventStream) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteEventStream) 

# DeleteEventTrigger
<a name="API_connect-customer-profiles_DeleteEventTrigger"></a>

Disable and deletes the Event Trigger.

**Note**  
You cannot delete an Event Trigger with an active Integration associated.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteEventTrigger_RequestSyntax"></a>

```
DELETE /domains/DomainName/event-triggers/EventTriggerName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteEventTrigger_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteEventTrigger-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EventTriggerName](#API_connect-customer-profiles_DeleteEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteEventTrigger-request-uri-EventTriggerName"></a>
The unique name of the event trigger.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteEventTrigger_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteEventTrigger_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteEventTrigger_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteEventTrigger-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteEventTrigger_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteEventTrigger_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteEventTrigger) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteEventTrigger) 

# DeleteIntegration
<a name="API_connect-customer-profiles_DeleteIntegration"></a>

Removes an integration from a specific domain.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteIntegration_RequestSyntax"></a>

```
POST /domains/DomainName/integrations/delete HTTP/1.1
Content-type: application/json

{
   "Uri": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteIntegration_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteIntegration-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteIntegration_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Uri](#API_connect-customer-profiles_DeleteIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteIntegration-request-Uri"></a>
The URI of the S3 bucket or any other type of data source.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_DeleteIntegration_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteIntegration_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteIntegration-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteIntegration_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_DeleteIntegration_Examples"></a>

### Example
<a name="API_connect-customer-profiles_DeleteIntegration_Example_1"></a>

This example illustrates one usage of DeleteIntegration.

#### Sample Request
<a name="API_connect-customer-profiles_DeleteIntegration_Example_1_Request"></a>

```
POST /domains/{DomainName}/integrations/delete HTTP/1.1
            
{
   "Uri": "arn:aws:sqs:us-east-1:123456789012:URIOfIntegration1"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_DeleteIntegration_Example_1_Response"></a>

```
Content-type: application/json
{
   "Message": "Deleted"
}
```

## See Also
<a name="API_connect-customer-profiles_DeleteIntegration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteIntegration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteIntegration) 

# DeleteProfile
<a name="API_connect-customer-profiles_DeleteProfile"></a>

Deletes the standard customer profile and all data pertaining to the profile.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteProfile_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/delete HTTP/1.1
Content-type: application/json

{
   "ProfileId": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfile-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ProfileId](#API_connect-customer-profiles_DeleteProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfile-request-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_DeleteProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfile-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_DeleteProfile_Examples"></a>

### Example
<a name="API_connect-customer-profiles_DeleteProfile_Example_1"></a>

This example illustrates one usage of DeleteProfile.

#### Sample Request
<a name="API_connect-customer-profiles_DeleteProfile_Example_1_Request"></a>

```
POST /domains/ExampleDomainName/profiles/delete HTTP/1.1

Content-type: application/json
{
   "ProfileId": "3991a7d959d248bba82546b2dEXAMPLE"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_DeleteProfile_Example_1_Response"></a>

```
Content-type: application/json 
{
  "Message": "OK"
}
```

## See Also
<a name="API_connect-customer-profiles_DeleteProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteProfile) 

# DeleteProfileKey
<a name="API_connect-customer-profiles_DeleteProfileKey"></a>

Removes a searchable key from a customer profile.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteProfileKey_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/keys/delete HTTP/1.1
Content-type: application/json

{
   "KeyName": "string",
   "ProfileId": "string",
   "Values": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteProfileKey_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileKey-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteProfileKey_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [KeyName](#API_connect-customer-profiles_DeleteProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileKey-request-KeyName"></a>
A searchable identifier of a customer profile.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ProfileId](#API_connect-customer-profiles_DeleteProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileKey-request-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

 ** [Values](#API_connect-customer-profiles_DeleteProfileKey_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileKey-request-Values"></a>
A list of key values.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_DeleteProfileKey_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteProfileKey_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteProfileKey_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileKey-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteProfileKey_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_DeleteProfileKey_Examples"></a>

### Example
<a name="API_connect-customer-profiles_DeleteProfileKey_Example_1"></a>

This example illustrates one usage of DeleteProfileKey.

#### Sample Request
<a name="API_connect-customer-profiles_DeleteProfileKey_Example_1_Request"></a>

```
POST /domains/ExampleDomainName/profiles/keys/delete HTTP/1.1

Content-type: application/json
{
   "KeyName": "_phone",
   "ProfileId": "3991a7d959d248bba82546b2dEXAMPLE",
   "Values": [ "555-445-3344" ]
}
```

#### Sample Response
<a name="API_connect-customer-profiles_DeleteProfileKey_Example_1_Response"></a>

```
Content-type: application/json 
{
  "Message": "OK"
}
```

## See Also
<a name="API_connect-customer-profiles_DeleteProfileKey_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteProfileKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteProfileKey) 

# DeleteProfileObject
<a name="API_connect-customer-profiles_DeleteProfileObject"></a>

Removes an object associated with a profile of a given ProfileObjectType.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteProfileObject_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/objects/delete HTTP/1.1
Content-type: application/json

{
   "ObjectTypeName": "string",
   "ProfileId": "string",
   "ProfileObjectUniqueKey": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteProfileObject_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteProfileObject_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObject-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteProfileObject_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ObjectTypeName](#API_connect-customer-profiles_DeleteProfileObject_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObject-request-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [ProfileId](#API_connect-customer-profiles_DeleteProfileObject_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObject-request-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

 ** [ProfileObjectUniqueKey](#API_connect-customer-profiles_DeleteProfileObject_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObject-request-ProfileObjectUniqueKey"></a>
The unique identifier of the profile object generated by the service.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_DeleteProfileObject_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteProfileObject_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteProfileObject_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObject-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteProfileObject_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_DeleteProfileObject_Examples"></a>

### Example
<a name="API_connect-customer-profiles_DeleteProfileObject_Example_1"></a>

This example illustrates one usage of DeleteProfileObject.

#### Sample Request
<a name="API_connect-customer-profiles_DeleteProfileObject_Example_1_Request"></a>

```
POST /domains/DomainName/profiles/objects/delete HTTP/1.1

Content-type: application/json
{
   "ObjectTypeName": "MyCustomObjectName",
   "ProfileId": "3991a7d959d248bba82546b2dEXAMPLE",
   "ProfileObjectUniqueKey": "UniqueKeyOfTheProfileObject"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_DeleteProfileObject_Example_1_Response"></a>

```
Content-type: application/json
{
   "Message": "OK"
}
```

## See Also
<a name="API_connect-customer-profiles_DeleteProfileObject_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteProfileObject) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteProfileObject) 

# DeleteProfileObjectType
<a name="API_connect-customer-profiles_DeleteProfileObjectType"></a>

Removes a ProfileObjectType from a specific domain as well as removes all the ProfileObjects of that type. It also disables integrations from this specific ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that were populated from this ProfileObjectType.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteProfileObjectType_RequestSyntax"></a>

```
DELETE /domains/DomainName/object-types/ObjectTypeName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteProfileObjectType_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObjectType-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_DeleteProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObjectType-request-uri-ObjectTypeName"></a>
The name of the profile object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteProfileObjectType_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteProfileObjectType_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteProfileObjectType_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteProfileObjectType-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteProfileObjectType_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_DeleteProfileObjectType_Examples"></a>

### Example
<a name="API_connect-customer-profiles_DeleteProfileObjectType_Example_1"></a>

This example illustrates one usage of DeleteProfileObjectType.

#### Sample Request
<a name="API_connect-customer-profiles_DeleteProfileObjectType_Example_1_Request"></a>

```
DELETE /domains/ExampleDomainName/object-types/MyCustomObjectTypeName HTTP/1.1
```

#### Sample Response
<a name="API_connect-customer-profiles_DeleteProfileObjectType_Example_1_Response"></a>

```
Content-type: application/json
{
   "Message": "Deleted"
}
```

## See Also
<a name="API_connect-customer-profiles_DeleteProfileObjectType_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteProfileObjectType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteProfileObjectType) 

# DeleteRecommender
<a name="API_connect-customer-profiles_DeleteRecommender"></a>

Deletes a recommender.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteRecommender_RequestSyntax"></a>

```
DELETE /domains/DomainName/recommenders/RecommenderName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteRecommender_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteRecommender-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderName](#API_connect-customer-profiles_DeleteRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteRecommender-request-uri-RecommenderName"></a>
The recommender name.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteRecommender_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteRecommender_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteRecommender_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_DeleteRecommender_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteRecommender_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteRecommender) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteRecommender) 

# DeleteRecommenderFilter
<a name="API_connect-customer-profiles_DeleteRecommenderFilter"></a>

Deletes a recommender filter from a domain.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteRecommenderFilter_RequestSyntax"></a>

```
DELETE /domains/DomainName/recommender-filters/RecommenderFilterName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteRecommenderFilter_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteRecommenderFilter-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderFilterName](#API_connect-customer-profiles_DeleteRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteRecommenderFilter-request-uri-RecommenderFilterName"></a>
The name of the recommender filter to delete.  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z0-9_-]+`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteRecommenderFilter_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteRecommenderFilter_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteRecommenderFilter_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteRecommenderFilter-response-Message"></a>
A message that indicates the delete request is done.  
Type: String

## Errors
<a name="API_connect-customer-profiles_DeleteRecommenderFilter_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteRecommenderFilter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteRecommenderFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteRecommenderFilter) 

# DeleteRecommenderSchema
<a name="API_connect-customer-profiles_DeleteRecommenderSchema"></a>

Deletes a recommender schema from a domain.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteRecommenderSchema_RequestSyntax"></a>

```
DELETE /domains/DomainName/recommender-schemas/RecommenderSchemaName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteRecommenderSchema_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteRecommenderSchema-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderSchemaName](#API_connect-customer-profiles_DeleteRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteRecommenderSchema-request-uri-RecommenderSchemaName"></a>
The name of the recommender schema to delete.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteRecommenderSchema_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteRecommenderSchema_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteRecommenderSchema_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_DeleteRecommenderSchema_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteRecommenderSchema_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteRecommenderSchema) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteRecommenderSchema) 

# DeleteSegmentDefinition
<a name="API_connect-customer-profiles_DeleteSegmentDefinition"></a>

Deletes a segment definition from the domain.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteSegmentDefinition_RequestSyntax"></a>

```
DELETE /domains/DomainName/segment-definitions/SegmentDefinitionName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteSegmentDefinition_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteSegmentDefinition-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [SegmentDefinitionName](#API_connect-customer-profiles_DeleteSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteSegmentDefinition-request-uri-SegmentDefinitionName"></a>
The unique name of the segment definition.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteSegmentDefinition_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteSegmentDefinition_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteSegmentDefinition_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_DeleteSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DeleteSegmentDefinition-response-Message"></a>
A message that indicates the delete request is done.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

## Errors
<a name="API_connect-customer-profiles_DeleteSegmentDefinition_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteSegmentDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteSegmentDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteSegmentDefinition) 

# DeleteWorkflow
<a name="API_connect-customer-profiles_DeleteWorkflow"></a>

Deletes the specified workflow and all its corresponding resources. This is an async process.

## Request Syntax
<a name="API_connect-customer-profiles_DeleteWorkflow_RequestSyntax"></a>

```
DELETE /domains/DomainName/workflows/WorkflowId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DeleteWorkflow_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DeleteWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteWorkflow-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [WorkflowId](#API_connect-customer-profiles_DeleteWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_DeleteWorkflow-request-uri-WorkflowId"></a>
Unique identifier for the workflow.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DeleteWorkflow_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_DeleteWorkflow_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_DeleteWorkflow_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_DeleteWorkflow_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DeleteWorkflow_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DeleteWorkflow) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DeleteWorkflow) 

# DetectProfileObjectType
<a name="API_connect-customer-profiles_DetectProfileObjectType"></a>

The process of detecting profile object type mapping by using given objects.

## Request Syntax
<a name="API_connect-customer-profiles_DetectProfileObjectType_RequestSyntax"></a>

```
POST /domains/DomainName/detect/object-types HTTP/1.1
Content-type: application/json

{
   "Objects": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_DetectProfileObjectType_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_DetectProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_DetectProfileObjectType-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_DetectProfileObjectType_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Objects](#API_connect-customer-profiles_DetectProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_DetectProfileObjectType-request-Objects"></a>
A string that is serialized from a JSON object.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Length Constraints: Minimum length of 1. Maximum length of 256000.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_DetectProfileObjectType_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "DetectedProfileObjectTypes": [ 
      { 
         "Fields": { 
            "string" : { 
               "ContentType": "string",
               "Source": "string",
               "Target": "string"
            }
         },
         "Keys": { 
            "string" : [ 
               { 
                  "FieldNames": [ "string" ],
                  "StandardIdentifiers": [ "string" ]
               }
            ]
         },
         "SourceLastUpdatedTimestampFormat": "string"
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_DetectProfileObjectType_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [DetectedProfileObjectTypes](#API_connect-customer-profiles_DetectProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_DetectProfileObjectType-response-DetectedProfileObjectTypes"></a>
Detected `ProfileObjectType` mappings from given objects. A maximum of one mapping is supported.  
Type: Array of [DetectedProfileObjectType](API_connect-customer-profiles_DetectedProfileObjectType.md) objects

## Errors
<a name="API_connect-customer-profiles_DetectProfileObjectType_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_DetectProfileObjectType_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/DetectProfileObjectType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/DetectProfileObjectType) 

# GetAutoMergingPreview
<a name="API_connect-customer-profiles_GetAutoMergingPreview"></a>

Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list. 

You can't view which profiles are matched and would be merged.

**Important**  
We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include **at least** two matching attributes. If your matching list includes too few attributes (such as only `FirstName` or only `LastName`), there may be a large number of matches. This increases the chances of erroneous merges.

## Request Syntax
<a name="API_connect-customer-profiles_GetAutoMergingPreview_RequestSyntax"></a>

```
POST /domains/DomainName/identity-resolution-jobs/auto-merging-preview HTTP/1.1
Content-type: application/json

{
   "ConflictResolution": { 
      "ConflictResolvingModel": "string",
      "SourceName": "string"
   },
   "Consolidation": { 
      "MatchingAttributesList": [ 
         [ "string" ]
      ]
   },
   "MinAllowedConfidenceScoreForMerging": number
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetAutoMergingPreview_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetAutoMergingPreview_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetAutoMergingPreview_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ConflictResolution](#API_connect-customer-profiles_GetAutoMergingPreview_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-request-ConflictResolution"></a>
How the auto-merging process should resolve conflicts between different profiles.  
Type: [ConflictResolution](API_connect-customer-profiles_ConflictResolution.md) object  
Required: Yes

 ** [Consolidation](#API_connect-customer-profiles_GetAutoMergingPreview_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-request-Consolidation"></a>
A list of matching attributes that represent matching criteria.  
Type: [Consolidation](API_connect-customer-profiles_Consolidation.md) object  
Required: Yes

 ** [MinAllowedConfidenceScoreForMerging](#API_connect-customer-profiles_GetAutoMergingPreview_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-request-MinAllowedConfidenceScoreForMerging"></a>
Minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.  
Type: Double  
Valid Range: Minimum value of 0.0. Maximum value of 1.0.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_GetAutoMergingPreview_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "DomainName": "string",
   "NumberOfMatchesInSample": number,
   "NumberOfProfilesInSample": number,
   "NumberOfProfilesWillBeMerged": number
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetAutoMergingPreview_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [DomainName](#API_connect-customer-profiles_GetAutoMergingPreview_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [NumberOfMatchesInSample](#API_connect-customer-profiles_GetAutoMergingPreview_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-response-NumberOfMatchesInSample"></a>
The number of match groups in the domain that have been reviewed in this preview dry run.  
Type: Long

 ** [NumberOfProfilesInSample](#API_connect-customer-profiles_GetAutoMergingPreview_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-response-NumberOfProfilesInSample"></a>
The number of profiles found in this preview dry run.  
Type: Long

 ** [NumberOfProfilesWillBeMerged](#API_connect-customer-profiles_GetAutoMergingPreview_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetAutoMergingPreview-response-NumberOfProfilesWillBeMerged"></a>
The number of profiles that would be merged if this wasn't a preview dry run.  
Type: Long

## Errors
<a name="API_connect-customer-profiles_GetAutoMergingPreview_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetAutoMergingPreview_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetAutoMergingPreview) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetAutoMergingPreview) 

# GetCalculatedAttributeDefinition
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition"></a>

Provides more information on a calculated attribute definition for Customer Profiles.

## Request Syntax
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition_RequestSyntax"></a>

```
GET /domains/DomainName/calculated-attributes/CalculatedAttributeName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CalculatedAttributeName](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-request-uri-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "AttributeDetails": { 
      "Attributes": [ 
         { 
            "Name": "string"
         }
      ],
      "Expression": "string"
   },
   "CalculatedAttributeName": "string",
   "Conditions": { 
      "ObjectCount": number,
      "Range": { 
         "TimestampFormat": "string",
         "TimestampSource": "string",
         "Unit": "string",
         "Value": number,
         "ValueRange": { 
            "End": number,
            "Start": number
         }
      },
      "Threshold": { 
         "Operator": "string",
         "Value": "string"
      }
   },
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "Filter": { 
      "Groups": [ 
         { 
            "Dimensions": [ 
               { 
                  "Attributes": { 
                     "string" : { 
                        "DimensionType": "string",
                        "Values": [ "string" ]
                     }
                  }
               }
            ],
            "Type": "string"
         }
      ],
      "Include": "string"
   },
   "LastUpdatedAt": number,
   "Readiness": { 
      "Message": "string",
      "ProgressPercentage": number
   },
   "Statistic": "string",
   "Status": "string",
   "Tags": { 
      "string" : "string" 
   },
   "UseHistoricalData": boolean
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AttributeDetails](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-AttributeDetails"></a>
Mathematical expression and a list of attribute items specified in that expression.  
Type: [AttributeDetails](API_connect-customer-profiles_AttributeDetails.md) object

 ** [CalculatedAttributeName](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [Conditions](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-Conditions"></a>
The conditions including range, object count, and threshold for the calculated attribute.  
Type: [Conditions](API_connect-customer-profiles_Conditions.md) object

 ** [CreatedAt](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-CreatedAt"></a>
The timestamp of when the calculated attribute definition was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-Description"></a>
The description of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [DisplayName](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-DisplayName"></a>
The display name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$` 

 ** [Filter](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-Filter"></a>
The filter assigned to this calculated attribute definition.  
Type: [Filter](API_connect-customer-profiles_Filter.md) object

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-LastUpdatedAt"></a>
The timestamp of when the calculated attribute definition was most recently edited.  
Type: Timestamp

 ** [Readiness](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-Readiness"></a>
Information indicating if the Calculated Attribute is ready for use by confirming all historical data has been processed and reflected.  
Type: [Readiness](API_connect-customer-profiles_Readiness.md) object

 ** [Statistic](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-Statistic"></a>
The aggregation operation to perform for the calculated attribute.  
Type: String  
Valid Values: `FIRST_OCCURRENCE | LAST_OCCURRENCE | COUNT | SUM | MINIMUM | MAXIMUM | AVERAGE | MAX_OCCURRENCE` 

 ** [Status](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-Status"></a>
Status of the Calculated Attribute creation (whether all historical data has been indexed).  
Type: String  
Valid Values: `PREPARING | IN_PROGRESS | COMPLETED | FAILED` 

 ** [Tags](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [UseHistoricalData](#API_connect-customer-profiles_GetCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeDefinition-response-UseHistoricalData"></a>
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.  
Type: Boolean

## Errors
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetCalculatedAttributeDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition) 

# GetCalculatedAttributeForProfile
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile"></a>

Retrieve a calculated attribute for a customer profile.

## Request Syntax
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile_RequestSyntax"></a>

```
GET /domains/DomainName/profile/ProfileId/calculated-attributes/CalculatedAttributeName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CalculatedAttributeName](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-request-uri-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ProfileId](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-request-uri-ProfileId"></a>
The unique identifier of a customer profile.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CalculatedAttributeName": "string",
   "DisplayName": "string",
   "IsDataPartial": "string",
   "LastObjectTimestamp": number,
   "Value": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CalculatedAttributeName](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-response-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [DisplayName](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-response-DisplayName"></a>
The display name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$` 

 ** [IsDataPartial](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-response-IsDataPartial"></a>
Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [LastObjectTimestamp](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-response-LastObjectTimestamp"></a>
The timestamp of the newest object included in the calculated attribute calculation.  
Type: Timestamp

 ** [Value](#API_connect-customer-profiles_GetCalculatedAttributeForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetCalculatedAttributeForProfile-response-Value"></a>
The value of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetCalculatedAttributeForProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile) 

# GetDomain
<a name="API_connect-customer-profiles_GetDomain"></a>

Returns information about a specific domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetDomain_RequestSyntax"></a>

```
GET /domains/DomainName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetDomain_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetDomain_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetDomain_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "DataStore": { 
      "Enabled": boolean,
      "Readiness": { 
         "Message": "string",
         "ProgressPercentage": number
      }
   },
   "DeadLetterQueueUrl": "string",
   "DefaultEncryptionKey": "string",
   "DefaultExpirationDays": number,
   "DomainName": "string",
   "LastUpdatedAt": number,
   "Matching": { 
      "AutoMerging": { 
         "ConflictResolution": { 
            "ConflictResolvingModel": "string",
            "SourceName": "string"
         },
         "Consolidation": { 
            "MatchingAttributesList": [ 
               [ "string" ]
            ]
         },
         "Enabled": boolean,
         "MinAllowedConfidenceScoreForMerging": number
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "JobSchedule": { 
         "DayOfTheWeek": "string",
         "Time": "string"
      }
   },
   "RuleBasedMatching": { 
      "AttributeTypesSelector": { 
         "Address": [ "string" ],
         "AttributeMatchingModel": "string",
         "EmailAddress": [ "string" ],
         "PhoneNumber": [ "string" ]
      },
      "ConflictResolution": { 
         "ConflictResolvingModel": "string",
         "SourceName": "string"
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "MatchingRules": [ 
         { 
            "Rule": [ "string" ]
         }
      ],
      "MaxAllowedRuleLevelForMatching": number,
      "MaxAllowedRuleLevelForMerging": number,
      "Status": "string"
   },
   "Stats": { 
      "MeteringProfileCount": number,
      "ObjectCount": number,
      "ProfileCount": number,
      "TotalSize": number
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetDomain_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-CreatedAt"></a>
The timestamp of when the domain was created.  
Type: Timestamp

 ** [DataStore](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-DataStore"></a>
 True if data store is enabled for this domain.  
Type: [DataStoreResponse](API_connect-customer-profiles_DataStoreResponse.md) object

 ** [DeadLetterQueueUrl](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-DeadLetterQueueUrl"></a>
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [DefaultEncryptionKey](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-DefaultEncryptionKey"></a>
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [DefaultExpirationDays](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-DefaultExpirationDays"></a>
The default number of days until the data within the domain expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.

 ** [DomainName](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-LastUpdatedAt"></a>
The timestamp of when the domain was most recently edited.  
Type: Timestamp

 ** [Matching](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-Matching"></a>
The process of matching duplicate profiles. If `Matching` = `true`, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.   
After the Identity Resolution Job completes, use the [GetMatches](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) API to return and review the results. Or, if you have configured `ExportingConfig` in the `MatchingRequest`, you can download the results from S3.  
Type: [MatchingResponse](API_connect-customer-profiles_MatchingResponse.md) object

 ** [RuleBasedMatching](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-RuleBasedMatching"></a>
The process of matching duplicate profiles using the Rule-Based matching. If `RuleBasedMatching` = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the `RuleBasedMatchingRequest`. You can use the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return and review the results. Also, if you have configured `ExportingConfig` in the `RuleBasedMatchingRequest`, you can download the results from S3.  
Type: [RuleBasedMatchingResponse](API_connect-customer-profiles_RuleBasedMatchingResponse.md) object

 ** [Stats](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-Stats"></a>
Usage-specific statistics about the domain.  
Type: [DomainStats](API_connect-customer-profiles_DomainStats.md) object

 ** [Tags](#API_connect-customer-profiles_GetDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomain-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_GetDomain_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetDomain_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetDomain) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetDomain) 

# GetDomainLayout
<a name="API_connect-customer-profiles_GetDomainLayout"></a>

Gets the layout to view data for a specific domain. This API can only be invoked from the Amazon Connect admin website.

## Request Syntax
<a name="API_connect-customer-profiles_GetDomainLayout_RequestSyntax"></a>

```
GET /domains/DomainName/layouts/LayoutDefinitionName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetDomainLayout_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [LayoutDefinitionName](#API_connect-customer-profiles_GetDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-request-uri-LayoutDefinitionName"></a>
The unique name of the layout.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetDomainLayout_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetDomainLayout_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "IsDefault": boolean,
   "LastUpdatedAt": number,
   "Layout": "string",
   "LayoutDefinitionName": "string",
   "LayoutType": "string",
   "Tags": { 
      "string" : "string" 
   },
   "Version": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetDomainLayout_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-CreatedAt"></a>
The timestamp of when the layout was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-Description"></a>
The description of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [DisplayName](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-DisplayName"></a>
The display name of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$` 

 ** [IsDefault](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-IsDefault"></a>
If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.  
Type: Boolean

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-LastUpdatedAt"></a>
The timestamp of when the layout was most recently updated.  
Type: Timestamp

 ** [Layout](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-Layout"></a>
A customizable layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000000.

 ** [LayoutDefinitionName](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-LayoutDefinitionName"></a>
The unique name of the layout.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LayoutType](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-LayoutType"></a>
The type of layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Valid Values: `PROFILE_EXPLORER` 

 ** [Tags](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [Version](#API_connect-customer-profiles_GetDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainLayout-response-Version"></a>
The version used to create layout.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_GetDomainLayout_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetDomainLayout_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetDomainLayout) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetDomainLayout) 

# GetDomainObjectType
<a name="API_connect-customer-profiles_GetDomainObjectType"></a>

Return a DomainObjectType for the input Domain and ObjectType names. 

## Request Syntax
<a name="API_connect-customer-profiles_GetDomainObjectType_RequestSyntax"></a>

```
GET /domains/DomainName/domain-object-types/ObjectTypeName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetDomainObjectType_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_GetDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-request-uri-ObjectTypeName"></a>
The unique name of the domain object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetDomainObjectType_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "EncryptionKey": "string",
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "FeatureType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetDomainObjectType_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-response-CreatedAt"></a>
The timestamp of when the domain object type was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-response-Description"></a>
The description of the domain object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 10000.

 ** [EncryptionKey](#API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-response-EncryptionKey"></a>
The customer provided KMS key used to encrypt this type of domain object.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [Fields](#API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-response-Fields"></a>
A map of field names to their corresponding domain object type field definitions.  
Type: String to [DomainObjectTypeField](API_connect-customer-profiles_DomainObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-response-LastUpdatedAt"></a>
The timestamp of when the domain object type was most recently edited.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-response-ObjectTypeName"></a>
The unique name of the domain object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [Tags](#API_connect-customer-profiles_GetDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetDomainObjectType-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_GetDomainObjectType_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetDomainObjectType_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetDomainObjectType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetDomainObjectType) 

# GetEventStream
<a name="API_connect-customer-profiles_GetEventStream"></a>

Returns information about the specified event stream in a specific domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetEventStream_RequestSyntax"></a>

```
GET /domains/DomainName/event-streams/EventStreamName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetEventStream_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EventStreamName](#API_connect-customer-profiles_GetEventStream_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-request-uri-EventStreamName"></a>
The name of the event stream provided during create operations.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetEventStream_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetEventStream_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "DestinationDetails": { 
      "Message": "string",
      "Status": "string",
      "UnhealthySince": number,
      "Uri": "string"
   },
   "DomainName": "string",
   "EventStreamArn": "string",
   "State": "string",
   "StoppedSince": number,
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetEventStream_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-response-CreatedAt"></a>
The timestamp of when the export was created.  
Type: Timestamp

 ** [DestinationDetails](#API_connect-customer-profiles_GetEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-response-DestinationDetails"></a>
Details regarding the Kinesis stream.  
Type: [EventStreamDestinationDetails](API_connect-customer-profiles_EventStreamDestinationDetails.md) object

 ** [DomainName](#API_connect-customer-profiles_GetEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [EventStreamArn](#API_connect-customer-profiles_GetEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-response-EventStreamArn"></a>
A unique identifier for the event stream.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [State](#API_connect-customer-profiles_GetEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-response-State"></a>
The operational state of destination stream for export.  
Type: String  
Valid Values: `RUNNING | STOPPED` 

 ** [StoppedSince](#API_connect-customer-profiles_GetEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-response-StoppedSince"></a>
The timestamp when the `State` changed to `STOPPED`.  
Type: Timestamp

 ** [Tags](#API_connect-customer-profiles_GetEventStream_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventStream-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_GetEventStream_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetEventStream_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetEventStream) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetEventStream) 

# GetEventTrigger
<a name="API_connect-customer-profiles_GetEventTrigger"></a>

Get a specific Event Trigger from the domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetEventTrigger_RequestSyntax"></a>

```
GET /domains/DomainName/event-triggers/EventTriggerName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetEventTrigger_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EventTriggerName](#API_connect-customer-profiles_GetEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-request-uri-EventTriggerName"></a>
The unique name of the event trigger.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetEventTrigger_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetEventTrigger_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "EventTriggerConditions": [ 
      { 
         "EventTriggerDimensions": [ 
            { 
               "ObjectAttributes": [ 
                  { 
                     "ComparisonOperator": "string",
                     "FieldName": "string",
                     "Source": "string",
                     "Values": [ "string" ]
                  }
               ]
            }
         ],
         "LogicalOperator": "string"
      }
   ],
   "EventTriggerLimits": { 
      "EventExpiration": number,
      "Periods": [ 
         { 
            "MaxInvocationsPerProfile": number,
            "Unit": "string",
            "Unlimited": boolean,
            "Value": number
         }
      ]
   },
   "EventTriggerName": "string",
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "SegmentFilter": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetEventTrigger_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-CreatedAt"></a>
The timestamp of when the event trigger was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-Description"></a>
The description of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [EventTriggerConditions](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-EventTriggerConditions"></a>
A list of conditions that determine when an event should trigger the destination.  
Type: Array of [EventTriggerCondition](API_connect-customer-profiles_EventTriggerCondition.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 5 items.

 ** [EventTriggerLimits](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-EventTriggerLimits"></a>
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.  
Type: [EventTriggerLimits](API_connect-customer-profiles_EventTriggerLimits.md) object

 ** [EventTriggerName](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-EventTriggerName"></a>
The unique name of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-LastUpdatedAt"></a>
The timestamp of when the event trigger was most recently updated.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-ObjectTypeName"></a>
The unique name of the object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [SegmentFilter](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-SegmentFilter"></a>
The destination is triggered only for profiles that meet the criteria of a segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Tags](#API_connect-customer-profiles_GetEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetEventTrigger-response-Tags"></a>
An array of key-value pairs to apply to this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_GetEventTrigger_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetEventTrigger_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetEventTrigger) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetEventTrigger) 

# GetIdentityResolutionJob
<a name="API_connect-customer-profiles_GetIdentityResolutionJob"></a>

Returns information about an Identity Resolution Job in a specific domain. 

Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see [Use Identity Resolution to consolidate similar profiles](https://docs.aws.amazon.com/connect/latest/adminguide/use-identity-resolution.html).

## Request Syntax
<a name="API_connect-customer-profiles_GetIdentityResolutionJob_RequestSyntax"></a>

```
GET /domains/DomainName/identity-resolution-jobs/JobId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetIdentityResolutionJob_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetIdentityResolutionJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [JobId](#API_connect-customer-profiles_GetIdentityResolutionJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-request-uri-JobId"></a>
The unique identifier of the Identity Resolution Job.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetIdentityResolutionJob_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "AutoMerging": { 
      "ConflictResolution": { 
         "ConflictResolvingModel": "string",
         "SourceName": "string"
      },
      "Consolidation": { 
         "MatchingAttributesList": [ 
            [ "string" ]
         ]
      },
      "Enabled": boolean,
      "MinAllowedConfidenceScoreForMerging": number
   },
   "DomainName": "string",
   "ExportingLocation": { 
      "S3Exporting": { 
         "S3BucketName": "string",
         "S3KeyName": "string"
      }
   },
   "JobEndTime": number,
   "JobExpirationTime": number,
   "JobId": "string",
   "JobStartTime": number,
   "JobStats": { 
      "NumberOfMatchesFound": number,
      "NumberOfMergesDone": number,
      "NumberOfProfilesReviewed": number
   },
   "LastUpdatedAt": number,
   "Message": "string",
   "Status": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetIdentityResolutionJob_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AutoMerging](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-AutoMerging"></a>
Configuration settings for how to perform the auto-merging of profiles.  
Type: [AutoMerging](API_connect-customer-profiles_AutoMerging.md) object

 ** [DomainName](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [ExportingLocation](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-ExportingLocation"></a>
The S3 location where the Identity Resolution Job writes result files.  
Type: [ExportingLocation](API_connect-customer-profiles_ExportingLocation.md) object

 ** [JobEndTime](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-JobEndTime"></a>
The timestamp of when the Identity Resolution Job was completed.  
Type: Timestamp

 ** [JobExpirationTime](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-JobExpirationTime"></a>
The timestamp of when the Identity Resolution Job will expire.  
Type: Timestamp

 ** [JobId](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-JobId"></a>
The unique identifier of the Identity Resolution Job.  
Type: String  
Pattern: `[a-f0-9]{32}` 

 ** [JobStartTime](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-JobStartTime"></a>
The timestamp of when the Identity Resolution Job was started or will be started.  
Type: Timestamp

 ** [JobStats](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-JobStats"></a>
Statistics about the Identity Resolution Job.  
Type: [JobStats](API_connect-customer-profiles_JobStats.md) object

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-LastUpdatedAt"></a>
The timestamp of when the Identity Resolution Job was most recently edited.  
Type: Timestamp

 ** [Message](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-Message"></a>
The error messages that are generated when the Identity Resolution Job runs.  
Type: String  
Length Constraints: Maximum length of 2048.  
Pattern: `.*` 

 ** [Status](#API_connect-customer-profiles_GetIdentityResolutionJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIdentityResolutionJob-response-Status"></a>
The status of the Identity Resolution Job.  
+  `PENDING`: The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the `PENDING` state are deleted.
+  `PREPROCESSING`: The Identity Resolution Job is loading your data.
+  `FIND_MATCHING`: The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group.
+  `MERGING`: The Identity Resolution Job is merging duplicate profiles.
+  `COMPLETED`: The Identity Resolution Job completed successfully.
+  `PARTIAL_SUCCESS`: There's a system error and not all of the data is merged. The Identity Resolution Job writes a message indicating the source of the problem.
+  `FAILED`: The Identity Resolution Job did not merge any data. It writes a message indicating the source of the problem.
Type: String  
Valid Values: `PENDING | PREPROCESSING | FIND_MATCHING | MERGING | COMPLETED | PARTIAL_SUCCESS | FAILED` 

## Errors
<a name="API_connect-customer-profiles_GetIdentityResolutionJob_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetIdentityResolutionJob_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetIdentityResolutionJob) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetIdentityResolutionJob) 

# GetIntegration
<a name="API_connect-customer-profiles_GetIntegration"></a>

Returns an integration for a domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetIntegration_RequestSyntax"></a>

```
POST /domains/DomainName/integrations HTTP/1.1
Content-type: application/json

{
   "Uri": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetIntegration_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetIntegration_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Uri](#API_connect-customer-profiles_GetIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-request-Uri"></a>
The URI of the S3 bucket or any other type of data source.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_GetIntegration_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "DomainName": "string",
   "EventTriggerNames": [ "string" ],
   "IsUnstructured": boolean,
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "ObjectTypeNames": { 
      "string" : "string" 
   },
   "RoleArn": "string",
   "Scope": "string",
   "Tags": { 
      "string" : "string" 
   },
   "Uri": "string",
   "WorkflowId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetIntegration_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-CreatedAt"></a>
The timestamp of when the domain was created.  
Type: Timestamp

 ** [DomainName](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [EventTriggerNames](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-EventTriggerNames"></a>
A list of unique names for active event triggers associated with the integration. This list would be empty if no Event Trigger is associated with the integration.  
Type: Array of strings  
Array Members: Fixed number of 1 item.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [IsUnstructured](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-IsUnstructured"></a>
Boolean that shows if the Flow that's associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals \$1unstructured via API/CLI in flowDefinition.  
Type: Boolean

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-LastUpdatedAt"></a>
The timestamp of when the domain was most recently edited.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [ObjectTypeNames](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-ObjectTypeNames"></a>
A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an `ObjectTypeName` (template) used to ingest the event. It supports the following event types: `SegmentIdentify`, `ShopifyCreateCustomers`, `ShopifyUpdateCustomers`, `ShopifyCreateDraftOrders`, `ShopifyUpdateDraftOrders`, `ShopifyCreateOrders`, and `ShopifyUpdatedOrders`.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [RoleArn](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-RoleArn"></a>
The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.  
Type: String  
Length Constraints: Maximum length of 512.  
Pattern: `arn:aws:iam:.*:[0-9]+:.*` 

 ** [Scope](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-Scope"></a>
Specifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.  
Type: String  
Valid Values: `PROFILE | DOMAIN` 

 ** [Tags](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [Uri](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-Uri"></a>
The URI of the S3 bucket or any other type of data source.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [WorkflowId](#API_connect-customer-profiles_GetIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetIntegration-response-WorkflowId"></a>
Unique identifier for the workflow.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_GetIntegration_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_GetIntegration_Examples"></a>

### Example
<a name="API_connect-customer-profiles_GetIntegration_Example_1"></a>

This example illustrates one usage of GetIntegration.

#### Sample Request
<a name="API_connect-customer-profiles_GetIntegration_Example_1_Request"></a>

```
POST /domains/ExampleDomainName/integrations HTTP/1.1
{
     "Uri": "arn:aws:flow:us-east-1:123456789012:URIOfIntegration1"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_GetIntegration_Example_1_Response"></a>

```
Content-type: application/json
{
   "CreatedAt": 1479249799770,
    "DomainName": "ExampleDomainName",
    "LastUpdatedAt": 1479249799770,
    "ObjectTypeName": "MyCustomObject",
    "Uri": "arn:aws:flow:us-east-1:123456789012:URIOfIntegration1"
}
```

## See Also
<a name="API_connect-customer-profiles_GetIntegration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetIntegration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetIntegration) 

# GetMatches
<a name="API_connect-customer-profiles_GetMatches"></a>

Before calling this API, use [CreateDomain](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html) or [UpdateDomain](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html) to enable identity resolution: set `Matching` to true.

GetMatches returns potentially matching profiles, based on the results of the latest run of a machine learning process. 

**Important**  
The process of matching duplicate profiles. If `Matching` = `true`, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.   
After the Identity Resolution Job completes, use the [GetMatches](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) API to return and review the results. Or, if you have configured `ExportingConfig` in the `MatchingRequest`, you can download the results from S3.

Amazon Connect uses the following profile attributes to identify matches:
+ PhoneNumber
+ HomePhoneNumber
+ BusinessPhoneNumber
+ MobilePhoneNumber
+ EmailAddress
+ PersonalEmailAddress
+ BusinessEmailAddress
+ FullName

For example, two or more profiles—with spelling mistakes such as **John Doe** and **Jhn Doe**, or different casing email addresses such as **JOHN\$1DOE@ANYCOMPANY.COM** and **johndoe@anycompany.com**, or different phone number formats such as **555-010-0000** and **\$11-555-010-0000**—can be detected as belonging to the same customer **John Doe** and merged into a unified profile.

## Request Syntax
<a name="API_connect-customer-profiles_GetMatches_RequestSyntax"></a>

```
GET /domains/DomainName/matches?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetMatches_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetMatches_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetMatches-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_GetMatches_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetMatches-request-uri-MaxResults"></a>
The maximum number of results to return per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_GetMatches_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetMatches-request-uri-NextToken"></a>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_GetMatches_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetMatches_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Matches": [ 
      { 
         "ConfidenceScore": number,
         "MatchId": "string",
         "ProfileIds": [ "string" ]
      }
   ],
   "MatchGenerationDate": number,
   "NextToken": "string",
   "PotentialMatches": number
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetMatches_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Matches](#API_connect-customer-profiles_GetMatches_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetMatches-response-Matches"></a>
The list of matched profiles for this instance.  
Type: Array of [MatchItem](API_connect-customer-profiles_MatchItem.md) objects

 ** [MatchGenerationDate](#API_connect-customer-profiles_GetMatches_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetMatches-response-MatchGenerationDate"></a>
The timestamp this version of Match Result generated.  
Type: Timestamp

 ** [NextToken](#API_connect-customer-profiles_GetMatches_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetMatches-response-NextToken"></a>
If there are additional results, this is the token for the next set of results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [PotentialMatches](#API_connect-customer-profiles_GetMatches_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetMatches-response-PotentialMatches"></a>
The number of potential matches found.  
Type: Integer  
Valid Range: Minimum value of 0.

## Errors
<a name="API_connect-customer-profiles_GetMatches_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetMatches_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetMatches) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetMatches) 

# GetObjectTypeAttributeStatistics
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics"></a>

The GetObjectTypeAttributeValues API delivers statistical insights about attributes within a specific object type, but is exclusively available for domains with data store enabled. This API performs daily calculations to provide statistical information about your attribute values, helping you understand patterns and trends in your data. The statistical calculations are performed once per day, providing a consistent snapshot of your attribute data characteristics.

**Note**  
You'll receive null values in two scenarios:   
During the first period after enabling data vault (unless a calculation cycle occurs, which happens once daily).  
For attributes that don't contain numeric values. 

## Request Syntax
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics_RequestSyntax"></a>

```
POST /domains/DomainName/object-types/ObjectTypeName/attributes/AttributeName/statistics HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics_RequestParameters"></a>

The request uses the following URI parameters.

 ** [AttributeName](#API_connect-customer-profiles_GetObjectTypeAttributeStatistics_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetObjectTypeAttributeStatistics-request-uri-AttributeName"></a>
The attribute name.  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_GetObjectTypeAttributeStatistics_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetObjectTypeAttributeStatistics-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_GetObjectTypeAttributeStatistics_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetObjectTypeAttributeStatistics-request-uri-ObjectTypeName"></a>
The unique name of the domain object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CalculatedAt": number,
   "Statistics": { 
      "Average": number,
      "Maximum": number,
      "Minimum": number,
      "Percentiles": { 
         "P25": number,
         "P5": number,
         "P50": number,
         "P75": number,
         "P95": number
      },
      "StandardDeviation": number
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CalculatedAt](#API_connect-customer-profiles_GetObjectTypeAttributeStatistics_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetObjectTypeAttributeStatistics-response-CalculatedAt"></a>
Time when this statistics was calculated.  
Type: Timestamp

 ** [Statistics](#API_connect-customer-profiles_GetObjectTypeAttributeStatistics_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetObjectTypeAttributeStatistics-response-Statistics"></a>
The statistics.  
Type: [GetObjectTypeAttributeStatisticsStats](API_connect-customer-profiles_GetObjectTypeAttributeStatisticsStats.md) object

## Errors
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetObjectTypeAttributeStatistics_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetObjectTypeAttributeStatistics) 

# GetProfileHistoryRecord
<a name="API_connect-customer-profiles_GetProfileHistoryRecord"></a>

Returns a history record for a specific profile, for a specific domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetProfileHistoryRecord_RequestSyntax"></a>

```
GET /domains/DomainName/profiles/ProfileId/history-records/Id HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetProfileHistoryRecord_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetProfileHistoryRecord_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-request-uri-DomainName"></a>
The unique name of the domain for which to return a profile history record.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [Id](#API_connect-customer-profiles_GetProfileHistoryRecord_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-request-uri-Id"></a>
The unique identifier of the profile history record to return.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

 ** [ProfileId](#API_connect-customer-profiles_GetProfileHistoryRecord_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-request-uri-ProfileId"></a>
The unique identifier of the profile for which to return a history record.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetProfileHistoryRecord_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ActionType": "string",
   "Content": "string",
   "CreatedAt": number,
   "Id": "string",
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "PerformedBy": "string",
   "ProfileObjectUniqueKey": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetProfileHistoryRecord_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ActionType](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-ActionType"></a>
The action type of the profile history record.  
Type: String  
Valid Values: `ADDED_PROFILE_KEY | DELETED_PROFILE_KEY | CREATED | UPDATED | INGESTED | DELETED_BY_CUSTOMER | EXPIRED | MERGED | DELETED_BY_MERGE` 

 ** [Content](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-Content"></a>
A string containing the customer profile, profile object, or profile key content.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256000.

 ** [CreatedAt](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-CreatedAt"></a>
The timestamp of when the profile history record was created.  
Type: Timestamp

 ** [Id](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-Id"></a>
The unique identifier of the profile history record.  
Type: String  
Pattern: `[a-f0-9]{32}` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-LastUpdatedAt"></a>
The timestamp of when the profile history record was last updated.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [PerformedBy](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-PerformedBy"></a>
The Amazon Resource Name (ARN) of the person or service principal who performed the action.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [ProfileObjectUniqueKey](#API_connect-customer-profiles_GetProfileHistoryRecord_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileHistoryRecord-response-ProfileObjectUniqueKey"></a>
The unique identifier of the profile object generated by the service.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_GetProfileHistoryRecord_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetProfileHistoryRecord_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetProfileHistoryRecord) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetProfileHistoryRecord) 

# GetProfileObjectType
<a name="API_connect-customer-profiles_GetProfileObjectType"></a>

Returns the object types for a specific domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetProfileObjectType_RequestSyntax"></a>

```
GET /domains/DomainName/object-types/ObjectTypeName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetProfileObjectType_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_GetProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-request-uri-ObjectTypeName"></a>
The name of the profile object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetProfileObjectType_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "AllowProfileCreation": boolean,
   "CreatedAt": number,
   "Description": "string",
   "EncryptionKey": "string",
   "ExpirationDays": number,
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "Keys": { 
      "string" : [ 
         { 
            "FieldNames": [ "string" ],
            "StandardIdentifiers": [ "string" ]
         }
      ]
   },
   "LastUpdatedAt": number,
   "MaxAvailableProfileObjectCount": number,
   "MaxProfileObjectCount": number,
   "ObjectTypeName": "string",
   "SourceLastUpdatedTimestampFormat": "string",
   "SourcePriority": number,
   "Tags": { 
      "string" : "string" 
   },
   "TemplateId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetProfileObjectType_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AllowProfileCreation](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-AllowProfileCreation"></a>
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is `FALSE`. If the AllowProfileCreation flag is set to `FALSE`, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to `TRUE`, and if no match is found, then the service creates a new standard profile.  
Type: Boolean

 ** [CreatedAt](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-CreatedAt"></a>
The timestamp of when the domain was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-Description"></a>
The description of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [EncryptionKey](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-EncryptionKey"></a>
The customer-provided key to encrypt the profile object that will be created in this profile object type.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [ExpirationDays](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-ExpirationDays"></a>
The number of days until the data in the object expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.

 ** [Fields](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-Fields"></a>
A map of the name and ObjectType field.  
Type: String to [ObjectTypeField](API_connect-customer-profiles_ObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$` 

 ** [Keys](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-Keys"></a>
A list of unique keys that can be used to map data to the profile.  
Type: String to array of [ObjectTypeKey](API_connect-customer-profiles_ObjectTypeKey.md) objects map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-LastUpdatedAt"></a>
The timestamp of when the domain was most recently edited.  
Type: Timestamp

 ** [MaxAvailableProfileObjectCount](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-MaxAvailableProfileObjectCount"></a>
The amount of provisioned profile object max count available.  
Type: Integer  
Valid Range: Minimum value of 0.

 ** [MaxProfileObjectCount](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-MaxProfileObjectCount"></a>
The amount of profile object max count assigned to the object type.  
Type: Integer  
Valid Range: Minimum value of 1.

 ** [ObjectTypeName](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [SourceLastUpdatedTimestampFormat](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-SourceLastUpdatedTimestampFormat"></a>
The format of your `sourceLastUpdatedTimestamp` that was previously set up.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [SourcePriority](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-SourcePriority"></a>
An integer that determines the priority of this object type when data from multiple sources is ingested. Lower values take priority. Object types without a specified source priority default to the lowest priority.  
Type: Integer  
Valid Range: Minimum value of 1.

 ** [Tags](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [TemplateId](#API_connect-customer-profiles_GetProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectType-response-TemplateId"></a>
A unique identifier for the object template.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

## Errors
<a name="API_connect-customer-profiles_GetProfileObjectType_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_GetProfileObjectType_Examples"></a>

### Example
<a name="API_connect-customer-profiles_GetProfileObjectType_Example_1"></a>

This example illustrates one usage of GetProfileObjectType.

#### Sample Request
<a name="API_connect-customer-profiles_GetProfileObjectType_Example_1_Request"></a>

```
GET /domains/ExampleDomainName/object-types/MyCustomObject HTTP/1.1
```

#### Sample Response
<a name="API_connect-customer-profiles_GetProfileObjectType_Example_1_Response"></a>

```
Content-type: application/jsonContent-type: application/json
{
   "CreatedAt": 1479249799770,
   "Description": "Internal ERP System",
   "EncryptionKey": "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
   "AllowProfileCreation": "FALSE",
   "ExpirationDays": 100,
   "Fields": { 
      "email" : { 
         "ContentType": "EMAIL_ADDRESS",
         "Source": "_source.email",
         "Target": "_profile.BusinessEmailAddress"
      },
      "phone" : { 
         "ContentType": "PHONE_NUMBER",
         "Source": "_source.phone",
         "Target": "_profile.BusinessPhoneNumber"
      },
      "loyaltyPoints" : { 
         "ContentType": "NUMBER",
         "Source": "_source.loyaltypoints",
         "Target": "_profile.Attributes.loyaltypoints"
      }
   },
   "Keys": { 
      "email" : [ 
         { 
            "FieldNames": [ "email" ],
            "StandardIdentifiers": [ "PROFILE", "UNIQUE" ]
         }
      ],
      "loyaltypoints" : [ 
         { 
            "FieldNames": [ "loyaltyPoints" ],
            "StandardIdentifiers": [ "PROFILE"]
         }
      ]
   },
   "LastUpdatedAt": 1479249799770,
   "ObjectTypeName": "CustomProfileObjectTypeName",
   "SourcePriority": 2,
   "TemplateId": "MyTemplateId"
}
```

## See Also
<a name="API_connect-customer-profiles_GetProfileObjectType_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetProfileObjectType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetProfileObjectType) 

# GetProfileObjectTypeTemplate
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate"></a>

Returns the template information for a specific object type.

A template is a predefined ProfileObjectType, such as “Salesforce-Account” or “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API, with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the template.

## Request Syntax
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_RequestSyntax"></a>

```
GET /templates/TemplateId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_RequestParameters"></a>

The request uses the following URI parameters.

 ** [TemplateId](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-request-uri-TemplateId"></a>
A unique identifier for the object template.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "AllowProfileCreation": boolean,
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "Keys": { 
      "string" : [ 
         { 
            "FieldNames": [ "string" ],
            "StandardIdentifiers": [ "string" ]
         }
      ]
   },
   "SourceLastUpdatedTimestampFormat": "string",
   "SourceName": "string",
   "SourceObject": "string",
   "TemplateId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AllowProfileCreation](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-response-AllowProfileCreation"></a>
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is `FALSE`. If the AllowProfileCreation flag is set to `FALSE`, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to `TRUE`, and if no match is found, then the service creates a new standard profile.  
Type: Boolean

 ** [Fields](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-response-Fields"></a>
A map of the name and ObjectType field.  
Type: String to [ObjectTypeField](API_connect-customer-profiles_ObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$` 

 ** [Keys](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-response-Keys"></a>
A list of unique keys that can be used to map data to the profile.  
Type: String to array of [ObjectTypeKey](API_connect-customer-profiles_ObjectTypeKey.md) objects map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [SourceLastUpdatedTimestampFormat](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-response-SourceLastUpdatedTimestampFormat"></a>
The format of your `sourceLastUpdatedTimestamp` that was previously set up.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [SourceName](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-response-SourceName"></a>
The name of the source of the object template.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [SourceObject](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-response-SourceObject"></a>
The source of the object template.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [TemplateId](#API_connect-customer-profiles_GetProfileObjectTypeTemplate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileObjectTypeTemplate-response-TemplateId"></a>
A unique identifier for the object template.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

## Errors
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_Examples"></a>

### Example
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_Example_1"></a>

This example illustrates one usage of GetProfileObjectTypeTemplate.

#### Sample Request
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_Example_1_Request"></a>

```
GET /templates/{TemplateId} HTTP/1.1
```

#### Sample Response
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_Example_1_Response"></a>

```
Content-type: application/json
{
   "AllowProfileCreätion": "FALSE",
   "Fields": { 
      "email" : { 
         "ContentType": "EMAIL_ADDRESS",
         "Source": "_source.email",
         "Target": "_profile.BusinessEmailAddress"
      },
      "phone" : { 
         "ContentType": "PHONE_NUMBER",
         "Source": "_source.phone",
         "Target": "_profile.Businessphonenumber"
      }
   },
   "Keys": { 
      "_email" : [ 
         { 
            "FieldNames": [ "email" ],
            "StandardIdentifiers": [ "PROFILE", "UNIQUE" ]
         }
      ]
   },
   "SourceName": "Saleforce-Account",
   "SourceObject": "Account",
   "TemplateId": "Saleforce-Account"
}
```

## See Also
<a name="API_connect-customer-profiles_GetProfileObjectTypeTemplate_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate) 

# GetProfileRecommendations
<a name="API_connect-customer-profiles_GetProfileRecommendations"></a>

Fetches the recommendations for a profile in the input Customer Profiles domain. Fetches all the profile recommendations 

## Request Syntax
<a name="API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/ProfileId/recommendations HTTP/1.1
Content-type: application/json

{
   "CandidateIds": [ "string" ],
   "Context": { 
      "string" : "string" 
   },
   "MaxResults": number,
   "MetadataConfig": { 
      "MetadataColumns": [ "string" ]
   },
   "RecommenderFilters": [ 
      { 
         "Name": "string",
         "Values": { 
            "string" : "string" 
         }
      }
   ],
   "RecommenderName": "string",
   "RecommenderPromotionalFilters": [ 
      { 
         "Name": "string",
         "PercentPromotedItems": number,
         "PromotionName": "string",
         "Values": { 
            "string" : "string" 
         }
      }
   ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetProfileRecommendations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ProfileId](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-uri-ProfileId"></a>
The unique identifier of the profile for which to retrieve recommendations.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetProfileRecommendations_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [CandidateIds](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-CandidateIds"></a>
A list of item IDs to rank for the user. Use this when you want to re-rank a specific set of items rather than getting recommendations from the full item catalog. Required for personalized-ranking use cases.  
Type: Array of strings  
Array Members: Maximum number of 50 items.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [Context](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-Context"></a>
The contextual metadata used to provide dynamic runtime information to tailor recommendations.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$`   
Value Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [MaxResults](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-MaxResults"></a>
The maximum number of recommendations to return. The default value is 10.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 500.  
Required: No

 ** [MetadataConfig](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-MetadataConfig"></a>
Configuration for including item metadata in the recommendation response. Use this to specify which metadata columns to return alongside recommended items.  
Type: [MetadataConfig](API_connect-customer-profiles_MetadataConfig.md) object  
Required: No

 ** [RecommenderFilters](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-RecommenderFilters"></a>
A list of filters to apply to the returned recommendations. Filters define criteria for including or excluding items from the recommendation results.  
Type: Array of [RecommenderFilter](API_connect-customer-profiles_RecommenderFilter.md) objects  
Array Members: Maximum number of 1 item.  
Required: No

 ** [RecommenderName](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-RecommenderName"></a>
The unique name of the recommender.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderPromotionalFilters](#API_connect-customer-profiles_GetProfileRecommendations_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-request-RecommenderPromotionalFilters"></a>
A list of promotional filters to apply to the recommendations. Promotional filters allow you to promote specific items within a configurable subset of recommendation results.  
Type: Array of [RecommenderPromotionalFilter](API_connect-customer-profiles_RecommenderPromotionalFilter.md) objects  
Array Members: Maximum number of 1 item.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_GetProfileRecommendations_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Recommendations": [ 
      { 
         "CatalogItem": { 
            "AdditionalInformation": "string",
            "Attributes": { 
               "string" : "string" 
            },
            "Category": "string",
            "Code": "string",
            "CreatedAt": number,
            "Description": "string",
            "Id": "string",
            "ImageLink": "string",
            "Link": "string",
            "Name": "string",
            "Price": "string",
            "Type": "string",
            "UpdatedAt": number
         },
         "Score": number
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetProfileRecommendations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Recommendations](#API_connect-customer-profiles_GetProfileRecommendations_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetProfileRecommendations-response-Recommendations"></a>
List of recommendations generated by the recommender.  
Type: Array of [Recommendation](API_connect-customer-profiles_Recommendation.md) objects

## Errors
<a name="API_connect-customer-profiles_GetProfileRecommendations_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetProfileRecommendations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetProfileRecommendations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetProfileRecommendations) 

# GetRecommender
<a name="API_connect-customer-profiles_GetRecommender"></a>

Retrieves a recommender.

## Request Syntax
<a name="API_connect-customer-profiles_GetRecommender_RequestSyntax"></a>

```
GET /domains/DomainName/recommenders/RecommenderName?training-metrics-count=TrainingMetricsCount HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetRecommender_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderName](#API_connect-customer-profiles_GetRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-request-uri-RecommenderName"></a>
The name of the recommender.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [TrainingMetricsCount](#API_connect-customer-profiles_GetRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-request-uri-TrainingMetricsCount"></a>
The number of training metrics to retrieve for the recommender.  
Valid Range: Minimum value of 0. Maximum value of 5.

## Request Body
<a name="API_connect-customer-profiles_GetRecommender_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetRecommender_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "FailureReason": "string",
   "LastUpdatedAt": number,
   "LatestRecommenderUpdate": { 
      "CreatedAt": number,
      "FailureReason": "string",
      "LastUpdatedAt": number,
      "RecommenderConfig": { 
         "EventsConfig": { 
            "EventParametersList": [ 
               { 
                  "EventType": "string",
                  "EventValueThreshold": number,
                  "EventWeight": number
               }
            ]
         },
         "IncludedColumns": { 
            "string" : [ "string" ]
         },
         "InferenceConfig": { 
            "MinProvisionedTPS": number
         },
         "TrainingFrequency": number
      },
      "Status": "string"
   },
   "RecommenderConfig": { 
      "EventsConfig": { 
         "EventParametersList": [ 
            { 
               "EventType": "string",
               "EventValueThreshold": number,
               "EventWeight": number
            }
         ]
      },
      "IncludedColumns": { 
         "string" : [ "string" ]
      },
      "InferenceConfig": { 
         "MinProvisionedTPS": number
      },
      "TrainingFrequency": number
   },
   "RecommenderName": "string",
   "RecommenderRecipeName": "string",
   "RecommenderSchemaName": "string",
   "Status": "string",
   "Tags": { 
      "string" : "string" 
   },
   "TrainingMetrics": [ 
      { 
         "Metrics": { 
            "string" : number 
         },
         "Time": number
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetRecommender_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-CreatedAt"></a>
The timestamp of when the recommender was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-Description"></a>
A detailed description of the recommender providing information about its purpose and functionality.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [FailureReason](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-FailureReason"></a>
If the recommender fails, provides the reason for the failure.  
Type: String

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-LastUpdatedAt"></a>
The timestamp of when the recommender was edited.  
Type: Timestamp

 ** [LatestRecommenderUpdate](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-LatestRecommenderUpdate"></a>
Information about the most recent update performed on the recommender, including status and timestamp.  
Type: [RecommenderUpdate](API_connect-customer-profiles_RecommenderUpdate.md) object

 ** [RecommenderConfig](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-RecommenderConfig"></a>
The configuration settings for the recommender, including parameters and settings that define its behavior.  
Type: [RecommenderConfig](API_connect-customer-profiles_RecommenderConfig.md) object

 ** [RecommenderName](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-RecommenderName"></a>
The name of the recommender.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [RecommenderRecipeName](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-RecommenderRecipeName"></a>
The name of the recipe used by the recommender to generate recommendations.  
Type: String  
Valid Values: `recommended-for-you | similar-items | frequently-paired-items | popular-items | trending-now | personalized-ranking` 

 ** [RecommenderSchemaName](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-RecommenderSchemaName"></a>
The name of the recommender schema associated with this recommender.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Status](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-Status"></a>
The current status of the recommender, indicating whether it is active, creating, updating, or in another state.  
Type: String  
Valid Values: `PENDING | IN_PROGRESS | ACTIVE | FAILED | STOPPING | INACTIVE | STARTING | DELETING` 

 ** [Tags](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [TrainingMetrics](#API_connect-customer-profiles_GetRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommender-response-TrainingMetrics"></a>
A set of metrics that provide information about the recommender's training performance and accuracy.  
Type: Array of [TrainingMetrics](API_connect-customer-profiles_TrainingMetrics.md) objects

## Errors
<a name="API_connect-customer-profiles_GetRecommender_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetRecommender_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetRecommender) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetRecommender) 

# GetRecommenderFilter
<a name="API_connect-customer-profiles_GetRecommenderFilter"></a>

Retrieves information about a specific recommender filter in a domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetRecommenderFilter_RequestSyntax"></a>

```
GET /domains/DomainName/recommender-filters/RecommenderFilterName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetRecommenderFilter_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderFilterName](#API_connect-customer-profiles_GetRecommenderFilter_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-request-uri-RecommenderFilterName"></a>
The name of the recommender filter to retrieve.  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z0-9_-]+`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetRecommenderFilter_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "FailureReason": "string",
   "RecommenderFilterExpression": "string",
   "RecommenderFilterName": "string",
   "RecommenderSchemaName": "string",
   "Status": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetRecommenderFilter_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-CreatedAt"></a>
The timestamp of when the recommender filter was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-Description"></a>
The description of the recommender filter.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [FailureReason](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-FailureReason"></a>
If the recommender filter failed, provides the reason for the failure.  
Type: String

 ** [RecommenderFilterExpression](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-RecommenderFilterExpression"></a>
The filter expression that defines which items to include or exclude from recommendations.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2500.

 ** [RecommenderFilterName](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-RecommenderFilterName"></a>
The name of the recommender filter.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z0-9_-]+` 

 ** [RecommenderSchemaName](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-RecommenderSchemaName"></a>
The name of the recommender schema associated with this recommender filter.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Status](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-Status"></a>
The status of the recommender filter.  
Type: String  
Valid Values: `ACTIVE | PENDING | IN_PROGRESS | FAILED | DELETING` 

 ** [Tags](#API_connect-customer-profiles_GetRecommenderFilter_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderFilter-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_GetRecommenderFilter_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetRecommenderFilter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetRecommenderFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetRecommenderFilter) 

# GetRecommenderSchema
<a name="API_connect-customer-profiles_GetRecommenderSchema"></a>

Retrieves information about a specific recommender schema in a domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetRecommenderSchema_RequestSyntax"></a>

```
GET /domains/DomainName/recommender-schemas/RecommenderSchemaName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetRecommenderSchema_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderSchema-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderSchemaName](#API_connect-customer-profiles_GetRecommenderSchema_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderSchema-request-uri-RecommenderSchemaName"></a>
The name of the recommender schema to retrieve.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetRecommenderSchema_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetRecommenderSchema_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Fields": { 
      "string" : [ 
         { 
            "ContentType": "string",
            "FeatureType": "string",
            "TargetFieldName": "string"
         }
      ]
   },
   "RecommenderSchemaName": "string",
   "Status": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetRecommenderSchema_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderSchema-response-CreatedAt"></a>
The timestamp of when the recommender schema was created.  
Type: Timestamp

 ** [Fields](#API_connect-customer-profiles_GetRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderSchema-response-Fields"></a>
A map of dataset type to column definitions included in the schema.  
Type: String to array of [RecommenderSchemaField](API_connect-customer-profiles_RecommenderSchemaField.md) objects map  
Map Entries: Maximum number of 1 item.  
Array Members: Minimum number of 1 item. Maximum number of 9 items.

 ** [RecommenderSchemaName](#API_connect-customer-profiles_GetRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderSchema-response-RecommenderSchemaName"></a>
The name of the recommender schema.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Status](#API_connect-customer-profiles_GetRecommenderSchema_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetRecommenderSchema-response-Status"></a>
The status of the recommender schema.  
Type: String  
Valid Values: `ACTIVE | DELETING` 

## Errors
<a name="API_connect-customer-profiles_GetRecommenderSchema_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetRecommenderSchema_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetRecommenderSchema) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetRecommenderSchema) 

# GetSegmentDefinition
<a name="API_connect-customer-profiles_GetSegmentDefinition"></a>

Gets a segment definition from the domain.

## Request Syntax
<a name="API_connect-customer-profiles_GetSegmentDefinition_RequestSyntax"></a>

```
GET /domains/DomainName/segment-definitions/SegmentDefinitionName HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetSegmentDefinition_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [SegmentDefinitionName](#API_connect-customer-profiles_GetSegmentDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-request-uri-SegmentDefinitionName"></a>
The unique name of the segment definition.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetSegmentDefinition_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "SegmentDefinitionArn": "string",
   "SegmentDefinitionName": "string",
   "SegmentGroups": { 
      "Groups": [ 
         { 
            "Dimensions": [ 
               { ... }
            ],
            "SourceSegments": [ 
               { 
                  "SegmentDefinitionName": "string"
               }
            ],
            "SourceType": "string",
            "Type": "string"
         }
      ],
      "Include": "string"
   },
   "SegmentSort": { 
      "Attributes": [ 
         { 
            "DataType": "string",
            "Name": "string",
            "Order": "string",
            "Type": "string"
         }
      ]
   },
   "SegmentSqlQuery": "string",
   "SegmentType": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetSegmentDefinition_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-CreatedAt"></a>
The timestamp of when the segment definition was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-Description"></a>
The description of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 4000.

 ** [DisplayName](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-DisplayName"></a>
The display name of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [SegmentDefinitionArn](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-SegmentDefinitionArn"></a>
The arn of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [SegmentDefinitionName](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-SegmentDefinitionName"></a>
The name of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [SegmentGroups](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-SegmentGroups"></a>
The segment criteria associated with this definition.  
Type: [SegmentGroup](API_connect-customer-profiles_SegmentGroup.md) object

 ** [SegmentSort](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-SegmentSort"></a>
The segment sort.  
Type: [SegmentSort](API_connect-customer-profiles_SegmentSort.md) object

 ** [SegmentSqlQuery](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-SegmentSqlQuery"></a>
The segment SQL query.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 50000.

 ** [SegmentType](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-SegmentType"></a>
The segment type.  
 Classic : Segments created using traditional SegmentGroup structure  
 Enhanced : Segments created using SQL queries   
Type: String  
Valid Values: `CLASSIC | ENHANCED` 

 ** [Tags](#API_connect-customer-profiles_GetSegmentDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentDefinition-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_GetSegmentDefinition_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetSegmentDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetSegmentDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetSegmentDefinition) 

# GetSegmentEstimate
<a name="API_connect-customer-profiles_GetSegmentEstimate"></a>

Gets the result of a segment estimate query.

## Request Syntax
<a name="API_connect-customer-profiles_GetSegmentEstimate_RequestSyntax"></a>

```
GET /domains/DomainName/segment-estimates/EstimateId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetSegmentEstimate_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetSegmentEstimate_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EstimateId](#API_connect-customer-profiles_GetSegmentEstimate_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-request-uri-EstimateId"></a>
The query Id passed by a previous `CreateSegmentEstimate` operation.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetSegmentEstimate_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetSegmentEstimate_ResponseSyntax"></a>

```
HTTP/1.1 StatusCode
Content-type: application/json

{
   "DomainName": "string",
   "Estimate": "string",
   "EstimateId": "string",
   "Message": "string",
   "Status": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetSegmentEstimate_ResponseElements"></a>

If the action is successful, the service sends back the following HTTP response.

 ** [StatusCode](#API_connect-customer-profiles_GetSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-response-StatusCode"></a>
The status code of the segment estimate.

The following data is returned in JSON format by the service.

 ** [DomainName](#API_connect-customer-profiles_GetSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Estimate](#API_connect-customer-profiles_GetSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-response-Estimate"></a>
The estimated number of profiles contained in the segment.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [EstimateId](#API_connect-customer-profiles_GetSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-response-EstimateId"></a>
The `QueryId` which is the same as the value passed in `QueryId`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [Message](#API_connect-customer-profiles_GetSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-response-Message"></a>
The error message if there is any error.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [Status](#API_connect-customer-profiles_GetSegmentEstimate_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentEstimate-response-Status"></a>
The current status of the query.  
Type: String  
Valid Values: `RUNNING | SUCCEEDED | FAILED` 

## Errors
<a name="API_connect-customer-profiles_GetSegmentEstimate_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetSegmentEstimate_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetSegmentEstimate) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetSegmentEstimate) 

# GetSegmentMembership
<a name="API_connect-customer-profiles_GetSegmentMembership"></a>

Determines if the given profiles are within a segment.

## Request Syntax
<a name="API_connect-customer-profiles_GetSegmentMembership_RequestSyntax"></a>

```
POST /domains/DomainName/segments/SegmentDefinitionName/membership HTTP/1.1
Content-type: application/json

{
   "ProfileIds": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetSegmentMembership_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetSegmentMembership_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentMembership-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [SegmentDefinitionName](#API_connect-customer-profiles_GetSegmentMembership_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentMembership-request-uri-SegmentDefinitionName"></a>
The Id of the wanted segment. Needs to be a valid, and existing segment Id.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetSegmentMembership_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ProfileIds](#API_connect-customer-profiles_GetSegmentMembership_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentMembership-request-ProfileIds"></a>
The list of profile IDs to query for.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 100 items.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_GetSegmentMembership_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Failures": [ 
      { 
         "Message": "string",
         "ProfileId": "string",
         "Status": number
      }
   ],
   "LastComputedAt": number,
   "Profiles": [ 
      { 
         "Profile": { 
            "AccountNumber": "string",
            "AdditionalInformation": "string",
            "Address": { 
               "Address1": "string",
               "Address2": "string",
               "Address3": "string",
               "Address4": "string",
               "City": "string",
               "Country": "string",
               "County": "string",
               "PostalCode": "string",
               "Province": "string",
               "State": "string"
            },
            "Attributes": { 
               "string" : "string" 
            },
            "BillingAddress": { 
               "Address1": "string",
               "Address2": "string",
               "Address3": "string",
               "Address4": "string",
               "City": "string",
               "Country": "string",
               "County": "string",
               "PostalCode": "string",
               "Province": "string",
               "State": "string"
            },
            "BirthDate": "string",
            "BusinessEmailAddress": "string",
            "BusinessName": "string",
            "BusinessPhoneNumber": "string",
            "EmailAddress": "string",
            "EngagementPreferences": { 
               "Email": [ 
                  { 
                     "ContactType": "string",
                     "KeyName": "string",
                     "KeyValue": "string",
                     "ProfileId": "string"
                  }
               ],
               "Phone": [ 
                  { 
                     "ContactType": "string",
                     "KeyName": "string",
                     "KeyValue": "string",
                     "ProfileId": "string"
                  }
               ]
            },
            "FirstName": "string",
            "FoundByItems": [ 
               { 
                  "KeyName": "string",
                  "Values": [ "string" ]
               }
            ],
            "Gender": "string",
            "GenderString": "string",
            "HomePhoneNumber": "string",
            "LastName": "string",
            "MailingAddress": { 
               "Address1": "string",
               "Address2": "string",
               "Address3": "string",
               "Address4": "string",
               "City": "string",
               "Country": "string",
               "County": "string",
               "PostalCode": "string",
               "Province": "string",
               "State": "string"
            },
            "MiddleName": "string",
            "MobilePhoneNumber": "string",
            "PartyType": "string",
            "PartyTypeString": "string",
            "PersonalEmailAddress": "string",
            "PhoneNumber": "string",
            "ProfileId": "string",
            "ProfileType": "string",
            "ShippingAddress": { 
               "Address1": "string",
               "Address2": "string",
               "Address3": "string",
               "Address4": "string",
               "City": "string",
               "Country": "string",
               "County": "string",
               "PostalCode": "string",
               "Province": "string",
               "State": "string"
            }
         },
         "ProfileId": "string",
         "QueryResult": "string"
      }
   ],
   "SegmentDefinitionName": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetSegmentMembership_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Failures](#API_connect-customer-profiles_GetSegmentMembership_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentMembership-response-Failures"></a>
An array of maps where each contains a response per profile failed for the request.  
Type: Array of [ProfileQueryFailures](API_connect-customer-profiles_ProfileQueryFailures.md) objects

 ** [LastComputedAt](#API_connect-customer-profiles_GetSegmentMembership_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentMembership-response-LastComputedAt"></a>
The timestamp indicating when the segment membership was last computed or updated.  
Type: Timestamp

 ** [Profiles](#API_connect-customer-profiles_GetSegmentMembership_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentMembership-response-Profiles"></a>
An array of maps where each contains a response per profile requested.  
Type: Array of [ProfileQueryResult](API_connect-customer-profiles_ProfileQueryResult.md) objects

 ** [SegmentDefinitionName](#API_connect-customer-profiles_GetSegmentMembership_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentMembership-response-SegmentDefinitionName"></a>
The unique name of the segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

## Errors
<a name="API_connect-customer-profiles_GetSegmentMembership_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetSegmentMembership_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetSegmentMembership) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetSegmentMembership) 

# GetSegmentSnapshot
<a name="API_connect-customer-profiles_GetSegmentSnapshot"></a>

Retrieve the latest status of a segment snapshot.

## Request Syntax
<a name="API_connect-customer-profiles_GetSegmentSnapshot_RequestSyntax"></a>

```
GET /domains/DomainName/segments/SegmentDefinitionName/snapshots/SnapshotId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetSegmentSnapshot_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-request-uri-DomainName"></a>
The unique identifier of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [SegmentDefinitionName](#API_connect-customer-profiles_GetSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-request-uri-SegmentDefinitionName"></a>
The unique name of the segment definition.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [SnapshotId](#API_connect-customer-profiles_GetSegmentSnapshot_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-request-uri-SnapshotId"></a>
The unique identifier of the segment snapshot.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetSegmentSnapshot_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "DataFormat": "string",
   "DestinationUri": "string",
   "EncryptionKey": "string",
   "RoleArn": "string",
   "SnapshotId": "string",
   "Status": "string",
   "StatusMessage": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetSegmentSnapshot_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [DataFormat](#API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-response-DataFormat"></a>
The format in which the segment will be exported.  
Type: String  
Valid Values: `CSV | JSONL | ORC` 

 ** [DestinationUri](#API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-response-DestinationUri"></a>
The destination to which the segment will be exported. This field must be provided if the request is not submitted from the Amazon Connect Admin Website.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [EncryptionKey](#API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-response-EncryptionKey"></a>
The Amazon Resource Name (ARN) of the KMS key used to encrypt the exported segment.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [RoleArn](#API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-response-RoleArn"></a>
The Amazon Resource Name (ARN) of the IAM role that allows Customer Profiles service principal to assume the role for conducting KMS and S3 operations.  
Type: String  
Length Constraints: Maximum length of 512.  
Pattern: `arn:aws:iam:.*:[0-9]+:.*` 

 ** [SnapshotId](#API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-response-SnapshotId"></a>
The unique identifier of the segment snapshot.  
Type: String  
Pattern: `[a-f0-9]{32}` 

 ** [Status](#API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-response-Status"></a>
The status of the asynchronous job for exporting the segment snapshot.  
Type: String  
Valid Values: `COMPLETED | IN_PROGRESS | FAILED` 

 ** [StatusMessage](#API_connect-customer-profiles_GetSegmentSnapshot_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSegmentSnapshot-response-StatusMessage"></a>
The status message of the asynchronous job for exporting the segment snapshot.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

## Errors
<a name="API_connect-customer-profiles_GetSegmentSnapshot_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetSegmentSnapshot_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetSegmentSnapshot) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetSegmentSnapshot) 

# GetSimilarProfiles
<a name="API_connect-customer-profiles_GetSimilarProfiles"></a>

Returns a set of profiles that belong to the same matching group using the `matchId` or `profileId`. You can also specify the type of matching that you want for finding similar profiles using either `RULE_BASED_MATCHING` or `ML_BASED_MATCHING`.

## Request Syntax
<a name="API_connect-customer-profiles_GetSimilarProfiles_RequestSyntax"></a>

```
POST /domains/DomainName/matches?max-results=MaxResults&next-token=NextToken HTTP/1.1
Content-type: application/json

{
   "MatchType": "string",
   "SearchKey": "string",
   "SearchValue": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetSimilarProfiles_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetSimilarProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_GetSimilarProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_GetSimilarProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-request-uri-NextToken"></a>
The pagination token from the previous `GetSimilarProfiles` API call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_GetSimilarProfiles_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [MatchType](#API_connect-customer-profiles_GetSimilarProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-request-MatchType"></a>
Specify the type of matching to get similar profiles for.  
Type: String  
Valid Values: `RULE_BASED_MATCHING | ML_BASED_MATCHING`   
Required: Yes

 ** [SearchKey](#API_connect-customer-profiles_GetSimilarProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-request-SearchKey"></a>
The string indicating the search key to be used.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [SearchValue](#API_connect-customer-profiles_GetSimilarProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-request-SearchValue"></a>
The string based on `SearchKey` to be searched for similar profiles.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_GetSimilarProfiles_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ConfidenceScore": number,
   "MatchId": "string",
   "MatchType": "string",
   "NextToken": "string",
   "ProfileIds": [ "string" ],
   "RuleLevel": number
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetSimilarProfiles_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ConfidenceScore](#API_connect-customer-profiles_GetSimilarProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-response-ConfidenceScore"></a>
It only has value when the `MatchType` is `ML_BASED_MATCHING`.A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used as an absolute measure of matching quality.  
Type: Double

 ** [MatchId](#API_connect-customer-profiles_GetSimilarProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-response-MatchId"></a>
The string `matchId` that the similar profiles belong to.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [MatchType](#API_connect-customer-profiles_GetSimilarProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-response-MatchType"></a>
Specify the type of matching to get similar profiles for.  
Type: String  
Valid Values: `RULE_BASED_MATCHING | ML_BASED_MATCHING` 

 ** [NextToken](#API_connect-customer-profiles_GetSimilarProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-response-NextToken"></a>
The pagination token from the previous `GetSimilarProfiles` API call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [ProfileIds](#API_connect-customer-profiles_GetSimilarProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-response-ProfileIds"></a>
Set of `profileId`s that belong to the same matching group.  
Type: Array of strings  
Pattern: `[a-f0-9]{32}` 

 ** [RuleLevel](#API_connect-customer-profiles_GetSimilarProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetSimilarProfiles-response-RuleLevel"></a>
The integer rule level that the profiles matched on.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 15.

## Errors
<a name="API_connect-customer-profiles_GetSimilarProfiles_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetSimilarProfiles_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetSimilarProfiles) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetSimilarProfiles) 

# GetUploadJob
<a name="API_connect-customer-profiles_GetUploadJob"></a>

This API retrieves the details of a specific upload job. 

## Request Syntax
<a name="API_connect-customer-profiles_GetUploadJob_RequestSyntax"></a>

```
GET /domains/DomainName/upload-jobs/JobId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetUploadJob_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-request-uri-DomainName"></a>
The unique name of the domain containing the upload job.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [JobId](#API_connect-customer-profiles_GetUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-request-uri-JobId"></a>
The unique identifier of the upload job to retrieve.   
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetUploadJob_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetUploadJob_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CompletedAt": number,
   "CreatedAt": number,
   "DataExpiry": number,
   "DisplayName": "string",
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "JobId": "string",
   "ResultsSummary": { 
      "CreatedRecords": number,
      "FailedRecords": number,
      "UpdatedRecords": number
   },
   "Status": "string",
   "StatusReason": "string",
   "UniqueKey": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetUploadJob_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CompletedAt](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-CompletedAt"></a>
The timestamp when the upload job was completed.   
Type: Timestamp

 ** [CreatedAt](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-CreatedAt"></a>
The timestamp when the upload job was created.   
Type: Timestamp

 ** [DataExpiry](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-DataExpiry"></a>
The expiry duration for the profiles ingested with the upload job.   
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.

 ** [DisplayName](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-DisplayName"></a>
The unique name of the upload job. Could be a file name to identify the upload job.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [Fields](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-Fields"></a>
The mapping between CSV Columns and Profile Object attributes for the upload job.   
Type: String to [ObjectTypeField](API_connect-customer-profiles_ObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$` 

 ** [JobId](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-JobId"></a>
The unique identifier of the upload job.   
Type: String  
Pattern: `[a-f0-9]{32}` 

 ** [ResultsSummary](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-ResultsSummary"></a>
The summary of results for the upload job, including the number of updated, created, and failed records.   
Type: [ResultsSummary](API_connect-customer-profiles_ResultsSummary.md) object

 ** [Status](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-Status"></a>
The status describing the status for the upload job. The following are Valid Values:   
+  **CREATED**: The upload job has been created, but has not started processing yet. 
+  **IN\$1PROGRESS**: The upload job is currently in progress, ingesting and processing the profile data. 
+  **PARTIALLY\$1SUCCEEDED**: The upload job has successfully completed the ingestion and processing of all profile data. 
+  **SUCCEEDED**: The upload job has successfully completed the ingestion and processing of all profile data. 
+  **FAILED**: The upload job has failed to complete. 
+  **STOPPED**: The upload job has been manually stopped or terminated before completion. 
Type: String  
Valid Values: `CREATED | IN_PROGRESS | PARTIALLY_SUCCEEDED | SUCCEEDED | FAILED | STOPPED` 

 ** [StatusReason](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-StatusReason"></a>
The reason for the current status of the upload job. Possible reasons:   
+  **VALIDATION\$1FAILURE**: The upload job has encountered an error or issue and was unable to complete the profile data ingestion. 
+  **INTERNAL\$1FAILURE**: Failure caused from service side 
Type: String  
Valid Values: `VALIDATION_FAILURE | INTERNAL_FAILURE` 

 ** [UniqueKey](#API_connect-customer-profiles_GetUploadJob_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJob-response-UniqueKey"></a>
The unique key columns used for de-duping the keys in the upload job.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

## Errors
<a name="API_connect-customer-profiles_GetUploadJob_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetUploadJob_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetUploadJob) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetUploadJob) 

# GetUploadJobPath
<a name="API_connect-customer-profiles_GetUploadJobPath"></a>

This API retrieves the pre-signed URL and client token for uploading the file associated with the upload job. 

## Request Syntax
<a name="API_connect-customer-profiles_GetUploadJobPath_RequestSyntax"></a>

```
GET /domains/DomainName/upload-jobs/JobId/path HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetUploadJobPath_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetUploadJobPath_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJobPath-request-uri-DomainName"></a>
The unique name of the domain containing the upload job.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [JobId](#API_connect-customer-profiles_GetUploadJobPath_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJobPath-request-uri-JobId"></a>
The unique identifier of the upload job to retrieve the upload path for. This is generated from the CreateUploadJob API.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetUploadJobPath_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetUploadJobPath_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ClientToken": "string",
   "Url": "string",
   "ValidUntil": number
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetUploadJobPath_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ClientToken](#API_connect-customer-profiles_GetUploadJobPath_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJobPath-response-ClientToken"></a>
The plaintext data key used to encrypt the upload file.   
To persist to the pre-signed url, use the client token and MD5 client token as header. The required headers are as follows:   
+ x-amz-server-side-encryption-customer-key: Client Token 
+ x-amz-server-side-encryption-customer-key-MD5: MD5 Client Token 
+ x-amz-server-side-encryption-customer-algorithm: AES256 
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [Url](#API_connect-customer-profiles_GetUploadJobPath_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJobPath-response-Url"></a>
The pre-signed S3 URL for uploading the CSV file associated with the upload job.   
Type: String  
Length Constraints: Maximum length of 2048.  
Pattern: `.*` 

 ** [ValidUntil](#API_connect-customer-profiles_GetUploadJobPath_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetUploadJobPath-response-ValidUntil"></a>
The expiry timestamp for the pre-signed URL, after which the URL will no longer be valid.   
Type: Timestamp

## Errors
<a name="API_connect-customer-profiles_GetUploadJobPath_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetUploadJobPath_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetUploadJobPath) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetUploadJobPath) 

# GetWorkflow
<a name="API_connect-customer-profiles_GetWorkflow"></a>

Get details of specified workflow.

## Request Syntax
<a name="API_connect-customer-profiles_GetWorkflow_RequestSyntax"></a>

```
GET /domains/DomainName/workflows/WorkflowId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetWorkflow_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [WorkflowId](#API_connect-customer-profiles_GetWorkflow_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-request-uri-WorkflowId"></a>
Unique identifier for the workflow.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetWorkflow_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetWorkflow_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Attributes": { 
      "AppflowIntegration": { 
         "ConnectorProfileName": "string",
         "RoleArn": "string",
         "SourceConnectorType": "string"
      }
   },
   "ErrorDescription": "string",
   "LastUpdatedAt": number,
   "Metrics": { 
      "AppflowIntegration": { 
         "RecordsProcessed": number,
         "StepsCompleted": number,
         "TotalSteps": number
      }
   },
   "StartDate": number,
   "Status": "string",
   "WorkflowId": "string",
   "WorkflowType": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetWorkflow_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Attributes](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-Attributes"></a>
Attributes provided for workflow execution.  
Type: [WorkflowAttributes](API_connect-customer-profiles_WorkflowAttributes.md) object

 ** [ErrorDescription](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-ErrorDescription"></a>
Workflow error messages during execution (if any).  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [LastUpdatedAt](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-LastUpdatedAt"></a>
The timestamp that represents when workflow execution last updated.  
Type: Timestamp

 ** [Metrics](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-Metrics"></a>
Workflow specific execution metrics.  
Type: [WorkflowMetrics](API_connect-customer-profiles_WorkflowMetrics.md) object

 ** [StartDate](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-StartDate"></a>
The timestamp that represents when workflow execution started.  
Type: Timestamp

 ** [Status](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-Status"></a>
Status of workflow execution.  
Type: String  
Valid Values: `NOT_STARTED | IN_PROGRESS | COMPLETE | FAILED | SPLIT | RETRY | CANCELLED` 

 ** [WorkflowId](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-WorkflowId"></a>
Unique identifier for the workflow.  
Type: String  
Pattern: `[a-f0-9]{32}` 

 ** [WorkflowType](#API_connect-customer-profiles_GetWorkflow_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflow-response-WorkflowType"></a>
The type of workflow. The only supported value is APPFLOW\$1INTEGRATION.  
Type: String  
Valid Values: `APPFLOW_INTEGRATION` 

## Errors
<a name="API_connect-customer-profiles_GetWorkflow_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetWorkflow_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetWorkflow) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetWorkflow) 

# GetWorkflowSteps
<a name="API_connect-customer-profiles_GetWorkflowSteps"></a>

Get granular list of steps in workflow.

## Request Syntax
<a name="API_connect-customer-profiles_GetWorkflowSteps_RequestSyntax"></a>

```
GET /domains/DomainName/workflows/WorkflowId/steps?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_GetWorkflowSteps_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_GetWorkflowSteps_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_GetWorkflowSteps_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-request-uri-MaxResults"></a>
The maximum number of results to return per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_GetWorkflowSteps_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-request-uri-NextToken"></a>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [WorkflowId](#API_connect-customer-profiles_GetWorkflowSteps_RequestSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-request-uri-WorkflowId"></a>
Unique identifier for the workflow.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_GetWorkflowSteps_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_GetWorkflowSteps_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "AppflowIntegration": { 
            "BatchRecordsEndTime": "string",
            "BatchRecordsStartTime": "string",
            "CreatedAt": number,
            "ExecutionMessage": "string",
            "FlowName": "string",
            "LastUpdatedAt": number,
            "RecordsProcessed": number,
            "Status": "string"
         }
      }
   ],
   "NextToken": "string",
   "WorkflowId": "string",
   "WorkflowType": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_GetWorkflowSteps_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_GetWorkflowSteps_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-response-Items"></a>
List containing workflow step details.  
Type: Array of [WorkflowStepItem](API_connect-customer-profiles_WorkflowStepItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_GetWorkflowSteps_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-response-NextToken"></a>
If there are additional results, this is the token for the next set of results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [WorkflowId](#API_connect-customer-profiles_GetWorkflowSteps_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-response-WorkflowId"></a>
Unique identifier for the workflow.  
Type: String  
Pattern: `[a-f0-9]{32}` 

 ** [WorkflowType](#API_connect-customer-profiles_GetWorkflowSteps_ResponseSyntax) **   <a name="connect-connect-customer-profiles_GetWorkflowSteps-response-WorkflowType"></a>
The type of workflow. The only supported value is APPFLOW\$1INTEGRATION.  
Type: String  
Valid Values: `APPFLOW_INTEGRATION` 

## Errors
<a name="API_connect-customer-profiles_GetWorkflowSteps_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_GetWorkflowSteps_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/GetWorkflowSteps) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/GetWorkflowSteps) 

# ListAccountIntegrations
<a name="API_connect-customer-profiles_ListAccountIntegrations"></a>

Lists all of the integrations associated to a specific URI in the AWS account.

## Request Syntax
<a name="API_connect-customer-profiles_ListAccountIntegrations_RequestSyntax"></a>

```
POST /integrations?include-hidden=IncludeHidden&max-results=MaxResults&next-token=NextToken HTTP/1.1
Content-type: application/json

{
   "Uri": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListAccountIntegrations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [IncludeHidden](#API_connect-customer-profiles_ListAccountIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListAccountIntegrations-request-uri-IncludeHidden"></a>
Boolean to indicate if hidden integration should be returned. Defaults to `False`.

 ** [MaxResults](#API_connect-customer-profiles_ListAccountIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListAccountIntegrations-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListAccountIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListAccountIntegrations-request-uri-NextToken"></a>
The pagination token from the previous ListAccountIntegrations API call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListAccountIntegrations_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Uri](#API_connect-customer-profiles_ListAccountIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListAccountIntegrations-request-Uri"></a>
The URI of the S3 bucket or any other type of data source.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_ListAccountIntegrations_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "DomainName": "string",
         "EventTriggerNames": [ "string" ],
         "IsUnstructured": boolean,
         "LastUpdatedAt": number,
         "ObjectTypeName": "string",
         "ObjectTypeNames": { 
            "string" : "string" 
         },
         "RoleArn": "string",
         "Scope": "string",
         "Tags": { 
            "string" : "string" 
         },
         "Uri": "string",
         "WorkflowId": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListAccountIntegrations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListAccountIntegrations_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListAccountIntegrations-response-Items"></a>
The list of ListAccountIntegration instances.  
Type: Array of [ListIntegrationItem](API_connect-customer-profiles_ListIntegrationItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListAccountIntegrations_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListAccountIntegrations-response-NextToken"></a>
The pagination token from the previous ListAccountIntegrations API call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListAccountIntegrations_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_ListAccountIntegrations_Examples"></a>

### Example
<a name="API_connect-customer-profiles_ListAccountIntegrations_Example_1"></a>

This example illustrates one usage of ListAccountIntegrations.

#### Sample Request
<a name="API_connect-customer-profiles_ListAccountIntegrations_Example_1_Request"></a>

```
POST /integrations?max-results=10&next-token={NextToken} HTTP/1.1

{
   "Uri": "arn:aws:sqs:us-east-1:123456789012:URIOfIntegration1"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_ListAccountIntegrations_Example_1_Response"></a>

```
Content-type: application/json
{
   "Items": [ 
      { 
         "CreatedAt": 1479249799770,
         "DomainName": "ExampleDomainName",
         "LastUpdatedAt": 1479249799770,
         "ObjectTypeName": "MyCustomObject",
         "Uri": "arn:aws:flow:us-east-1:123456789012:URIOfIntegration1"
      }
   ],
   "NextToken": "e17145a2-916b-42a2-b4d3-0267fEXAMPLE"
}
```

## See Also
<a name="API_connect-customer-profiles_ListAccountIntegrations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListAccountIntegrations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListAccountIntegrations) 

# ListCalculatedAttributeDefinitions
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions"></a>

Lists calculated attribute definitions for Customer Profiles

## Request Syntax
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions_RequestSyntax"></a>

```
GET /domains/DomainName/calculated-attributes?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListCalculatedAttributeDefinitions_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributeDefinitions-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListCalculatedAttributeDefinitions_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributeDefinitions-request-uri-MaxResults"></a>
The maximum number of calculated attribute definitions returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListCalculatedAttributeDefinitions_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributeDefinitions-request-uri-NextToken"></a>
The pagination token from the previous call to ListCalculatedAttributeDefinitions.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CalculatedAttributeName": "string",
         "CreatedAt": number,
         "Description": "string",
         "DisplayName": "string",
         "LastUpdatedAt": number,
         "Status": "string",
         "Tags": { 
            "string" : "string" 
         },
         "UseHistoricalData": boolean
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListCalculatedAttributeDefinitions_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributeDefinitions-response-Items"></a>
The list of calculated attribute definitions.  
Type: Array of [ListCalculatedAttributeDefinitionItem](API_connect-customer-profiles_ListCalculatedAttributeDefinitionItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListCalculatedAttributeDefinitions_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributeDefinitions-response-NextToken"></a>
The pagination token from the previous call to ListCalculatedAttributeDefinitions.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListCalculatedAttributeDefinitions_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions) 

# ListCalculatedAttributesForProfile
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile"></a>

Retrieve a list of calculated attributes for a customer profile.

## Request Syntax
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile_RequestSyntax"></a>

```
GET /domains/DomainName/profile/ProfileId/calculated-attributes?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListCalculatedAttributesForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributesForProfile-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListCalculatedAttributesForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributesForProfile-request-uri-MaxResults"></a>
The maximum number of calculated attributes returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListCalculatedAttributesForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributesForProfile-request-uri-NextToken"></a>
The pagination token from the previous call to ListCalculatedAttributesForProfile.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [ProfileId](#API_connect-customer-profiles_ListCalculatedAttributesForProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributesForProfile-request-uri-ProfileId"></a>
The unique identifier of a customer profile.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CalculatedAttributeName": "string",
         "DisplayName": "string",
         "IsDataPartial": "string",
         "LastObjectTimestamp": number,
         "Value": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListCalculatedAttributesForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributesForProfile-response-Items"></a>
The list of calculated attributes.  
Type: Array of [ListCalculatedAttributeForProfileItem](API_connect-customer-profiles_ListCalculatedAttributeForProfileItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListCalculatedAttributesForProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListCalculatedAttributesForProfile-response-NextToken"></a>
The pagination token from the previous call to ListCalculatedAttributesForProfile.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListCalculatedAttributesForProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile) 

# ListDomainLayouts
<a name="API_connect-customer-profiles_ListDomainLayouts"></a>

Lists the existing layouts that can be used to view data for a specific domain. This API can only be invoked from the Amazon Connect admin website.

## Request Syntax
<a name="API_connect-customer-profiles_ListDomainLayouts_RequestSyntax"></a>

```
GET /domains/DomainName/layouts?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListDomainLayouts_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListDomainLayouts_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomainLayouts-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListDomainLayouts_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomainLayouts-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListDomainLayouts_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomainLayouts-request-uri-NextToken"></a>
Identifies the next page of results to return.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListDomainLayouts_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListDomainLayouts_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "Description": "string",
         "DisplayName": "string",
         "IsDefault": boolean,
         "LastUpdatedAt": number,
         "LayoutDefinitionName": "string",
         "LayoutType": "string",
         "Tags": { 
            "string" : "string" 
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListDomainLayouts_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListDomainLayouts_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListDomainLayouts-response-Items"></a>
Contains summary information about an EventStream.  
Type: Array of [LayoutItem](API_connect-customer-profiles_LayoutItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListDomainLayouts_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListDomainLayouts-response-NextToken"></a>
Identifies the next page of results to return.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListDomainLayouts_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListDomainLayouts_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListDomainLayouts) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListDomainLayouts) 

# ListDomainObjectTypes
<a name="API_connect-customer-profiles_ListDomainObjectTypes"></a>

List all DomainObjectType(s) in a Customer Profiles domain. 

## Request Syntax
<a name="API_connect-customer-profiles_ListDomainObjectTypes_RequestSyntax"></a>

```
GET /domains/DomainName/domain-object-types?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListDomainObjectTypes_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListDomainObjectTypes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomainObjectTypes-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListDomainObjectTypes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomainObjectTypes-request-uri-MaxResults"></a>
The maximum number of domain object types returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListDomainObjectTypes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomainObjectTypes-request-uri-NextToken"></a>
The pagination token from the previous call to ListDomainObjectTypes.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListDomainObjectTypes_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListDomainObjectTypes_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "Description": "string",
         "LastUpdatedAt": number,
         "ObjectTypeName": "string",
         "Tags": { 
            "string" : "string" 
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListDomainObjectTypes_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListDomainObjectTypes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListDomainObjectTypes-response-Items"></a>
The list of domain object types.  
Type: Array of [DomainObjectTypesListItem](API_connect-customer-profiles_DomainObjectTypesListItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListDomainObjectTypes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListDomainObjectTypes-response-NextToken"></a>
The pagination token from the previous call to ListDomainObjectTypes.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListDomainObjectTypes_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListDomainObjectTypes_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListDomainObjectTypes) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListDomainObjectTypes) 

# ListDomains
<a name="API_connect-customer-profiles_ListDomains"></a>

Returns a list of all the domains for an AWS account that have been created.

## Request Syntax
<a name="API_connect-customer-profiles_ListDomains_RequestSyntax"></a>

```
GET /domains?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListDomains_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_connect-customer-profiles_ListDomains_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomains-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListDomains_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListDomains-request-uri-NextToken"></a>
The pagination token from the previous ListDomain API call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListDomains_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListDomains_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "DomainName": "string",
         "LastUpdatedAt": number,
         "Tags": { 
            "string" : "string" 
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListDomains_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListDomains_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListDomains-response-Items"></a>
The list of ListDomains instances.  
Type: Array of [ListDomainItem](API_connect-customer-profiles_ListDomainItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListDomains_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListDomains-response-NextToken"></a>
The pagination token from the previous ListDomains API call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListDomains_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_ListDomains_Examples"></a>

### Example
<a name="API_connect-customer-profiles_ListDomains_Example_1"></a>

This example illustrates one usage of ListDomains.

#### Sample Request
<a name="API_connect-customer-profiles_ListDomains_Example_1_Request"></a>

```
GET /v1/domains?max-results={MaxResults} //First call
```

#### Sample Request
<a name="API_connect-customer-profiles_ListDomains_Example_1_Request"></a>

```
GET /v1/domains?next-token={NextToken};max-results={MaxResults} //Subsequent calls
```

#### Sample Response
<a name="API_connect-customer-profiles_ListDomains_Example_1_Response"></a>

```
Content-type: application/json 
{ 
   "NextToken": "fcc66dce-8356-4ddb-9f20-911c0EXAMPLE", 
   "Items": [
       {
         "CreatedAt": 1479249799770, 
         "LastUpdatedAt": 1479249799770, 
         "Name": "ExampleDomain1"
       },
       {
         "CreatedAt": 1479249799770, 
         "LastUpdatedAt": 1479249799770, 
         "Name": "ExampleDomain2" 
       }
   ]
}
```

## See Also
<a name="API_connect-customer-profiles_ListDomains_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListDomains) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListDomains) 

# ListEventStreams
<a name="API_connect-customer-profiles_ListEventStreams"></a>

Returns a list of all the event streams in a specific domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListEventStreams_RequestSyntax"></a>

```
GET /domains/DomainName/event-streams?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListEventStreams_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListEventStreams_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListEventStreams-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListEventStreams_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListEventStreams-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListEventStreams_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListEventStreams-request-uri-NextToken"></a>
Identifies the next page of results to return.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListEventStreams_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListEventStreams_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "DestinationSummary": { 
            "Status": "string",
            "UnhealthySince": number,
            "Uri": "string"
         },
         "DomainName": "string",
         "EventStreamArn": "string",
         "EventStreamName": "string",
         "State": "string",
         "StoppedSince": number,
         "Tags": { 
            "string" : "string" 
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListEventStreams_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListEventStreams_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListEventStreams-response-Items"></a>
Contains summary information about an EventStream.  
Type: Array of [EventStreamSummary](API_connect-customer-profiles_EventStreamSummary.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListEventStreams_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListEventStreams-response-NextToken"></a>
Identifies the next page of results to return.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListEventStreams_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListEventStreams_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListEventStreams) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListEventStreams) 

# ListEventTriggers
<a name="API_connect-customer-profiles_ListEventTriggers"></a>

List all Event Triggers under a domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListEventTriggers_RequestSyntax"></a>

```
GET /domains/DomainName/event-triggers?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListEventTriggers_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListEventTriggers_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListEventTriggers-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListEventTriggers_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListEventTriggers-request-uri-MaxResults"></a>
The maximum number of results to return per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListEventTriggers_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListEventTriggers-request-uri-NextToken"></a>
The pagination token to use with ListEventTriggers.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListEventTriggers_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListEventTriggers_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "Description": "string",
         "EventTriggerName": "string",
         "LastUpdatedAt": number,
         "ObjectTypeName": "string",
         "Tags": { 
            "string" : "string" 
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListEventTriggers_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListEventTriggers_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListEventTriggers-response-Items"></a>
The list of Event Triggers.  
Type: Array of [EventTriggerSummaryItem](API_connect-customer-profiles_EventTriggerSummaryItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListEventTriggers_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListEventTriggers-response-NextToken"></a>
The pagination token from the previous call to ListEventTriggers.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListEventTriggers_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListEventTriggers_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListEventTriggers) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListEventTriggers) 

# ListIdentityResolutionJobs
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs"></a>

Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by `JobStartTime`.

## Request Syntax
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs_RequestSyntax"></a>

```
GET /domains/DomainName/identity-resolution-jobs?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListIdentityResolutionJobs_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListIdentityResolutionJobs-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListIdentityResolutionJobs_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListIdentityResolutionJobs-request-uri-MaxResults"></a>
The maximum number of results to return per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListIdentityResolutionJobs_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListIdentityResolutionJobs-request-uri-NextToken"></a>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "IdentityResolutionJobsList": [ 
      { 
         "DomainName": "string",
         "ExportingLocation": { 
            "S3Exporting": { 
               "S3BucketName": "string",
               "S3KeyName": "string"
            }
         },
         "JobEndTime": number,
         "JobId": "string",
         "JobStartTime": number,
         "JobStats": { 
            "NumberOfMatchesFound": number,
            "NumberOfMergesDone": number,
            "NumberOfProfilesReviewed": number
         },
         "Message": "string",
         "Status": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [IdentityResolutionJobsList](#API_connect-customer-profiles_ListIdentityResolutionJobs_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListIdentityResolutionJobs-response-IdentityResolutionJobsList"></a>
A list of Identity Resolution Jobs.  
Type: Array of [IdentityResolutionJob](API_connect-customer-profiles_IdentityResolutionJob.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListIdentityResolutionJobs_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListIdentityResolutionJobs-response-NextToken"></a>
If there are additional results, this is the token for the next set of results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListIdentityResolutionJobs_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListIdentityResolutionJobs) 

# ListIntegrations
<a name="API_connect-customer-profiles_ListIntegrations"></a>

Lists all of the integrations in your domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListIntegrations_RequestSyntax"></a>

```
GET /domains/DomainName/integrations?include-hidden=IncludeHidden&max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListIntegrations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListIntegrations-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [IncludeHidden](#API_connect-customer-profiles_ListIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListIntegrations-request-uri-IncludeHidden"></a>
Boolean to indicate if hidden integration should be returned. Defaults to `False`.

 ** [MaxResults](#API_connect-customer-profiles_ListIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListIntegrations-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListIntegrations_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListIntegrations-request-uri-NextToken"></a>
The pagination token from the previous ListIntegrations API call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListIntegrations_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListIntegrations_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "DomainName": "string",
         "EventTriggerNames": [ "string" ],
         "IsUnstructured": boolean,
         "LastUpdatedAt": number,
         "ObjectTypeName": "string",
         "ObjectTypeNames": { 
            "string" : "string" 
         },
         "RoleArn": "string",
         "Scope": "string",
         "Tags": { 
            "string" : "string" 
         },
         "Uri": "string",
         "WorkflowId": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListIntegrations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListIntegrations_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListIntegrations-response-Items"></a>
The list of ListIntegrations instances.  
Type: Array of [ListIntegrationItem](API_connect-customer-profiles_ListIntegrationItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListIntegrations_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListIntegrations-response-NextToken"></a>
The pagination token from the previous ListIntegrations API call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListIntegrations_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_ListIntegrations_Examples"></a>

### Example
<a name="API_connect-customer-profiles_ListIntegrations_Example_1"></a>

This example illustrates one usage of ListIntegrations.

#### Sample Request
<a name="API_connect-customer-profiles_ListIntegrations_Example_1_Request"></a>

```
GET /domains/{DomainName}/integrations?max-results={MaxResults}&next-token={NextToken} HTTP/1.1
```

#### Sample Response
<a name="API_connect-customer-profiles_ListIntegrations_Example_1_Response"></a>

```
Content-type: application/json
{
   "Items": [ 
      { 
         "CreatedAt": 1479249799770,
         "DomainName": "ExampleDomainName",
         "LastUpdatedAt": 1479249799770,
         "ObjectTypeName": "SalesForce-Account",
         "Uri": "arn:aws:flow:us-east-1:123456789012:URIOfIntegration1"
      },
      { 
         "CreatedAt": 1479249799770,
         "DomainName": "ExampleDomainName2",
         "LastUpdatedAt": 1479249799770,
         "ObjectTypeName": "MyCustomObjectName",
         "Uri": "arn:aws:flow:us-east-1:123456789012:URIOfIntegration2"
      }
   ],
   "NextToken": "e17145a2-916b-42a2-b4d3-0267fEXAMPLE"
}
```

## See Also
<a name="API_connect-customer-profiles_ListIntegrations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListIntegrations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListIntegrations) 

# ListObjectTypeAttributes
<a name="API_connect-customer-profiles_ListObjectTypeAttributes"></a>

Fetch the possible attribute values given the attribute name.

## Request Syntax
<a name="API_connect-customer-profiles_ListObjectTypeAttributes_RequestSyntax"></a>

```
GET /domains/DomainName/object-types/ObjectTypeName/attributes?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListObjectTypeAttributes_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListObjectTypeAttributes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributes-request-uri-DomainName"></a>
The unique identifier of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListObjectTypeAttributes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributes-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListObjectTypeAttributes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributes-request-uri-NextToken"></a>
The pagination token from the previous call.   
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [ObjectTypeName](#API_connect-customer-profiles_ListObjectTypeAttributes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributes-request-uri-ObjectTypeName"></a>
The name of the profile object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_ListObjectTypeAttributes_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListObjectTypeAttributes_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "AttributeName": "string",
         "LastUpdatedAt": number
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListObjectTypeAttributes_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListObjectTypeAttributes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributes-response-Items"></a>
The items returned as part of the response.  
Type: Array of [ListObjectTypeAttributeItem](API_connect-customer-profiles_ListObjectTypeAttributeItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListObjectTypeAttributes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributes-response-NextToken"></a>
The pagination token from the previous call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListObjectTypeAttributes_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListObjectTypeAttributes_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListObjectTypeAttributes) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListObjectTypeAttributes) 

# ListObjectTypeAttributeValues
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues"></a>

The ListObjectTypeAttributeValues API provides access to the most recent distinct values for any specified attribute, making it valuable for real-time data validation and consistency checks within your object types. This API works across domain, supporting both custom and standard object types. The API accepts the object type name, attribute name, and domain name as input parameters and returns values up to the storage limit of approximately 350KB.

## Request Syntax
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestSyntax"></a>

```
GET /domains/DomainName/object-types/ObjectTypeName/attributes/AttributeName/values?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestParameters"></a>

The request uses the following URI parameters.

 ** [AttributeName](#API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributeValues-request-uri-AttributeName"></a>
The attribute name.  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributeValues-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributeValues-request-uri-MaxResults"></a>
The maximum number of objects returned per page. Valid Range: Minimum value of 1. Maximum value of 100. If not provided default as 100.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributeValues-request-uri-NextToken"></a>
The pagination token from the previous call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [ObjectTypeName](#API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributeValues-request-uri-ObjectTypeName"></a>
The unique name of the domain object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "LastUpdatedAt": number,
         "Value": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListObjectTypeAttributeValues_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributeValues-response-Items"></a>
A list of unique attribute values sorted on the basis of LastUpdatedAt.   
Type: Array of [ListObjectTypeAttributeValuesItem](API_connect-customer-profiles_ListObjectTypeAttributeValuesItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListObjectTypeAttributeValues_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListObjectTypeAttributeValues-response-NextToken"></a>
The pagination token from the previous call to call ListObjectTypeAttributeValues.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListObjectTypeAttributeValues_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListObjectTypeAttributeValues) 

# ListProfileAttributeValues
<a name="API_connect-customer-profiles_ListProfileAttributeValues"></a>

Fetch the possible attribute values given the attribute name.

## Request Syntax
<a name="API_connect-customer-profiles_ListProfileAttributeValues_RequestSyntax"></a>

```
GET /domains/DomainName/profile-attributes/AttributeName/values HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListProfileAttributeValues_RequestParameters"></a>

The request uses the following URI parameters.

 ** [AttributeName](#API_connect-customer-profiles_ListProfileAttributeValues_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileAttributeValues-request-uri-AttributeName"></a>
The attribute name.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_ListProfileAttributeValues_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileAttributeValues-request-uri-DomainName"></a>
The unique identifier of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_ListProfileAttributeValues_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListProfileAttributeValues_ResponseSyntax"></a>

```
HTTP/1.1 StatusCode
Content-type: application/json

{
   "AttributeName": "string",
   "DomainName": "string",
   "Items": [ 
      { 
         "Value": "string"
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListProfileAttributeValues_ResponseElements"></a>

If the action is successful, the service sends back the following HTTP response.

 ** [StatusCode](#API_connect-customer-profiles_ListProfileAttributeValues_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileAttributeValues-response-StatusCode"></a>
The status code for the response.

The following data is returned in JSON format by the service.

 ** [AttributeName](#API_connect-customer-profiles_ListProfileAttributeValues_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileAttributeValues-response-AttributeName"></a>
The attribute name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [DomainName](#API_connect-customer-profiles_ListProfileAttributeValues_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileAttributeValues-response-DomainName"></a>
The name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Items](#API_connect-customer-profiles_ListProfileAttributeValues_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileAttributeValues-response-Items"></a>
The items returned as part of the response.  
Type: Array of [AttributeValueItem](API_connect-customer-profiles_AttributeValueItem.md) objects

## Errors
<a name="API_connect-customer-profiles_ListProfileAttributeValues_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListProfileAttributeValues_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListProfileAttributeValues) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListProfileAttributeValues) 

# ListProfileHistoryRecords
<a name="API_connect-customer-profiles_ListProfileHistoryRecords"></a>

Returns a list of history records for a specific profile, for a specific domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/history-records?max-results=MaxResults&next-token=NextToken HTTP/1.1
Content-type: application/json

{
   "ActionType": "string",
   "ObjectTypeName": "string",
   "PerformedBy": "string",
   "ProfileId": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListProfileHistoryRecords_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-request-uri-DomainName"></a>
The unique name of the domain for which to return profile history records.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-request-uri-MaxResults"></a>
The maximum number of results to return per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-request-uri-NextToken"></a>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListProfileHistoryRecords_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ActionType](#API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-request-ActionType"></a>
Applies a filter to include profile history records only with the specified `ActionType` value in the response.  
Type: String  
Valid Values: `ADDED_PROFILE_KEY | DELETED_PROFILE_KEY | CREATED | UPDATED | INGESTED | DELETED_BY_CUSTOMER | EXPIRED | MERGED | DELETED_BY_MERGE`   
Required: No

 ** [ObjectTypeName](#API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-request-ObjectTypeName"></a>
Applies a filter to include profile history records only with the specified `ObjectTypeName` value in the response.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: No

 ** [PerformedBy](#API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-request-PerformedBy"></a>
Applies a filter to include profile history records only with the specified `PerformedBy` value in the response. The `PerformedBy` value can be the Amazon Resource Name (ARN) of the person or service principal who performed the action.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [ProfileId](#API_connect-customer-profiles_ListProfileHistoryRecords_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-request-ProfileId"></a>
The identifier of the profile to be taken.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_ListProfileHistoryRecords_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "ProfileHistoryRecords": [ 
      { 
         "ActionType": "string",
         "CreatedAt": number,
         "Id": "string",
         "LastUpdatedAt": number,
         "ObjectTypeName": "string",
         "PerformedBy": "string",
         "ProfileObjectUniqueKey": "string"
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListProfileHistoryRecords_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_connect-customer-profiles_ListProfileHistoryRecords_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-response-NextToken"></a>
If there are additional results, this is the token for the next set of results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [ProfileHistoryRecords](#API_connect-customer-profiles_ListProfileHistoryRecords_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileHistoryRecords-response-ProfileHistoryRecords"></a>
The list of profile history records.  
Type: Array of [ProfileHistoryRecord](API_connect-customer-profiles_ProfileHistoryRecord.md) objects

## Errors
<a name="API_connect-customer-profiles_ListProfileHistoryRecords_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListProfileHistoryRecords_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListProfileHistoryRecords) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListProfileHistoryRecords) 

# ListProfileObjects
<a name="API_connect-customer-profiles_ListProfileObjects"></a>

Returns a list of objects associated with a profile of a given ProfileObjectType.

## Request Syntax
<a name="API_connect-customer-profiles_ListProfileObjects_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/objects?max-results=MaxResults&next-token=NextToken HTTP/1.1
Content-type: application/json

{
   "ObjectFilter": { 
      "KeyName": "string",
      "Values": [ "string" ]
   },
   "ObjectTypeName": "string",
   "ProfileId": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListProfileObjects_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListProfileObjects_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListProfileObjects_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListProfileObjects_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-request-uri-NextToken"></a>
The pagination token from the previous call to ListProfileObjects.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListProfileObjects_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ObjectFilter](#API_connect-customer-profiles_ListProfileObjects_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-request-ObjectFilter"></a>
Applies a filter to the response to include profile objects with the specified index values.  
Type: [ObjectFilter](API_connect-customer-profiles_ObjectFilter.md) object  
Required: No

 ** [ObjectTypeName](#API_connect-customer-profiles_ListProfileObjects_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-request-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [ProfileId](#API_connect-customer-profiles_ListProfileObjects_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-request-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_ListProfileObjects_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "Object": "string",
         "ObjectTypeName": "string",
         "ProfileObjectUniqueKey": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListProfileObjects_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListProfileObjects_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-response-Items"></a>
The list of ListProfileObject instances.  
Type: Array of [ListProfileObjectsItem](API_connect-customer-profiles_ListProfileObjectsItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListProfileObjects_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjects-response-NextToken"></a>
The pagination token from the previous call to ListProfileObjects.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListProfileObjects_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_ListProfileObjects_Examples"></a>

### Example 1: List raw Contact Record objects
<a name="API_connect-customer-profiles_ListProfileObjects_Example_1"></a>

This example illustrates one usage of ListProfileObjects.

#### Sample Request
<a name="API_connect-customer-profiles_ListProfileObjects_Example_1_Request"></a>

```
POST /domains/ExampleDomainName/profiles/objects?max-results=10&next-token=nextToken
Content-type: application/json

{
   "ObjectTypeName": "MyCustomObject",
   "ProfileId": "3991a7d959d248bba82546b2dEXAMPLE"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_ListProfileObjects_Example_1_Response"></a>

```
Content-type: application/json
{
   "Items": [ 
      { 
         "Object": "{\"firstName\": \"John\",\n       \"lastName\": \"Smith\",\n       \"isAlive\": true,\n       \"age\": 27,\n       \"address\": {\"streetAddress\": \"21 2nd Street\",\"city\": \"New York\",\"state\": \"NY\",\"postalCode\": \"10021-3100\"},\n       \"phoneNumbers\": [{\"type\": \"home\",\"number\": \"212 555-1234\"},\n                        {\"type\": \"office\",\"number\": \"646 555-4567\"}],\n       \"children\": [],\n       \"spouse\": null}",
         "ObjectTypeName": "MyCustomObject",
         "ProfileObjectUniqueKey": "UniqueKeyOfTheProfileObject"
      },
      { 
         "Object": "{\"firstName\": \"John\",\n       \"lastName\": \"Smith\",\n       \"isAlive\": true,\n       \"age\": 27,\n       \"address\": {\"streetAddress\": \"21 2nd Street\",\"city\": \"New York\",\"state\": \"NY\",\"postalCode\": \"10021-3100\"},\n       \"phoneNumbers\": [{\"type\": \"home\",\"number\": \"212 555-1234\"},\n                        {\"type\": \"office\",\"number\": \"646 555-4567\"}],\n       \"children\": [],\n       \"spouse\": null}",
         "ObjectTypeName": "MyCustomObject",
         "ProfileObjectUniqueKey": "UniqueKeyOfTheProfileObject"
      }
   ],
   "NextToken": "e17145a2-916b-42a2-b4d3-0267fEXAMPLE"
}
```

### Example 2: Filter Standard Asset Objects
<a name="API_connect-customer-profiles_ListProfileObjects_Example_2"></a>

This example illustrates one usage of ListProfileObjects.

#### Sample Request
<a name="API_connect-customer-profiles_ListProfileObjects_Example_2_Request"></a>

```
POST /domains/ExampleDomainName/profiles/objects?max-results=10&next-token=nextToken
Content-type: application/json

{
   "ObjectTypeName": "_asset",
   "ProfileId": "3991a7d959d248bba82546b2dEXAMPLE",
   "ObjectFilter": {
      "KeyName": "_assetId",
      "Values": [ "991a7d959d248bba82546b2dEXAMPLE2" ]
   }
}
```

#### Sample Response
<a name="API_connect-customer-profiles_ListProfileObjects_Example_2_Response"></a>

```
Content-type: application/json
{
   "Items": [
      {
         "Object": "{\"AssetId\": \"991a7d959d248bba82546b2dEXAMPLE2\",\n       \"AssetName\": \"MyAsset\",\n       \"SerialNumber\": \"123\",\n       \"ModelNumber\": \"1\",\n        \"ModelName\": \"name\",\n        \"ProductSKU\": \"21\",\n        \"PurchaseDate\": \"07-04-2021\",\n        \"UsageEndDate\": \"07-04-2021\",\n        \"Status\": \"Delivered\",\n        \"Price\": \"10\",\n        \"Quantity\": \"5\",\n        \"Description\": \"This is an asset\",\n        \"Location\": \"Office\",\n        \"AdditionalInformation\": \"None\",\n        \"DataSource\": \"Salesforce-Asset\",\n        \"Attributes\": {} }",
         "ObjectTypeName": "_asset",
         "ProfileObjectUniqueKey": "UniqueKeyOfTheProfileObject"
      }
   ],
   "NextToken": "e17145a2-916b-42a2-b4d3-0267fEXAMPLE"
}
```

## See Also
<a name="API_connect-customer-profiles_ListProfileObjects_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListProfileObjects) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListProfileObjects) 

# ListProfileObjectTypes
<a name="API_connect-customer-profiles_ListProfileObjectTypes"></a>

Lists all of the templates available within the service.

## Request Syntax
<a name="API_connect-customer-profiles_ListProfileObjectTypes_RequestSyntax"></a>

```
GET /domains/DomainName/object-types?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListProfileObjectTypes_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListProfileObjectTypes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypes-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListProfileObjectTypes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypes-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListProfileObjectTypes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypes-request-uri-NextToken"></a>
Identifies the next page of results to return.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListProfileObjectTypes_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListProfileObjectTypes_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "Description": "string",
         "LastUpdatedAt": number,
         "MaxAvailableProfileObjectCount": number,
         "MaxProfileObjectCount": number,
         "ObjectTypeName": "string",
         "SourcePriority": number,
         "Tags": { 
            "string" : "string" 
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListProfileObjectTypes_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListProfileObjectTypes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypes-response-Items"></a>
The list of ListProfileObjectTypes instances.  
Type: Array of [ListProfileObjectTypeItem](API_connect-customer-profiles_ListProfileObjectTypeItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListProfileObjectTypes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypes-response-NextToken"></a>
Identifies the next page of results to return.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListProfileObjectTypes_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_ListProfileObjectTypes_Examples"></a>

### Example
<a name="API_connect-customer-profiles_ListProfileObjectTypes_Example_1"></a>

This example illustrates one usage of ListProfileObjectTypes.

#### Sample Request
<a name="API_connect-customer-profiles_ListProfileObjectTypes_Example_1_Request"></a>

```
GET /domains/ExampleDomainName/object-types?max-results=10&next-token=nextToken HTTP/1.1
```

#### Sample Response
<a name="API_connect-customer-profiles_ListProfileObjectTypes_Example_1_Response"></a>

```
Content-type: application/json
{
   "Items": [ 
      { 
         "CreatedAt": 1479249799770,
         "Description": "Example Description 1",
         "LastUpdatedAt": 1479249799770,
         "ObjectTypeName": "MyCustomObjectType",
         "SourcePriority": 2
      },
      { 
         "CreatedAt": 147924988889,
         "Description": "Example Description 2",
         "LastUpdatedAt": 147924988889,
         "ObjectTypeName": "AnotherCustomObjectType"
      }
   ],
   "NextToken": "e17145a2-916b-42a2-b4d3-0267fEXAMPLE"
}
```

## See Also
<a name="API_connect-customer-profiles_ListProfileObjectTypes_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListProfileObjectTypes) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListProfileObjectTypes) 

# ListProfileObjectTypeTemplates
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates"></a>

Lists all of the template information for object types.

## Request Syntax
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_RequestSyntax"></a>

```
GET /templates?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_connect-customer-profiles_ListProfileObjectTypeTemplates_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypeTemplates-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListProfileObjectTypeTemplates_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypeTemplates-request-uri-NextToken"></a>
The pagination token from the previous ListObjectTypeTemplates API call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "SourceName": "string",
         "SourceObject": "string",
         "TemplateId": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListProfileObjectTypeTemplates_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypeTemplates-response-Items"></a>
The list of ListProfileObjectType template instances.  
Type: Array of [ListProfileObjectTypeTemplateItem](API_connect-customer-profiles_ListProfileObjectTypeTemplateItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListProfileObjectTypeTemplates_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListProfileObjectTypeTemplates-response-NextToken"></a>
The pagination token from the previous ListObjectTypeTemplates API call.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_Examples"></a>

### Example
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_Example_1"></a>

This example illustrates one usage of ListProfileObjectTypeTemplates.

#### Sample Request
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_Example_1_Request"></a>

```
GET /templates?max-results={MaxResults}&next-token={NextToken} HTTP/1.1
```

#### Sample Response
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_Example_1_Response"></a>

```
Content-type: application/json
{
   "Items": [ 
      { 
         "SourceName": "Salesforce-account",
         "SourceObject": "<JSON represented by GetProfileObjectTypeTemplate API>",
         "TemplateId": "Salesforce-Account"
      },
      { 
         "SourceName": "Another-source",
         "SourceObject": "<JSON represented by GetProfileObjectTypeTemplate API>",
         "TemplateId": "MyCustomTemplateId"
      }
   ],
   "NextToken": "e17145a2-916b-42a2-b4d3-0267fEXAMPLE"
}
```

## See Also
<a name="API_connect-customer-profiles_ListProfileObjectTypeTemplates_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates) 

# ListRecommenderFilters
<a name="API_connect-customer-profiles_ListRecommenderFilters"></a>

Returns a list of recommender filters in the specified domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListRecommenderFilters_RequestSyntax"></a>

```
GET /domains/DomainName/recommender-filters?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListRecommenderFilters_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListRecommenderFilters_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderFilters-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListRecommenderFilters_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderFilters-request-uri-MaxResults"></a>
The maximum number of recommender filters to return in the response. The default value is 100.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenderFilters_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderFilters-request-uri-NextToken"></a>
A token received from a previous ListRecommenderFilters call to retrieve the next page of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListRecommenderFilters_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListRecommenderFilters_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "RecommenderFilters": [ 
      { 
         "CreatedAt": number,
         "Description": "string",
         "FailureReason": "string",
         "RecommenderFilterExpression": "string",
         "RecommenderFilterName": "string",
         "RecommenderSchemaName": "string",
         "Status": "string",
         "Tags": { 
            "string" : "string" 
         }
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListRecommenderFilters_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenderFilters_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderFilters-response-NextToken"></a>
A token to retrieve the next page of results. Null if there are no more results to retrieve.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [RecommenderFilters](#API_connect-customer-profiles_ListRecommenderFilters_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderFilters-response-RecommenderFilters"></a>
A list of recommender filters and their properties in the specified domain.  
Type: Array of [RecommenderFilterSummary](API_connect-customer-profiles_RecommenderFilterSummary.md) objects

## Errors
<a name="API_connect-customer-profiles_ListRecommenderFilters_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListRecommenderFilters_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListRecommenderFilters) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListRecommenderFilters) 

# ListRecommenderRecipes
<a name="API_connect-customer-profiles_ListRecommenderRecipes"></a>

Returns a list of available recommender recipes that can be used to create recommenders.

## Request Syntax
<a name="API_connect-customer-profiles_ListRecommenderRecipes_RequestSyntax"></a>

```
GET /recommender-recipes?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListRecommenderRecipes_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_connect-customer-profiles_ListRecommenderRecipes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderRecipes-request-uri-MaxResults"></a>
The maximum number of recommender recipes to return in the response. The default value is 100.  
Valid Range: Minimum value of 10. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenderRecipes_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderRecipes-request-uri-NextToken"></a>
A token received from a previous ListRecommenderRecipes call to retrieve the next page of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListRecommenderRecipes_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListRecommenderRecipes_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "RecommenderRecipes": [ 
      { 
         "description": "string",
         "name": "string"
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListRecommenderRecipes_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenderRecipes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderRecipes-response-NextToken"></a>
A token to retrieve the next page of results. Null if there are no more results to retrieve.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [RecommenderRecipes](#API_connect-customer-profiles_ListRecommenderRecipes_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderRecipes-response-RecommenderRecipes"></a>
A list of available recommender recipes and their properties.  
Type: Array of [RecommenderRecipe](API_connect-customer-profiles_RecommenderRecipe.md) objects

## Errors
<a name="API_connect-customer-profiles_ListRecommenderRecipes_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListRecommenderRecipes_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListRecommenderRecipes) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListRecommenderRecipes) 

# ListRecommenders
<a name="API_connect-customer-profiles_ListRecommenders"></a>

Returns a list of recommenders in the specified domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListRecommenders_RequestSyntax"></a>

```
GET /domains/DomainName/recommenders?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListRecommenders_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListRecommenders_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenders-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListRecommenders_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenders-request-uri-MaxResults"></a>
The maximum number of recommenders to return in the response. The default value is 100.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenders_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenders-request-uri-NextToken"></a>
A token received from a previous ListRecommenders call to retrieve the next page of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListRecommenders_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListRecommenders_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "Recommenders": [ 
      { 
         "CreatedAt": number,
         "Description": "string",
         "FailureReason": "string",
         "LastUpdatedAt": number,
         "LatestRecommenderUpdate": { 
            "CreatedAt": number,
            "FailureReason": "string",
            "LastUpdatedAt": number,
            "RecommenderConfig": { 
               "EventsConfig": { 
                  "EventParametersList": [ 
                     { 
                        "EventType": "string",
                        "EventValueThreshold": number,
                        "EventWeight": number
                     }
                  ]
               },
               "IncludedColumns": { 
                  "string" : [ "string" ]
               },
               "InferenceConfig": { 
                  "MinProvisionedTPS": number
               },
               "TrainingFrequency": number
            },
            "Status": "string"
         },
         "RecipeName": "string",
         "RecommenderConfig": { 
            "EventsConfig": { 
               "EventParametersList": [ 
                  { 
                     "EventType": "string",
                     "EventValueThreshold": number,
                     "EventWeight": number
                  }
               ]
            },
            "IncludedColumns": { 
               "string" : [ "string" ]
            },
            "InferenceConfig": { 
               "MinProvisionedTPS": number
            },
            "TrainingFrequency": number
         },
         "RecommenderName": "string",
         "RecommenderSchemaName": "string",
         "Status": "string",
         "Tags": { 
            "string" : "string" 
         }
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListRecommenders_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenders_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenders-response-NextToken"></a>
A token to retrieve the next page of results. Null if there are no more results to retrieve.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [Recommenders](#API_connect-customer-profiles_ListRecommenders_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenders-response-Recommenders"></a>
A list of recommenders and their properties in the specified domain.  
Type: Array of [RecommenderSummary](API_connect-customer-profiles_RecommenderSummary.md) objects

## Errors
<a name="API_connect-customer-profiles_ListRecommenders_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListRecommenders_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListRecommenders) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListRecommenders) 

# ListRecommenderSchemas
<a name="API_connect-customer-profiles_ListRecommenderSchemas"></a>

Returns a list of recommender schemas in the specified domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListRecommenderSchemas_RequestSyntax"></a>

```
GET /domains/DomainName/recommender-schemas?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListRecommenderSchemas_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListRecommenderSchemas_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderSchemas-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListRecommenderSchemas_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderSchemas-request-uri-MaxResults"></a>
The maximum number of recommender schemas to return in the response. The default value is 100.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenderSchemas_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderSchemas-request-uri-NextToken"></a>
A token received from a previous ListRecommenderSchemas call to retrieve the next page of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListRecommenderSchemas_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListRecommenderSchemas_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "RecommenderSchemas": [ 
      { 
         "CreatedAt": number,
         "Fields": { 
            "string" : [ 
               { 
                  "ContentType": "string",
                  "FeatureType": "string",
                  "TargetFieldName": "string"
               }
            ]
         },
         "RecommenderSchemaName": "string",
         "Status": "string"
      }
   ]
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListRecommenderSchemas_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_connect-customer-profiles_ListRecommenderSchemas_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderSchemas-response-NextToken"></a>
A token to retrieve the next page of results. Null if there are no more results to retrieve.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [RecommenderSchemas](#API_connect-customer-profiles_ListRecommenderSchemas_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRecommenderSchemas-response-RecommenderSchemas"></a>
A list of recommender schemas and their properties in the specified domain.  
Type: Array of [RecommenderSchemaSummary](API_connect-customer-profiles_RecommenderSchemaSummary.md) objects

## Errors
<a name="API_connect-customer-profiles_ListRecommenderSchemas_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListRecommenderSchemas_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListRecommenderSchemas) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListRecommenderSchemas) 

# ListRuleBasedMatches
<a name="API_connect-customer-profiles_ListRuleBasedMatches"></a>

Returns a set of `MatchIds` that belong to the given domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListRuleBasedMatches_RequestSyntax"></a>

```
GET /domains/DomainName/profiles/ruleBasedMatches?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListRuleBasedMatches_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListRuleBasedMatches_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRuleBasedMatches-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListRuleBasedMatches_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRuleBasedMatches-request-uri-MaxResults"></a>
The maximum number of `MatchIds` returned per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListRuleBasedMatches_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListRuleBasedMatches-request-uri-NextToken"></a>
The pagination token from the previous `ListRuleBasedMatches` API call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListRuleBasedMatches_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListRuleBasedMatches_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "MatchIds": [ "string" ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListRuleBasedMatches_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [MatchIds](#API_connect-customer-profiles_ListRuleBasedMatches_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRuleBasedMatches-response-MatchIds"></a>
The list of `MatchIds` for the given domain.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [NextToken](#API_connect-customer-profiles_ListRuleBasedMatches_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListRuleBasedMatches-response-NextToken"></a>
The pagination token from the previous `ListRuleBasedMatches` API call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListRuleBasedMatches_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListRuleBasedMatches_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListRuleBasedMatches) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListRuleBasedMatches) 

# ListSegmentDefinitions
<a name="API_connect-customer-profiles_ListSegmentDefinitions"></a>

Lists all segment definitions under a domain.

## Request Syntax
<a name="API_connect-customer-profiles_ListSegmentDefinitions_RequestSyntax"></a>

```
GET /domains/DomainName/segment-definitions?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListSegmentDefinitions_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListSegmentDefinitions_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListSegmentDefinitions-request-uri-DomainName"></a>
The unique identifier of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListSegmentDefinitions_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListSegmentDefinitions-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
Valid Range: Minimum value of 1. Maximum value of 500.

 ** [NextToken](#API_connect-customer-profiles_ListSegmentDefinitions_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListSegmentDefinitions-request-uri-NextToken"></a>
The pagination token from the previous call.   
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListSegmentDefinitions_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListSegmentDefinitions_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "Description": "string",
         "DisplayName": "string",
         "SegmentDefinitionArn": "string",
         "SegmentDefinitionName": "string",
         "SegmentType": "string",
         "Tags": { 
            "string" : "string" 
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListSegmentDefinitions_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListSegmentDefinitions_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListSegmentDefinitions-response-Items"></a>
List of segment definitions.  
Type: Array of [SegmentDefinitionItem](API_connect-customer-profiles_SegmentDefinitionItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListSegmentDefinitions_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListSegmentDefinitions-response-NextToken"></a>
The pagination token from the previous call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListSegmentDefinitions_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListSegmentDefinitions_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListSegmentDefinitions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListSegmentDefinitions) 

# ListTagsForResource
<a name="API_connect-customer-profiles_ListTagsForResource"></a>

Displays the tags associated with an Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

## Request Syntax
<a name="API_connect-customer-profiles_ListTagsForResource_RequestSyntax"></a>

```
GET /tags/resourceArn HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListTagsForResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [resourceArn](#API_connect-customer-profiles_ListTagsForResource_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListTagsForResource-request-uri-resourceArn"></a>
The ARN of the resource for which you want to view tags.  
Length Constraints: Maximum length of 256.  
Pattern: `^arn:[a-z0-9]{1,10}:profile`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_ListTagsForResource_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListTagsForResource_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListTagsForResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [tags](#API_connect-customer-profiles_ListTagsForResource_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListTagsForResource-response-tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_ListTagsForResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

## See Also
<a name="API_connect-customer-profiles_ListTagsForResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListTagsForResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListTagsForResource) 

# ListUploadJobs
<a name="API_connect-customer-profiles_ListUploadJobs"></a>

This API retrieves a list of upload jobs for the specified domain. 

## Request Syntax
<a name="API_connect-customer-profiles_ListUploadJobs_RequestSyntax"></a>

```
GET /domains/DomainName/upload-jobs?max-results=MaxResults&next-token=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListUploadJobs_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListUploadJobs_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListUploadJobs-request-uri-DomainName"></a>
The unique name of the domain to list upload jobs for.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListUploadJobs_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListUploadJobs-request-uri-MaxResults"></a>
The maximum number of upload jobs to return per page.   
Valid Range: Minimum value of 1. Maximum value of 500.

 ** [NextToken](#API_connect-customer-profiles_ListUploadJobs_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListUploadJobs-request-uri-NextToken"></a>
The pagination token from the previous call to retrieve the next page of results.   
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListUploadJobs_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_ListUploadJobs_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CompletedAt": number,
         "CreatedAt": number,
         "DataExpiry": number,
         "DisplayName": "string",
         "JobId": "string",
         "Status": "string",
         "StatusReason": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListUploadJobs_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListUploadJobs_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListUploadJobs-response-Items"></a>
The list of upload jobs for the specified domain.   
Type: Array of [UploadJobItem](API_connect-customer-profiles_UploadJobItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListUploadJobs_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListUploadJobs-response-NextToken"></a>
The pagination token to use to retrieve the next page of results.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListUploadJobs_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListUploadJobs_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListUploadJobs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListUploadJobs) 

# ListWorkflows
<a name="API_connect-customer-profiles_ListWorkflows"></a>

Query to list all workflows.

## Request Syntax
<a name="API_connect-customer-profiles_ListWorkflows_RequestSyntax"></a>

```
POST /domains/DomainName/workflows?max-results=MaxResults&next-token=NextToken HTTP/1.1
Content-type: application/json

{
   "QueryEndDate": number,
   "QueryStartDate": number,
   "Status": "string",
   "WorkflowType": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_ListWorkflows_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_ListWorkflows_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_ListWorkflows_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-request-uri-MaxResults"></a>
The maximum number of results to return per page.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_ListWorkflows_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-request-uri-NextToken"></a>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_ListWorkflows_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [QueryEndDate](#API_connect-customer-profiles_ListWorkflows_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-request-QueryEndDate"></a>
Retrieve workflows ended after timestamp.  
Type: Timestamp  
Required: No

 ** [QueryStartDate](#API_connect-customer-profiles_ListWorkflows_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-request-QueryStartDate"></a>
Retrieve workflows started after timestamp.  
Type: Timestamp  
Required: No

 ** [Status](#API_connect-customer-profiles_ListWorkflows_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-request-Status"></a>
Status of workflow execution.  
Type: String  
Valid Values: `NOT_STARTED | IN_PROGRESS | COMPLETE | FAILED | SPLIT | RETRY | CANCELLED`   
Required: No

 ** [WorkflowType](#API_connect-customer-profiles_ListWorkflows_RequestSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-request-WorkflowType"></a>
The type of workflow. The only supported value is APPFLOW\$1INTEGRATION.  
Type: String  
Valid Values: `APPFLOW_INTEGRATION`   
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_ListWorkflows_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "CreatedAt": number,
         "LastUpdatedAt": number,
         "Status": "string",
         "StatusDescription": "string",
         "WorkflowId": "string",
         "WorkflowType": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_ListWorkflows_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_ListWorkflows_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-response-Items"></a>
List containing workflow details.  
Type: Array of [ListWorkflowsItem](API_connect-customer-profiles_ListWorkflowsItem.md) objects

 ** [NextToken](#API_connect-customer-profiles_ListWorkflows_ResponseSyntax) **   <a name="connect-connect-customer-profiles_ListWorkflows-response-NextToken"></a>
If there are additional results, this is the token for the next set of results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_ListWorkflows_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_ListWorkflows_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/ListWorkflows) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/ListWorkflows) 

# MergeProfiles
<a name="API_connect-customer-profiles_MergeProfiles"></a>

Runs an AWS Lambda job that does the following:

1. All the profileKeys in the `ProfileToBeMerged` will be moved to the main profile.

1. All the objects in the `ProfileToBeMerged` will be moved to the main profile.

1. All the `ProfileToBeMerged` will be deleted at the end.

1. All the profileKeys in the `ProfileIdsToBeMerged` will be moved to the main profile.

1. Standard fields are merged as follows:

   1. Fields are always "union"-ed if there are no conflicts in standard fields or attributeKeys.

   1. When there are conflicting fields:

      1. If no `SourceProfileIds` entry is specified, the main Profile value is always taken. 

      1. If a `SourceProfileIds` entry is specified, the specified profileId is always taken, even if it is a NULL value.

You can use MergeProfiles together with [GetMatches](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html), which returns potentially matching profiles, or use it with the results of another matching system. After profiles have been merged, they cannot be separated (unmerged).

## Request Syntax
<a name="API_connect-customer-profiles_MergeProfiles_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/objects/merge HTTP/1.1
Content-type: application/json

{
   "FieldSourceProfileIds": { 
      "AccountNumber": "string",
      "AdditionalInformation": "string",
      "Address": "string",
      "Attributes": { 
         "string" : "string" 
      },
      "BillingAddress": "string",
      "BirthDate": "string",
      "BusinessEmailAddress": "string",
      "BusinessName": "string",
      "BusinessPhoneNumber": "string",
      "EmailAddress": "string",
      "EngagementPreferences": "string",
      "FirstName": "string",
      "Gender": "string",
      "HomePhoneNumber": "string",
      "LastName": "string",
      "MailingAddress": "string",
      "MiddleName": "string",
      "MobilePhoneNumber": "string",
      "PartyType": "string",
      "PersonalEmailAddress": "string",
      "PhoneNumber": "string",
      "ProfileType": "string",
      "ShippingAddress": "string"
   },
   "MainProfileId": "string",
   "ProfileIdsToBeMerged": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_MergeProfiles_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_MergeProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_MergeProfiles-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_MergeProfiles_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [FieldSourceProfileIds](#API_connect-customer-profiles_MergeProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_MergeProfiles-request-FieldSourceProfileIds"></a>
The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.   
Type: [FieldSourceProfileIds](API_connect-customer-profiles_FieldSourceProfileIds.md) object  
Required: No

 ** [MainProfileId](#API_connect-customer-profiles_MergeProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_MergeProfiles-request-MainProfileId"></a>
The identifier of the profile to be taken.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

 ** [ProfileIdsToBeMerged](#API_connect-customer-profiles_MergeProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_MergeProfiles-request-ProfileIdsToBeMerged"></a>
The identifier of the profile to be merged into MainProfileId.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 20 items.  
Pattern: `[a-f0-9]{32}`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_MergeProfiles_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Message": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_MergeProfiles_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Message](#API_connect-customer-profiles_MergeProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_MergeProfiles-response-Message"></a>
A message that indicates the merge request is complete.  
Type: String

## Errors
<a name="API_connect-customer-profiles_MergeProfiles_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_MergeProfiles_Examples"></a>

### Example 1
<a name="API_connect-customer-profiles_MergeProfiles_Example_1"></a>

Fields are always "union"-ed if there are no conflicts in standard fields or attributeKeys.

```
MainProfile: {
    "FirstName": "Jane"
}

ProfileToBeMerged1: {
    "LastName": "Doe"
}

ProfileToBeMerged2: {
    "MiddleName": "None"
}
   
mergeOf(MainProfile, [ProfileToBeMerged1, ProfileToBeMerged2] // Yields a MainProfile that looks like the following:
    MainProfile: {
       "FirstName": "Jane",
       "LastName": "Doe",
       "MiddleName": "None"
   }
```

### Example 2
<a name="API_connect-customer-profiles_MergeProfiles_Example_2"></a>

When there are conflicting fields, if no SourceProfileIds entry is specified, the main Profile value is always taken.

```
MainProfile: {
    "FirstName": "Jane"
}

ProfileToBeMerged1: {
    "LastName": "Doe"
}

ProfileToBeMerged2: {
    "FirstName": "Jorge" // Note that this has conflict with MainProfile
}

mergeOf(MainProfile, [ProfileToBeMerged1, ProfileToBeMerged2] // Yields a MainProfile that looks like the following:
    MainProfile: {
       "FirstName": "Jane", // "Jane" stays as that is what MainProfile is
       "LastName": "Doe"
   }
```

### Example 3
<a name="API_connect-customer-profiles_MergeProfiles_Example_3"></a>

When there are conflicting fields, if a SourceProfileIds entry is specified, the specified profileId is always taken, even if it is a NULL value.

```
MainProfile: {
    "FirstName": "Jane"
}

ProfileToBeMerged1: {
    "LastName": "Doe"
}

ProfileToBeMerged2: {
    "FirstName": "Jorge" // Note that this has conflict with MainProfile
}

SourceProfileIds: {
    "FirstName": "secondaryProfile2"
}

mergeOf(MainProfile, [ProfileToBeMerged1, ProfileToBeMerged2] // Yields a MainProfile that looks like the following:
    MainProfile: {
       "FirstName": "Jorge", // "Jorge" gets picked because SourceProfileIds is specified
       "LastName": "Doe"
}
```

## See Also
<a name="API_connect-customer-profiles_MergeProfiles_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/MergeProfiles) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/MergeProfiles) 

# PutDomainObjectType
<a name="API_connect-customer-profiles_PutDomainObjectType"></a>

Create/Update a DomainObjectType in a Customer Profiles domain. To create a new DomainObjectType, Data Store needs to be enabled on the Domain.

## Request Syntax
<a name="API_connect-customer-profiles_PutDomainObjectType_RequestSyntax"></a>

```
PUT /domains/DomainName/domain-object-types/ObjectTypeName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "EncryptionKey": "string",
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "FeatureType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_PutDomainObjectType_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_PutDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_PutDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-request-uri-ObjectTypeName"></a>
The unique name of the domain object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_PutDomainObjectType_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_PutDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-request-Description"></a>
The description of the domain object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 10000.  
Required: No

 ** [EncryptionKey](#API_connect-customer-profiles_PutDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-request-EncryptionKey"></a>
The customer provided KMS key used to encrypt this type of domain object.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [Fields](#API_connect-customer-profiles_PutDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-request-Fields"></a>
A map of field names to their corresponding domain object type field definitions.  
Type: String to [DomainObjectTypeField](API_connect-customer-profiles_DomainObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$`   
Required: Yes

 ** [Tags](#API_connect-customer-profiles_PutDomainObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "EncryptionKey": "string",
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "FeatureType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_PutDomainObjectType_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-response-CreatedAt"></a>
The timestamp of when the domain object type was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-response-Description"></a>
The description of the domain object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 10000.

 ** [EncryptionKey](#API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-response-EncryptionKey"></a>
The customer provided KMS key used to encrypt this type of domain object.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [Fields](#API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-response-Fields"></a>
A map of field names to their corresponding domain object type field definitions.  
Type: String to [DomainObjectTypeField](API_connect-customer-profiles_DomainObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-response-LastUpdatedAt"></a>
The timestamp of when the domain object type was most recently edited.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-response-ObjectTypeName"></a>
The unique name of the domain object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [Tags](#API_connect-customer-profiles_PutDomainObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutDomainObjectType-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_PutDomainObjectType_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_PutDomainObjectType_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/PutDomainObjectType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/PutDomainObjectType) 

# PutIntegration
<a name="API_connect-customer-profiles_PutIntegration"></a>

Adds an integration between the service and a third-party service, which includes Amazon AppFlow and Amazon Connect.

An integration can belong to only one domain.

To add or remove tags on an existing Integration, see [ TagResource ](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/[ UntagResource](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html).

## Request Syntax
<a name="API_connect-customer-profiles_PutIntegration_RequestSyntax"></a>

```
PUT /domains/DomainName/integrations HTTP/1.1
Content-type: application/json

{
   "EventTriggerNames": [ "string" ],
   "FlowDefinition": { 
      "Description": "string",
      "FlowName": "string",
      "KmsArn": "string",
      "SourceFlowConfig": { 
         "ConnectorProfileName": "string",
         "ConnectorType": "string",
         "IncrementalPullConfig": { 
            "DatetimeTypeFieldName": "string"
         },
         "SourceConnectorProperties": { 
            "Marketo": { 
               "Object": "string"
            },
            "S3": { 
               "BucketName": "string",
               "BucketPrefix": "string"
            },
            "Salesforce": { 
               "EnableDynamicFieldUpdate": boolean,
               "IncludeDeletedRecords": boolean,
               "Object": "string"
            },
            "ServiceNow": { 
               "Object": "string"
            },
            "Zendesk": { 
               "Object": "string"
            }
         }
      },
      "Tasks": [ 
         { 
            "ConnectorOperator": { 
               "Marketo": "string",
               "S3": "string",
               "Salesforce": "string",
               "ServiceNow": "string",
               "Zendesk": "string"
            },
            "DestinationField": "string",
            "SourceFields": [ "string" ],
            "TaskProperties": { 
               "string" : "string" 
            },
            "TaskType": "string"
         }
      ],
      "TriggerConfig": { 
         "TriggerProperties": { 
            "Scheduled": { 
               "DataPullMode": "string",
               "FirstExecutionFrom": number,
               "ScheduleEndTime": number,
               "ScheduleExpression": "string",
               "ScheduleOffset": number,
               "ScheduleStartTime": number,
               "Timezone": "string"
            }
         },
         "TriggerType": "string"
      }
   },
   "ObjectTypeName": "string",
   "ObjectTypeNames": { 
      "string" : "string" 
   },
   "RoleArn": "string",
   "Scope": "string",
   "Tags": { 
      "string" : "string" 
   },
   "Uri": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_PutIntegration_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_PutIntegration_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [EventTriggerNames](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-EventTriggerNames"></a>
A list of unique names for active event triggers associated with the integration.  
Type: Array of strings  
Array Members: Fixed number of 1 item.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

 ** [FlowDefinition](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-FlowDefinition"></a>
The configuration that controls how Customer Profiles retrieves data from the source.  
Type: [FlowDefinition](API_connect-customer-profiles_FlowDefinition.md) object  
Required: No

 ** [ObjectTypeName](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: No

 ** [ObjectTypeNames](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-ObjectTypeNames"></a>
A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an `ObjectTypeName` (template) used to ingest the event. It supports the following event types: `SegmentIdentify`, `ShopifyCreateCustomers`, `ShopifyUpdateCustomers`, `ShopifyCreateDraftOrders`, `ShopifyUpdateDraftOrders`, `ShopifyCreateOrders`, and `ShopifyUpdatedOrders`.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: No

 ** [RoleArn](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-RoleArn"></a>
The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.  
Type: String  
Length Constraints: Maximum length of 512.  
Pattern: `arn:aws:iam:.*:[0-9]+:.*`   
Required: No

 ** [Scope](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-Scope"></a>
Specifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.  
Type: String  
Valid Values: `PROFILE | DOMAIN`   
Required: No

 ** [Tags](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

 ** [Uri](#API_connect-customer-profiles_PutIntegration_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-request-Uri"></a>
The URI of the S3 bucket or any other type of data source.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_PutIntegration_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "DomainName": "string",
   "EventTriggerNames": [ "string" ],
   "IsUnstructured": boolean,
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "ObjectTypeNames": { 
      "string" : "string" 
   },
   "RoleArn": "string",
   "Scope": "string",
   "Tags": { 
      "string" : "string" 
   },
   "Uri": "string",
   "WorkflowId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_PutIntegration_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-CreatedAt"></a>
The timestamp of when the domain was created.  
Type: Timestamp

 ** [DomainName](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [EventTriggerNames](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-EventTriggerNames"></a>
A list of unique names for active event triggers associated with the integration. This list would be empty if no Event Trigger is associated with the integration.  
Type: Array of strings  
Array Members: Fixed number of 1 item.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [IsUnstructured](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-IsUnstructured"></a>
Boolean that shows if the Flow that's associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals \$1unstructured via API/CLI in flowDefinition.  
Type: Boolean

 ** [LastUpdatedAt](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-LastUpdatedAt"></a>
The timestamp of when the domain was most recently edited.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [ObjectTypeNames](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-ObjectTypeNames"></a>
A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an `ObjectTypeName` (template) used to ingest the event. It supports the following event types: `SegmentIdentify`, `ShopifyCreateCustomers`, `ShopifyUpdateCustomers`, `ShopifyCreateDraftOrders`, `ShopifyUpdateDraftOrders`, `ShopifyCreateOrders`, and `ShopifyUpdatedOrders`.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [RoleArn](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-RoleArn"></a>
The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.  
Type: String  
Length Constraints: Maximum length of 512.  
Pattern: `arn:aws:iam:.*:[0-9]+:.*` 

 ** [Scope](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-Scope"></a>
Specifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.  
Type: String  
Valid Values: `PROFILE | DOMAIN` 

 ** [Tags](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [Uri](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-Uri"></a>
The URI of the S3 bucket or any other type of data source.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [WorkflowId](#API_connect-customer-profiles_PutIntegration_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutIntegration-response-WorkflowId"></a>
Unique identifier for the workflow.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_PutIntegration_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_PutIntegration_Examples"></a>

### Example
<a name="API_connect-customer-profiles_PutIntegration_Example_1"></a>

This example illustrates one usage of PutIntegration.

#### Sample Request
<a name="API_connect-customer-profiles_PutIntegration_Example_1_Request"></a>

```
PUT /domains/ExampleDomainName/integrations HTTP/1.1

Content-type: application/json
{
   "ObjectTypeName": "MyCustomObject",
   "Uri": "arn:aws:flow:us-east-1:123456789012:URIOfIntegration1"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_PutIntegration_Example_1_Response"></a>

```
Content-type: application/json
{
   "CreatedAt": 1479249799770,
    "DomainName": "ExampleDomainName",
    "LastUpdatedAt": 1479249799770,
    "ObjectTypeName": "MyCustomObject",
    "Uri": "arn:aws:flow:us-east-1:123456789012:URIOfIntegration1"
}
```

## See Also
<a name="API_connect-customer-profiles_PutIntegration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/PutIntegration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/PutIntegration) 

# PutProfileObject
<a name="API_connect-customer-profiles_PutProfileObject"></a>

Adds additional objects to customer profiles of a given ObjectType.

When adding a specific profile object, like a Contact Record, an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional Contact Records with the same phone number will be mapped to the same inferred profile.

When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition.

PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.

## Request Syntax
<a name="API_connect-customer-profiles_PutProfileObject_RequestSyntax"></a>

```
PUT /domains/DomainName/profiles/objects HTTP/1.1
Content-type: application/json

{
   "Object": "string",
   "ObjectTypeName": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_PutProfileObject_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_PutProfileObject_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObject-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_PutProfileObject_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Object](#API_connect-customer-profiles_PutProfileObject_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObject-request-Object"></a>
A string that is serialized from a JSON object.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256000.  
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_PutProfileObject_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObject-request-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_PutProfileObject_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileObjectUniqueKey": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_PutProfileObject_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileObjectUniqueKey](#API_connect-customer-profiles_PutProfileObject_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObject-response-ProfileObjectUniqueKey"></a>
The unique identifier of the profile object generated by the service.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_PutProfileObject_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_PutProfileObject_Examples"></a>

### Example 1: For a custom object
<a name="API_connect-customer-profiles_PutProfileObject_Example_1"></a>

This example illustrates one usage of PutProfileObject.

#### Sample Request
<a name="API_connect-customer-profiles_PutProfileObject_Example_1_Request"></a>

```
PUT /domains/ExampleDomainName/profiles/objects HTTP/1.1
Content-type: application/json

{
   "Object": "{\"firstName\": \"John\",\n       \"lastName\": \"Smith\",\n       \"isAlive\": true,\n       \"age\": 27,\n       \"address\": {\"streetAddress\": \"21 2nd Street\",\"city\": \"New York\",\"state\": \"NY\",\"postalCode\": \"10021-3100\"},\n       \"phoneNumbers\": [{\"type\": \"home\",\"number\": \"212 555-1234\"},\n                        {\"type\": \"office\",\"number\": \"646 555-4567\"}],\n       \"children\": [],\n       \"spouse\": null}",
   "ObjectTypeName": "MyCustomObjectName"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_PutProfileObject_Example_1_Response"></a>

```
Content-type: application/json
{
   "ProfileObjectUniqueKey": "HashValueOfUniqueKeyOfTheProfileObject"
}
```

### Example 2: For a pre-defined object, like a Contact Record
<a name="API_connect-customer-profiles_PutProfileObject_Example_2"></a>

This example illustrates one usage of PutProfileObject.

#### Sample Request
<a name="API_connect-customer-profiles_PutProfileObject_Example_2_Request"></a>

```
PUT /domains/ExampleDomainName/profiles/objects HTTP/1.1
Content-type: application/json

{
   "Object": "{\n    \"mediaStreams\": [\n        {\n            \"type\": \"AUDIO\"\n        }\n    ],\n    \"queue\": null,\n    \"preDisconnectState\": null,\n    \"references\": null,\n    \"contactReferences\": null,\n    \"initialContactId\": null,\n    \"previousContactData\": null,\n    \"recordings\": null,\n    \"contactDetails\": null,\n    \"initialContactFlowId\": \"e1b44e46-a457-4230-a896-64473a2dbe7d\",\n    \"channel\": \"VOICE\",\n    \"attributes\": null,\n    \"customerEndpoint\": {\n        \"address\": null,\n        \"type\": \"VOIP\",\n        \"arn\": null\n    },\n    \"transferInfo\": null,\n    \"initiationMethod\": \"API\",\n    \"nextContactData\": null,\n    \"contactId\": \"9a3394ee-a0c4-448a-a329-9a148e53d8cd\",\n    \"initiationTimestamp\": 1603319514474,\n    \"connectedToSystemTimestamp\": 1603319517218,\n    \"disconnectTimestamp\": 1603319517000,\n    \"agentConnectionAttempts\": 0,\n    \"agent\": null,\n    \"systemEndpoint\": {\n        \"address\": \"e1b44e46-a457-4230-a896-64473a2dbe7d\",\n        \"type\": \"CONTACT_FLOW\",\n        \"arn\": null\n    },\n    \"instanceARN\": \"arn:aws:connect:us-west-2:941081270797:instance/fb129b8c-4a2f-4561-859b-cc190fa047b1\",\n    \"lastUpdateTimestamp\": 1603319579763,\n    \"disconnectReason\": \"CUSTOMER_DISCONNECT\",\n    \"awsaccountId\": \"941081270797\",\n    \"awscontactTraceRecordFormatVersion\": \"2019-01-23\"\n}",
   "ObjectTypeName": "CTR"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_PutProfileObject_Example_2_Response"></a>

```
Content-type: application/json
{
   "ProfileObjectUniqueKey": "HashValueOfTheCTRContactId"
}
```

## See Also
<a name="API_connect-customer-profiles_PutProfileObject_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/PutProfileObject) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/PutProfileObject) 

# PutProfileObjectType
<a name="API_connect-customer-profiles_PutProfileObjectType"></a>

Defines a ProfileObjectType.

To add or remove tags on an existing ObjectType, see [ TagResource](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/[UntagResource](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html).

## Request Syntax
<a name="API_connect-customer-profiles_PutProfileObjectType_RequestSyntax"></a>

```
PUT /domains/DomainName/object-types/ObjectTypeName HTTP/1.1
Content-type: application/json

{
   "AllowProfileCreation": boolean,
   "Description": "string",
   "EncryptionKey": "string",
   "ExpirationDays": number,
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "Keys": { 
      "string" : [ 
         { 
            "FieldNames": [ "string" ],
            "StandardIdentifiers": [ "string" ]
         }
      ]
   },
   "MaxProfileObjectCount": number,
   "SourceLastUpdatedTimestampFormat": "string",
   "SourcePriority": number,
   "Tags": { 
      "string" : "string" 
   },
   "TemplateId": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_PutProfileObjectType_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [ObjectTypeName](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-uri-ObjectTypeName"></a>
The name of the profile object type.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_PutProfileObjectType_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [AllowProfileCreation](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-AllowProfileCreation"></a>
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is `FALSE`. If the AllowProfileCreation flag is set to `FALSE`, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to `TRUE`, and if no match is found, then the service creates a new standard profile.  
Type: Boolean  
Required: No

 ** [Description](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-Description"></a>
Description of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: Yes

 ** [EncryptionKey](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-EncryptionKey"></a>
The customer-provided key to encrypt the profile object that will be created in this profile object type.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [ExpirationDays](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-ExpirationDays"></a>
The number of days until the data in the object expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.  
Required: No

 ** [Fields](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-Fields"></a>
A map of the name and ObjectType field.  
Type: String to [ObjectTypeField](API_connect-customer-profiles_ObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$`   
Required: No

 ** [Keys](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-Keys"></a>
A list of unique keys that can be used to map data to the profile.  
Type: String to array of [ObjectTypeKey](API_connect-customer-profiles_ObjectTypeKey.md) objects map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

 ** [MaxProfileObjectCount](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-MaxProfileObjectCount"></a>
The amount of profile object max count assigned to the object type  
Type: Integer  
Valid Range: Minimum value of 1.  
Required: No

 ** [SourceLastUpdatedTimestampFormat](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-SourceLastUpdatedTimestampFormat"></a>
The format of your `sourceLastUpdatedTimestamp` that was previously set up.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [SourcePriority](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-SourcePriority"></a>
An integer that determines the priority of this object type when data from multiple sources is ingested. Lower values take priority. Object types without a specified source priority default to the lowest priority.  
Type: Integer  
Valid Range: Minimum value of 1.  
Required: No

 ** [Tags](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

 ** [TemplateId](#API_connect-customer-profiles_PutProfileObjectType_RequestSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-request-TemplateId"></a>
A unique identifier for the object template. For some attributes in the request, the service will use the default value from the object template when TemplateId is present. If these attributes are present in the request, the service may return a `BadRequestException`. These attributes include: AllowProfileCreation, SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if AllowProfileCreation is set to true when TemplateId is set, the service may return a `BadRequestException`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "AllowProfileCreation": boolean,
   "CreatedAt": number,
   "Description": "string",
   "EncryptionKey": "string",
   "ExpirationDays": number,
   "Fields": { 
      "string" : { 
         "ContentType": "string",
         "Source": "string",
         "Target": "string"
      }
   },
   "Keys": { 
      "string" : [ 
         { 
            "FieldNames": [ "string" ],
            "StandardIdentifiers": [ "string" ]
         }
      ]
   },
   "LastUpdatedAt": number,
   "MaxAvailableProfileObjectCount": number,
   "MaxProfileObjectCount": number,
   "ObjectTypeName": "string",
   "SourceLastUpdatedTimestampFormat": "string",
   "SourcePriority": number,
   "Tags": { 
      "string" : "string" 
   },
   "TemplateId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_PutProfileObjectType_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AllowProfileCreation](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-AllowProfileCreation"></a>
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is `FALSE`. If the AllowProfileCreation flag is set to `FALSE`, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to `TRUE`, and if no match is found, then the service creates a new standard profile.  
Type: Boolean

 ** [CreatedAt](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-CreatedAt"></a>
The timestamp of when the domain was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-Description"></a>
Description of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [EncryptionKey](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-EncryptionKey"></a>
The customer-provided key to encrypt the profile object that will be created in this profile object type.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [ExpirationDays](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-ExpirationDays"></a>
The number of days until the data in the object expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.

 ** [Fields](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-Fields"></a>
A map of the name and ObjectType field.  
Type: String to [ObjectTypeField](API_connect-customer-profiles_ObjectTypeField.md) object map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_.-]+$` 

 ** [Keys](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-Keys"></a>
A list of unique keys that can be used to map data to the profile.  
Type: String to array of [ObjectTypeKey](API_connect-customer-profiles_ObjectTypeKey.md) objects map  
Key Length Constraints: Minimum length of 1. Maximum length of 64.  
Key Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-LastUpdatedAt"></a>
The timestamp of when the domain was most recently edited.  
Type: Timestamp

 ** [MaxAvailableProfileObjectCount](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-MaxAvailableProfileObjectCount"></a>
The amount of provisioned profile object max count available.  
Type: Integer  
Valid Range: Minimum value of 0.

 ** [MaxProfileObjectCount](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-MaxProfileObjectCount"></a>
The amount of profile object max count assigned to the object type.  
Type: Integer  
Valid Range: Minimum value of 1.

 ** [ObjectTypeName](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-ObjectTypeName"></a>
The name of the profile object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [SourceLastUpdatedTimestampFormat](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-SourceLastUpdatedTimestampFormat"></a>
The format of your `sourceLastUpdatedTimestamp` that was previously set up in fields that were parsed using [SimpleDateFormat](https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html). If you have `sourceLastUpdatedTimestamp` in your field, you must set up `sourceLastUpdatedTimestampFormat`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

 ** [SourcePriority](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-SourcePriority"></a>
An integer that determines the priority of this object type when data from multiple sources is ingested. Lower values take priority. Object types without a specified source priority default to the lowest priority.  
Type: Integer  
Valid Range: Minimum value of 1.

 ** [Tags](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [TemplateId](#API_connect-customer-profiles_PutProfileObjectType_ResponseSyntax) **   <a name="connect-connect-customer-profiles_PutProfileObjectType-response-TemplateId"></a>
A unique identifier for the object template.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

## Errors
<a name="API_connect-customer-profiles_PutProfileObjectType_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_PutProfileObjectType_Examples"></a>

### Example 1
<a name="API_connect-customer-profiles_PutProfileObjectType_Example_1"></a>

In the request, replace the `Fields` and `Keys` request parameters with your own. If specifying a `TemplateId`, replace it with your own `TemplateId` value. You must either specify both `Fields` and `Keys`, or you can specify `TemplateId`. You can't include all three.

#### Sample Request
<a name="API_connect-customer-profiles_PutProfileObjectType_Example_1_Request"></a>

```
PUT /domains/ExampleDomainName/object-types/CustomProfileObjectTypeName HTTP/1.1


{
   "Description": "Internal ERP System",
   "EncryptionKey": "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
   "AllowProfileCreation": false,
   "ExpirationDays": 1000,
   "Fields": { 
      "email" : { 
         "ContentType": "EMAIL_ADDRESS",
         "Source": "_source.email",
         "Target": "_profile.BusinessEmail"
      },
      "phone" : { 
         "ContentType": "PHONE_NUMBER",
         "Source": "_source.phone",
         "Target": "_profile.BusinessPhoneNumber"
      },
      "loyaltyPoints" : { 
         "ContentType": "NUMBER",
         "Source": "_source.loyaltypoints",
         "Target": "_profile.Attributes.loyaltypoints"
      }
   },
   "Keys": { 
      "_email" : [ 
         { 
            "FieldNames": [ "email" ],
            "StandardIdentifiers": [ "PROFILE", "UNIQUE" ]
         }
      ],
      "loyaltypoints" : [ 
         { 
            "FieldNames": [ "loyaltyPoints" ],
            "StandardIdentifiers": [ "PROFILE"]
         }
      ]
   },
   "SourcePriority": 2,
   "TemplateId": "MyTemplateId"
}
```

#### Sample Response
<a name="API_connect-customer-profiles_PutProfileObjectType_Example_1_Response"></a>

```
Content-type: application/json
{
   "CreatedAt": 1479249799770,
   "Description": "Internal ERP System",
   "EncryptionKey": "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE",
   "AllowProfileCreation": "FALSE",
   "ExpirationDays": 100,
   "Fields": { 
      "email" : { 
         "ContentType": "EMAIL_ADDRESS",
         "Source": "_source.email",
         "Target": "_profile.BusinessEmailAddress"
      },
      "phone" : { 
         "ContentType": "PHONE_NUMBER",
         "Source": "_source.phone",
         "Target": "_profile.BusinessPhoneNumber"
      },
      "loyaltyPoints" : { 
         "ContentType": "NUMBER",
         "Source": "_source.loyaltypoints",
         "Target": "_profile.Attributes.loyaltypoints"
      }
   },
   "Keys": { 
      "email" : [ 
         { 
            "FieldNames": [ "email" ],
            "StandardIdentifiers": [ "PROFILE", "UNIQUE" ]
         }
      ],
      "loyaltypoints" : [ 
         { 
            "FieldNames": [ "loyaltyPoints" ],
            "StandardIdentifiers": [ "PROFILE"]
         }
      ]
   },
   "LastUpdatedAt": 1479249799770,
   "ObjectTypeName": "CustomProfileObjectTypeName",
   "SourcePriority": 2,
   "TemplateId": "MyTemplateId"
}
```

### Example 2
<a name="API_connect-customer-profiles_PutProfileObjectType_Example_2"></a>

This example illustrates one usage of PutProfileObjectType.

#### Sample Request
<a name="API_connect-customer-profiles_PutProfileObjectType_Example_2_Request"></a>

```
PUT /domains/ExampleDomainName/object-types/CTR HTTP/1.1
Content-type: application/json
{
   "Description": "CTR",
   "TemplateId": "CTR-NoInferred"
}
```

### Example 2.5
<a name="API_connect-customer-profiles_PutProfileObjectType_Example_3"></a>

This command associates Contact Records with already existing profiles with the same phone number. In the example below, replace `ExampleDomainName` with your domain name, and replace the description with your desired description.

#### Sample Request
<a name="API_connect-customer-profiles_PutProfileObjectType_Example_3_Request"></a>

```
aws profile put-object-type --domain-name ExampleDomainName --object-type-name CTR --description "CTR" --template-id "CTR-NoInferred"
```

## See Also
<a name="API_connect-customer-profiles_PutProfileObjectType_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/PutProfileObjectType) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/PutProfileObjectType) 

# SearchProfiles
<a name="API_connect-customer-profiles_SearchProfiles"></a>

Searches for profiles within a specific domain using one or more predefined search keys (e.g., \$1fullName, \$1phone, \$1email, \$1account, etc.) and/or custom-defined search keys. A search key is a data type pair that consists of a `KeyName` and `Values` list.

This operation supports searching for profiles with a minimum of 1 key-value(s) pair and up to 5 key-value(s) pairs using either `AND` or `OR` logic.

## Request Syntax
<a name="API_connect-customer-profiles_SearchProfiles_RequestSyntax"></a>

```
POST /domains/DomainName/profiles/search?max-results=MaxResults&next-token=NextToken HTTP/1.1
Content-type: application/json

{
   "AdditionalSearchKeys": [ 
      { 
         "KeyName": "string",
         "Values": [ "string" ]
      }
   ],
   "KeyName": "string",
   "LogicalOperator": "string",
   "Values": [ "string" ]
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_SearchProfiles_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_SearchProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [MaxResults](#API_connect-customer-profiles_SearchProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-request-uri-MaxResults"></a>
The maximum number of objects returned per page.  
The default is 20 if this parameter is not included in the request.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_connect-customer-profiles_SearchProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-request-uri-NextToken"></a>
The pagination token from the previous SearchProfiles API call.  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Request Body
<a name="API_connect-customer-profiles_SearchProfiles_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [AdditionalSearchKeys](#API_connect-customer-profiles_SearchProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-request-AdditionalSearchKeys"></a>
A list of `AdditionalSearchKey` objects that are each searchable identifiers of a profile. Each `AdditionalSearchKey` object contains a `KeyName` and a list of `Values` associated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with the `LogicalOperator` and the required `KeyName` and `Values` parameters to search for profiles that satisfy the search criteria.   
Type: Array of [AdditionalSearchKey](API_connect-customer-profiles_AdditionalSearchKey.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 4 items.  
Required: No

 ** [KeyName](#API_connect-customer-profiles_SearchProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-request-KeyName"></a>
A searchable identifier of a customer profile. The predefined keys you can use to search include: \$1account, \$1profileId, \$1assetId, \$1caseId, \$1orderId, \$1fullName, \$1phone, \$1email, \$1ctrContactId, \$1marketoLeadId, \$1salesforceAccountId, \$1salesforceContactId, \$1salesforceAssetId, \$1zendeskUserId, \$1zendeskExternalId, \$1zendeskTicketId, \$1serviceNowSystemId, \$1serviceNowIncidentId, \$1segmentUserId, \$1shopifyCustomerId, \$1shopifyOrderId.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [LogicalOperator](#API_connect-customer-profiles_SearchProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-request-LogicalOperator"></a>
Relationship between all specified search keys that will be used to search for profiles. This includes the required `KeyName` and `Values` parameters as well as any key-value(s) pairs specified in the `AdditionalSearchKeys` list.  
This parameter influences which profiles will be returned in the response in the following manner:  
+  `AND` - The response only includes profiles that match all of the search keys.
+  `OR` - The response includes profiles that match at least one of the search keys.
The `OR` relationship is the default behavior if this parameter is not included in the request.  
Type: String  
Valid Values: `AND | OR`   
Required: No

 ** [Values](#API_connect-customer-profiles_SearchProfiles_RequestSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-request-Values"></a>
A list of key values.  
Type: Array of strings  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_SearchProfiles_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Items": [ 
      { 
         "AccountNumber": "string",
         "AdditionalInformation": "string",
         "Address": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         },
         "Attributes": { 
            "string" : "string" 
         },
         "BillingAddress": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         },
         "BirthDate": "string",
         "BusinessEmailAddress": "string",
         "BusinessName": "string",
         "BusinessPhoneNumber": "string",
         "EmailAddress": "string",
         "EngagementPreferences": { 
            "Email": [ 
               { 
                  "ContactType": "string",
                  "KeyName": "string",
                  "KeyValue": "string",
                  "ProfileId": "string"
               }
            ],
            "Phone": [ 
               { 
                  "ContactType": "string",
                  "KeyName": "string",
                  "KeyValue": "string",
                  "ProfileId": "string"
               }
            ]
         },
         "FirstName": "string",
         "FoundByItems": [ 
            { 
               "KeyName": "string",
               "Values": [ "string" ]
            }
         ],
         "Gender": "string",
         "GenderString": "string",
         "HomePhoneNumber": "string",
         "LastName": "string",
         "MailingAddress": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         },
         "MiddleName": "string",
         "MobilePhoneNumber": "string",
         "PartyType": "string",
         "PartyTypeString": "string",
         "PersonalEmailAddress": "string",
         "PhoneNumber": "string",
         "ProfileId": "string",
         "ProfileType": "string",
         "ShippingAddress": { 
            "Address1": "string",
            "Address2": "string",
            "Address3": "string",
            "Address4": "string",
            "City": "string",
            "Country": "string",
            "County": "string",
            "PostalCode": "string",
            "Province": "string",
            "State": "string"
         }
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_SearchProfiles_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Items](#API_connect-customer-profiles_SearchProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-response-Items"></a>
The list of Profiles matching the search criteria.  
Type: Array of [Profile](API_connect-customer-profiles_Profile.md) objects

 ** [NextToken](#API_connect-customer-profiles_SearchProfiles_ResponseSyntax) **   <a name="connect-connect-customer-profiles_SearchProfiles-response-NextToken"></a>
The pagination token from the previous SearchProfiles API call.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

## Errors
<a name="API_connect-customer-profiles_SearchProfiles_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_SearchProfiles_Examples"></a>

### Example 1
<a name="API_connect-customer-profiles_SearchProfiles_Example_1"></a>

This example illustrates one usage of SearchProfiles.

#### Sample Request
<a name="API_connect-customer-profiles_SearchProfiles_Example_1_Request"></a>

```
POST /domains/ExampleDomainName/profiles/search?max-results=10&next-token=nextTokenString HTTP/1.1
Content-type: application/json

{
   "KeyName": "_phone",
   "Values": ["555-333-7777"]
}
```

#### Sample Response
<a name="API_connect-customer-profiles_SearchProfiles_Example_1_Response"></a>

```
Content-type: application/json 
{
  "NextToken": "5231b533-ba17-4787-98a3-f2df3EXAMPLE",
  "Items":[
    {
        "ProfileId" : "3991a7d95sd248bba82546b2dEXAMPLE",
        "AccountNumber": "ACCT12344",
        "Address": { 
            "Address1": "123 Sample St",
            "Address2": "Apt 4",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "Attributes": { 
            "SSN" : "123-44-3433",
            "LoyaltyPoints" : "4000" 
        },
        "BillingAddress": { 
            "Address1": "789 Sample St",
            "Address2": "Apt 1",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "BirthDate": "07/12/1980",
        "BusinessEmailAddress": "example@amazon.com",
        "BusinessName": "My Awesome Company",
        "BusinessPhoneNumber": "555-334-3389",
        "EmailAddress": "example@gmail.com",
        "FirstName": "John",
        "Gender": "MALE",
        "HomePhoneNumber": "555-334-3344",
        "LastName": "Doe",
        "MailingAddress": { 
            "Address1": "234 Home St",
            "Address2": "Apt 5",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "AdditionalInformation": "High Profile Customer",
        "MiddleName": "",
        "MobilePhoneNumber": "555-333-7777",
        "PartyType": "INDIVIDUAL",
        "PersonalEmailAddress": "email1@gmail.com",
        "PhoneNumber": "",
        "ShippingAddress": { 
            "Address1": "555 A St",
            "Address2": "Suite 100",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        }
  },
  {
        "ProfileId" : "ef30fad550894e0a95f9d64cbEXAMPLE",
        "AccountNumber": "ACCT12344",
        "Address": { 
            "Address1": "123 Sample St",
            "Address2": "Apt 4",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "Attributes": { 
            "SSN" : "123-44-3433",
            "LoyaltyPoints" : "4000" 
        },
        "BillingAddress": { 
            "Address1": "789 Sample St",
            "Address2": "Apt 1",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "BirthDate": "07/12/1980",
        "BusinessEmailAddress": "example@amazon.com",
        "BusinessName": "My Awesome Company",
        "BusinessPhoneNumber": "555-334-3389",
        "EmailAddress": "example@gmail.com",
        "FirstName": "John",
        "Gender": "MALE",
        "HomePhoneNumber": "555-334-3344",
        "LastName": "Doe",
        "MailingAddress": { 
            "Address1": "234 Home St",
            "Address2": "Apt 5",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "AdditionalInformation": "High Profile Customer",
        "MiddleName": "",
        "MobilePhoneNumber": "555-333-7777",
        "PartyType": "INDIVIDUAL",
        "PersonalEmailAddress": "email1@gmail.com",
        "PhoneNumber": "",
        "ShippingAddress": { 
            "Address1": "555 A St",
            "Address2": "Suite 100",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        }
  }
 ]
}
```

### Example 2
<a name="API_connect-customer-profiles_SearchProfiles_Example_2"></a>

This example illustrates one usage of SearchProfiles.

#### Sample Request
<a name="API_connect-customer-profiles_SearchProfiles_Example_2_Request"></a>

```
POST /domains/ExampleDomainName/profiles/search?max-results=10&next-token=nextTokenString HTTP/1.1
Content-type: application/json

{
   "KeyName": "_email",
   "Values": ["email1@gmail.com"]
}
```

#### Sample Response
<a name="API_connect-customer-profiles_SearchProfiles_Example_2_Response"></a>

```
Content-type: application/json 
{
  "NextToken": "5231b533-ba17-4787-98a3-f2df3EXAMPLE",
  "Items":[
    {
        "ProfileId" : "ef30fad55099ee0a95f9d64cbEXAMPLE",
        "AccountNumber": "ACCT12344",
        "Address": { 
            "Address1": "123 Sample St",
            "Address2": "Apt 4",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "Attributes": { 
            "SSN" : "123-44-3433",
            "LoyaltyPoints" : "4000" 
        },
        "BillingAddress": { 
            "Address1": "789 Sample St",
            "Address2": "Apt 1",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "BirthDate": "07/12/1980",
        "BusinessEmailAddress": "example@amazon.com",
        "BusinessName": "My Awesome Company",
        "BusinessPhoneNumber": "555-334-3389",
        "EmailAddress": "example@gmail.com",
        "FirstName": "John",
        "Gender": "MALE",
        "HomePhoneNumber": "555-334-3344",
        "LastName": "Doe",
        "MailingAddress": { 
            "Address1": "234 Home St",
            "Address2": "Apt 5",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "AdditionalInformation": "High Profile Customer",
        "MiddleName": "",
        "MobilePhoneNumber": "555-333-7777",
        "PartyType": "INDIVIDUAL",
        "PersonalEmailAddress": "email5@gmail.com",
        "PhoneNumber": "",
        "ShippingAddress": { 
            "Address1": "555 A St",
            "Address2": "Suite 100",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        }
  },
  {
        "ProfileId" : "3991a7d959d238bba82546b2dEXAMPLE",
        "AccountNumber": "ACCT12344",
        "Address": { 
            "Address1": "123 Sample St",
            "Address2": "Apt 4",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "Attributes": { 
            "SSN" : "123-44-3433",
            "LoyaltyPoints" : "4000" 
        },
        "BillingAddress": { 
            "Address1": "789 Sample St",
            "Address2": "Apt 1",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "BirthDate": "07/12/1980",
        "BusinessEmailAddress": "example@amazon.com",
        "BusinessName": "My Awesome Company",
        "BusinessPhoneNumber": "555-334-3389",
        "EmailAddress": "example@gmail.com",
        "FirstName": "John",
        "Gender": "MALE",
        "HomePhoneNumber": "555-334-3344",
        "LastName": "Doe",
        "MailingAddress": { 
            "Address1": "234 Home St",
            "Address2": "Apt 5",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        },
        "AdditionalInformation": "High Profile Customer",
        "MiddleName": "",
        "MobilePhoneNumber": "555-333-7777",
        "PartyType": "INDIVIDUAL",
        "PersonalEmailAddress": "email1@gmail.com",
        "PhoneNumber": "",
        "ShippingAddress": { 
            "Address1": "555 A St",
            "Address2": "Suite 100",
            "Address3": "",
            "Address4": "",
            "City": "Seattle",
            "Country": "USA",
            "County": "King",
            "PostalCode": "98011",
            "Province": "",
            "State": "WA"
        }
  }
 ]
}
```

## See Also
<a name="API_connect-customer-profiles_SearchProfiles_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/SearchProfiles) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/SearchProfiles) 

# StartRecommender
<a name="API_connect-customer-profiles_StartRecommender"></a>

Starts a recommender that was previously stopped. Starting a recommender resumes its ability to generate recommendations.

## Request Syntax
<a name="API_connect-customer-profiles_StartRecommender_RequestSyntax"></a>

```
PUT /domains/DomainName/recommenders/RecommenderName/start HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_StartRecommender_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_StartRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_StartRecommender-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderName](#API_connect-customer-profiles_StartRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_StartRecommender-request-uri-RecommenderName"></a>
The name of the recommender to start.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_StartRecommender_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_StartRecommender_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_StartRecommender_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_StartRecommender_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_StartRecommender_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/StartRecommender) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/StartRecommender) 

# StartUploadJob
<a name="API_connect-customer-profiles_StartUploadJob"></a>

This API starts the processing of an upload job to ingest profile data. 

## Request Syntax
<a name="API_connect-customer-profiles_StartUploadJob_RequestSyntax"></a>

```
PUT /domains/DomainName/upload-jobs/JobId HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_StartUploadJob_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_StartUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_StartUploadJob-request-uri-DomainName"></a>
The unique name of the domain containing the upload job to start.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [JobId](#API_connect-customer-profiles_StartUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_StartUploadJob-request-uri-JobId"></a>
The unique identifier of the upload job to start.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_StartUploadJob_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_StartUploadJob_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_StartUploadJob_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_StartUploadJob_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_StartUploadJob_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/StartUploadJob) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/StartUploadJob) 

# StopRecommender
<a name="API_connect-customer-profiles_StopRecommender"></a>

Stops a recommender, suspending its ability to generate recommendations. The recommender can be restarted later using StartRecommender.

## Request Syntax
<a name="API_connect-customer-profiles_StopRecommender_RequestSyntax"></a>

```
PUT /domains/DomainName/recommenders/RecommenderName/stop HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_StopRecommender_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_StopRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_StopRecommender-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderName](#API_connect-customer-profiles_StopRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_StopRecommender-request-uri-RecommenderName"></a>
The name of the recommender to stop.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_StopRecommender_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_StopRecommender_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_StopRecommender_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_StopRecommender_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_StopRecommender_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/StopRecommender) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/StopRecommender) 

# StopUploadJob
<a name="API_connect-customer-profiles_StopUploadJob"></a>

This API stops the processing of an upload job. 

## Request Syntax
<a name="API_connect-customer-profiles_StopUploadJob_RequestSyntax"></a>

```
PUT /domains/DomainName/upload-jobs/JobId/stop HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_StopUploadJob_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_StopUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_StopUploadJob-request-uri-DomainName"></a>
The unique name of the domain containing the upload job to stop.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [JobId](#API_connect-customer-profiles_StopUploadJob_RequestSyntax) **   <a name="connect-connect-customer-profiles_StopUploadJob-request-uri-JobId"></a>
The unique identifier of the upload job to stop.   
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_StopUploadJob_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_StopUploadJob_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_StopUploadJob_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_StopUploadJob_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_StopUploadJob_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/StopUploadJob) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/StopUploadJob) 

# TagResource
<a name="API_connect-customer-profiles_TagResource"></a>

Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.

You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a resource.

## Request Syntax
<a name="API_connect-customer-profiles_TagResource_RequestSyntax"></a>

```
POST /tags/resourceArn HTTP/1.1
Content-type: application/json

{
   "tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_TagResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [resourceArn](#API_connect-customer-profiles_TagResource_RequestSyntax) **   <a name="connect-connect-customer-profiles_TagResource-request-uri-resourceArn"></a>
The ARN of the resource that you're adding tags to.  
Length Constraints: Maximum length of 256.  
Pattern: `^arn:[a-z0-9]{1,10}:profile`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_TagResource_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [tags](#API_connect-customer-profiles_TagResource_RequestSyntax) **   <a name="connect-connect-customer-profiles_TagResource-request-tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: Yes

## Response Syntax
<a name="API_connect-customer-profiles_TagResource_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_TagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_TagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

## See Also
<a name="API_connect-customer-profiles_TagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/TagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/TagResource) 

# UntagResource
<a name="API_connect-customer-profiles_UntagResource"></a>

Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

## Request Syntax
<a name="API_connect-customer-profiles_UntagResource_RequestSyntax"></a>

```
DELETE /tags/resourceArn?tagKeys=tagKeys HTTP/1.1
```

## URI Request Parameters
<a name="API_connect-customer-profiles_UntagResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [resourceArn](#API_connect-customer-profiles_UntagResource_RequestSyntax) **   <a name="connect-connect-customer-profiles_UntagResource-request-uri-resourceArn"></a>
The ARN of the resource from which you are removing tags.  
Length Constraints: Maximum length of 256.  
Pattern: `^arn:[a-z0-9]{1,10}:profile`   
Required: Yes

 ** [tagKeys](#API_connect-customer-profiles_UntagResource_RequestSyntax) **   <a name="connect-connect-customer-profiles_UntagResource-request-uri-tagKeys"></a>
The list of tag keys to remove from the resource.  
Array Members: Minimum number of 1 item. Maximum number of 50 items.  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_UntagResource_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_connect-customer-profiles_UntagResource_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_connect-customer-profiles_UntagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_connect-customer-profiles_UntagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

## See Also
<a name="API_connect-customer-profiles_UntagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/UntagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/UntagResource) 

# UpdateCalculatedAttributeDefinition
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition"></a>

Updates an existing calculated attribute definition. When updating the Conditions, note that increasing the date range of a calculated attribute will not trigger inclusion of historical data greater than the current date range.

## Request Syntax
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestSyntax"></a>

```
PUT /domains/DomainName/calculated-attributes/CalculatedAttributeName HTTP/1.1
Content-type: application/json

{
   "Conditions": { 
      "ObjectCount": number,
      "Range": { 
         "TimestampFormat": "string",
         "TimestampSource": "string",
         "Unit": "string",
         "Value": number,
         "ValueRange": { 
            "End": number,
            "Start": number
         }
      },
      "Threshold": { 
         "Operator": "string",
         "Value": "string"
      }
   },
   "Description": "string",
   "DisplayName": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CalculatedAttributeName](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-request-uri-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: Yes

 ** [DomainName](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Conditions](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-request-Conditions"></a>
The conditions including range, object count, and threshold for the calculated attribute.  
Type: [Conditions](API_connect-customer-profiles_Conditions.md) object  
Required: No

 ** [Description](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-request-Description"></a>
The description of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [DisplayName](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-request-DisplayName"></a>
The display name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$`   
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "AttributeDetails": { 
      "Attributes": [ 
         { 
            "Name": "string"
         }
      ],
      "Expression": "string"
   },
   "CalculatedAttributeName": "string",
   "Conditions": { 
      "ObjectCount": number,
      "Range": { 
         "TimestampFormat": "string",
         "TimestampSource": "string",
         "Unit": "string",
         "Value": number,
         "ValueRange": { 
            "End": number,
            "Start": number
         }
      },
      "Threshold": { 
         "Operator": "string",
         "Value": "string"
      }
   },
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "LastUpdatedAt": number,
   "Readiness": { 
      "Message": "string",
      "ProgressPercentage": number
   },
   "Statistic": "string",
   "Status": "string",
   "Tags": { 
      "string" : "string" 
   },
   "UseHistoricalData": boolean
}
```

## Response Elements
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AttributeDetails](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-AttributeDetails"></a>
The mathematical expression and a list of attribute items specified in that expression.  
Type: [AttributeDetails](API_connect-customer-profiles_AttributeDetails.md) object

 ** [CalculatedAttributeName](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-CalculatedAttributeName"></a>
The unique name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [Conditions](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-Conditions"></a>
The conditions including range, object count, and threshold for the calculated attribute.  
Type: [Conditions](API_connect-customer-profiles_Conditions.md) object

 ** [CreatedAt](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-CreatedAt"></a>
The timestamp of when the calculated attribute definition was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-Description"></a>
The description of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [DisplayName](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-DisplayName"></a>
The display name of the calculated attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-LastUpdatedAt"></a>
The timestamp of when the calculated attribute definition was most recently edited.  
Type: Timestamp

 ** [Readiness](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-Readiness"></a>
Information indicating if the Calculated Attribute is ready for use by confirming all historical data has been processed and reflected.  
Type: [Readiness](API_connect-customer-profiles_Readiness.md) object

 ** [Statistic](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-Statistic"></a>
The aggregation operation to perform for the calculated attribute.  
Type: String  
Valid Values: `FIRST_OCCURRENCE | LAST_OCCURRENCE | COUNT | SUM | MINIMUM | MAXIMUM | AVERAGE | MAX_OCCURRENCE` 

 ** [Status](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-Status"></a>
Status of the Calculated Attribute creation (whether all historical data has been indexed.)  
Type: String  
Valid Values: `PREPARING | IN_PROGRESS | COMPLETED | FAILED` 

 ** [Tags](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [UseHistoricalData](#API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateCalculatedAttributeDefinition-response-UseHistoricalData"></a>
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.  
Type: Boolean

## Errors
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_UpdateCalculatedAttributeDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition) 

# UpdateDomain
<a name="API_connect-customer-profiles_UpdateDomain"></a>

Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key.

After a domain is created, the name can’t be changed.

Use this API or [CreateDomain](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html) to enable [identity resolution](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html): set `Matching` to true.

To prevent cross-service impersonation when you call this API, see [Cross-service confused deputy prevention](https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html) for sample policies that you should apply. 

To add or remove tags on an existing Domain, see [TagResource](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/[UntagResource](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html).

## Request Syntax
<a name="API_connect-customer-profiles_UpdateDomain_RequestSyntax"></a>

```
PUT /domains/DomainName HTTP/1.1
Content-type: application/json

{
   "DataStore": { 
      "Enabled": boolean
   },
   "DeadLetterQueueUrl": "string",
   "DefaultEncryptionKey": "string",
   "DefaultExpirationDays": number,
   "Matching": { 
      "AutoMerging": { 
         "ConflictResolution": { 
            "ConflictResolvingModel": "string",
            "SourceName": "string"
         },
         "Consolidation": { 
            "MatchingAttributesList": [ 
               [ "string" ]
            ]
         },
         "Enabled": boolean,
         "MinAllowedConfidenceScoreForMerging": number
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "JobSchedule": { 
         "DayOfTheWeek": "string",
         "Time": "string"
      }
   },
   "RuleBasedMatching": { 
      "AttributeTypesSelector": { 
         "Address": [ "string" ],
         "AttributeMatchingModel": "string",
         "EmailAddress": [ "string" ],
         "PhoneNumber": [ "string" ]
      },
      "ConflictResolution": { 
         "ConflictResolvingModel": "string",
         "SourceName": "string"
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "MatchingRules": [ 
         { 
            "Rule": [ "string" ]
         }
      ],
      "MaxAllowedRuleLevelForMatching": number,
      "MaxAllowedRuleLevelForMerging": number
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_UpdateDomain_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_UpdateDomain_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [DataStore](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-DataStore"></a>
Set to true to enabled data store for this domain.  
Type: [DataStoreRequest](API_connect-customer-profiles_DataStoreRequest.md) object  
Required: No

 ** [DeadLetterQueueUrl](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-DeadLetterQueueUrl"></a>
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. If specified as an empty string, it will clear any existing value. You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [DefaultEncryptionKey](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-DefaultEncryptionKey"></a>
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. If specified as an empty string, it will clear any existing value.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [DefaultExpirationDays](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-DefaultExpirationDays"></a>
The default number of days until the data within the domain expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.  
Required: No

 ** [Matching](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-Matching"></a>
The process of matching duplicate profiles. If `Matching` = `true`, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.   
After the Identity Resolution Job completes, use the [GetMatches](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) API to return and review the results. Or, if you have configured `ExportingConfig` in the `MatchingRequest`, you can download the results from S3.  
Type: [MatchingRequest](API_connect-customer-profiles_MatchingRequest.md) object  
Required: No

 ** [RuleBasedMatching](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-RuleBasedMatching"></a>
The process of matching duplicate profiles using the rule-Based matching. If `RuleBasedMatching` = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the `RuleBasedMatchingRequest`. You can use the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return and review the results. Also, if you have configured `ExportingConfig` in the `RuleBasedMatchingRequest`, you can download the results from S3.  
Type: [RuleBasedMatchingRequest](API_connect-customer-profiles_RuleBasedMatchingRequest.md) object  
Required: No

 ** [Tags](#API_connect-customer-profiles_UpdateDomain_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-request-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_UpdateDomain_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "DataStore": { 
      "Enabled": boolean,
      "Readiness": { 
         "Message": "string",
         "ProgressPercentage": number
      }
   },
   "DeadLetterQueueUrl": "string",
   "DefaultEncryptionKey": "string",
   "DefaultExpirationDays": number,
   "DomainName": "string",
   "LastUpdatedAt": number,
   "Matching": { 
      "AutoMerging": { 
         "ConflictResolution": { 
            "ConflictResolvingModel": "string",
            "SourceName": "string"
         },
         "Consolidation": { 
            "MatchingAttributesList": [ 
               [ "string" ]
            ]
         },
         "Enabled": boolean,
         "MinAllowedConfidenceScoreForMerging": number
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "JobSchedule": { 
         "DayOfTheWeek": "string",
         "Time": "string"
      }
   },
   "RuleBasedMatching": { 
      "AttributeTypesSelector": { 
         "Address": [ "string" ],
         "AttributeMatchingModel": "string",
         "EmailAddress": [ "string" ],
         "PhoneNumber": [ "string" ]
      },
      "ConflictResolution": { 
         "ConflictResolvingModel": "string",
         "SourceName": "string"
      },
      "Enabled": boolean,
      "ExportingConfig": { 
         "S3Exporting": { 
            "S3BucketName": "string",
            "S3KeyName": "string"
         }
      },
      "MatchingRules": [ 
         { 
            "Rule": [ "string" ]
         }
      ],
      "MaxAllowedRuleLevelForMatching": number,
      "MaxAllowedRuleLevelForMerging": number,
      "Status": "string"
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_UpdateDomain_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-CreatedAt"></a>
The timestamp of when the domain was created.  
Type: Timestamp

 ** [DataStore](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-DataStore"></a>
The data store.  
Type: [DataStoreResponse](API_connect-customer-profiles_DataStoreResponse.md) object

 ** [DeadLetterQueueUrl](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-DeadLetterQueueUrl"></a>
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [DefaultEncryptionKey](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-DefaultEncryptionKey"></a>
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.

 ** [DefaultExpirationDays](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-DefaultExpirationDays"></a>
The default number of days until the data within the domain expires.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 1098.

 ** [DomainName](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-DomainName"></a>
The unique name of the domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-LastUpdatedAt"></a>
The timestamp of when the domain was most recently edited.  
Type: Timestamp

 ** [Matching](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-Matching"></a>
The process of matching duplicate profiles. If `Matching` = `true`, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains.   
After the Identity Resolution Job completes, use the [GetMatches](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) API to return and review the results. Or, if you have configured `ExportingConfig` in the `MatchingRequest`, you can download the results from S3.  
Type: [MatchingResponse](API_connect-customer-profiles_MatchingResponse.md) object

 ** [RuleBasedMatching](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-RuleBasedMatching"></a>
The process of matching duplicate profiles using the rule-Based matching. If `RuleBasedMatching` = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the `RuleBasedMatchingRequest`. You can use the `ListRuleBasedMatches` and `GetSimilarProfiles` API to return and review the results. Also, if you have configured `ExportingConfig` in the `RuleBasedMatchingRequest`, you can download the results from S3.  
Type: [RuleBasedMatchingResponse](API_connect-customer-profiles_RuleBasedMatchingResponse.md) object

 ** [Tags](#API_connect-customer-profiles_UpdateDomain_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomain-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_UpdateDomain_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_UpdateDomain_Examples"></a>

### Example
<a name="API_connect-customer-profiles_UpdateDomain_Example_1"></a>

This example illustrates one usage of UpdateDomain.

#### Sample Request
<a name="API_connect-customer-profiles_UpdateDomain_Example_1_Request"></a>

```
PUT /v1/domains/ExampleDomainName

Content-type: application/json 
{ 
   "DeadLetterQueueUrl": "https://sqs.us-east-1.amazonaws.com/123456789012/DLQName", 
   "DefaultEncryptionKey":"arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE", 
   "DefaultExpirationDays": 200
}
```

#### Sample Response
<a name="API_connect-customer-profiles_UpdateDomain_Example_1_Response"></a>

```
Content-type: application/json 
{ 
   "DeadLetterQueueUrl": "https://sqs.us-east-1.amazonaws.com/123456789012/DLQName", 
   "CreatedAt": 1579249799770, 
   "DefaultEncryptionKey":"arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE", 
   "DefaultExpirationDays": 200,   
   "LastUpdatedAt":1579249799770, 
   "DomainName": "ExampleDomainName"
}
```

## See Also
<a name="API_connect-customer-profiles_UpdateDomain_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/UpdateDomain) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/UpdateDomain) 

# UpdateDomainLayout
<a name="API_connect-customer-profiles_UpdateDomainLayout"></a>

Updates the layout used to view data for a specific domain. This API can only be invoked from the Amazon Connect admin website.

## Request Syntax
<a name="API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax"></a>

```
PUT /domains/DomainName/layouts/LayoutDefinitionName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "DisplayName": "string",
   "IsDefault": boolean,
   "Layout": "string",
   "LayoutType": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_UpdateDomainLayout_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [LayoutDefinitionName](#API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-request-uri-LayoutDefinitionName"></a>
The unique name of the layout.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_UpdateDomainLayout_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-request-Description"></a>
The description of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [DisplayName](#API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-request-DisplayName"></a>
The display name of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$`   
Required: No

 ** [IsDefault](#API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-request-IsDefault"></a>
If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.  
Type: Boolean  
Required: No

 ** [Layout](#API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-request-Layout"></a>
A customizable layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000000.  
Required: No

 ** [LayoutType](#API_connect-customer-profiles_UpdateDomainLayout_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-request-LayoutType"></a>
The type of layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Valid Values: `PROFILE_EXPLORER`   
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "DisplayName": "string",
   "IsDefault": boolean,
   "LastUpdatedAt": number,
   "Layout": "string",
   "LayoutDefinitionName": "string",
   "LayoutType": "string",
   "Tags": { 
      "string" : "string" 
   },
   "Version": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_UpdateDomainLayout_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-CreatedAt"></a>
The timestamp of when the layout was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-Description"></a>
The description of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [DisplayName](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-DisplayName"></a>
The display name of the layout  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-\s]*$` 

 ** [IsDefault](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-IsDefault"></a>
If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.  
Type: Boolean

 ** [LastUpdatedAt](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-LastUpdatedAt"></a>
The timestamp of when the layout was most recently updated.  
Type: Timestamp

 ** [Layout](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-Layout"></a>
A customizable layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000000.

 ** [LayoutDefinitionName](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-LayoutDefinitionName"></a>
The unique name of the layout.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LayoutType](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-LayoutType"></a>
The type of layout that can be used to view data under a Customer Profiles domain.  
Type: String  
Valid Values: `PROFILE_EXPLORER` 

 ** [Tags](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-Tags"></a>
The tags used to organize, track, or control access for this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

 ** [Version](#API_connect-customer-profiles_UpdateDomainLayout_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateDomainLayout-response-Version"></a>
The version used to create layout.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.

## Errors
<a name="API_connect-customer-profiles_UpdateDomainLayout_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_UpdateDomainLayout_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/UpdateDomainLayout) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/UpdateDomainLayout) 

# UpdateEventTrigger
<a name="API_connect-customer-profiles_UpdateEventTrigger"></a>

Update the properties of an Event Trigger.

## Request Syntax
<a name="API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax"></a>

```
PUT /domains/DomainName/event-triggers/EventTriggerName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "EventTriggerConditions": [ 
      { 
         "EventTriggerDimensions": [ 
            { 
               "ObjectAttributes": [ 
                  { 
                     "ComparisonOperator": "string",
                     "FieldName": "string",
                     "Source": "string",
                     "Values": [ "string" ]
                  }
               ]
            }
         ],
         "LogicalOperator": "string"
      }
   ],
   "EventTriggerLimits": { 
      "EventExpiration": number,
      "Periods": [ 
         { 
            "MaxInvocationsPerProfile": number,
            "Unit": "string",
            "Unlimited": boolean,
            "Value": number
         }
      ]
   },
   "ObjectTypeName": "string",
   "SegmentFilter": "string"
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_UpdateEventTrigger_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [EventTriggerName](#API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-request-uri-EventTriggerName"></a>
The unique name of the event trigger.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_UpdateEventTrigger_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-request-Description"></a>
The description of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [EventTriggerConditions](#API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-request-EventTriggerConditions"></a>
A list of conditions that determine when an event should trigger the destination.  
Type: Array of [EventTriggerCondition](API_connect-customer-profiles_EventTriggerCondition.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Required: No

 ** [EventTriggerLimits](#API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-request-EventTriggerLimits"></a>
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.  
Type: [EventTriggerLimits](API_connect-customer-profiles_EventTriggerLimits.md) object  
Required: No

 ** [ObjectTypeName](#API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-request-ObjectTypeName"></a>
The unique name of the object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$`   
Required: No

 ** [SegmentFilter](#API_connect-customer-profiles_UpdateEventTrigger_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-request-SegmentFilter"></a>
The destination is triggered only for profiles that meet the criteria of a segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CreatedAt": number,
   "Description": "string",
   "EventTriggerConditions": [ 
      { 
         "EventTriggerDimensions": [ 
            { 
               "ObjectAttributes": [ 
                  { 
                     "ComparisonOperator": "string",
                     "FieldName": "string",
                     "Source": "string",
                     "Values": [ "string" ]
                  }
               ]
            }
         ],
         "LogicalOperator": "string"
      }
   ],
   "EventTriggerLimits": { 
      "EventExpiration": number,
      "Periods": [ 
         { 
            "MaxInvocationsPerProfile": number,
            "Unit": "string",
            "Unlimited": boolean,
            "Value": number
         }
      ]
   },
   "EventTriggerName": "string",
   "LastUpdatedAt": number,
   "ObjectTypeName": "string",
   "SegmentFilter": "string",
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_connect-customer-profiles_UpdateEventTrigger_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CreatedAt](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-CreatedAt"></a>
The timestamp of when the event trigger was created.  
Type: Timestamp

 ** [Description](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-Description"></a>
The description of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.

 ** [EventTriggerConditions](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-EventTriggerConditions"></a>
A list of conditions that determine when an event should trigger the destination.  
Type: Array of [EventTriggerCondition](API_connect-customer-profiles_EventTriggerCondition.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 5 items.

 ** [EventTriggerLimits](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-EventTriggerLimits"></a>
Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.  
Type: [EventTriggerLimits](API_connect-customer-profiles_EventTriggerLimits.md) object

 ** [EventTriggerName](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-EventTriggerName"></a>
The unique name of the event trigger.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [LastUpdatedAt](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-LastUpdatedAt"></a>
The timestamp of when the event trigger was most recently updated.  
Type: Timestamp

 ** [ObjectTypeName](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-ObjectTypeName"></a>
The unique name of the object type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^[a-zA-Z_][a-zA-Z_0-9-]*$` 

 ** [SegmentFilter](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-SegmentFilter"></a>
The destination is triggered only for profiles that meet the criteria of a segment definition.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

 ** [Tags](#API_connect-customer-profiles_UpdateEventTrigger_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateEventTrigger-response-Tags"></a>
An array of key-value pairs to apply to this resource.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `^(?!aws:)[a-zA-Z+-=._:/]+$`   
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_connect-customer-profiles_UpdateEventTrigger_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_UpdateEventTrigger_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/UpdateEventTrigger) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/UpdateEventTrigger) 

# UpdateProfile
<a name="API_connect-customer-profiles_UpdateProfile"></a>

Updates the properties of a profile. The ProfileId is required for updating a customer profile.

When calling the UpdateProfile API, specifying an empty string value means that any existing value will be removed. Not specifying a string value means that any value already there will be kept.

## Request Syntax
<a name="API_connect-customer-profiles_UpdateProfile_RequestSyntax"></a>

```
PUT /domains/DomainName/profiles HTTP/1.1
Content-type: application/json

{
   "AccountNumber": "string",
   "AdditionalInformation": "string",
   "Address": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   },
   "Attributes": { 
      "string" : "string" 
   },
   "BillingAddress": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   },
   "BirthDate": "string",
   "BusinessEmailAddress": "string",
   "BusinessName": "string",
   "BusinessPhoneNumber": "string",
   "EmailAddress": "string",
   "EngagementPreferences": { 
      "Email": [ 
         { 
            "ContactType": "string",
            "KeyName": "string",
            "KeyValue": "string",
            "ProfileId": "string"
         }
      ],
      "Phone": [ 
         { 
            "ContactType": "string",
            "KeyName": "string",
            "KeyValue": "string",
            "ProfileId": "string"
         }
      ]
   },
   "FirstName": "string",
   "Gender": "string",
   "GenderString": "string",
   "HomePhoneNumber": "string",
   "LastName": "string",
   "MailingAddress": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   },
   "MiddleName": "string",
   "MobilePhoneNumber": "string",
   "PartyType": "string",
   "PartyTypeString": "string",
   "PersonalEmailAddress": "string",
   "PhoneNumber": "string",
   "ProfileId": "string",
   "ProfileType": "string",
   "ShippingAddress": { 
      "Address1": "string",
      "Address2": "string",
      "Address3": "string",
      "Address4": "string",
      "City": "string",
      "Country": "string",
      "County": "string",
      "PostalCode": "string",
      "Province": "string",
      "State": "string"
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_UpdateProfile_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_UpdateProfile_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [AccountNumber](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-AccountNumber"></a>
An account number that you have assigned to the customer.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [AdditionalInformation](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-AdditionalInformation"></a>
Any additional information relevant to the customer’s profile.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1000.  
Required: No

 ** [Address](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-Address"></a>
A generic address associated with the customer that is not mailing, shipping, or billing.  
Type: [UpdateAddress](API_connect-customer-profiles_UpdateAddress.md) object  
Required: No

 ** [Attributes](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-Attributes"></a>
A key value pair of attributes of a customer profile.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 255.  
Value Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [BillingAddress](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-BillingAddress"></a>
The customer’s billing address.  
Type: [UpdateAddress](API_connect-customer-profiles_UpdateAddress.md) object  
Required: No

 ** [BirthDate](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-BirthDate"></a>
The customer’s birth date.   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [BusinessEmailAddress](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-BusinessEmailAddress"></a>
The customer’s business email address.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [BusinessName](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-BusinessName"></a>
The name of the customer’s business.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [BusinessPhoneNumber](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-BusinessPhoneNumber"></a>
The customer’s business phone number.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [EmailAddress](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-EmailAddress"></a>
The customer’s email address, which has not been specified as a personal or business address.   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [EngagementPreferences](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-EngagementPreferences"></a>
Object that defines users preferred methods of engagement.  
Type: [EngagementPreferences](API_connect-customer-profiles_EngagementPreferences.md) object  
Required: No

 ** [FirstName](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-FirstName"></a>
The customer’s first name.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [Gender](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-Gender"></a>
 *This parameter has been deprecated.*   
The gender with which the customer identifies.   
Type: String  
Valid Values: `MALE | FEMALE | UNSPECIFIED`   
Required: No

 ** [GenderString](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-GenderString"></a>
An alternative to `Gender` which accepts any string as input.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [HomePhoneNumber](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-HomePhoneNumber"></a>
The customer’s home phone number.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [LastName](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-LastName"></a>
The customer’s last name.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [MailingAddress](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-MailingAddress"></a>
The customer’s mailing address.  
Type: [UpdateAddress](API_connect-customer-profiles_UpdateAddress.md) object  
Required: No

 ** [MiddleName](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-MiddleName"></a>
The customer’s middle name.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [MobilePhoneNumber](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-MobilePhoneNumber"></a>
The customer’s mobile phone number.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [PartyType](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-PartyType"></a>
 *This parameter has been deprecated.*   
The type of profile used to describe the customer.  
Type: String  
Valid Values: `INDIVIDUAL | BUSINESS | OTHER`   
Required: No

 ** [PartyTypeString](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-PartyTypeString"></a>
An alternative to `PartyType` which accepts any string as input.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [PersonalEmailAddress](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-PersonalEmailAddress"></a>
The customer’s personal email address.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [PhoneNumber](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-PhoneNumber"></a>
The customer’s phone number, which has not been specified as a mobile, home, or business number.   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** [ProfileId](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}`   
Required: Yes

 ** [ProfileType](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-ProfileType"></a>
Determines the type of the profile.  
Type: String  
Valid Values: `ACCOUNT_PROFILE | PROFILE`   
Required: No

 ** [ShippingAddress](#API_connect-customer-profiles_UpdateProfile_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-request-ShippingAddress"></a>
The customer’s shipping address.  
Type: [UpdateAddress](API_connect-customer-profiles_UpdateAddress.md) object  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_UpdateProfile_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ProfileId": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_UpdateProfile_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ProfileId](#API_connect-customer-profiles_UpdateProfile_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateProfile-response-ProfileId"></a>
The unique identifier of a customer profile.  
Type: String  
Pattern: `[a-f0-9]{32}` 

## Errors
<a name="API_connect-customer-profiles_UpdateProfile_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## Examples
<a name="API_connect-customer-profiles_UpdateProfile_Examples"></a>

### Example
<a name="API_connect-customer-profiles_UpdateProfile_Example_1"></a>

This example illustrates one usage of UpdateProfile.

#### Sample Request
<a name="API_connect-customer-profiles_UpdateProfile_Example_1_Request"></a>

```
PUT /domains/ExampleDomainName/profiles HTTP/1.1

Content-type: application/json
{
   "ProfileId" : "3991a7d95sd248bba82546b2dEXAMPLE",
   "AccountNumber": "ACCT12344",
   "Address": { 
      "Address1": "444 B St",
      "Address2": "Apt 8",
      "Address3": "",
      "Address4": "",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   },
   "Attributes": { 
      "SSN" : "123-44-3433",
      "LoyaltyPoints" : "3000" 
   },
   "BillingAddress": { 
      "Address1": "789 Sample St",
      "Address2": "Apt 1",
      "Address3": "",
      "Address4": "",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   },
   "BirthDate": "07/12/1980",
   "BusinessEmailAddress": "example@amazon.com",
   "BusinessName": "My Awesome Company",
   "BusinessPhoneNumber": "555-334-3389",
   "EmailAddress": "example@gmail.com",
   "FirstName": "John",
   "Gender": "MALE",
   "HomePhoneNumber": "555-334-3344",
   "LastName": "Doe",
   "MailingAddress": { 
      "Address1": "234 Home St",
      "Address2": "Apt 5",
      "Address3": "",
      "Address4": "",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   },
   "AdditionalInformation": "High Profile Customer",
   "MiddleName": "",
   "MobilePhoneNumber": "555-334-7777",
   "PartyType": "INDIVIDUAL",
   "PersonalEmailAddress": "email1@gmail.com",
   "PhoneNumber": "",
   "ShippingAddress": { 
      "Address1": "555 A St",
      "Address2": "Suite 100",
      "Address3": "",
      "Address4": "",
      "City": "Seattle",
      "Country": "USA",
      "County": "King",
      "PostalCode": "98011",
      "Province": "",
      "State": "WA"
   }
}
```

#### Sample Response
<a name="API_connect-customer-profiles_UpdateProfile_Example_1_Response"></a>

```
Content-type: application/json
{
   "ProfileId" : "3991a7d95sd248bba82546b2dEXAMPLE"
}
```

## See Also
<a name="API_connect-customer-profiles_UpdateProfile_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/UpdateProfile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/UpdateProfile) 

# UpdateRecommender
<a name="API_connect-customer-profiles_UpdateRecommender"></a>

Updates the properties of an existing recommender, allowing you to modify its configuration and description.

## Request Syntax
<a name="API_connect-customer-profiles_UpdateRecommender_RequestSyntax"></a>

```
PATCH /domains/DomainName/recommenders/RecommenderName HTTP/1.1
Content-type: application/json

{
   "Description": "string",
   "RecommenderConfig": { 
      "EventsConfig": { 
         "EventParametersList": [ 
            { 
               "EventType": "string",
               "EventValueThreshold": number,
               "EventWeight": number
            }
         ]
      },
      "IncludedColumns": { 
         "string" : [ "string" ]
      },
      "InferenceConfig": { 
         "MinProvisionedTPS": number
      },
      "TrainingFrequency": number
   }
}
```

## URI Request Parameters
<a name="API_connect-customer-profiles_UpdateRecommender_RequestParameters"></a>

The request uses the following URI parameters.

 ** [DomainName](#API_connect-customer-profiles_UpdateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateRecommender-request-uri-DomainName"></a>
The unique name of the domain.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

 ** [RecommenderName](#API_connect-customer-profiles_UpdateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateRecommender-request-uri-RecommenderName"></a>
The name of the recommender to update.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$`   
Required: Yes

## Request Body
<a name="API_connect-customer-profiles_UpdateRecommender_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Description](#API_connect-customer-profiles_UpdateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateRecommender-request-Description"></a>
The new description to assign to the recommender.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Required: No

 ** [RecommenderConfig](#API_connect-customer-profiles_UpdateRecommender_RequestSyntax) **   <a name="connect-connect-customer-profiles_UpdateRecommender-request-RecommenderConfig"></a>
The new configuration settings to apply to the recommender, including updated parameters and settings that define its behavior.  
Type: [RecommenderConfig](API_connect-customer-profiles_RecommenderConfig.md) object  
Required: No

## Response Syntax
<a name="API_connect-customer-profiles_UpdateRecommender_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "RecommenderName": "string"
}
```

## Response Elements
<a name="API_connect-customer-profiles_UpdateRecommender_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [RecommenderName](#API_connect-customer-profiles_UpdateRecommender_ResponseSyntax) **   <a name="connect-connect-customer-profiles_UpdateRecommender-response-RecommenderName"></a>
The name of the recommender that was updated.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[a-zA-Z0-9_-]+$` 

## Errors
<a name="API_connect-customer-profiles_UpdateRecommender_Errors"></a>

For information about the errors that are common to all actions, see [Common Errors](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** BadRequestException **   
The input you provided is invalid.  
HTTP Status Code: 400

 ** InternalServerException **   
An internal service error occurred.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
The requested resource does not exist, or access was denied.  
HTTP Status Code: 404

 ** ThrottlingException **   
You exceeded the maximum number of requests.  
HTTP Status Code: 429

## See Also
<a name="API_connect-customer-profiles_UpdateRecommender_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/customer-profiles-2020-08-15/UpdateRecommender) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/UpdateRecommender) 