CustomerProfilesClient#
Index > CustomerProfiles > CustomerProfilesClient
Auto-generated documentation for CustomerProfiles type annotations stubs module mypy-boto3-customer-profiles.
CustomerProfilesClient#
Type annotations and code completion for boto3.client("customer-profiles")
.
boto3 documentation
# CustomerProfilesClient usage example
from boto3.session import Session
from mypy_boto3_customer_profiles.client import CustomerProfilesClient
def get_customer-profiles_client() -> CustomerProfilesClient:
return Session().client("customer-profiles")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("customer-profiles").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("customer-profiles")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.BadRequestException,
client.exceptions.ClientError,
client.exceptions.InternalServerException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_customer_profiles.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
add_profile_key#
Associates a new key value with a specific profile, such as a Contact Record ContactId.
Type annotations and code completion for boto3.client("customer-profiles").add_profile_key
method.
boto3 documentation
# add_profile_key method definition
def add_profile_key(
self,
*,
ProfileId: str,
KeyName: str,
Values: Sequence[str],
DomainName: str,
) -> AddProfileKeyResponseTypeDef: # (1)
...
# add_profile_key method usage example with argument unpacking
kwargs: AddProfileKeyRequestRequestTypeDef = { # (1)
"ProfileId": ...,
"KeyName": ...,
"Values": ...,
"DomainName": ...,
}
parent.add_profile_key(**kwargs)
batch_get_calculated_attribute_for_profile#
Fetch the possible attribute values given the attribute name.
Type annotations and code completion for boto3.client("customer-profiles").batch_get_calculated_attribute_for_profile
method.
boto3 documentation
# batch_get_calculated_attribute_for_profile method definition
def batch_get_calculated_attribute_for_profile(
self,
*,
CalculatedAttributeName: str,
DomainName: str,
ProfileIds: Sequence[str],
ConditionOverrides: ConditionOverridesTypeDef = ..., # (1)
) -> BatchGetCalculatedAttributeForProfileResponseTypeDef: # (2)
...
# batch_get_calculated_attribute_for_profile method usage example with argument unpacking
kwargs: BatchGetCalculatedAttributeForProfileRequestRequestTypeDef = { # (1)
"CalculatedAttributeName": ...,
"DomainName": ...,
"ProfileIds": ...,
}
parent.batch_get_calculated_attribute_for_profile(**kwargs)
batch_get_profile#
Get a batch of profiles.
Type annotations and code completion for boto3.client("customer-profiles").batch_get_profile
method.
boto3 documentation
# batch_get_profile method definition
def batch_get_profile(
self,
*,
DomainName: str,
ProfileIds: Sequence[str],
) -> BatchGetProfileResponseTypeDef: # (1)
...
# batch_get_profile method usage example with argument unpacking
kwargs: BatchGetProfileRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ProfileIds": ...,
}
parent.batch_get_profile(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("customer-profiles").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("customer-profiles").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_calculated_attribute_definition#
Creates a new calculated attribute definition.
Type annotations and code completion for boto3.client("customer-profiles").create_calculated_attribute_definition
method.
boto3 documentation
# create_calculated_attribute_definition method definition
def create_calculated_attribute_definition(
self,
*,
DomainName: str,
CalculatedAttributeName: str,
AttributeDetails: AttributeDetailsTypeDef, # (1)
Statistic: StatisticType, # (2)
DisplayName: str = ...,
Description: str = ...,
Conditions: ConditionsTypeDef = ..., # (3)
Filter: FilterTypeDef = ..., # (4)
Tags: Mapping[str, str] = ...,
) -> CreateCalculatedAttributeDefinitionResponseTypeDef: # (5)
...
- See AttributeDetailsTypeDef
- See StatisticType
- See ConditionsTypeDef
- See FilterTypeDef
- See CreateCalculatedAttributeDefinitionResponseTypeDef
# create_calculated_attribute_definition method usage example with argument unpacking
kwargs: CreateCalculatedAttributeDefinitionRequestRequestTypeDef = { # (1)
"DomainName": ...,
"CalculatedAttributeName": ...,
"AttributeDetails": ...,
"Statistic": ...,
}
parent.create_calculated_attribute_definition(**kwargs)
create_domain#
Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys.
Type annotations and code completion for boto3.client("customer-profiles").create_domain
method.
boto3 documentation
# create_domain method definition
def create_domain(
self,
*,
DomainName: str,
DefaultExpirationDays: int,
DefaultEncryptionKey: str = ...,
DeadLetterQueueUrl: str = ...,
Matching: MatchingRequestTypeDef = ..., # (1)
RuleBasedMatching: RuleBasedMatchingRequestTypeDef = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> CreateDomainResponseTypeDef: # (3)
...
# create_domain method usage example with argument unpacking
kwargs: CreateDomainRequestRequestTypeDef = { # (1)
"DomainName": ...,
"DefaultExpirationDays": ...,
}
parent.create_domain(**kwargs)
create_event_stream#
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.
Type annotations and code completion for boto3.client("customer-profiles").create_event_stream
method.
boto3 documentation
# create_event_stream method definition
def create_event_stream(
self,
*,
DomainName: str,
Uri: str,
EventStreamName: str,
Tags: Mapping[str, str] = ...,
) -> CreateEventStreamResponseTypeDef: # (1)
...
# create_event_stream method usage example with argument unpacking
kwargs: CreateEventStreamRequestRequestTypeDef = { # (1)
"DomainName": ...,
"Uri": ...,
"EventStreamName": ...,
}
parent.create_event_stream(**kwargs)
create_integration_workflow#
Creates an integration workflow.
Type annotations and code completion for boto3.client("customer-profiles").create_integration_workflow
method.
boto3 documentation
# create_integration_workflow method definition
def create_integration_workflow(
self,
*,
DomainName: str,
WorkflowType: WorkflowTypeType, # (1)
IntegrationConfig: IntegrationConfigTypeDef, # (2)
ObjectTypeName: str,
RoleArn: str,
Tags: Mapping[str, str] = ...,
) -> CreateIntegrationWorkflowResponseTypeDef: # (3)
...
# create_integration_workflow method usage example with argument unpacking
kwargs: CreateIntegrationWorkflowRequestRequestTypeDef = { # (1)
"DomainName": ...,
"WorkflowType": ...,
"IntegrationConfig": ...,
"ObjectTypeName": ...,
"RoleArn": ...,
}
parent.create_integration_workflow(**kwargs)
create_profile#
Creates a standard profile.
Type annotations and code completion for boto3.client("customer-profiles").create_profile
method.
boto3 documentation
# create_profile method definition
def create_profile(
self,
*,
DomainName: str,
AccountNumber: str = ...,
AdditionalInformation: str = ...,
PartyType: PartyTypeType = ..., # (1)
BusinessName: str = ...,
FirstName: str = ...,
MiddleName: str = ...,
LastName: str = ...,
BirthDate: str = ...,
Gender: GenderType = ..., # (2)
PhoneNumber: str = ...,
MobilePhoneNumber: str = ...,
HomePhoneNumber: str = ...,
BusinessPhoneNumber: str = ...,
EmailAddress: str = ...,
PersonalEmailAddress: str = ...,
BusinessEmailAddress: str = ...,
Address: AddressTypeDef = ..., # (3)
ShippingAddress: AddressTypeDef = ..., # (3)
MailingAddress: AddressTypeDef = ..., # (3)
BillingAddress: AddressTypeDef = ..., # (3)
Attributes: Mapping[str, str] = ...,
PartyTypeString: str = ...,
GenderString: str = ...,
) -> CreateProfileResponseTypeDef: # (7)
...
- See PartyTypeType
- See GenderType
- See AddressTypeDef
- See AddressTypeDef
- See AddressTypeDef
- See AddressTypeDef
- See CreateProfileResponseTypeDef
# create_profile method usage example with argument unpacking
kwargs: CreateProfileRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.create_profile(**kwargs)
create_segment_definition#
Creates a segment definition associated to the given domain.
Type annotations and code completion for boto3.client("customer-profiles").create_segment_definition
method.
boto3 documentation
# create_segment_definition method definition
def create_segment_definition(
self,
*,
DomainName: str,
SegmentDefinitionName: str,
DisplayName: str,
SegmentGroups: SegmentGroupTypeDef, # (1)
Description: str = ...,
Tags: Mapping[str, str] = ...,
) -> CreateSegmentDefinitionResponseTypeDef: # (2)
...
# create_segment_definition method usage example with argument unpacking
kwargs: CreateSegmentDefinitionRequestRequestTypeDef = { # (1)
"DomainName": ...,
"SegmentDefinitionName": ...,
"DisplayName": ...,
"SegmentGroups": ...,
}
parent.create_segment_definition(**kwargs)
create_segment_estimate#
Creates a segment estimate query.
Type annotations and code completion for boto3.client("customer-profiles").create_segment_estimate
method.
boto3 documentation
# create_segment_estimate method definition
def create_segment_estimate(
self,
*,
DomainName: str,
SegmentQuery: SegmentGroupStructureTypeDef, # (1)
) -> CreateSegmentEstimateResponseTypeDef: # (2)
...
# create_segment_estimate method usage example with argument unpacking
kwargs: CreateSegmentEstimateRequestRequestTypeDef = { # (1)
"DomainName": ...,
"SegmentQuery": ...,
}
parent.create_segment_estimate(**kwargs)
create_segment_snapshot#
Triggers a job to export a segment to a specified destination.
Type annotations and code completion for boto3.client("customer-profiles").create_segment_snapshot
method.
boto3 documentation
# create_segment_snapshot method definition
def create_segment_snapshot(
self,
*,
DomainName: str,
SegmentDefinitionName: str,
DataFormat: DataFormatType, # (1)
EncryptionKey: str = ...,
RoleArn: str = ...,
DestinationUri: str = ...,
) -> CreateSegmentSnapshotResponseTypeDef: # (2)
...
# create_segment_snapshot method usage example with argument unpacking
kwargs: CreateSegmentSnapshotRequestRequestTypeDef = { # (1)
"DomainName": ...,
"SegmentDefinitionName": ...,
"DataFormat": ...,
}
parent.create_segment_snapshot(**kwargs)
delete_calculated_attribute_definition#
Deletes an existing calculated attribute definition.
Type annotations and code completion for boto3.client("customer-profiles").delete_calculated_attribute_definition
method.
boto3 documentation
# delete_calculated_attribute_definition method definition
def delete_calculated_attribute_definition(
self,
*,
DomainName: str,
CalculatedAttributeName: str,
) -> Dict[str, Any]:
...
# delete_calculated_attribute_definition method usage example with argument unpacking
kwargs: DeleteCalculatedAttributeDefinitionRequestRequestTypeDef = { # (1)
"DomainName": ...,
"CalculatedAttributeName": ...,
}
parent.delete_calculated_attribute_definition(**kwargs)
delete_domain#
Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.
Type annotations and code completion for boto3.client("customer-profiles").delete_domain
method.
boto3 documentation
# delete_domain method definition
def delete_domain(
self,
*,
DomainName: str,
) -> DeleteDomainResponseTypeDef: # (1)
...
# delete_domain method usage example with argument unpacking
kwargs: DeleteDomainRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.delete_domain(**kwargs)
delete_event_stream#
Disables and deletes the specified event stream.
Type annotations and code completion for boto3.client("customer-profiles").delete_event_stream
method.
boto3 documentation
# delete_event_stream method definition
def delete_event_stream(
self,
*,
DomainName: str,
EventStreamName: str,
) -> Dict[str, Any]:
...
# delete_event_stream method usage example with argument unpacking
kwargs: DeleteEventStreamRequestRequestTypeDef = { # (1)
"DomainName": ...,
"EventStreamName": ...,
}
parent.delete_event_stream(**kwargs)
delete_integration#
Removes an integration from a specific domain.
Type annotations and code completion for boto3.client("customer-profiles").delete_integration
method.
boto3 documentation
# delete_integration method definition
def delete_integration(
self,
*,
DomainName: str,
Uri: str,
) -> DeleteIntegrationResponseTypeDef: # (1)
...
# delete_integration method usage example with argument unpacking
kwargs: DeleteIntegrationRequestRequestTypeDef = { # (1)
"DomainName": ...,
"Uri": ...,
}
parent.delete_integration(**kwargs)
delete_profile#
Deletes the standard customer profile and all data pertaining to the profile.
Type annotations and code completion for boto3.client("customer-profiles").delete_profile
method.
boto3 documentation
# delete_profile method definition
def delete_profile(
self,
*,
ProfileId: str,
DomainName: str,
) -> DeleteProfileResponseTypeDef: # (1)
...
# delete_profile method usage example with argument unpacking
kwargs: DeleteProfileRequestRequestTypeDef = { # (1)
"ProfileId": ...,
"DomainName": ...,
}
parent.delete_profile(**kwargs)
delete_profile_key#
Removes a searchable key from a customer profile.
Type annotations and code completion for boto3.client("customer-profiles").delete_profile_key
method.
boto3 documentation
# delete_profile_key method definition
def delete_profile_key(
self,
*,
ProfileId: str,
KeyName: str,
Values: Sequence[str],
DomainName: str,
) -> DeleteProfileKeyResponseTypeDef: # (1)
...
# delete_profile_key method usage example with argument unpacking
kwargs: DeleteProfileKeyRequestRequestTypeDef = { # (1)
"ProfileId": ...,
"KeyName": ...,
"Values": ...,
"DomainName": ...,
}
parent.delete_profile_key(**kwargs)
delete_profile_object#
Removes an object associated with a profile of a given ProfileObjectType.
Type annotations and code completion for boto3.client("customer-profiles").delete_profile_object
method.
boto3 documentation
# delete_profile_object method definition
def delete_profile_object(
self,
*,
ProfileId: str,
ProfileObjectUniqueKey: str,
ObjectTypeName: str,
DomainName: str,
) -> DeleteProfileObjectResponseTypeDef: # (1)
...
# delete_profile_object method usage example with argument unpacking
kwargs: DeleteProfileObjectRequestRequestTypeDef = { # (1)
"ProfileId": ...,
"ProfileObjectUniqueKey": ...,
"ObjectTypeName": ...,
"DomainName": ...,
}
parent.delete_profile_object(**kwargs)
delete_profile_object_type#
Removes a ProfileObjectType from a specific domain as well as removes all the ProfileObjects of that type.
Type annotations and code completion for boto3.client("customer-profiles").delete_profile_object_type
method.
boto3 documentation
# delete_profile_object_type method definition
def delete_profile_object_type(
self,
*,
DomainName: str,
ObjectTypeName: str,
) -> DeleteProfileObjectTypeResponseTypeDef: # (1)
...
# delete_profile_object_type method usage example with argument unpacking
kwargs: DeleteProfileObjectTypeRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ObjectTypeName": ...,
}
parent.delete_profile_object_type(**kwargs)
delete_segment_definition#
Deletes a segment definition from the domain.
Type annotations and code completion for boto3.client("customer-profiles").delete_segment_definition
method.
boto3 documentation
# delete_segment_definition method definition
def delete_segment_definition(
self,
*,
DomainName: str,
SegmentDefinitionName: str,
) -> DeleteSegmentDefinitionResponseTypeDef: # (1)
...
# delete_segment_definition method usage example with argument unpacking
kwargs: DeleteSegmentDefinitionRequestRequestTypeDef = { # (1)
"DomainName": ...,
"SegmentDefinitionName": ...,
}
parent.delete_segment_definition(**kwargs)
delete_workflow#
Deletes the specified workflow and all its corresponding resources.
Type annotations and code completion for boto3.client("customer-profiles").delete_workflow
method.
boto3 documentation
# delete_workflow method definition
def delete_workflow(
self,
*,
DomainName: str,
WorkflowId: str,
) -> Dict[str, Any]:
...
# delete_workflow method usage example with argument unpacking
kwargs: DeleteWorkflowRequestRequestTypeDef = { # (1)
"DomainName": ...,
"WorkflowId": ...,
}
parent.delete_workflow(**kwargs)
detect_profile_object_type#
The process of detecting profile object type mapping by using given objects.
Type annotations and code completion for boto3.client("customer-profiles").detect_profile_object_type
method.
boto3 documentation
# detect_profile_object_type method definition
def detect_profile_object_type(
self,
*,
Objects: Sequence[str],
DomainName: str,
) -> DetectProfileObjectTypeResponseTypeDef: # (1)
...
# detect_profile_object_type method usage example with argument unpacking
kwargs: DetectProfileObjectTypeRequestRequestTypeDef = { # (1)
"Objects": ...,
"DomainName": ...,
}
parent.detect_profile_object_type(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("customer-profiles").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_auto_merging_preview#
Tests the auto-merging settings of your Identity Resolution Job without merging your data.
Type annotations and code completion for boto3.client("customer-profiles").get_auto_merging_preview
method.
boto3 documentation
# get_auto_merging_preview method definition
def get_auto_merging_preview(
self,
*,
DomainName: str,
Consolidation: ConsolidationTypeDef, # (1)
ConflictResolution: ConflictResolutionTypeDef, # (2)
MinAllowedConfidenceScoreForMerging: float = ...,
) -> GetAutoMergingPreviewResponseTypeDef: # (3)
...
# get_auto_merging_preview method usage example with argument unpacking
kwargs: GetAutoMergingPreviewRequestRequestTypeDef = { # (1)
"DomainName": ...,
"Consolidation": ...,
"ConflictResolution": ...,
}
parent.get_auto_merging_preview(**kwargs)
get_calculated_attribute_definition#
Provides more information on a calculated attribute definition for Customer Profiles.
Type annotations and code completion for boto3.client("customer-profiles").get_calculated_attribute_definition
method.
boto3 documentation
# get_calculated_attribute_definition method definition
def get_calculated_attribute_definition(
self,
*,
DomainName: str,
CalculatedAttributeName: str,
) -> GetCalculatedAttributeDefinitionResponseTypeDef: # (1)
...
# get_calculated_attribute_definition method usage example with argument unpacking
kwargs: GetCalculatedAttributeDefinitionRequestRequestTypeDef = { # (1)
"DomainName": ...,
"CalculatedAttributeName": ...,
}
parent.get_calculated_attribute_definition(**kwargs)
get_calculated_attribute_for_profile#
Retrieve a calculated attribute for a customer profile.
Type annotations and code completion for boto3.client("customer-profiles").get_calculated_attribute_for_profile
method.
boto3 documentation
# get_calculated_attribute_for_profile method definition
def get_calculated_attribute_for_profile(
self,
*,
DomainName: str,
ProfileId: str,
CalculatedAttributeName: str,
) -> GetCalculatedAttributeForProfileResponseTypeDef: # (1)
...
# get_calculated_attribute_for_profile method usage example with argument unpacking
kwargs: GetCalculatedAttributeForProfileRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ProfileId": ...,
"CalculatedAttributeName": ...,
}
parent.get_calculated_attribute_for_profile(**kwargs)
get_domain#
Returns information about a specific domain.
Type annotations and code completion for boto3.client("customer-profiles").get_domain
method.
boto3 documentation
# get_domain method definition
def get_domain(
self,
*,
DomainName: str,
) -> GetDomainResponseTypeDef: # (1)
...
# get_domain method usage example with argument unpacking
kwargs: GetDomainRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.get_domain(**kwargs)
get_event_stream#
Returns information about the specified event stream in a specific domain.
Type annotations and code completion for boto3.client("customer-profiles").get_event_stream
method.
boto3 documentation
# get_event_stream method definition
def get_event_stream(
self,
*,
DomainName: str,
EventStreamName: str,
) -> GetEventStreamResponseTypeDef: # (1)
...
# get_event_stream method usage example with argument unpacking
kwargs: GetEventStreamRequestRequestTypeDef = { # (1)
"DomainName": ...,
"EventStreamName": ...,
}
parent.get_event_stream(**kwargs)
get_identity_resolution_job#
Returns information about an Identity Resolution Job in a specific domain.
Type annotations and code completion for boto3.client("customer-profiles").get_identity_resolution_job
method.
boto3 documentation
# get_identity_resolution_job method definition
def get_identity_resolution_job(
self,
*,
DomainName: str,
JobId: str,
) -> GetIdentityResolutionJobResponseTypeDef: # (1)
...
# get_identity_resolution_job method usage example with argument unpacking
kwargs: GetIdentityResolutionJobRequestRequestTypeDef = { # (1)
"DomainName": ...,
"JobId": ...,
}
parent.get_identity_resolution_job(**kwargs)
get_integration#
Returns an integration for a domain.
Type annotations and code completion for boto3.client("customer-profiles").get_integration
method.
boto3 documentation
# get_integration method definition
def get_integration(
self,
*,
DomainName: str,
Uri: str,
) -> GetIntegrationResponseTypeDef: # (1)
...
# get_integration method usage example with argument unpacking
kwargs: GetIntegrationRequestRequestTypeDef = { # (1)
"DomainName": ...,
"Uri": ...,
}
parent.get_integration(**kwargs)
get_matches#
Before calling this API, use
CreateDomain
or
UpdateDomain
to enable identity resolution: set Matching
to tr...
Type annotations and code completion for boto3.client("customer-profiles").get_matches
method.
boto3 documentation
# get_matches method definition
def get_matches(
self,
*,
DomainName: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> GetMatchesResponseTypeDef: # (1)
...
# get_matches method usage example with argument unpacking
kwargs: GetMatchesRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.get_matches(**kwargs)
get_profile_object_type#
Returns the object types for a specific domain.
Type annotations and code completion for boto3.client("customer-profiles").get_profile_object_type
method.
boto3 documentation
# get_profile_object_type method definition
def get_profile_object_type(
self,
*,
DomainName: str,
ObjectTypeName: str,
) -> GetProfileObjectTypeResponseTypeDef: # (1)
...
# get_profile_object_type method usage example with argument unpacking
kwargs: GetProfileObjectTypeRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ObjectTypeName": ...,
}
parent.get_profile_object_type(**kwargs)
get_profile_object_type_template#
Returns the template information for a specific object type.
Type annotations and code completion for boto3.client("customer-profiles").get_profile_object_type_template
method.
boto3 documentation
# get_profile_object_type_template method definition
def get_profile_object_type_template(
self,
*,
TemplateId: str,
) -> GetProfileObjectTypeTemplateResponseTypeDef: # (1)
...
# get_profile_object_type_template method usage example with argument unpacking
kwargs: GetProfileObjectTypeTemplateRequestRequestTypeDef = { # (1)
"TemplateId": ...,
}
parent.get_profile_object_type_template(**kwargs)
get_segment_definition#
Gets a segment definition from the domain.
Type annotations and code completion for boto3.client("customer-profiles").get_segment_definition
method.
boto3 documentation
# get_segment_definition method definition
def get_segment_definition(
self,
*,
DomainName: str,
SegmentDefinitionName: str,
) -> GetSegmentDefinitionResponseTypeDef: # (1)
...
# get_segment_definition method usage example with argument unpacking
kwargs: GetSegmentDefinitionRequestRequestTypeDef = { # (1)
"DomainName": ...,
"SegmentDefinitionName": ...,
}
parent.get_segment_definition(**kwargs)
get_segment_estimate#
Gets the result of a segment estimate query.
Type annotations and code completion for boto3.client("customer-profiles").get_segment_estimate
method.
boto3 documentation
# get_segment_estimate method definition
def get_segment_estimate(
self,
*,
DomainName: str,
EstimateId: str,
) -> GetSegmentEstimateResponseTypeDef: # (1)
...
# get_segment_estimate method usage example with argument unpacking
kwargs: GetSegmentEstimateRequestRequestTypeDef = { # (1)
"DomainName": ...,
"EstimateId": ...,
}
parent.get_segment_estimate(**kwargs)
get_segment_membership#
Determines if the given profiles are within a segment.
Type annotations and code completion for boto3.client("customer-profiles").get_segment_membership
method.
boto3 documentation
# get_segment_membership method definition
def get_segment_membership(
self,
*,
DomainName: str,
SegmentDefinitionName: str,
ProfileIds: Sequence[str],
) -> GetSegmentMembershipResponseTypeDef: # (1)
...
# get_segment_membership method usage example with argument unpacking
kwargs: GetSegmentMembershipRequestRequestTypeDef = { # (1)
"DomainName": ...,
"SegmentDefinitionName": ...,
"ProfileIds": ...,
}
parent.get_segment_membership(**kwargs)
get_segment_snapshot#
Retrieve the latest status of a segment snapshot.
Type annotations and code completion for boto3.client("customer-profiles").get_segment_snapshot
method.
boto3 documentation
# get_segment_snapshot method definition
def get_segment_snapshot(
self,
*,
DomainName: str,
SegmentDefinitionName: str,
SnapshotId: str,
) -> GetSegmentSnapshotResponseTypeDef: # (1)
...
# get_segment_snapshot method usage example with argument unpacking
kwargs: GetSegmentSnapshotRequestRequestTypeDef = { # (1)
"DomainName": ...,
"SegmentDefinitionName": ...,
"SnapshotId": ...,
}
parent.get_segment_snapshot(**kwargs)
get_similar_profiles#
Returns a set of profiles that belong to the same matching group using the
matchId
or profileId
.
Type annotations and code completion for boto3.client("customer-profiles").get_similar_profiles
method.
boto3 documentation
# get_similar_profiles method definition
def get_similar_profiles(
self,
*,
DomainName: str,
MatchType: MatchTypeType, # (1)
SearchKey: str,
SearchValue: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> GetSimilarProfilesResponseTypeDef: # (2)
...
# get_similar_profiles method usage example with argument unpacking
kwargs: GetSimilarProfilesRequestRequestTypeDef = { # (1)
"DomainName": ...,
"MatchType": ...,
"SearchKey": ...,
"SearchValue": ...,
}
parent.get_similar_profiles(**kwargs)
get_workflow#
Get details of specified workflow.
Type annotations and code completion for boto3.client("customer-profiles").get_workflow
method.
boto3 documentation
# get_workflow method definition
def get_workflow(
self,
*,
DomainName: str,
WorkflowId: str,
) -> GetWorkflowResponseTypeDef: # (1)
...
# get_workflow method usage example with argument unpacking
kwargs: GetWorkflowRequestRequestTypeDef = { # (1)
"DomainName": ...,
"WorkflowId": ...,
}
parent.get_workflow(**kwargs)
get_workflow_steps#
Get granular list of steps in workflow.
Type annotations and code completion for boto3.client("customer-profiles").get_workflow_steps
method.
boto3 documentation
# get_workflow_steps method definition
def get_workflow_steps(
self,
*,
DomainName: str,
WorkflowId: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> GetWorkflowStepsResponseTypeDef: # (1)
...
# get_workflow_steps method usage example with argument unpacking
kwargs: GetWorkflowStepsRequestRequestTypeDef = { # (1)
"DomainName": ...,
"WorkflowId": ...,
}
parent.get_workflow_steps(**kwargs)
list_account_integrations#
Lists all of the integrations associated to a specific URI in the AWS account.
Type annotations and code completion for boto3.client("customer-profiles").list_account_integrations
method.
boto3 documentation
# list_account_integrations method definition
def list_account_integrations(
self,
*,
Uri: str,
NextToken: str = ...,
MaxResults: int = ...,
IncludeHidden: bool = ...,
) -> ListAccountIntegrationsResponseTypeDef: # (1)
...
# list_account_integrations method usage example with argument unpacking
kwargs: ListAccountIntegrationsRequestRequestTypeDef = { # (1)
"Uri": ...,
}
parent.list_account_integrations(**kwargs)
list_calculated_attribute_definitions#
Lists calculated attribute definitions for Customer Profiles See also: AWS API Documentation.
Type annotations and code completion for boto3.client("customer-profiles").list_calculated_attribute_definitions
method.
boto3 documentation
# list_calculated_attribute_definitions method definition
def list_calculated_attribute_definitions(
self,
*,
DomainName: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListCalculatedAttributeDefinitionsResponseTypeDef: # (1)
...
# list_calculated_attribute_definitions method usage example with argument unpacking
kwargs: ListCalculatedAttributeDefinitionsRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_calculated_attribute_definitions(**kwargs)
list_calculated_attributes_for_profile#
Retrieve a list of calculated attributes for a customer profile.
Type annotations and code completion for boto3.client("customer-profiles").list_calculated_attributes_for_profile
method.
boto3 documentation
# list_calculated_attributes_for_profile method definition
def list_calculated_attributes_for_profile(
self,
*,
DomainName: str,
ProfileId: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListCalculatedAttributesForProfileResponseTypeDef: # (1)
...
# list_calculated_attributes_for_profile method usage example with argument unpacking
kwargs: ListCalculatedAttributesForProfileRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ProfileId": ...,
}
parent.list_calculated_attributes_for_profile(**kwargs)
list_domains#
Returns a list of all the domains for an AWS account that have been created.
Type annotations and code completion for boto3.client("customer-profiles").list_domains
method.
boto3 documentation
# list_domains method definition
def list_domains(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListDomainsResponseTypeDef: # (1)
...
# list_domains method usage example with argument unpacking
kwargs: ListDomainsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_domains(**kwargs)
list_event_streams#
Returns a list of all the event streams in a specific domain.
Type annotations and code completion for boto3.client("customer-profiles").list_event_streams
method.
boto3 documentation
# list_event_streams method definition
def list_event_streams(
self,
*,
DomainName: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListEventStreamsResponseTypeDef: # (1)
...
# list_event_streams method usage example with argument unpacking
kwargs: ListEventStreamsRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_event_streams(**kwargs)
list_identity_resolution_jobs#
Lists all of the Identity Resolution Jobs in your domain.
Type annotations and code completion for boto3.client("customer-profiles").list_identity_resolution_jobs
method.
boto3 documentation
# list_identity_resolution_jobs method definition
def list_identity_resolution_jobs(
self,
*,
DomainName: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListIdentityResolutionJobsResponseTypeDef: # (1)
...
# list_identity_resolution_jobs method usage example with argument unpacking
kwargs: ListIdentityResolutionJobsRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_identity_resolution_jobs(**kwargs)
list_integrations#
Lists all of the integrations in your domain.
Type annotations and code completion for boto3.client("customer-profiles").list_integrations
method.
boto3 documentation
# list_integrations method definition
def list_integrations(
self,
*,
DomainName: str,
NextToken: str = ...,
MaxResults: int = ...,
IncludeHidden: bool = ...,
) -> ListIntegrationsResponseTypeDef: # (1)
...
# list_integrations method usage example with argument unpacking
kwargs: ListIntegrationsRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_integrations(**kwargs)
list_object_type_attributes#
Fetch the possible attribute values given the attribute name.
Type annotations and code completion for boto3.client("customer-profiles").list_object_type_attributes
method.
boto3 documentation
# list_object_type_attributes method definition
def list_object_type_attributes(
self,
*,
DomainName: str,
ObjectTypeName: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListObjectTypeAttributesResponseTypeDef: # (1)
...
# list_object_type_attributes method usage example with argument unpacking
kwargs: ListObjectTypeAttributesRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ObjectTypeName": ...,
}
parent.list_object_type_attributes(**kwargs)
list_profile_attribute_values#
Fetch the possible attribute values given the attribute name.
Type annotations and code completion for boto3.client("customer-profiles").list_profile_attribute_values
method.
boto3 documentation
# list_profile_attribute_values method definition
def list_profile_attribute_values(
self,
*,
DomainName: str,
AttributeName: str,
) -> ProfileAttributeValuesResponseTypeDef: # (1)
...
# list_profile_attribute_values method usage example with argument unpacking
kwargs: ProfileAttributeValuesRequestRequestTypeDef = { # (1)
"DomainName": ...,
"AttributeName": ...,
}
parent.list_profile_attribute_values(**kwargs)
list_profile_object_type_templates#
Lists all of the template information for object types.
Type annotations and code completion for boto3.client("customer-profiles").list_profile_object_type_templates
method.
boto3 documentation
# list_profile_object_type_templates method definition
def list_profile_object_type_templates(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListProfileObjectTypeTemplatesResponseTypeDef: # (1)
...
# list_profile_object_type_templates method usage example with argument unpacking
kwargs: ListProfileObjectTypeTemplatesRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_profile_object_type_templates(**kwargs)
list_profile_object_types#
Lists all of the templates available within the service.
Type annotations and code completion for boto3.client("customer-profiles").list_profile_object_types
method.
boto3 documentation
# list_profile_object_types method definition
def list_profile_object_types(
self,
*,
DomainName: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListProfileObjectTypesResponseTypeDef: # (1)
...
# list_profile_object_types method usage example with argument unpacking
kwargs: ListProfileObjectTypesRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_profile_object_types(**kwargs)
list_profile_objects#
Returns a list of objects associated with a profile of a given ProfileObjectType.
Type annotations and code completion for boto3.client("customer-profiles").list_profile_objects
method.
boto3 documentation
# list_profile_objects method definition
def list_profile_objects(
self,
*,
DomainName: str,
ObjectTypeName: str,
ProfileId: str,
NextToken: str = ...,
MaxResults: int = ...,
ObjectFilter: ObjectFilterTypeDef = ..., # (1)
) -> ListProfileObjectsResponseTypeDef: # (2)
...
# list_profile_objects method usage example with argument unpacking
kwargs: ListProfileObjectsRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ObjectTypeName": ...,
"ProfileId": ...,
}
parent.list_profile_objects(**kwargs)
list_rule_based_matches#
Returns a set of MatchIds
that belong to the given domain.
Type annotations and code completion for boto3.client("customer-profiles").list_rule_based_matches
method.
boto3 documentation
# list_rule_based_matches method definition
def list_rule_based_matches(
self,
*,
DomainName: str,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListRuleBasedMatchesResponseTypeDef: # (1)
...
# list_rule_based_matches method usage example with argument unpacking
kwargs: ListRuleBasedMatchesRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_rule_based_matches(**kwargs)
list_segment_definitions#
Lists all segment definitions under a domain.
Type annotations and code completion for boto3.client("customer-profiles").list_segment_definitions
method.
boto3 documentation
# list_segment_definitions method definition
def list_segment_definitions(
self,
*,
DomainName: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListSegmentDefinitionsResponseTypeDef: # (1)
...
# list_segment_definitions method usage example with argument unpacking
kwargs: ListSegmentDefinitionsRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_segment_definitions(**kwargs)
list_tags_for_resource#
Displays the tags associated with an Amazon Connect Customer Profiles resource.
Type annotations and code completion for boto3.client("customer-profiles").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_workflows#
Query to list all workflows.
Type annotations and code completion for boto3.client("customer-profiles").list_workflows
method.
boto3 documentation
# list_workflows method definition
def list_workflows(
self,
*,
DomainName: str,
WorkflowType: WorkflowTypeType = ..., # (1)
Status: StatusType = ..., # (2)
QueryStartDate: TimestampTypeDef = ...,
QueryEndDate: TimestampTypeDef = ...,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListWorkflowsResponseTypeDef: # (3)
...
- See WorkflowTypeType
- See StatusType
- See ListWorkflowsResponseTypeDef
# list_workflows method usage example with argument unpacking
kwargs: ListWorkflowsRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.list_workflows(**kwargs)
merge_profiles#
Runs an AWS Lambda job that does the following: * All the profileKeys in the
ProfileToBeMerged
will be moved to the main profile.
Type annotations and code completion for boto3.client("customer-profiles").merge_profiles
method.
boto3 documentation
# merge_profiles method definition
def merge_profiles(
self,
*,
DomainName: str,
MainProfileId: str,
ProfileIdsToBeMerged: Sequence[str],
FieldSourceProfileIds: FieldSourceProfileIdsTypeDef = ..., # (1)
) -> MergeProfilesResponseTypeDef: # (2)
...
# merge_profiles method usage example with argument unpacking
kwargs: MergeProfilesRequestRequestTypeDef = { # (1)
"DomainName": ...,
"MainProfileId": ...,
"ProfileIdsToBeMerged": ...,
}
parent.merge_profiles(**kwargs)
put_integration#
Adds an integration between the service and a third-party service, which includes Amazon AppFlow and Amazon Connect.
Type annotations and code completion for boto3.client("customer-profiles").put_integration
method.
boto3 documentation
# put_integration method definition
def put_integration(
self,
*,
DomainName: str,
Uri: str = ...,
ObjectTypeName: str = ...,
Tags: Mapping[str, str] = ...,
FlowDefinition: FlowDefinitionTypeDef = ..., # (1)
ObjectTypeNames: Mapping[str, str] = ...,
RoleArn: str = ...,
) -> PutIntegrationResponseTypeDef: # (2)
...
# put_integration method usage example with argument unpacking
kwargs: PutIntegrationRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.put_integration(**kwargs)
put_profile_object#
Adds additional objects to customer profiles of a given ObjectType.
Type annotations and code completion for boto3.client("customer-profiles").put_profile_object
method.
boto3 documentation
# put_profile_object method definition
def put_profile_object(
self,
*,
ObjectTypeName: str,
Object: str,
DomainName: str,
) -> PutProfileObjectResponseTypeDef: # (1)
...
# put_profile_object method usage example with argument unpacking
kwargs: PutProfileObjectRequestRequestTypeDef = { # (1)
"ObjectTypeName": ...,
"Object": ...,
"DomainName": ...,
}
parent.put_profile_object(**kwargs)
put_profile_object_type#
Defines a ProfileObjectType.
Type annotations and code completion for boto3.client("customer-profiles").put_profile_object_type
method.
boto3 documentation
# put_profile_object_type method definition
def put_profile_object_type(
self,
*,
DomainName: str,
ObjectTypeName: str,
Description: str,
TemplateId: str = ...,
ExpirationDays: int = ...,
EncryptionKey: str = ...,
AllowProfileCreation: bool = ...,
SourceLastUpdatedTimestampFormat: str = ...,
MaxProfileObjectCount: int = ...,
Fields: Mapping[str, ObjectTypeFieldTypeDef] = ..., # (1)
Keys: Mapping[str, Sequence[ObjectTypeKeyUnionTypeDef]] = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> PutProfileObjectTypeResponseTypeDef: # (3)
...
- See ObjectTypeFieldTypeDef
- See ObjectTypeKeyTypeDef ObjectTypeKeyOutputTypeDef
- See PutProfileObjectTypeResponseTypeDef
# put_profile_object_type method usage example with argument unpacking
kwargs: PutProfileObjectTypeRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ObjectTypeName": ...,
"Description": ...,
}
parent.put_profile_object_type(**kwargs)
search_profiles#
Searches for profiles within a specific domain using one or more predefined search keys (e.g., _fullName, _phone, _email, _account, etc.) and/or custom-defined search keys.
Type annotations and code completion for boto3.client("customer-profiles").search_profiles
method.
boto3 documentation
# search_profiles method definition
def search_profiles(
self,
*,
DomainName: str,
KeyName: str,
Values: Sequence[str],
NextToken: str = ...,
MaxResults: int = ...,
AdditionalSearchKeys: Sequence[AdditionalSearchKeyTypeDef] = ..., # (1)
LogicalOperator: LogicalOperatorType = ..., # (2)
) -> SearchProfilesResponseTypeDef: # (3)
...
# search_profiles method usage example with argument unpacking
kwargs: SearchProfilesRequestRequestTypeDef = { # (1)
"DomainName": ...,
"KeyName": ...,
"Values": ...,
}
parent.search_profiles(**kwargs)
tag_resource#
Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource.
Type annotations and code completion for boto3.client("customer-profiles").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> Dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes one or more tags from the specified Amazon Connect Customer Profiles resource.
Type annotations and code completion for boto3.client("customer-profiles").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> Dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_calculated_attribute_definition#
Updates an existing calculated attribute definition.
Type annotations and code completion for boto3.client("customer-profiles").update_calculated_attribute_definition
method.
boto3 documentation
# update_calculated_attribute_definition method definition
def update_calculated_attribute_definition(
self,
*,
DomainName: str,
CalculatedAttributeName: str,
DisplayName: str = ...,
Description: str = ...,
Conditions: ConditionsTypeDef = ..., # (1)
) -> UpdateCalculatedAttributeDefinitionResponseTypeDef: # (2)
...
# update_calculated_attribute_definition method usage example with argument unpacking
kwargs: UpdateCalculatedAttributeDefinitionRequestRequestTypeDef = { # (1)
"DomainName": ...,
"CalculatedAttributeName": ...,
}
parent.update_calculated_attribute_definition(**kwargs)
update_domain#
Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key.
Type annotations and code completion for boto3.client("customer-profiles").update_domain
method.
boto3 documentation
# update_domain method definition
def update_domain(
self,
*,
DomainName: str,
DefaultExpirationDays: int = ...,
DefaultEncryptionKey: str = ...,
DeadLetterQueueUrl: str = ...,
Matching: MatchingRequestTypeDef = ..., # (1)
RuleBasedMatching: RuleBasedMatchingRequestTypeDef = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> UpdateDomainResponseTypeDef: # (3)
...
# update_domain method usage example with argument unpacking
kwargs: UpdateDomainRequestRequestTypeDef = { # (1)
"DomainName": ...,
}
parent.update_domain(**kwargs)
update_profile#
Updates the properties of a profile.
Type annotations and code completion for boto3.client("customer-profiles").update_profile
method.
boto3 documentation
# update_profile method definition
def update_profile(
self,
*,
DomainName: str,
ProfileId: str,
AdditionalInformation: str = ...,
AccountNumber: str = ...,
PartyType: PartyTypeType = ..., # (1)
BusinessName: str = ...,
FirstName: str = ...,
MiddleName: str = ...,
LastName: str = ...,
BirthDate: str = ...,
Gender: GenderType = ..., # (2)
PhoneNumber: str = ...,
MobilePhoneNumber: str = ...,
HomePhoneNumber: str = ...,
BusinessPhoneNumber: str = ...,
EmailAddress: str = ...,
PersonalEmailAddress: str = ...,
BusinessEmailAddress: str = ...,
Address: UpdateAddressTypeDef = ..., # (3)
ShippingAddress: UpdateAddressTypeDef = ..., # (3)
MailingAddress: UpdateAddressTypeDef = ..., # (3)
BillingAddress: UpdateAddressTypeDef = ..., # (3)
Attributes: Mapping[str, str] = ...,
PartyTypeString: str = ...,
GenderString: str = ...,
) -> UpdateProfileResponseTypeDef: # (7)
...
- See PartyTypeType
- See GenderType
- See UpdateAddressTypeDef
- See UpdateAddressTypeDef
- See UpdateAddressTypeDef
- See UpdateAddressTypeDef
- See UpdateProfileResponseTypeDef
# update_profile method usage example with argument unpacking
kwargs: UpdateProfileRequestRequestTypeDef = { # (1)
"DomainName": ...,
"ProfileId": ...,
}
parent.update_profile(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("customer-profiles").get_paginator
method with overloads.
client.get_paginator("get_similar_profiles")
-> GetSimilarProfilesPaginatorclient.get_paginator("list_event_streams")
-> ListEventStreamsPaginatorclient.get_paginator("list_object_type_attributes")
-> ListObjectTypeAttributesPaginatorclient.get_paginator("list_rule_based_matches")
-> ListRuleBasedMatchesPaginatorclient.get_paginator("list_segment_definitions")
-> ListSegmentDefinitionsPaginator