pub struct Client { /* private fields */ }
Expand description
Client for Amazon Connect Customer Profiles
Client for invoking operations on Amazon Connect Customer Profiles. Each operation on Amazon Connect Customer Profiles is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_customerprofiles::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Builder
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_customerprofiles::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AddProfileKey
operation has
a Client::add_profile_key
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.add_profile_key()
.profile_id("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
Implementations§
Source§impl Client
impl Client
Sourcepub fn add_profile_key(&self) -> AddProfileKeyFluentBuilder
pub fn add_profile_key(&self) -> AddProfileKeyFluentBuilder
Constructs a fluent builder for the AddProfileKey
operation.
- The fluent builder is configurable:
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
key_name(impl Into<String>)
/set_key_name(Option<String>)
:
required: trueA searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
values(impl Into<String>)
/set_values(Option<Vec::<String>>)
:
required: trueA list of key values.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
AddProfileKeyOutput
with field(s):key_name(Option<String>)
:A searchable identifier of a customer profile.
values(Option<Vec::<String>>)
:A list of key values.
- On failure, responds with
SdkError<AddProfileKeyError>
Source§impl Client
impl Client
Sourcepub fn batch_get_calculated_attribute_for_profile(
&self,
) -> BatchGetCalculatedAttributeForProfileFluentBuilder
pub fn batch_get_calculated_attribute_for_profile( &self, ) -> BatchGetCalculatedAttributeForProfileFluentBuilder
Constructs a fluent builder for the BatchGetCalculatedAttributeForProfile
operation.
- The fluent builder is configurable:
calculated_attribute_name(impl Into<String>)
/set_calculated_attribute_name(Option<String>)
:
required: trueThe unique name of the calculated attribute.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
profile_ids(impl Into<String>)
/set_profile_ids(Option<Vec::<String>>)
:
required: trueList of unique identifiers for customer profiles to retrieve.
condition_overrides(ConditionOverrides)
/set_condition_overrides(Option<ConditionOverrides>)
:
required: falseOverrides the condition block within the original calculated attribute definition.
- On success, responds with
BatchGetCalculatedAttributeForProfileOutput
with field(s):errors(Option<Vec::<BatchGetCalculatedAttributeForProfileError>>)
:List of errors for calculated attribute values that could not be retrieved.
calculated_attribute_values(Option<Vec::<CalculatedAttributeValue>>)
:List of calculated attribute values retrieved.
condition_overrides(Option<ConditionOverrides>)
:Overrides the condition block within the original calculated attribute definition.
- On failure, responds with
SdkError<BatchGetCalculatedAttributeForProfileError>
Source§impl Client
impl Client
Sourcepub fn batch_get_profile(&self) -> BatchGetProfileFluentBuilder
pub fn batch_get_profile(&self) -> BatchGetProfileFluentBuilder
Constructs a fluent builder for the BatchGetProfile
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
profile_ids(impl Into<String>)
/set_profile_ids(Option<Vec::<String>>)
:
required: trueList of unique identifiers for customer profiles to retrieve.
- On success, responds with
BatchGetProfileOutput
with field(s):errors(Option<Vec::<BatchGetProfileError>>)
:For information about the errors that are common to all actions, see Common Errors.
profiles(Option<Vec::<Profile>>)
:Array of Profile Objects.
- On failure, responds with
SdkError<BatchGetProfileError>
Source§impl Client
impl Client
Sourcepub fn create_calculated_attribute_definition(
&self,
) -> CreateCalculatedAttributeDefinitionFluentBuilder
pub fn create_calculated_attribute_definition( &self, ) -> CreateCalculatedAttributeDefinitionFluentBuilder
Constructs a fluent builder for the CreateCalculatedAttributeDefinition
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
calculated_attribute_name(impl Into<String>)
/set_calculated_attribute_name(Option<String>)
:
required: trueThe unique name of the calculated attribute.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:
required: falseThe display name of the calculated attribute.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the calculated attribute.
attribute_details(AttributeDetails)
/set_attribute_details(Option<AttributeDetails>)
:
required: trueMathematical expression and a list of attribute items specified in that expression.
conditions(Conditions)
/set_conditions(Option<Conditions>)
:
required: falseThe conditions including range, object count, and threshold for the calculated attribute.
filter(Filter)
/set_filter(Option<Filter>)
:
required: falseDefines how to filter incoming objects to include part of the Calculated Attribute.
statistic(Statistic)
/set_statistic(Option<Statistic>)
:
required: trueThe aggregation operation to perform for the calculated attribute.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
- On success, responds with
CreateCalculatedAttributeDefinitionOutput
with field(s):calculated_attribute_name(Option<String>)
:The unique name of the calculated attribute.
display_name(Option<String>)
:The display name of the calculated attribute.
description(Option<String>)
:The description of the calculated attribute.
attribute_details(Option<AttributeDetails>)
:Mathematical expression and a list of attribute items specified in that expression.
conditions(Option<Conditions>)
:The conditions including range, object count, and threshold for the calculated attribute.
filter(Option<Filter>)
:The filter that was used as part of the request.
statistic(Option<Statistic>)
:The aggregation operation to perform for the calculated attribute.
created_at(Option<DateTime>)
:The timestamp of when the calculated attribute definition was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the calculated attribute definition was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<CreateCalculatedAttributeDefinitionError>
Source§impl Client
impl Client
Sourcepub fn create_domain(&self) -> CreateDomainFluentBuilder
pub fn create_domain(&self) -> CreateDomainFluentBuilder
Constructs a fluent builder for the CreateDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
default_expiration_days(i32)
/set_default_expiration_days(Option<i32>)
:
required: trueThe default number of days until the data within the domain expires.
default_encryption_key(impl Into<String>)
/set_default_encryption_key(Option<String>)
:
required: falseThe 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.
dead_letter_queue_url(impl Into<String>)
/set_dead_letter_queue_url(Option<String>)
:
required: falseThe 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.
matching(MatchingRequest)
/set_matching(Option<MatchingRequest>)
:
required: falseThe 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 API to return and review the results. Or, if you have configured
ExportingConfig
in theMatchingRequest
, you can download the results from S3.rule_based_matching(RuleBasedMatchingRequest)
/set_rule_based_matching(Option<RuleBasedMatchingRequest>)
:
required: falseThe 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 theRuleBasedMatchingRequest
. You can use theListRuleBasedMatches
andGetSimilarProfiles
API to return and review the results. Also, if you have configuredExportingConfig
in theRuleBasedMatchingRequest
, you can download the results from S3.tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
- On success, responds with
CreateDomainOutput
with field(s):domain_name(String)
:The unique name of the domain.
default_expiration_days(i32)
:The default number of days until the data within the domain expires.
default_encryption_key(Option<String>)
: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.
dead_letter_queue_url(Option<String>)
:The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
matching(Option<MatchingResponse>)
: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 API to return and review the results. Or, if you have configured
ExportingConfig
in theMatchingRequest
, you can download the results from S3.rule_based_matching(Option<RuleBasedMatchingResponse>)
: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 theRuleBasedMatchingRequest
. You can use theListRuleBasedMatches
andGetSimilarProfiles
API to return and review the results. Also, if you have configuredExportingConfig
in theRuleBasedMatchingRequest
, you can download the results from S3.created_at(DateTime)
:The timestamp of when the domain was created.
last_updated_at(DateTime)
:The timestamp of when the domain was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<CreateDomainError>
Source§impl Client
impl Client
Sourcepub fn create_event_stream(&self) -> CreateEventStreamFluentBuilder
pub fn create_event_stream(&self) -> CreateEventStreamFluentBuilder
Constructs a fluent builder for the CreateEventStream
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
uri(impl Into<String>)
/set_uri(Option<String>)
:
required: trueThe StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name
event_stream_name(impl Into<String>)
/set_event_stream_name(Option<String>)
:
required: trueThe name of the event stream.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
- On success, responds with
CreateEventStreamOutput
with field(s):event_stream_arn(String)
:A unique identifier for the event stream.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<CreateEventStreamError>
Source§impl Client
impl Client
Sourcepub fn create_event_trigger(&self) -> CreateEventTriggerFluentBuilder
pub fn create_event_trigger(&self) -> CreateEventTriggerFluentBuilder
Constructs a fluent builder for the CreateEventTrigger
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
event_trigger_name(impl Into<String>)
/set_event_trigger_name(Option<String>)
:
required: trueThe unique name of the event trigger.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe unique name of the object type.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the event trigger.
event_trigger_conditions(EventTriggerCondition)
/set_event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)
:
required: trueA list of conditions that determine when an event should trigger the destination.
segment_filter(impl Into<String>)
/set_segment_filter(Option<String>)
:
required: falseThe destination is triggered only for profiles that meet the criteria of a segment definition.
event_trigger_limits(EventTriggerLimits)
/set_event_trigger_limits(Option<EventTriggerLimits>)
:
required: falseDefines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseAn array of key-value pairs to apply to this resource.
- On success, responds with
CreateEventTriggerOutput
with field(s):event_trigger_name(Option<String>)
:The unique name of the event trigger.
object_type_name(Option<String>)
:The unique name of the object type.
description(Option<String>)
:The description of the event trigger.
event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)
:A list of conditions that determine when an event should trigger the destination.
segment_filter(Option<String>)
:The destination is triggered only for profiles that meet the criteria of a segment definition.
event_trigger_limits(Option<EventTriggerLimits>)
:Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
created_at(Option<DateTime>)
:The timestamp of when the event trigger was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the event trigger was most recently updated.
tags(Option<HashMap::<String, String>>)
:An array of key-value pairs to apply to this resource.
- On failure, responds with
SdkError<CreateEventTriggerError>
Source§impl Client
impl Client
Sourcepub fn create_integration_workflow(
&self,
) -> CreateIntegrationWorkflowFluentBuilder
pub fn create_integration_workflow( &self, ) -> CreateIntegrationWorkflowFluentBuilder
Constructs a fluent builder for the CreateIntegrationWorkflow
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
workflow_type(WorkflowType)
/set_workflow_type(Option<WorkflowType>)
:
required: trueThe type of workflow. The only supported value is APPFLOW_INTEGRATION.
integration_config(IntegrationConfig)
/set_integration_config(Option<IntegrationConfig>)
:
required: trueConfiguration data for integration workflow.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
- On success, responds with
CreateIntegrationWorkflowOutput
with field(s):workflow_id(String)
:Unique identifier for the workflow.
message(String)
:A message indicating create request was received.
- On failure, responds with
SdkError<CreateIntegrationWorkflowError>
Source§impl Client
impl Client
Sourcepub fn create_profile(&self) -> CreateProfileFluentBuilder
pub fn create_profile(&self) -> CreateProfileFluentBuilder
Constructs a fluent builder for the CreateProfile
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
account_number(impl Into<String>)
/set_account_number(Option<String>)
:
required: falseAn account number that you have given to the customer.
additional_information(impl Into<String>)
/set_additional_information(Option<String>)
:
required: falseAny additional information relevant to the customer’s profile.
party_type(PartyType)
/set_party_type(Option<PartyType>)
:
required: falseThe type of profile used to describe the customer.
business_name(impl Into<String>)
/set_business_name(Option<String>)
:
required: falseThe name of the customer’s business.
first_name(impl Into<String>)
/set_first_name(Option<String>)
:
required: falseThe customer’s first name.
middle_name(impl Into<String>)
/set_middle_name(Option<String>)
:
required: falseThe customer’s middle name.
last_name(impl Into<String>)
/set_last_name(Option<String>)
:
required: falseThe customer’s last name.
birth_date(impl Into<String>)
/set_birth_date(Option<String>)
:
required: falseThe customer’s birth date.
gender(Gender)
/set_gender(Option<Gender>)
:
required: falseThe gender with which the customer identifies.
phone_number(impl Into<String>)
/set_phone_number(Option<String>)
:
required: falseThe customer’s phone number, which has not been specified as a mobile, home, or business number.
mobile_phone_number(impl Into<String>)
/set_mobile_phone_number(Option<String>)
:
required: falseThe customer’s mobile phone number.
home_phone_number(impl Into<String>)
/set_home_phone_number(Option<String>)
:
required: falseThe customer’s home phone number.
business_phone_number(impl Into<String>)
/set_business_phone_number(Option<String>)
:
required: falseThe customer’s business phone number.
email_address(impl Into<String>)
/set_email_address(Option<String>)
:
required: falseThe customer’s email address, which has not been specified as a personal or business address.
personal_email_address(impl Into<String>)
/set_personal_email_address(Option<String>)
:
required: falseThe customer’s personal email address.
business_email_address(impl Into<String>)
/set_business_email_address(Option<String>)
:
required: falseThe customer’s business email address.
address(Address)
/set_address(Option<Address>)
:
required: falseA generic address associated with the customer that is not mailing, shipping, or billing.
shipping_address(Address)
/set_shipping_address(Option<Address>)
:
required: falseThe customer’s shipping address.
mailing_address(Address)
/set_mailing_address(Option<Address>)
:
required: falseThe customer’s mailing address.
billing_address(Address)
/set_billing_address(Option<Address>)
:
required: falseThe customer’s billing address.
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA key value pair of attributes of a customer profile.
party_type_string(impl Into<String>)
/set_party_type_string(Option<String>)
:
required: falseAn alternative to
PartyType
which accepts any string as input.gender_string(impl Into<String>)
/set_gender_string(Option<String>)
:
required: falseAn alternative to
Gender
which accepts any string as input.
- On success, responds with
CreateProfileOutput
with field(s):profile_id(String)
:The unique identifier of a customer profile.
- On failure, responds with
SdkError<CreateProfileError>
Source§impl Client
impl Client
Sourcepub fn create_segment_definition(&self) -> CreateSegmentDefinitionFluentBuilder
pub fn create_segment_definition(&self) -> CreateSegmentDefinitionFluentBuilder
Constructs a fluent builder for the CreateSegmentDefinition
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
segment_definition_name(impl Into<String>)
/set_segment_definition_name(Option<String>)
:
required: trueThe unique name of the segment definition.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:
required: trueThe display name of the segment definition.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the segment definition.
segment_groups(SegmentGroup)
/set_segment_groups(Option<SegmentGroup>)
:
required: trueSpecifies the base segments and dimensions for a segment definition along with their respective relationship.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
- On success, responds with
CreateSegmentDefinitionOutput
with field(s):segment_definition_name(String)
:The name of the segment definition.
display_name(Option<String>)
:The display name of the segment definition.
description(Option<String>)
:The description of the segment definition.
created_at(Option<DateTime>)
:The timestamp of when the segment definition was created.
segment_definition_arn(Option<String>)
:The arn of the segment definition.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<CreateSegmentDefinitionError>
Source§impl Client
impl Client
Sourcepub fn create_segment_estimate(&self) -> CreateSegmentEstimateFluentBuilder
pub fn create_segment_estimate(&self) -> CreateSegmentEstimateFluentBuilder
Constructs a fluent builder for the CreateSegmentEstimate
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
segment_query(SegmentGroupStructure)
/set_segment_query(Option<SegmentGroupStructure>)
:
required: trueThe segment query for calculating a segment estimate.
- On success, responds with
CreateSegmentEstimateOutput
with field(s):domain_name(Option<String>)
:The unique name of the domain.
estimate_id(Option<String>)
:A unique identifier for the resource. The value can be passed to
GetSegmentEstimate
to retrieve the result of segment estimate status.status_code(i32)
:The status code for the response.
- On failure, responds with
SdkError<CreateSegmentEstimateError>
Source§impl Client
impl Client
Sourcepub fn create_segment_snapshot(&self) -> CreateSegmentSnapshotFluentBuilder
pub fn create_segment_snapshot(&self) -> CreateSegmentSnapshotFluentBuilder
Constructs a fluent builder for the CreateSegmentSnapshot
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
segment_definition_name(impl Into<String>)
/set_segment_definition_name(Option<String>)
:
required: trueThe name of the segment definition used in this snapshot request.
data_format(DataFormat)
/set_data_format(Option<DataFormat>)
:
required: trueThe format in which the segment will be exported.
encryption_key(impl Into<String>)
/set_encryption_key(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the KMS key used to encrypt the exported segment.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the IAM role that allows Customer Profiles service principal to assume the role for conducting KMS and S3 operations.
destination_uri(impl Into<String>)
/set_destination_uri(Option<String>)
:
required: falseThe 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.
- On success, responds with
CreateSegmentSnapshotOutput
with field(s):snapshot_id(String)
:The unique identifier of the segment snapshot.
- On failure, responds with
SdkError<CreateSegmentSnapshotError>
Source§impl Client
impl Client
Sourcepub fn delete_calculated_attribute_definition(
&self,
) -> DeleteCalculatedAttributeDefinitionFluentBuilder
pub fn delete_calculated_attribute_definition( &self, ) -> DeleteCalculatedAttributeDefinitionFluentBuilder
Constructs a fluent builder for the DeleteCalculatedAttributeDefinition
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
calculated_attribute_name(impl Into<String>)
/set_calculated_attribute_name(Option<String>)
:
required: trueThe unique name of the calculated attribute.
- On success, responds with
DeleteCalculatedAttributeDefinitionOutput
- On failure, responds with
SdkError<DeleteCalculatedAttributeDefinitionError>
Source§impl Client
impl Client
Sourcepub fn delete_domain(&self) -> DeleteDomainFluentBuilder
pub fn delete_domain(&self) -> DeleteDomainFluentBuilder
Constructs a fluent builder for the DeleteDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
DeleteDomainOutput
with field(s):message(String)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteDomainError>
Source§impl Client
impl Client
Sourcepub fn delete_event_stream(&self) -> DeleteEventStreamFluentBuilder
pub fn delete_event_stream(&self) -> DeleteEventStreamFluentBuilder
Constructs a fluent builder for the DeleteEventStream
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
event_stream_name(impl Into<String>)
/set_event_stream_name(Option<String>)
:
required: trueThe name of the event stream
- On success, responds with
DeleteEventStreamOutput
- On failure, responds with
SdkError<DeleteEventStreamError>
Source§impl Client
impl Client
Sourcepub fn delete_event_trigger(&self) -> DeleteEventTriggerFluentBuilder
pub fn delete_event_trigger(&self) -> DeleteEventTriggerFluentBuilder
Constructs a fluent builder for the DeleteEventTrigger
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
event_trigger_name(impl Into<String>)
/set_event_trigger_name(Option<String>)
:
required: trueThe unique name of the event trigger.
- On success, responds with
DeleteEventTriggerOutput
with field(s):message(String)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteEventTriggerError>
Source§impl Client
impl Client
Sourcepub fn delete_integration(&self) -> DeleteIntegrationFluentBuilder
pub fn delete_integration(&self) -> DeleteIntegrationFluentBuilder
Constructs a fluent builder for the DeleteIntegration
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
uri(impl Into<String>)
/set_uri(Option<String>)
:
required: trueThe URI of the S3 bucket or any other type of data source.
- On success, responds with
DeleteIntegrationOutput
with field(s):message(String)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteIntegrationError>
Source§impl Client
impl Client
Sourcepub fn delete_profile(&self) -> DeleteProfileFluentBuilder
pub fn delete_profile(&self) -> DeleteProfileFluentBuilder
Constructs a fluent builder for the DeleteProfile
operation.
- The fluent builder is configurable:
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
DeleteProfileOutput
with field(s):message(Option<String>)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteProfileError>
Source§impl Client
impl Client
Sourcepub fn delete_profile_key(&self) -> DeleteProfileKeyFluentBuilder
pub fn delete_profile_key(&self) -> DeleteProfileKeyFluentBuilder
Constructs a fluent builder for the DeleteProfileKey
operation.
- The fluent builder is configurable:
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
key_name(impl Into<String>)
/set_key_name(Option<String>)
:
required: trueA searchable identifier of a customer profile.
values(impl Into<String>)
/set_values(Option<Vec::<String>>)
:
required: trueA list of key values.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
DeleteProfileKeyOutput
with field(s):message(Option<String>)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteProfileKeyError>
Source§impl Client
impl Client
Sourcepub fn delete_profile_object(&self) -> DeleteProfileObjectFluentBuilder
pub fn delete_profile_object(&self) -> DeleteProfileObjectFluentBuilder
Constructs a fluent builder for the DeleteProfileObject
operation.
- The fluent builder is configurable:
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
profile_object_unique_key(impl Into<String>)
/set_profile_object_unique_key(Option<String>)
:
required: trueThe unique identifier of the profile object generated by the service.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
DeleteProfileObjectOutput
with field(s):message(Option<String>)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteProfileObjectError>
Source§impl Client
impl Client
Sourcepub fn delete_profile_object_type(&self) -> DeleteProfileObjectTypeFluentBuilder
pub fn delete_profile_object_type(&self) -> DeleteProfileObjectTypeFluentBuilder
Constructs a fluent builder for the DeleteProfileObjectType
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
- On success, responds with
DeleteProfileObjectTypeOutput
with field(s):message(String)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteProfileObjectTypeError>
Source§impl Client
impl Client
Sourcepub fn delete_segment_definition(&self) -> DeleteSegmentDefinitionFluentBuilder
pub fn delete_segment_definition(&self) -> DeleteSegmentDefinitionFluentBuilder
Constructs a fluent builder for the DeleteSegmentDefinition
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
segment_definition_name(impl Into<String>)
/set_segment_definition_name(Option<String>)
:
required: trueThe unique name of the segment definition.
- On success, responds with
DeleteSegmentDefinitionOutput
with field(s):message(Option<String>)
:A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteSegmentDefinitionError>
Source§impl Client
impl Client
Sourcepub fn delete_workflow(&self) -> DeleteWorkflowFluentBuilder
pub fn delete_workflow(&self) -> DeleteWorkflowFluentBuilder
Constructs a fluent builder for the DeleteWorkflow
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueUnique identifier for the workflow.
- On success, responds with
DeleteWorkflowOutput
- On failure, responds with
SdkError<DeleteWorkflowError>
Source§impl Client
impl Client
Sourcepub fn detect_profile_object_type(&self) -> DetectProfileObjectTypeFluentBuilder
pub fn detect_profile_object_type(&self) -> DetectProfileObjectTypeFluentBuilder
Constructs a fluent builder for the DetectProfileObjectType
operation.
- The fluent builder is configurable:
objects(impl Into<String>)
/set_objects(Option<Vec::<String>>)
:
required: trueA string that is serialized from a JSON object.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
DetectProfileObjectTypeOutput
with field(s):detected_profile_object_types(Option<Vec::<DetectedProfileObjectType>>)
:Detected
ProfileObjectType
mappings from given objects. A maximum of one mapping is supported.
- On failure, responds with
SdkError<DetectProfileObjectTypeError>
Source§impl Client
impl Client
Sourcepub fn get_auto_merging_preview(&self) -> GetAutoMergingPreviewFluentBuilder
pub fn get_auto_merging_preview(&self) -> GetAutoMergingPreviewFluentBuilder
Constructs a fluent builder for the GetAutoMergingPreview
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
consolidation(Consolidation)
/set_consolidation(Option<Consolidation>)
:
required: trueA list of matching attributes that represent matching criteria.
conflict_resolution(ConflictResolution)
/set_conflict_resolution(Option<ConflictResolution>)
:
required: trueHow the auto-merging process should resolve conflicts between different profiles.
min_allowed_confidence_score_for_merging(f64)
/set_min_allowed_confidence_score_for_merging(Option<f64>)
:
required: falseMinimum confidence score required for profiles within a matching group to be merged during the auto-merge process.
- On success, responds with
GetAutoMergingPreviewOutput
with field(s):domain_name(String)
:The unique name of the domain.
number_of_matches_in_sample(i64)
:The number of match groups in the domain that have been reviewed in this preview dry run.
number_of_profiles_in_sample(i64)
:The number of profiles found in this preview dry run.
number_of_profiles_will_be_merged(i64)
:The number of profiles that would be merged if this wasn’t a preview dry run.
- On failure, responds with
SdkError<GetAutoMergingPreviewError>
Source§impl Client
impl Client
Sourcepub fn get_calculated_attribute_definition(
&self,
) -> GetCalculatedAttributeDefinitionFluentBuilder
pub fn get_calculated_attribute_definition( &self, ) -> GetCalculatedAttributeDefinitionFluentBuilder
Constructs a fluent builder for the GetCalculatedAttributeDefinition
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
calculated_attribute_name(impl Into<String>)
/set_calculated_attribute_name(Option<String>)
:
required: trueThe unique name of the calculated attribute.
- On success, responds with
GetCalculatedAttributeDefinitionOutput
with field(s):calculated_attribute_name(Option<String>)
:The unique name of the calculated attribute.
display_name(Option<String>)
:The display name of the calculated attribute.
description(Option<String>)
:The description of the calculated attribute.
created_at(Option<DateTime>)
:The timestamp of when the calculated attribute definition was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the calculated attribute definition was most recently edited.
statistic(Option<Statistic>)
:The aggregation operation to perform for the calculated attribute.
filter(Option<Filter>)
:The filter assigned to this calculated attribute definition.
conditions(Option<Conditions>)
:The conditions including range, object count, and threshold for the calculated attribute.
attribute_details(Option<AttributeDetails>)
:Mathematical expression and a list of attribute items specified in that expression.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<GetCalculatedAttributeDefinitionError>
Source§impl Client
impl Client
Sourcepub fn get_calculated_attribute_for_profile(
&self,
) -> GetCalculatedAttributeForProfileFluentBuilder
pub fn get_calculated_attribute_for_profile( &self, ) -> GetCalculatedAttributeForProfileFluentBuilder
Constructs a fluent builder for the GetCalculatedAttributeForProfile
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
calculated_attribute_name(impl Into<String>)
/set_calculated_attribute_name(Option<String>)
:
required: trueThe unique name of the calculated attribute.
- On success, responds with
GetCalculatedAttributeForProfileOutput
with field(s):calculated_attribute_name(Option<String>)
:The unique name of the calculated attribute.
display_name(Option<String>)
:The display name of the calculated attribute.
is_data_partial(Option<String>)
:Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.
value(Option<String>)
:The value of the calculated attribute.
- On failure, responds with
SdkError<GetCalculatedAttributeForProfileError>
Source§impl Client
impl Client
Sourcepub fn get_domain(&self) -> GetDomainFluentBuilder
pub fn get_domain(&self) -> GetDomainFluentBuilder
Constructs a fluent builder for the GetDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
GetDomainOutput
with field(s):domain_name(String)
:The unique name of the domain.
default_expiration_days(Option<i32>)
:The default number of days until the data within the domain expires.
default_encryption_key(Option<String>)
: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.
dead_letter_queue_url(Option<String>)
:The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
stats(Option<DomainStats>)
:Usage-specific statistics about the domain.
matching(Option<MatchingResponse>)
: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 API to return and review the results. Or, if you have configured
ExportingConfig
in theMatchingRequest
, you can download the results from S3.rule_based_matching(Option<RuleBasedMatchingResponse>)
: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 theRuleBasedMatchingRequest
. You can use theListRuleBasedMatches
andGetSimilarProfiles
API to return and review the results. Also, if you have configuredExportingConfig
in theRuleBasedMatchingRequest
, you can download the results from S3.created_at(DateTime)
:The timestamp of when the domain was created.
last_updated_at(DateTime)
:The timestamp of when the domain was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<GetDomainError>
Source§impl Client
impl Client
Sourcepub fn get_event_stream(&self) -> GetEventStreamFluentBuilder
pub fn get_event_stream(&self) -> GetEventStreamFluentBuilder
Constructs a fluent builder for the GetEventStream
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
event_stream_name(impl Into<String>)
/set_event_stream_name(Option<String>)
:
required: trueThe name of the event stream provided during create operations.
- On success, responds with
GetEventStreamOutput
with field(s):domain_name(String)
:The unique name of the domain.
event_stream_arn(String)
:A unique identifier for the event stream.
created_at(DateTime)
:The timestamp of when the export was created.
state(EventStreamState)
:The operational state of destination stream for export.
stopped_since(Option<DateTime>)
:The timestamp when the
State
changed toSTOPPED
.destination_details(Option<EventStreamDestinationDetails>)
:Details regarding the Kinesis stream.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<GetEventStreamError>
Source§impl Client
impl Client
Sourcepub fn get_event_trigger(&self) -> GetEventTriggerFluentBuilder
pub fn get_event_trigger(&self) -> GetEventTriggerFluentBuilder
Constructs a fluent builder for the GetEventTrigger
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
event_trigger_name(impl Into<String>)
/set_event_trigger_name(Option<String>)
:
required: trueThe unique name of the event trigger.
- On success, responds with
GetEventTriggerOutput
with field(s):event_trigger_name(Option<String>)
:The unique name of the event trigger.
object_type_name(Option<String>)
:The unique name of the object type.
description(Option<String>)
:The description of the event trigger.
event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)
:A list of conditions that determine when an event should trigger the destination.
segment_filter(Option<String>)
:The destination is triggered only for profiles that meet the criteria of a segment definition.
event_trigger_limits(Option<EventTriggerLimits>)
:Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
created_at(Option<DateTime>)
:The timestamp of when the event trigger was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the event trigger was most recently updated.
tags(Option<HashMap::<String, String>>)
:An array of key-value pairs to apply to this resource.
- On failure, responds with
SdkError<GetEventTriggerError>
Source§impl Client
impl Client
Sourcepub fn get_identity_resolution_job(
&self,
) -> GetIdentityResolutionJobFluentBuilder
pub fn get_identity_resolution_job( &self, ) -> GetIdentityResolutionJobFluentBuilder
Constructs a fluent builder for the GetIdentityResolutionJob
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueThe unique identifier of the Identity Resolution Job.
- On success, responds with
GetIdentityResolutionJobOutput
with field(s):domain_name(Option<String>)
:The unique name of the domain.
job_id(Option<String>)
:The unique identifier of the Identity Resolution Job.
status(Option<IdentityResolutionJobStatus>)
: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 thePENDING
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.
-
message(Option<String>)
:The error messages that are generated when the Identity Resolution Job runs.
job_start_time(Option<DateTime>)
:The timestamp of when the Identity Resolution Job was started or will be started.
job_end_time(Option<DateTime>)
:The timestamp of when the Identity Resolution Job was completed.
last_updated_at(Option<DateTime>)
:The timestamp of when the Identity Resolution Job was most recently edited.
job_expiration_time(Option<DateTime>)
:The timestamp of when the Identity Resolution Job will expire.
auto_merging(Option<AutoMerging>)
:Configuration settings for how to perform the auto-merging of profiles.
exporting_location(Option<ExportingLocation>)
:The S3 location where the Identity Resolution Job writes result files.
job_stats(Option<JobStats>)
:Statistics about the Identity Resolution Job.
- On failure, responds with
SdkError<GetIdentityResolutionJobError>
Source§impl Client
impl Client
Sourcepub fn get_integration(&self) -> GetIntegrationFluentBuilder
pub fn get_integration(&self) -> GetIntegrationFluentBuilder
Constructs a fluent builder for the GetIntegration
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
uri(impl Into<String>)
/set_uri(Option<String>)
:
required: trueThe URI of the S3 bucket or any other type of data source.
- On success, responds with
GetIntegrationOutput
with field(s):domain_name(String)
:The unique name of the domain.
uri(String)
:The URI of the S3 bucket or any other type of data source.
object_type_name(Option<String>)
:The name of the profile object type.
created_at(DateTime)
:The timestamp of when the domain was created.
last_updated_at(DateTime)
:The timestamp of when the domain was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
object_type_names(Option<HashMap::<String, String>>)
: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
, andShopifyUpdatedOrders
.workflow_id(Option<String>)
:Unique identifier for the workflow.
is_unstructured(Option<bool>)
:Boolean that shows if the Flow that’s associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.
role_arn(Option<String>)
:The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.
event_trigger_names(Option<Vec::<String>>)
: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.
- On failure, responds with
SdkError<GetIntegrationError>
Source§impl Client
impl Client
Sourcepub fn get_matches(&self) -> GetMatchesFluentBuilder
pub fn get_matches(&self) -> GetMatchesFluentBuilder
Constructs a fluent builder for the GetMatches
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe 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.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
GetMatchesOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
match_generation_date(Option<DateTime>)
:The timestamp this version of Match Result generated.
potential_matches(Option<i32>)
:The number of potential matches found.
matches(Option<Vec::<MatchItem>>)
:The list of matched profiles for this instance.
- On failure, responds with
SdkError<GetMatchesError>
Source§impl Client
impl Client
Sourcepub fn get_profile_object_type(&self) -> GetProfileObjectTypeFluentBuilder
pub fn get_profile_object_type(&self) -> GetProfileObjectTypeFluentBuilder
Constructs a fluent builder for the GetProfileObjectType
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
- On success, responds with
GetProfileObjectTypeOutput
with field(s):object_type_name(String)
:The name of the profile object type.
description(String)
:The description of the profile object type.
template_id(Option<String>)
:A unique identifier for the object template.
expiration_days(Option<i32>)
:The number of days until the data in the object expires.
encryption_key(Option<String>)
:The customer-provided key to encrypt the profile object that will be created in this profile object type.
allow_profile_creation(bool)
: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 toFALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set toTRUE
, and if no match is found, then the service creates a new standard profile.source_last_updated_timestamp_format(Option<String>)
:The format of your
sourceLastUpdatedTimestamp
that was previously set up.max_available_profile_object_count(Option<i32>)
:The amount of provisioned profile object max count available.
max_profile_object_count(Option<i32>)
:The amount of profile object max count assigned to the object type.
fields(Option<HashMap::<String, ObjectTypeField>>)
:A map of the name and ObjectType field.
keys(Option<HashMap::<String, Vec::<ObjectTypeKey>>>)
:A list of unique keys that can be used to map data to the profile.
created_at(Option<DateTime>)
:The timestamp of when the domain was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the domain was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<GetProfileObjectTypeError>
Source§impl Client
impl Client
Sourcepub fn get_profile_object_type_template(
&self,
) -> GetProfileObjectTypeTemplateFluentBuilder
pub fn get_profile_object_type_template( &self, ) -> GetProfileObjectTypeTemplateFluentBuilder
Constructs a fluent builder for the GetProfileObjectTypeTemplate
operation.
- The fluent builder is configurable:
template_id(impl Into<String>)
/set_template_id(Option<String>)
:
required: trueA unique identifier for the object template.
- On success, responds with
GetProfileObjectTypeTemplateOutput
with field(s):template_id(Option<String>)
:A unique identifier for the object template.
source_name(Option<String>)
:The name of the source of the object template.
source_object(Option<String>)
:The source of the object template.
allow_profile_creation(bool)
: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 toFALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set toTRUE
, and if no match is found, then the service creates a new standard profile.source_last_updated_timestamp_format(Option<String>)
:The format of your
sourceLastUpdatedTimestamp
that was previously set up.fields(Option<HashMap::<String, ObjectTypeField>>)
:A map of the name and ObjectType field.
keys(Option<HashMap::<String, Vec::<ObjectTypeKey>>>)
:A list of unique keys that can be used to map data to the profile.
- On failure, responds with
SdkError<GetProfileObjectTypeTemplateError>
Source§impl Client
impl Client
Sourcepub fn get_segment_definition(&self) -> GetSegmentDefinitionFluentBuilder
pub fn get_segment_definition(&self) -> GetSegmentDefinitionFluentBuilder
Constructs a fluent builder for the GetSegmentDefinition
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
segment_definition_name(impl Into<String>)
/set_segment_definition_name(Option<String>)
:
required: trueThe unique name of the segment definition.
- On success, responds with
GetSegmentDefinitionOutput
with field(s):segment_definition_name(Option<String>)
:The name of the segment definition.
display_name(Option<String>)
:The display name of the segment definition.
description(Option<String>)
:The description of the segment definition.
segment_groups(Option<SegmentGroup>)
:The segment criteria associated with this definition.
segment_definition_arn(String)
:The arn of the segment definition.
created_at(Option<DateTime>)
:The timestamp of when the segment definition was created.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<GetSegmentDefinitionError>
Source§impl Client
impl Client
Sourcepub fn get_segment_estimate(&self) -> GetSegmentEstimateFluentBuilder
pub fn get_segment_estimate(&self) -> GetSegmentEstimateFluentBuilder
Constructs a fluent builder for the GetSegmentEstimate
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
estimate_id(impl Into<String>)
/set_estimate_id(Option<String>)
:
required: trueThe query Id passed by a previous
CreateSegmentEstimate
operation.
- On success, responds with
GetSegmentEstimateOutput
with field(s):domain_name(Option<String>)
:The unique name of the domain.
estimate_id(Option<String>)
:The
QueryId
which is the same as the value passed inQueryId
.status(Option<EstimateStatus>)
:The current status of the query.
estimate(Option<String>)
:The estimated number of profiles contained in the segment.
message(Option<String>)
:The error message if there is any error.
status_code(i32)
:The status code of the segment estimate.
- On failure, responds with
SdkError<GetSegmentEstimateError>
Source§impl Client
impl Client
Sourcepub fn get_segment_membership(&self) -> GetSegmentMembershipFluentBuilder
pub fn get_segment_membership(&self) -> GetSegmentMembershipFluentBuilder
Constructs a fluent builder for the GetSegmentMembership
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
segment_definition_name(impl Into<String>)
/set_segment_definition_name(Option<String>)
:
required: trueThe Id of the wanted segment. Needs to be a valid, and existing segment Id.
profile_ids(impl Into<String>)
/set_profile_ids(Option<Vec::<String>>)
:
required: trueThe list of profile IDs to query for.
- On success, responds with
GetSegmentMembershipOutput
with field(s):segment_definition_name(Option<String>)
:The unique name of the segment definition.
profiles(Option<Vec::<ProfileQueryResult>>)
:An array of maps where each contains a response per profile requested.
failures(Option<Vec::<ProfileQueryFailures>>)
:An array of maps where each contains a response per profile failed for the request.
- On failure, responds with
SdkError<GetSegmentMembershipError>
Source§impl Client
impl Client
Sourcepub fn get_segment_snapshot(&self) -> GetSegmentSnapshotFluentBuilder
pub fn get_segment_snapshot(&self) -> GetSegmentSnapshotFluentBuilder
Constructs a fluent builder for the GetSegmentSnapshot
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique identifier of the domain.
segment_definition_name(impl Into<String>)
/set_segment_definition_name(Option<String>)
:
required: trueThe unique name of the segment definition.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe unique identifier of the segment snapshot.
- On success, responds with
GetSegmentSnapshotOutput
with field(s):snapshot_id(String)
:The unique identifier of the segment snapshot.
status(SegmentSnapshotStatus)
:The status of the asynchronous job for exporting the segment snapshot.
status_message(Option<String>)
:The status message of the asynchronous job for exporting the segment snapshot.
data_format(DataFormat)
:The format in which the segment will be exported.
encryption_key(Option<String>)
:The Amazon Resource Name (ARN) of the KMS key used to encrypt the exported segment.
role_arn(Option<String>)
: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.
destination_uri(Option<String>)
: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.
- On failure, responds with
SdkError<GetSegmentSnapshotError>
Source§impl Client
impl Client
Sourcepub fn get_similar_profiles(&self) -> GetSimilarProfilesFluentBuilder
pub fn get_similar_profiles(&self) -> GetSimilarProfilesFluentBuilder
Constructs a fluent builder for the GetSimilarProfiles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous
GetSimilarProfiles
API call.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
match_type(MatchType)
/set_match_type(Option<MatchType>)
:
required: trueSpecify the type of matching to get similar profiles for.
search_key(impl Into<String>)
/set_search_key(Option<String>)
:
required: trueThe string indicating the search key to be used.
search_value(impl Into<String>)
/set_search_value(Option<String>)
:
required: trueThe string based on
SearchKey
to be searched for similar profiles.
- On success, responds with
GetSimilarProfilesOutput
with field(s):profile_ids(Option<Vec::<String>>)
:Set of
profileId
s that belong to the same matching group.match_id(Option<String>)
:The string
matchId
that the similar profiles belong to.match_type(Option<MatchType>)
:Specify the type of matching to get similar profiles for.
rule_level(Option<i32>)
:The integer rule level that the profiles matched on.
confidence_score(Option<f64>)
:It only has value when the
MatchType
isML_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.next_token(Option<String>)
:The pagination token from the previous
GetSimilarProfiles
API call.
- On failure, responds with
SdkError<GetSimilarProfilesError>
Source§impl Client
impl Client
Sourcepub fn get_workflow(&self) -> GetWorkflowFluentBuilder
pub fn get_workflow(&self) -> GetWorkflowFluentBuilder
Constructs a fluent builder for the GetWorkflow
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueUnique identifier for the workflow.
- On success, responds with
GetWorkflowOutput
with field(s):workflow_id(Option<String>)
:Unique identifier for the workflow.
workflow_type(Option<WorkflowType>)
:The type of workflow. The only supported value is APPFLOW_INTEGRATION.
status(Option<Status>)
:Status of workflow execution.
error_description(Option<String>)
:Workflow error messages during execution (if any).
start_date(Option<DateTime>)
:The timestamp that represents when workflow execution started.
last_updated_at(Option<DateTime>)
:The timestamp that represents when workflow execution last updated.
attributes(Option<WorkflowAttributes>)
:Attributes provided for workflow execution.
metrics(Option<WorkflowMetrics>)
:Workflow specific execution metrics.
- On failure, responds with
SdkError<GetWorkflowError>
Source§impl Client
impl Client
Sourcepub fn get_workflow_steps(&self) -> GetWorkflowStepsFluentBuilder
pub fn get_workflow_steps(&self) -> GetWorkflowStepsFluentBuilder
Constructs a fluent builder for the GetWorkflowSteps
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueUnique identifier for the workflow.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe 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.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
- On success, responds with
GetWorkflowStepsOutput
with field(s):workflow_id(Option<String>)
:Unique identifier for the workflow.
workflow_type(Option<WorkflowType>)
:The type of workflow. The only supported value is APPFLOW_INTEGRATION.
items(Option<Vec::<WorkflowStepItem>>)
:List containing workflow step details.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<GetWorkflowStepsError>
Source§impl Client
impl Client
Sourcepub fn list_account_integrations(&self) -> ListAccountIntegrationsFluentBuilder
pub fn list_account_integrations(&self) -> ListAccountIntegrationsFluentBuilder
Constructs a fluent builder for the ListAccountIntegrations
operation.
- The fluent builder is configurable:
uri(impl Into<String>)
/set_uri(Option<String>)
:
required: trueThe URI of the S3 bucket or any other type of data source.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous ListAccountIntegrations API call.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
include_hidden(bool)
/set_include_hidden(Option<bool>)
:
required: falseBoolean to indicate if hidden integration should be returned. Defaults to
False
.
- On success, responds with
ListAccountIntegrationsOutput
with field(s):items(Option<Vec::<ListIntegrationItem>>)
:The list of ListAccountIntegration instances.
next_token(Option<String>)
:The pagination token from the previous ListAccountIntegrations API call.
- On failure, responds with
SdkError<ListAccountIntegrationsError>
Source§impl Client
impl Client
Sourcepub fn list_calculated_attribute_definitions(
&self,
) -> ListCalculatedAttributeDefinitionsFluentBuilder
pub fn list_calculated_attribute_definitions( &self, ) -> ListCalculatedAttributeDefinitionsFluentBuilder
Constructs a fluent builder for the ListCalculatedAttributeDefinitions
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous call to ListCalculatedAttributeDefinitions.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of calculated attribute definitions returned per page.
- On success, responds with
ListCalculatedAttributeDefinitionsOutput
with field(s):items(Option<Vec::<ListCalculatedAttributeDefinitionItem>>)
:The list of calculated attribute definitions.
next_token(Option<String>)
:The pagination token from the previous call to ListCalculatedAttributeDefinitions.
- On failure, responds with
SdkError<ListCalculatedAttributeDefinitionsError>
Source§impl Client
impl Client
Sourcepub fn list_calculated_attributes_for_profile(
&self,
) -> ListCalculatedAttributesForProfileFluentBuilder
pub fn list_calculated_attributes_for_profile( &self, ) -> ListCalculatedAttributesForProfileFluentBuilder
Constructs a fluent builder for the ListCalculatedAttributesForProfile
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous call to ListCalculatedAttributesForProfile.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of calculated attributes returned per page.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
- On success, responds with
ListCalculatedAttributesForProfileOutput
with field(s):items(Option<Vec::<ListCalculatedAttributeForProfileItem>>)
:The list of calculated attributes.
next_token(Option<String>)
:The pagination token from the previous call to ListCalculatedAttributesForProfile.
- On failure, responds with
SdkError<ListCalculatedAttributesForProfileError>
Source§impl Client
impl Client
Sourcepub fn list_domains(&self) -> ListDomainsFluentBuilder
pub fn list_domains(&self) -> ListDomainsFluentBuilder
Constructs a fluent builder for the ListDomains
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous ListDomain API call.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
- On success, responds with
ListDomainsOutput
with field(s):items(Option<Vec::<ListDomainItem>>)
:The list of ListDomains instances.
next_token(Option<String>)
:The pagination token from the previous ListDomains API call.
- On failure, responds with
SdkError<ListDomainsError>
Source§impl Client
impl Client
Sourcepub fn list_event_streams(&self) -> ListEventStreamsFluentBuilder
pub fn list_event_streams(&self) -> ListEventStreamsFluentBuilder
Constructs a fluent builder for the ListEventStreams
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIdentifies the next page of results to return.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
- On success, responds with
ListEventStreamsOutput
with field(s):items(Option<Vec::<EventStreamSummary>>)
:Contains summary information about an EventStream.
next_token(Option<String>)
:Identifies the next page of results to return.
- On failure, responds with
SdkError<ListEventStreamsError>
Source§impl Client
impl Client
Sourcepub fn list_event_triggers(&self) -> ListEventTriggersFluentBuilder
pub fn list_event_triggers(&self) -> ListEventTriggersFluentBuilder
Constructs a fluent builder for the ListEventTriggers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token to use with ListEventTriggers.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
- On success, responds with
ListEventTriggersOutput
with field(s):items(Option<Vec::<EventTriggerSummaryItem>>)
:The list of Event Triggers.
next_token(Option<String>)
:The pagination token from the previous call to ListEventTriggers.
- On failure, responds with
SdkError<ListEventTriggersError>
Source§impl Client
impl Client
Sourcepub fn list_identity_resolution_jobs(
&self,
) -> ListIdentityResolutionJobsFluentBuilder
pub fn list_identity_resolution_jobs( &self, ) -> ListIdentityResolutionJobsFluentBuilder
Constructs a fluent builder for the ListIdentityResolutionJobs
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe 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.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
- On success, responds with
ListIdentityResolutionJobsOutput
with field(s):identity_resolution_jobs_list(Option<Vec::<IdentityResolutionJob>>)
:A list of Identity Resolution Jobs.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListIdentityResolutionJobsError>
Source§impl Client
impl Client
Sourcepub fn list_integrations(&self) -> ListIntegrationsFluentBuilder
pub fn list_integrations(&self) -> ListIntegrationsFluentBuilder
Constructs a fluent builder for the ListIntegrations
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous ListIntegrations API call.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
include_hidden(bool)
/set_include_hidden(Option<bool>)
:
required: falseBoolean to indicate if hidden integration should be returned. Defaults to
False
.
- On success, responds with
ListIntegrationsOutput
with field(s):items(Option<Vec::<ListIntegrationItem>>)
:The list of ListIntegrations instances.
next_token(Option<String>)
:The pagination token from the previous ListIntegrations API call.
- On failure, responds with
SdkError<ListIntegrationsError>
Source§impl Client
impl Client
Sourcepub fn list_object_type_attributes(
&self,
) -> ListObjectTypeAttributesFluentBuilder
pub fn list_object_type_attributes( &self, ) -> ListObjectTypeAttributesFluentBuilder
Constructs a fluent builder for the ListObjectTypeAttributes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous call.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique identifier of the domain.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
- On success, responds with
ListObjectTypeAttributesOutput
with field(s):items(Option<Vec::<ListObjectTypeAttributeItem>>)
:The items returned as part of the response.
next_token(Option<String>)
:The pagination token from the previous call.
- On failure, responds with
SdkError<ListObjectTypeAttributesError>
Source§impl Client
impl Client
Sourcepub fn list_profile_attribute_values(
&self,
) -> ListProfileAttributeValuesFluentBuilder
pub fn list_profile_attribute_values( &self, ) -> ListProfileAttributeValuesFluentBuilder
Constructs a fluent builder for the ListProfileAttributeValues
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique identifier of the domain.
attribute_name(impl Into<String>)
/set_attribute_name(Option<String>)
:
required: trueThe attribute name.
- On success, responds with
ListProfileAttributeValuesOutput
with field(s):domain_name(Option<String>)
:The name of the domain.
attribute_name(Option<String>)
:The attribute name.
items(Option<Vec::<AttributeValueItem>>)
:The items returned as part of the response.
status_code(i32)
:The status code for the response.
- On failure, responds with
SdkError<ListProfileAttributeValuesError>
Source§impl Client
impl Client
Sourcepub fn list_profile_object_type_templates(
&self,
) -> ListProfileObjectTypeTemplatesFluentBuilder
pub fn list_profile_object_type_templates( &self, ) -> ListProfileObjectTypeTemplatesFluentBuilder
Constructs a fluent builder for the ListProfileObjectTypeTemplates
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous ListObjectTypeTemplates API call.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
- On success, responds with
ListProfileObjectTypeTemplatesOutput
with field(s):items(Option<Vec::<ListProfileObjectTypeTemplateItem>>)
:The list of ListProfileObjectType template instances.
next_token(Option<String>)
:The pagination token from the previous ListObjectTypeTemplates API call.
- On failure, responds with
SdkError<ListProfileObjectTypeTemplatesError>
Source§impl Client
impl Client
Sourcepub fn list_profile_object_types(&self) -> ListProfileObjectTypesFluentBuilder
pub fn list_profile_object_types(&self) -> ListProfileObjectTypesFluentBuilder
Constructs a fluent builder for the ListProfileObjectTypes
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIdentifies the next page of results to return.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
- On success, responds with
ListProfileObjectTypesOutput
with field(s):items(Option<Vec::<ListProfileObjectTypeItem>>)
:The list of ListProfileObjectTypes instances.
next_token(Option<String>)
:Identifies the next page of results to return.
- On failure, responds with
SdkError<ListProfileObjectTypesError>
Source§impl Client
impl Client
Sourcepub fn list_profile_objects(&self) -> ListProfileObjectsFluentBuilder
pub fn list_profile_objects(&self) -> ListProfileObjectsFluentBuilder
Constructs a fluent builder for the ListProfileObjects
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous call to ListProfileObjects.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
object_filter(ObjectFilter)
/set_object_filter(Option<ObjectFilter>)
:
required: falseApplies a filter to the response to include profile objects with the specified index values.
- On success, responds with
ListProfileObjectsOutput
with field(s):items(Option<Vec::<ListProfileObjectsItem>>)
:The list of ListProfileObject instances.
next_token(Option<String>)
:The pagination token from the previous call to ListProfileObjects.
- On failure, responds with
SdkError<ListProfileObjectsError>
Source§impl Client
impl Client
Sourcepub fn list_rule_based_matches(&self) -> ListRuleBasedMatchesFluentBuilder
pub fn list_rule_based_matches(&self) -> ListRuleBasedMatchesFluentBuilder
Constructs a fluent builder for the ListRuleBasedMatches
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous
ListRuleBasedMatches
API call.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of
MatchIds
returned per page.domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
ListRuleBasedMatchesOutput
with field(s):match_ids(Option<Vec::<String>>)
:The list of
MatchIds
for the given domain.next_token(Option<String>)
:The pagination token from the previous
ListRuleBasedMatches
API call.
- On failure, responds with
SdkError<ListRuleBasedMatchesError>
Source§impl Client
impl Client
Sourcepub fn list_segment_definitions(&self) -> ListSegmentDefinitionsFluentBuilder
pub fn list_segment_definitions(&self) -> ListSegmentDefinitionsFluentBuilder
Constructs a fluent builder for the ListSegmentDefinitions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique identifier of the domain.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous call.
- On success, responds with
ListSegmentDefinitionsOutput
with field(s):next_token(Option<String>)
:The pagination token from the previous call.
items(Option<Vec::<SegmentDefinitionItem>>)
:List of segment definitions.
- On failure, responds with
SdkError<ListSegmentDefinitionsError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource for which you want to view tags.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
Source§impl Client
impl Client
Sourcepub fn list_workflows(&self) -> ListWorkflowsFluentBuilder
pub fn list_workflows(&self) -> ListWorkflowsFluentBuilder
Constructs a fluent builder for the ListWorkflows
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
workflow_type(WorkflowType)
/set_workflow_type(Option<WorkflowType>)
:
required: falseThe type of workflow. The only supported value is APPFLOW_INTEGRATION.
status(Status)
/set_status(Option<Status>)
:
required: falseStatus of workflow execution.
query_start_date(DateTime)
/set_query_start_date(Option<DateTime>)
:
required: falseRetrieve workflows started after timestamp.
query_end_date(DateTime)
/set_query_end_date(Option<DateTime>)
:
required: falseRetrieve workflows ended after timestamp.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe 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.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
- On success, responds with
ListWorkflowsOutput
with field(s):items(Option<Vec::<ListWorkflowsItem>>)
:List containing workflow details.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListWorkflowsError>
Source§impl Client
impl Client
Sourcepub fn merge_profiles(&self) -> MergeProfilesFluentBuilder
pub fn merge_profiles(&self) -> MergeProfilesFluentBuilder
Constructs a fluent builder for the MergeProfiles
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
main_profile_id(impl Into<String>)
/set_main_profile_id(Option<String>)
:
required: trueThe identifier of the profile to be taken.
profile_ids_to_be_merged(impl Into<String>)
/set_profile_ids_to_be_merged(Option<Vec::<String>>)
:
required: trueThe identifier of the profile to be merged into MainProfileId.
field_source_profile_ids(FieldSourceProfileIds)
/set_field_source_profile_ids(Option<FieldSourceProfileIds>)
:
required: falseThe 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.
- On success, responds with
MergeProfilesOutput
with field(s):message(Option<String>)
:A message that indicates the merge request is complete.
- On failure, responds with
SdkError<MergeProfilesError>
Source§impl Client
impl Client
Sourcepub fn put_integration(&self) -> PutIntegrationFluentBuilder
pub fn put_integration(&self) -> PutIntegrationFluentBuilder
Constructs a fluent builder for the PutIntegration
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
uri(impl Into<String>)
/set_uri(Option<String>)
:
required: falseThe URI of the S3 bucket or any other type of data source.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: falseThe name of the profile object type.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
flow_definition(FlowDefinition)
/set_flow_definition(Option<FlowDefinition>)
:
required: falseThe configuration that controls how Customer Profiles retrieves data from the source.
object_type_names(impl Into<String>, impl Into<String>)
/set_object_type_names(Option<HashMap::<String, String>>)
:
required: falseA 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
, andShopifyUpdatedOrders
.role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.
event_trigger_names(impl Into<String>)
/set_event_trigger_names(Option<Vec::<String>>)
:
required: falseA list of unique names for active event triggers associated with the integration.
- On success, responds with
PutIntegrationOutput
with field(s):domain_name(String)
:The unique name of the domain.
uri(String)
:The URI of the S3 bucket or any other type of data source.
object_type_name(Option<String>)
:The name of the profile object type.
created_at(DateTime)
:The timestamp of when the domain was created.
last_updated_at(DateTime)
:The timestamp of when the domain was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
object_type_names(Option<HashMap::<String, String>>)
: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
, andShopifyUpdatedOrders
.workflow_id(Option<String>)
:Unique identifier for the workflow.
is_unstructured(Option<bool>)
:Boolean that shows if the Flow that’s associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.
role_arn(Option<String>)
:The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.
event_trigger_names(Option<Vec::<String>>)
: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.
- On failure, responds with
SdkError<PutIntegrationError>
Source§impl Client
impl Client
Sourcepub fn put_profile_object(&self) -> PutProfileObjectFluentBuilder
pub fn put_profile_object(&self) -> PutProfileObjectFluentBuilder
Constructs a fluent builder for the PutProfileObject
operation.
- The fluent builder is configurable:
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
object(impl Into<String>)
/set_object(Option<String>)
:
required: trueA string that is serialized from a JSON object.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
- On success, responds with
PutProfileObjectOutput
with field(s):profile_object_unique_key(Option<String>)
:The unique identifier of the profile object generated by the service.
- On failure, responds with
SdkError<PutProfileObjectError>
Source§impl Client
impl Client
Sourcepub fn put_profile_object_type(&self) -> PutProfileObjectTypeFluentBuilder
pub fn put_profile_object_type(&self) -> PutProfileObjectTypeFluentBuilder
Constructs a fluent builder for the PutProfileObjectType
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: trueThe name of the profile object type.
description(impl Into<String>)
/set_description(Option<String>)
:
required: trueDescription of the profile object type.
template_id(impl Into<String>)
/set_template_id(Option<String>)
:
required: falseA 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 aBadRequestException
.expiration_days(i32)
/set_expiration_days(Option<i32>)
:
required: falseThe number of days until the data in the object expires.
encryption_key(impl Into<String>)
/set_encryption_key(Option<String>)
:
required: falseThe customer-provided key to encrypt the profile object that will be created in this profile object type.
allow_profile_creation(bool)
/set_allow_profile_creation(Option<bool>)
:
required: falseIndicates 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 toFALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set toTRUE
, and if no match is found, then the service creates a new standard profile.source_last_updated_timestamp_format(impl Into<String>)
/set_source_last_updated_timestamp_format(Option<String>)
:
required: falseThe format of your
sourceLastUpdatedTimestamp
that was previously set up.max_profile_object_count(i32)
/set_max_profile_object_count(Option<i32>)
:
required: falseThe amount of profile object max count assigned to the object type
fields(impl Into<String>, ObjectTypeField)
/set_fields(Option<HashMap::<String, ObjectTypeField>>)
:
required: falseA map of the name and ObjectType field.
keys(impl Into<String>, Vec::<ObjectTypeKey>)
/set_keys(Option<HashMap::<String, Vec::<ObjectTypeKey>>>)
:
required: falseA list of unique keys that can be used to map data to the profile.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
- On success, responds with
PutProfileObjectTypeOutput
with field(s):object_type_name(String)
:The name of the profile object type.
description(String)
:Description of the profile object type.
template_id(Option<String>)
:A unique identifier for the object template.
expiration_days(Option<i32>)
:The number of days until the data in the object expires.
encryption_key(Option<String>)
:The customer-provided key to encrypt the profile object that will be created in this profile object type.
allow_profile_creation(bool)
: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 toFALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set toTRUE
, and if no match is found, then the service creates a new standard profile.source_last_updated_timestamp_format(Option<String>)
:The format of your
sourceLastUpdatedTimestamp
that was previously set up in fields that were parsed using SimpleDateFormat. If you havesourceLastUpdatedTimestamp
in your field, you must set upsourceLastUpdatedTimestampFormat
.max_profile_object_count(Option<i32>)
:The amount of profile object max count assigned to the object type.
max_available_profile_object_count(Option<i32>)
:The amount of provisioned profile object max count available.
fields(Option<HashMap::<String, ObjectTypeField>>)
:A map of the name and ObjectType field.
keys(Option<HashMap::<String, Vec::<ObjectTypeKey>>>)
:A list of unique keys that can be used to map data to the profile.
created_at(Option<DateTime>)
:The timestamp of when the domain was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the domain was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<PutProfileObjectTypeError>
Source§impl Client
impl Client
Sourcepub fn search_profiles(&self) -> SearchProfilesFluentBuilder
pub fn search_profiles(&self) -> SearchProfilesFluentBuilder
Constructs a fluent builder for the SearchProfiles
operation.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token from the previous SearchProfiles API call.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of objects returned per page.
The default is 20 if this parameter is not included in the request.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
key_name(impl Into<String>)
/set_key_name(Option<String>)
:
required: trueA searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
values(impl Into<String>)
/set_values(Option<Vec::<String>>)
:
required: trueA list of key values.
additional_search_keys(AdditionalSearchKey)
/set_additional_search_keys(Option<Vec::<AdditionalSearchKey>>)
:
required: falseA list of
AdditionalSearchKey
objects that are each searchable identifiers of a profile. EachAdditionalSearchKey
object contains aKeyName
and a list ofValues
associated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with theLogicalOperator
and the requiredKeyName
andValues
parameters to search for profiles that satisfy the search criteria.logical_operator(LogicalOperator)
/set_logical_operator(Option<LogicalOperator>)
:
required: falseRelationship between all specified search keys that will be used to search for profiles. This includes the required
KeyName
andValues
parameters as well as any key-value(s) pairs specified in theAdditionalSearchKeys
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.-
- On success, responds with
SearchProfilesOutput
with field(s):items(Option<Vec::<Profile>>)
:The list of Profiles matching the search criteria.
next_token(Option<String>)
:The pagination token from the previous SearchProfiles API call.
- On failure, responds with
SdkError<SearchProfilesError>
Source§impl Client
impl Client
Sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource that you’re adding tags to.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: trueThe tags used to organize, track, or control access for this resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Source§impl Client
impl Client
Sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource from which you are removing tags.
tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueThe list of tag keys to remove from the resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Source§impl Client
impl Client
Sourcepub fn update_calculated_attribute_definition(
&self,
) -> UpdateCalculatedAttributeDefinitionFluentBuilder
pub fn update_calculated_attribute_definition( &self, ) -> UpdateCalculatedAttributeDefinitionFluentBuilder
Constructs a fluent builder for the UpdateCalculatedAttributeDefinition
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
calculated_attribute_name(impl Into<String>)
/set_calculated_attribute_name(Option<String>)
:
required: trueThe unique name of the calculated attribute.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:
required: falseThe display name of the calculated attribute.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the calculated attribute.
conditions(Conditions)
/set_conditions(Option<Conditions>)
:
required: falseThe conditions including range, object count, and threshold for the calculated attribute.
- On success, responds with
UpdateCalculatedAttributeDefinitionOutput
with field(s):calculated_attribute_name(Option<String>)
:The unique name of the calculated attribute.
display_name(Option<String>)
:The display name of the calculated attribute.
description(Option<String>)
:The description of the calculated attribute.
created_at(Option<DateTime>)
:The timestamp of when the calculated attribute definition was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the calculated attribute definition was most recently edited.
statistic(Option<Statistic>)
:The aggregation operation to perform for the calculated attribute.
conditions(Option<Conditions>)
:The conditions including range, object count, and threshold for the calculated attribute.
attribute_details(Option<AttributeDetails>)
:The mathematical expression and a list of attribute items specified in that expression.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<UpdateCalculatedAttributeDefinitionError>
Source§impl Client
impl Client
Sourcepub fn update_domain(&self) -> UpdateDomainFluentBuilder
pub fn update_domain(&self) -> UpdateDomainFluentBuilder
Constructs a fluent builder for the UpdateDomain
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
default_expiration_days(i32)
/set_default_expiration_days(Option<i32>)
:
required: falseThe default number of days until the data within the domain expires.
default_encryption_key(impl Into<String>)
/set_default_encryption_key(Option<String>)
:
required: falseThe 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.
dead_letter_queue_url(impl Into<String>)
/set_dead_letter_queue_url(Option<String>)
:
required: falseThe 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.
matching(MatchingRequest)
/set_matching(Option<MatchingRequest>)
:
required: falseThe 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 API to return and review the results. Or, if you have configured
ExportingConfig
in theMatchingRequest
, you can download the results from S3.rule_based_matching(RuleBasedMatchingRequest)
/set_rule_based_matching(Option<RuleBasedMatchingRequest>)
:
required: falseThe 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 theRuleBasedMatchingRequest
. You can use theListRuleBasedMatches
andGetSimilarProfiles
API to return and review the results. Also, if you have configuredExportingConfig
in theRuleBasedMatchingRequest
, you can download the results from S3.tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags used to organize, track, or control access for this resource.
- On success, responds with
UpdateDomainOutput
with field(s):domain_name(String)
:The unique name of the domain.
default_expiration_days(Option<i32>)
:The default number of days until the data within the domain expires.
default_encryption_key(Option<String>)
: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.
dead_letter_queue_url(Option<String>)
:The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.
matching(Option<MatchingResponse>)
: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 API to return and review the results. Or, if you have configured
ExportingConfig
in theMatchingRequest
, you can download the results from S3.rule_based_matching(Option<RuleBasedMatchingResponse>)
: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 theRuleBasedMatchingRequest
. You can use theListRuleBasedMatches
andGetSimilarProfiles
API to return and review the results. Also, if you have configuredExportingConfig
in theRuleBasedMatchingRequest
, you can download the results from S3.created_at(DateTime)
:The timestamp of when the domain was created.
last_updated_at(DateTime)
:The timestamp of when the domain was most recently edited.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<UpdateDomainError>
Source§impl Client
impl Client
Sourcepub fn update_event_trigger(&self) -> UpdateEventTriggerFluentBuilder
pub fn update_event_trigger(&self) -> UpdateEventTriggerFluentBuilder
Constructs a fluent builder for the UpdateEventTrigger
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
event_trigger_name(impl Into<String>)
/set_event_trigger_name(Option<String>)
:
required: trueThe unique name of the event trigger.
object_type_name(impl Into<String>)
/set_object_type_name(Option<String>)
:
required: falseThe unique name of the object type.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the event trigger.
event_trigger_conditions(EventTriggerCondition)
/set_event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)
:
required: falseA list of conditions that determine when an event should trigger the destination.
segment_filter(impl Into<String>)
/set_segment_filter(Option<String>)
:
required: falseThe destination is triggered only for profiles that meet the criteria of a segment definition.
event_trigger_limits(EventTriggerLimits)
/set_event_trigger_limits(Option<EventTriggerLimits>)
:
required: falseDefines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
- On success, responds with
UpdateEventTriggerOutput
with field(s):event_trigger_name(Option<String>)
:The unique name of the event trigger.
object_type_name(Option<String>)
:The unique name of the object type.
description(Option<String>)
:The description of the event trigger.
event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)
:A list of conditions that determine when an event should trigger the destination.
segment_filter(Option<String>)
:The destination is triggered only for profiles that meet the criteria of a segment definition.
event_trigger_limits(Option<EventTriggerLimits>)
:Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.
created_at(Option<DateTime>)
:The timestamp of when the event trigger was created.
last_updated_at(Option<DateTime>)
:The timestamp of when the event trigger was most recently updated.
tags(Option<HashMap::<String, String>>)
:An array of key-value pairs to apply to this resource.
- On failure, responds with
SdkError<UpdateEventTriggerError>
Source§impl Client
impl Client
Sourcepub fn update_profile(&self) -> UpdateProfileFluentBuilder
pub fn update_profile(&self) -> UpdateProfileFluentBuilder
Constructs a fluent builder for the UpdateProfile
operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: trueThe unique name of the domain.
profile_id(impl Into<String>)
/set_profile_id(Option<String>)
:
required: trueThe unique identifier of a customer profile.
additional_information(impl Into<String>)
/set_additional_information(Option<String>)
:
required: falseAny additional information relevant to the customer’s profile.
account_number(impl Into<String>)
/set_account_number(Option<String>)
:
required: falseAn account number that you have given to the customer.
party_type(PartyType)
/set_party_type(Option<PartyType>)
:
required: falseThe type of profile used to describe the customer.
business_name(impl Into<String>)
/set_business_name(Option<String>)
:
required: falseThe name of the customer’s business.
first_name(impl Into<String>)
/set_first_name(Option<String>)
:
required: falseThe customer’s first name.
middle_name(impl Into<String>)
/set_middle_name(Option<String>)
:
required: falseThe customer’s middle name.
last_name(impl Into<String>)
/set_last_name(Option<String>)
:
required: falseThe customer’s last name.
birth_date(impl Into<String>)
/set_birth_date(Option<String>)
:
required: falseThe customer’s birth date.
gender(Gender)
/set_gender(Option<Gender>)
:
required: falseThe gender with which the customer identifies.
phone_number(impl Into<String>)
/set_phone_number(Option<String>)
:
required: falseThe customer’s phone number, which has not been specified as a mobile, home, or business number.
mobile_phone_number(impl Into<String>)
/set_mobile_phone_number(Option<String>)
:
required: falseThe customer’s mobile phone number.
home_phone_number(impl Into<String>)
/set_home_phone_number(Option<String>)
:
required: falseThe customer’s home phone number.
business_phone_number(impl Into<String>)
/set_business_phone_number(Option<String>)
:
required: falseThe customer’s business phone number.
email_address(impl Into<String>)
/set_email_address(Option<String>)
:
required: falseThe customer’s email address, which has not been specified as a personal or business address.
personal_email_address(impl Into<String>)
/set_personal_email_address(Option<String>)
:
required: falseThe customer’s personal email address.
business_email_address(impl Into<String>)
/set_business_email_address(Option<String>)
:
required: falseThe customer’s business email address.
address(UpdateAddress)
/set_address(Option<UpdateAddress>)
:
required: falseA generic address associated with the customer that is not mailing, shipping, or billing.
shipping_address(UpdateAddress)
/set_shipping_address(Option<UpdateAddress>)
:
required: falseThe customer’s shipping address.
mailing_address(UpdateAddress)
/set_mailing_address(Option<UpdateAddress>)
:
required: falseThe customer’s mailing address.
billing_address(UpdateAddress)
/set_billing_address(Option<UpdateAddress>)
:
required: falseThe customer’s billing address.
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA key value pair of attributes of a customer profile.
party_type_string(impl Into<String>)
/set_party_type_string(Option<String>)
:
required: falseAn alternative to
PartyType
which accepts any string as input.gender_string(impl Into<String>)
/set_gender_string(Option<String>)
:
required: falseAn alternative to
Gender
which accepts any string as input.
- On success, responds with
UpdateProfileOutput
with field(s):profile_id(String)
:The unique identifier of a customer profile.
- On failure, responds with
SdkError<UpdateProfileError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightBlack
.
§Example
println!("{}", value.bright_black());
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightGreen
.
§Example
println!("{}", value.bright_green());
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightYellow
.
§Example
println!("{}", value.bright_yellow());
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightMagenta
.
§Example
println!("{}", value.bright_magenta());
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightWhite
.
§Example
println!("{}", value.bright_white());
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightBlack
.
§Example
println!("{}", value.on_bright_black());
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightGreen
.
§Example
println!("{}", value.on_bright_green());
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightYellow
.
§Example
println!("{}", value.on_bright_yellow());
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightBlue
.
§Example
println!("{}", value.on_bright_blue());
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightMagenta
.
§Example
println!("{}", value.on_bright_magenta());
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightCyan
.
§Example
println!("{}", value.on_bright_cyan());
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightWhite
.
§Example
println!("{}", value.on_bright_white());
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn underline(&self) -> Painted<&T>
fn underline(&self) -> Painted<&T>
Returns self
with the
attr()
set to
Attribute::Underline
.
§Example
println!("{}", value.underline());
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Returns self
with the
attr()
set to
Attribute::RapidBlink
.
§Example
println!("{}", value.rapid_blink());
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);