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
AddProfileKeyOutputwith 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
BatchGetCalculatedAttributeForProfileOutputwith 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
BatchGetProfileOutputwith 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.
use_historical_data(bool)/set_use_historical_data(Option<bool>):
required: falseWhether historical data ingested before the Calculated Attribute was created should be included in calculations.
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
CreateCalculatedAttributeDefinitionOutputwith 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.
use_historical_data(Option<bool>):Whether historical data ingested before the Calculated Attribute was created should be included in calculations.
status(Option<ReadinessStatus>):Status of the Calculated Attribute creation (whether all historical data has been indexed.)
readiness(Option<Readiness>):Information indicating if the Calculated Attribute is ready for use by confirming all historical data has been processed and reflected.
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
ExportingConfigin 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 theListRuleBasedMatchesandGetSimilarProfilesAPI to return and review the results. Also, if you have configuredExportingConfigin theRuleBasedMatchingRequest, you can download the results from S3.data_store(DataStoreRequest)/set_data_store(Option<DataStoreRequest>):
required: falseSet to true to enabled data store for this domain.
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
CreateDomainOutputwith 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
ExportingConfigin 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 theListRuleBasedMatchesandGetSimilarProfilesAPI to return and review the results. Also, if you have configuredExportingConfigin theRuleBasedMatchingRequest, you can download the results from S3.data_store(Option<DataStoreResponse>):The data store.
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_domain_layout(&self) -> CreateDomainLayoutFluentBuilder
pub fn create_domain_layout(&self) -> CreateDomainLayoutFluentBuilder
Constructs a fluent builder for the CreateDomainLayout operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
layout_definition_name(impl Into<String>)/set_layout_definition_name(Option<String>):
required: trueThe unique name of the layout.
description(impl Into<String>)/set_description(Option<String>):
required: trueThe description of the layout
display_name(impl Into<String>)/set_display_name(Option<String>):
required: trueThe display name of the layout
is_default(bool)/set_is_default(Option<bool>):
required: falseIf set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.
layout_type(LayoutType)/set_layout_type(Option<LayoutType>):
required: trueThe type of layout that can be used to view data under a Customer Profiles domain.
layout(impl Into<String>)/set_layout(Option<String>):
required: trueA customizable layout that can be used to view data under a Customer Profiles domain.
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
CreateDomainLayoutOutputwith field(s):layout_definition_name(String):The unique name of the layout.
description(String):The description of the layout
display_name(String):The display name of the layout
is_default(bool):If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.
layout_type(LayoutType):The type of layout that can be used to view data under customer profiles domain.
layout(String):A customizable layout that can be used to view data under Customer Profiles domain.
version(String):The version used to create layout.
tags(Option<HashMap::<String, String>>):The tags used to organize, track, or control access for this resource.
created_at(DateTime):The timestamp of when the layout was created.
last_updated_at(Option<DateTime>):The timestamp of when the layout was most recently updated.
- On failure, responds with
SdkError<CreateDomainLayoutError>
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
CreateEventStreamOutputwith 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
CreateEventTriggerOutputwith 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
CreateIntegrationWorkflowOutputwith 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 assigned 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
PartyTypewhich accepts any string as input.gender_string(impl Into<String>)/set_gender_string(Option<String>):
required: falseAn alternative to
Genderwhich accepts any string as input.profile_type(ProfileType)/set_profile_type(Option<ProfileType>):
required: falseThe type of the profile.
engagement_preferences(EngagementPreferences)/set_engagement_preferences(Option<EngagementPreferences>):
required: falseObject that defines the preferred methods of engagement, per channel.
- On success, responds with
CreateProfileOutputwith 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_recommender(&self) -> CreateRecommenderFluentBuilder
pub fn create_recommender(&self) -> CreateRecommenderFluentBuilder
Constructs a fluent builder for the CreateRecommender operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
recommender_name(impl Into<String>)/set_recommender_name(Option<String>):
required: trueThe name of the recommender.
recommender_recipe_name(RecommenderRecipeName)/set_recommender_recipe_name(Option<RecommenderRecipeName>):
required: trueThe name of the recommeder recipe.
recommender_config(RecommenderConfig)/set_recommender_config(Option<RecommenderConfig>):
required: falseThe recommender configuration.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe description of the domain 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.
- On success, responds with
CreateRecommenderOutputwith field(s):recommender_arn(String):The ARN of the recommender
tags(Option<HashMap::<String, String>>):The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<CreateRecommenderError>
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: falseSpecifies the base segments and dimensions for a segment definition along with their respective relationship.
segment_sql_query(impl Into<String>)/set_segment_sql_query(Option<String>):
required: falseThe segment SQL query.
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
CreateSegmentDefinitionOutputwith 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: falseThe segment query for calculating a segment estimate.
segment_sql_query(impl Into<String>)/set_segment_sql_query(Option<String>):
required: falseThe segment SQL query.
- On success, responds with
CreateSegmentEstimateOutputwith 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
GetSegmentEstimateto 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
CreateSegmentSnapshotOutputwith 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 create_upload_job(&self) -> CreateUploadJobFluentBuilder
pub fn create_upload_job(&self) -> CreateUploadJobFluentBuilder
Constructs a fluent builder for the CreateUploadJob operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain. Domain should be exists for the upload job to be created.
display_name(impl Into<String>)/set_display_name(Option<String>):
required: trueThe unique name of the upload job. Could be a file name to identify the upload job.
fields(impl Into<String>, ObjectTypeField)/set_fields(Option<HashMap::<String, ObjectTypeField>>):
required: trueThe mapping between CSV Columns and Profile Object attributes. A map of the name and ObjectType field.
unique_key(impl Into<String>)/set_unique_key(Option<String>):
required: trueThe unique key columns for de-duping the profiles used to map data to the profile.
data_expiry(i32)/set_data_expiry(Option<i32>):
required: falseThe expiry duration for the profiles ingested with the job. If not provided, the system default of 2 weeks is used.
- On success, responds with
CreateUploadJobOutputwith field(s):job_id(String):The unique identifier for the created upload job.
- On failure, responds with
SdkError<CreateUploadJobError>
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
DeleteDomainOutputwith 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_domain_layout(&self) -> DeleteDomainLayoutFluentBuilder
pub fn delete_domain_layout(&self) -> DeleteDomainLayoutFluentBuilder
Constructs a fluent builder for the DeleteDomainLayout operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
layout_definition_name(impl Into<String>)/set_layout_definition_name(Option<String>):
required: trueThe unique name of the layout.
- On success, responds with
DeleteDomainLayoutOutputwith field(s):message(String):A message that indicates the delete request is done.
- On failure, responds with
SdkError<DeleteDomainLayoutError>
Source§impl Client
impl Client
Sourcepub fn delete_domain_object_type(&self) -> DeleteDomainObjectTypeFluentBuilder
pub fn delete_domain_object_type(&self) -> DeleteDomainObjectTypeFluentBuilder
Constructs a fluent builder for the DeleteDomainObjectType 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 unique name of the domain object type.
- On success, responds with
DeleteDomainObjectTypeOutput - On failure, responds with
SdkError<DeleteDomainObjectTypeError>
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
DeleteEventTriggerOutputwith 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
DeleteIntegrationOutputwith 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
DeleteProfileOutputwith 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
DeleteProfileKeyOutputwith 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
DeleteProfileObjectOutputwith 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
DeleteProfileObjectTypeOutputwith 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_recommender(&self) -> DeleteRecommenderFluentBuilder
pub fn delete_recommender(&self) -> DeleteRecommenderFluentBuilder
Constructs a fluent builder for the DeleteRecommender operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
recommender_name(impl Into<String>)/set_recommender_name(Option<String>):
required: trueThe recommender name.
- On success, responds with
DeleteRecommenderOutput - On failure, responds with
SdkError<DeleteRecommenderError>
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
DeleteSegmentDefinitionOutputwith 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
DetectProfileObjectTypeOutputwith field(s):detected_profile_object_types(Option<Vec::<DetectedProfileObjectType>>):Detected
ProfileObjectTypemappings 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
GetAutoMergingPreviewOutputwith 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
GetCalculatedAttributeDefinitionOutputwith 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.
use_historical_data(Option<bool>):Whether historical data ingested before the Calculated Attribute was created should be included in calculations.
status(Option<ReadinessStatus>):Status of the Calculated Attribute creation (whether all historical data has been indexed).
readiness(Option<Readiness>):Information indicating if the Calculated Attribute is ready for use by confirming all historical data has been processed and reflected.
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
GetCalculatedAttributeForProfileOutputwith 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.
last_object_timestamp(Option<DateTime>):The timestamp of the newest object included in the calculated attribute calculation.
- 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
GetDomainOutputwith 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
ExportingConfigin 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 theListRuleBasedMatchesandGetSimilarProfilesAPI to return and review the results. Also, if you have configuredExportingConfigin theRuleBasedMatchingRequest, you can download the results from S3.data_store(Option<DataStoreResponse>):True if data store is enabled for this domain.
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_domain_layout(&self) -> GetDomainLayoutFluentBuilder
pub fn get_domain_layout(&self) -> GetDomainLayoutFluentBuilder
Constructs a fluent builder for the GetDomainLayout operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
layout_definition_name(impl Into<String>)/set_layout_definition_name(Option<String>):
required: trueThe unique name of the layout.
- On success, responds with
GetDomainLayoutOutputwith field(s):layout_definition_name(String):The unique name of the layout.
description(String):The description of the layout
display_name(String):The display name of the layout
is_default(bool):If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.
layout_type(LayoutType):The type of layout that can be used to view data under a Customer Profiles domain.
layout(String):A customizable layout that can be used to view data under a Customer Profiles domain.
version(String):The version used to create layout.
created_at(DateTime):The timestamp of when the layout was created.
last_updated_at(DateTime):The timestamp of when the layout was most recently updated.
tags(Option<HashMap::<String, String>>):The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<GetDomainLayoutError>
Source§impl Client
impl Client
Sourcepub fn get_domain_object_type(&self) -> GetDomainObjectTypeFluentBuilder
pub fn get_domain_object_type(&self) -> GetDomainObjectTypeFluentBuilder
Constructs a fluent builder for the GetDomainObjectType 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 unique name of the domain object type.
- On success, responds with
GetDomainObjectTypeOutputwith field(s):object_type_name(String):The unique name of the domain object type.
description(Option<String>):The description of the domain object type.
encryption_key(Option<String>):The customer provided KMS key used to encrypt this type of domain object.
fields(Option<HashMap::<String, DomainObjectTypeField>>):A map of field names to their corresponding domain object type field definitions.
created_at(Option<DateTime>):The timestamp of when the domain object type was created.
last_updated_at(Option<DateTime>):The timestamp of when the domain object type 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<GetDomainObjectTypeError>
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
GetEventStreamOutputwith 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
Statechanged 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
GetEventTriggerOutputwith 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
GetIdentityResolutionJobOutputwith 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 thePENDINGstate 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
GetIntegrationOutputwith 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.
scope(Option<Scope>):Specifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.
- 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
GetMatchesOutputwith 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_object_type_attribute_statistics(
&self,
) -> GetObjectTypeAttributeStatisticsFluentBuilder
pub fn get_object_type_attribute_statistics( &self, ) -> GetObjectTypeAttributeStatisticsFluentBuilder
Constructs a fluent builder for the GetObjectTypeAttributeStatistics 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 unique name of the domain object type.
attribute_name(impl Into<String>)/set_attribute_name(Option<String>):
required: trueThe attribute name.
- On success, responds with
GetObjectTypeAttributeStatisticsOutputwith field(s):statistics(Option<GetObjectTypeAttributeStatisticsStats>):The statistics.
calculated_at(DateTime):Time when this statistics was calculated.
- On failure, responds with
SdkError<GetObjectTypeAttributeStatisticsError>
Source§impl Client
impl Client
Sourcepub fn get_profile_history_record(&self) -> GetProfileHistoryRecordFluentBuilder
pub fn get_profile_history_record(&self) -> GetProfileHistoryRecordFluentBuilder
Constructs a fluent builder for the GetProfileHistoryRecord operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain for which to return a profile history record.
profile_id(impl Into<String>)/set_profile_id(Option<String>):
required: trueThe unique identifier of the profile for which to return a history record.
id(impl Into<String>)/set_id(Option<String>):
required: trueThe unique identifier of the profile history record to return.
- On success, responds with
GetProfileHistoryRecordOutputwith field(s):id(String):The unique identifier of the profile history record.
object_type_name(String):The name of the profile object type.
created_at(DateTime):The timestamp of when the profile history record was created.
last_updated_at(Option<DateTime>):The timestamp of when the profile history record was last updated.
action_type(ActionType):The action type of the profile history record.
profile_object_unique_key(Option<String>):The unique identifier of the profile object generated by the service.
content(Option<String>):A string containing the customer profile, profile object, or profile key content.
performed_by(Option<String>):The Amazon Resource Name (ARN) of the person or service principal who performed the action.
- On failure, responds with
SdkError<GetProfileHistoryRecordError>
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
GetProfileObjectTypeOutputwith 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
sourceLastUpdatedTimestampthat 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
GetProfileObjectTypeTemplateOutputwith 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
sourceLastUpdatedTimestampthat 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_profile_recommendations(
&self,
) -> GetProfileRecommendationsFluentBuilder
pub fn get_profile_recommendations( &self, ) -> GetProfileRecommendationsFluentBuilder
Constructs a fluent builder for the GetProfileRecommendations 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 the profile for which to retrieve recommendations.
recommender_name(impl Into<String>)/set_recommender_name(Option<String>):
required: trueThe unique name of the recommender.
context(impl Into<String>, impl Into<String>)/set_context(Option<HashMap::<String, String>>):
required: falseThe contextual metadata used to provide dynamic runtime information to tailor recommendations.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of recommendations to return. The default value is 10.
- On success, responds with
GetProfileRecommendationsOutputwith field(s):recommendations(Option<Vec::<Recommendation>>):List of recommendations generated by the recommender.
- On failure, responds with
SdkError<GetProfileRecommendationsError>
Source§impl Client
impl Client
Sourcepub fn get_recommender(&self) -> GetRecommenderFluentBuilder
pub fn get_recommender(&self) -> GetRecommenderFluentBuilder
Constructs a fluent builder for the GetRecommender operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
recommender_name(impl Into<String>)/set_recommender_name(Option<String>):
required: trueThe name of the recommender.
training_metrics_count(i32)/set_training_metrics_count(Option<i32>):
required: falseThe number of training metrics to retrieve for the recommender.
- On success, responds with
GetRecommenderOutputwith field(s):recommender_name(String):The name of the recommender.
recommender_recipe_name(RecommenderRecipeName):The name of the recipe used by the recommender to generate recommendations.
recommender_config(Option<RecommenderConfig>):The configuration settings for the recommender, including parameters and settings that define its behavior.
description(Option<String>):A detailed description of the recommender providing information about its purpose and functionality.
status(Option<RecommenderStatus>):The current status of the recommender, indicating whether it is active, creating, updating, or in another state.
last_updated_at(Option<DateTime>):The timestamp of when the recommender was edited.
created_at(Option<DateTime>):The timestamp of when the recommender was created.
failure_reason(Option<String>):If the recommender fails, provides the reason for the failure.
latest_recommender_update(Option<RecommenderUpdate>):Information about the most recent update performed on the recommender, including status and timestamp.
training_metrics(Option<Vec::<TrainingMetrics>>):A set of metrics that provide information about the recommender’s training performance and accuracy.
tags(Option<HashMap::<String, String>>):The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<GetRecommenderError>
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
GetSegmentDefinitionOutputwith 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.
segment_sql_query(Option<String>):The segment SQL query.
segment_type(Option<SegmentType>):The segment type.
Classic : Segments created using traditional SegmentGroup structure
Enhanced : Segments created using SQL queries
- 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
CreateSegmentEstimateoperation.
- On success, responds with
GetSegmentEstimateOutputwith field(s):domain_name(Option<String>):The unique name of the domain.
estimate_id(Option<String>):The
QueryIdwhich 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
GetSegmentMembershipOutputwith 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.
last_computed_at(Option<DateTime>):The timestamp indicating when the segment membership was last computed or updated.
- 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
GetSegmentSnapshotOutputwith 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
GetSimilarProfilesAPI 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
SearchKeyto be searched for similar profiles.
- On success, responds with
GetSimilarProfilesOutputwith field(s):profile_ids(Option<Vec::<String>>):Set of
profileIds that belong to the same matching group.match_id(Option<String>):The string
matchIdthat 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
MatchTypeisML_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
GetSimilarProfilesAPI call.
- On failure, responds with
SdkError<GetSimilarProfilesError>
Source§impl Client
impl Client
Sourcepub fn get_upload_job(&self) -> GetUploadJobFluentBuilder
pub fn get_upload_job(&self) -> GetUploadJobFluentBuilder
Constructs a fluent builder for the GetUploadJob operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain containing the upload job.
job_id(impl Into<String>)/set_job_id(Option<String>):
required: trueThe unique identifier of the upload job to retrieve.
- On success, responds with
GetUploadJobOutputwith field(s):job_id(Option<String>):The unique identifier of the upload job.
display_name(Option<String>):The unique name of the upload job. Could be a file name to identify the upload job.
status(Option<UploadJobStatus>):The status describing the status for the upload job. The following are Valid Values:
-
CREATED: The upload job has been created, but has not started processing yet.
-
IN_PROGRESS: The upload job is currently in progress, ingesting and processing the profile data.
-
PARTIALLY_SUCCEEDED: The upload job has successfully completed the ingestion and processing of all profile data.
-
SUCCEEDED: The upload job has successfully completed the ingestion and processing of all profile data.
-
FAILED: The upload job has failed to complete.
-
STOPPED: The upload job has been manually stopped or terminated before completion.
-
status_reason(Option<StatusReason>):The reason for the current status of the upload job. Possible reasons:
-
VALIDATION_FAILURE: The upload job has encountered an error or issue and was unable to complete the profile data ingestion.
-
INTERNAL_FAILURE: Failure caused from service side
-
created_at(Option<DateTime>):The timestamp when the upload job was created.
completed_at(Option<DateTime>):The timestamp when the upload job was completed.
fields(Option<HashMap::<String, ObjectTypeField>>):The mapping between CSV Columns and Profile Object attributes for the upload job.
unique_key(Option<String>):The unique key columns used for de-duping the keys in the upload job.
results_summary(Option<ResultsSummary>):The summary of results for the upload job, including the number of updated, created, and failed records.
data_expiry(Option<i32>):The expiry duration for the profiles ingested with the upload job.
- On failure, responds with
SdkError<GetUploadJobError>
Source§impl Client
impl Client
Sourcepub fn get_upload_job_path(&self) -> GetUploadJobPathFluentBuilder
pub fn get_upload_job_path(&self) -> GetUploadJobPathFluentBuilder
Constructs a fluent builder for the GetUploadJobPath operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain containing the upload job.
job_id(impl Into<String>)/set_job_id(Option<String>):
required: trueThe unique identifier of the upload job to retrieve the upload path for. This is generated from the CreateUploadJob API.
- On success, responds with
GetUploadJobPathOutputwith field(s):url(String):The pre-signed S3 URL for uploading the CSV file associated with the upload job.
client_token(Option<String>):The plaintext data key used to encrypt the upload file.
To persist to the pre-signed url, use the client token and MD5 client token as header. The required headers are as follows:
-
x-amz-server-side-encryption-customer-key: Client Token
-
x-amz-server-side-encryption-customer-key-MD5: MD5 Client Token
-
x-amz-server-side-encryption-customer-algorithm: AES256
-
valid_until(Option<DateTime>):The expiry timestamp for the pre-signed URL, after which the URL will no longer be valid.
- On failure, responds with
SdkError<GetUploadJobPathError>
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
GetWorkflowOutputwith 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
GetWorkflowStepsOutputwith 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
ListAccountIntegrationsOutputwith 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
ListCalculatedAttributeDefinitionsOutputwith 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
ListCalculatedAttributesForProfileOutputwith 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_domain_layouts(&self) -> ListDomainLayoutsFluentBuilder
pub fn list_domain_layouts(&self) -> ListDomainLayoutsFluentBuilder
Constructs a fluent builder for the ListDomainLayouts 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
ListDomainLayoutsOutputwith field(s):items(Option<Vec::<LayoutItem>>):Contains summary information about an EventStream.
next_token(Option<String>):Identifies the next page of results to return.
- On failure, responds with
SdkError<ListDomainLayoutsError>
Source§impl Client
impl Client
Sourcepub fn list_domain_object_types(&self) -> ListDomainObjectTypesFluentBuilder
pub fn list_domain_object_types(&self) -> ListDomainObjectTypesFluentBuilder
Constructs a fluent builder for the ListDomainObjectTypes 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.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of domain object types returned per page.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe pagination token from the previous call to ListDomainObjectTypes.
- On success, responds with
ListDomainObjectTypesOutputwith field(s):items(Option<Vec::<DomainObjectTypesListItem>>):The list of domain object types.
next_token(Option<String>):The pagination token from the previous call to ListDomainObjectTypes.
- On failure, responds with
SdkError<ListDomainObjectTypesError>
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
ListDomainsOutputwith 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
ListEventStreamsOutputwith 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
ListEventTriggersOutputwith 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
ListIdentityResolutionJobsOutputwith 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
ListIntegrationsOutputwith 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_attribute_values(
&self,
) -> ListObjectTypeAttributeValuesFluentBuilder
pub fn list_object_type_attribute_values( &self, ) -> ListObjectTypeAttributeValuesFluentBuilder
Constructs a fluent builder for the ListObjectTypeAttributeValues operation.
- 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. Valid Range: Minimum value of 1. Maximum value of 100. If not provided default as 100.
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 unique name of the domain object type.
attribute_name(impl Into<String>)/set_attribute_name(Option<String>):
required: trueThe attribute name.
- On success, responds with
ListObjectTypeAttributeValuesOutputwith field(s):items(Option<Vec::<ListObjectTypeAttributeValuesItem>>):A list of unique attribute values sorted on the basis of LastUpdatedAt.
next_token(Option<String>):The pagination token from the previous call to call ListObjectTypeAttributeValues.
- On failure, responds with
SdkError<ListObjectTypeAttributeValuesError>
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
ListObjectTypeAttributesOutputwith 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
ListProfileAttributeValuesOutputwith 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_history_records(
&self,
) -> ListProfileHistoryRecordsFluentBuilder
pub fn list_profile_history_records( &self, ) -> ListProfileHistoryRecordsFluentBuilder
Constructs a fluent builder for the ListProfileHistoryRecords operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain for which to return profile history records.
profile_id(impl Into<String>)/set_profile_id(Option<String>):
required: trueThe identifier of the profile to be taken.
object_type_name(impl Into<String>)/set_object_type_name(Option<String>):
required: falseApplies a filter to include profile history records only with the specified
ObjectTypeNamevalue in the response.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.
action_type(ActionType)/set_action_type(Option<ActionType>):
required: falseApplies a filter to include profile history records only with the specified
ActionTypevalue in the response.performed_by(impl Into<String>)/set_performed_by(Option<String>):
required: falseApplies a filter to include profile history records only with the specified
PerformedByvalue in the response. ThePerformedByvalue can be the Amazon Resource Name (ARN) of the person or service principal who performed the action.
- On success, responds with
ListProfileHistoryRecordsOutputwith field(s):profile_history_records(Option<Vec::<ProfileHistoryRecord>>):The list of profile history records.
next_token(Option<String>):If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListProfileHistoryRecordsError>
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
ListProfileObjectTypeTemplatesOutputwith 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
ListProfileObjectTypesOutputwith 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
ListProfileObjectsOutputwith 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_recommender_recipes(&self) -> ListRecommenderRecipesFluentBuilder
pub fn list_recommender_recipes(&self) -> ListRecommenderRecipesFluentBuilder
Constructs a fluent builder for the ListRecommenderRecipes operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of recommender recipes to return in the response. The default value is 100.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token received from a previous ListRecommenderRecipes call to retrieve the next page of results.
- On success, responds with
ListRecommenderRecipesOutputwith field(s):next_token(Option<String>):A token to retrieve the next page of results. Null if there are no more results to retrieve.
recommender_recipes(Option<Vec::<RecommenderRecipe>>):A list of available recommender recipes and their properties.
- On failure, responds with
SdkError<ListRecommenderRecipesError>
Source§impl Client
impl Client
Sourcepub fn list_recommenders(&self) -> ListRecommendersFluentBuilder
pub fn list_recommenders(&self) -> ListRecommendersFluentBuilder
Constructs a fluent builder for the ListRecommenders 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.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of recommenders to return in the response. The default value is 100.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token received from a previous ListRecommenders call to retrieve the next page of results.
- On success, responds with
ListRecommendersOutputwith field(s):next_token(Option<String>):A token to retrieve the next page of results. Null if there are no more results to retrieve.
recommenders(Option<Vec::<RecommenderSummary>>):A list of recommenders and their properties in the specified domain.
- On failure, responds with
SdkError<ListRecommendersError>
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
ListRuleBasedMatchesAPI call.max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of
MatchIdsreturned per page.domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
- On success, responds with
ListRuleBasedMatchesOutputwith field(s):match_ids(Option<Vec::<String>>):The list of
MatchIdsfor the given domain.next_token(Option<String>):The pagination token from the previous
ListRuleBasedMatchesAPI 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
ListSegmentDefinitionsOutputwith 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
ListTagsForResourceOutputwith 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_upload_jobs(&self) -> ListUploadJobsFluentBuilder
pub fn list_upload_jobs(&self) -> ListUploadJobsFluentBuilder
Constructs a fluent builder for the ListUploadJobs 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 to list upload jobs for.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of upload jobs to return per page.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe pagination token from the previous call to retrieve the next page of results.
- On success, responds with
ListUploadJobsOutputwith field(s):next_token(Option<String>):The pagination token to use to retrieve the next page of results.
items(Option<Vec::<UploadJobItem>>):The list of upload jobs for the specified domain.
- On failure, responds with
SdkError<ListUploadJobsError>
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
ListWorkflowsOutputwith 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
MergeProfilesOutputwith 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_domain_object_type(&self) -> PutDomainObjectTypeFluentBuilder
pub fn put_domain_object_type(&self) -> PutDomainObjectTypeFluentBuilder
Constructs a fluent builder for the PutDomainObjectType 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 unique name of the domain object type.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe description of the domain object type.
encryption_key(impl Into<String>)/set_encryption_key(Option<String>):
required: falseThe customer provided KMS key used to encrypt this type of domain object.
fields(impl Into<String>, DomainObjectTypeField)/set_fields(Option<HashMap::<String, DomainObjectTypeField>>):
required: trueA map of field names to their corresponding domain object type field definitions.
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
PutDomainObjectTypeOutputwith field(s):object_type_name(Option<String>):The unique name of the domain object type.
description(Option<String>):The description of the domain object type.
encryption_key(Option<String>):The customer provided KMS key used to encrypt this type of domain object.
fields(Option<HashMap::<String, DomainObjectTypeField>>):A map of field names to their corresponding domain object type field definitions.
created_at(Option<DateTime>):The timestamp of when the domain object type was created.
last_updated_at(Option<DateTime>):The timestamp of when the domain object type 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<PutDomainObjectTypeError>
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.
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.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.
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.
scope(Scope)/set_scope(Option<Scope>):
required: falseSpecifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.
- On success, responds with
PutIntegrationOutputwith 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.
scope(Option<Scope>):Specifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.
- 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
PutProfileObjectOutputwith 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
sourceLastUpdatedTimestampthat 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
PutProfileObjectTypeOutputwith 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
sourceLastUpdatedTimestampthat was previously set up in fields that were parsed using SimpleDateFormat. If you havesourceLastUpdatedTimestampin 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
AdditionalSearchKeyobjects that are each searchable identifiers of a profile. EachAdditionalSearchKeyobject contains aKeyNameand a list ofValuesassociated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with theLogicalOperatorand the requiredKeyNameandValuesparameters 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
KeyNameandValuesparameters as well as any key-value(s) pairs specified in theAdditionalSearchKeyslist.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
ORrelationship is the default behavior if this parameter is not included in the request.-
- On success, responds with
SearchProfilesOutputwith 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 start_recommender(&self) -> StartRecommenderFluentBuilder
pub fn start_recommender(&self) -> StartRecommenderFluentBuilder
Constructs a fluent builder for the StartRecommender operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
recommender_name(impl Into<String>)/set_recommender_name(Option<String>):
required: trueThe name of the recommender to start.
- On success, responds with
StartRecommenderOutput - On failure, responds with
SdkError<StartRecommenderError>
Source§impl Client
impl Client
Sourcepub fn start_upload_job(&self) -> StartUploadJobFluentBuilder
pub fn start_upload_job(&self) -> StartUploadJobFluentBuilder
Constructs a fluent builder for the StartUploadJob operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain containing the upload job to start.
job_id(impl Into<String>)/set_job_id(Option<String>):
required: trueThe unique identifier of the upload job to start.
- On success, responds with
StartUploadJobOutput - On failure, responds with
SdkError<StartUploadJobError>
Source§impl Client
impl Client
Sourcepub fn stop_recommender(&self) -> StopRecommenderFluentBuilder
pub fn stop_recommender(&self) -> StopRecommenderFluentBuilder
Constructs a fluent builder for the StopRecommender operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
recommender_name(impl Into<String>)/set_recommender_name(Option<String>):
required: trueThe name of the recommender to stop.
- On success, responds with
StopRecommenderOutput - On failure, responds with
SdkError<StopRecommenderError>
Source§impl Client
impl Client
Sourcepub fn stop_upload_job(&self) -> StopUploadJobFluentBuilder
pub fn stop_upload_job(&self) -> StopUploadJobFluentBuilder
Constructs a fluent builder for the StopUploadJob operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain containing the upload job to stop.
job_id(impl Into<String>)/set_job_id(Option<String>):
required: trueThe unique identifier of the upload job to stop.
- On success, responds with
StopUploadJobOutput - On failure, responds with
SdkError<StopUploadJobError>
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
UpdateCalculatedAttributeDefinitionOutputwith 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.
use_historical_data(Option<bool>):Whether historical data ingested before the Calculated Attribute was created should be included in calculations.
status(Option<ReadinessStatus>):Status of the Calculated Attribute creation (whether all historical data has been indexed.)
readiness(Option<Readiness>):Information indicating if the Calculated Attribute is ready for use by confirming all historical data has been processed and reflected.
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
ExportingConfigin 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 theListRuleBasedMatchesandGetSimilarProfilesAPI to return and review the results. Also, if you have configuredExportingConfigin theRuleBasedMatchingRequest, you can download the results from S3.data_store(DataStoreRequest)/set_data_store(Option<DataStoreRequest>):
required: falseSet to true to enabled data store for this domain.
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
UpdateDomainOutputwith 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
ExportingConfigin 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 theListRuleBasedMatchesandGetSimilarProfilesAPI to return and review the results. Also, if you have configuredExportingConfigin theRuleBasedMatchingRequest, you can download the results from S3.data_store(Option<DataStoreResponse>):The data store.
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_domain_layout(&self) -> UpdateDomainLayoutFluentBuilder
pub fn update_domain_layout(&self) -> UpdateDomainLayoutFluentBuilder
Constructs a fluent builder for the UpdateDomainLayout operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
layout_definition_name(impl Into<String>)/set_layout_definition_name(Option<String>):
required: trueThe unique name of the layout.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe description of the layout
display_name(impl Into<String>)/set_display_name(Option<String>):
required: falseThe display name of the layout
is_default(bool)/set_is_default(Option<bool>):
required: falseIf set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.
layout_type(LayoutType)/set_layout_type(Option<LayoutType>):
required: falseThe type of layout that can be used to view data under a Customer Profiles domain.
layout(impl Into<String>)/set_layout(Option<String>):
required: falseA customizable layout that can be used to view data under a Customer Profiles domain.
- On success, responds with
UpdateDomainLayoutOutputwith field(s):layout_definition_name(Option<String>):The unique name of the layout.
description(Option<String>):The description of the layout
display_name(Option<String>):The display name of the layout
is_default(bool):If set to true for a layout, this layout will be used by default to view data. If set to false, then the layout will not be used by default, but it can be used to view data by explicitly selecting it in the console.
layout_type(Option<LayoutType>):The type of layout that can be used to view data under a Customer Profiles domain.
layout(Option<String>):A customizable layout that can be used to view data under a Customer Profiles domain.
version(Option<String>):The version used to create layout.
created_at(Option<DateTime>):The timestamp of when the layout was created.
last_updated_at(Option<DateTime>):The timestamp of when the layout was most recently updated.
tags(Option<HashMap::<String, String>>):The tags used to organize, track, or control access for this resource.
- On failure, responds with
SdkError<UpdateDomainLayoutError>
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
UpdateEventTriggerOutputwith 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 assigned 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
PartyTypewhich accepts any string as input.gender_string(impl Into<String>)/set_gender_string(Option<String>):
required: falseAn alternative to
Genderwhich accepts any string as input.profile_type(ProfileType)/set_profile_type(Option<ProfileType>):
required: falseDetermines the type of the profile.
engagement_preferences(EngagementPreferences)/set_engagement_preferences(Option<EngagementPreferences>):
required: falseObject that defines users preferred methods of engagement.
- On success, responds with
UpdateProfileOutputwith 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 update_recommender(&self) -> UpdateRecommenderFluentBuilder
pub fn update_recommender(&self) -> UpdateRecommenderFluentBuilder
Constructs a fluent builder for the UpdateRecommender operation.
- The fluent builder is configurable:
domain_name(impl Into<String>)/set_domain_name(Option<String>):
required: trueThe unique name of the domain.
recommender_name(impl Into<String>)/set_recommender_name(Option<String>):
required: trueThe name of the recommender to update.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe new description to assign to the recommender.
recommender_config(RecommenderConfig)/set_recommender_config(Option<RecommenderConfig>):
required: falseThe new configuration settings to apply to the recommender, including updated parameters and settings that define its behavior.
- On success, responds with
UpdateRecommenderOutputwith field(s):recommender_name(String):The name of the recommender that was updated.
- On failure, responds with
SdkError<UpdateRecommenderError>
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_implconfigured. - Identity caching is enabled without a
sleep_implandtime_sourceconfigured. - No
behavior_versionis 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_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it. - This method will panic if no
BehaviorVersionis provided. If you experience this panic, setbehavior_versionon the Config or enable thebehavior-version-latestCargo 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>
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>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
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>
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>
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>
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>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
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 rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
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);