pub struct Client { /* private fields */ }
Expand description
Client for Amazon Connect Service
Client for invoking operations on Amazon Connect Service. Each operation on Amazon Connect Service 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_connect::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_connect::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 ActivateEvaluationForm
operation has
a Client::activate_evaluation_form
, 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.activate_evaluation_form()
.instance_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 activate_evaluation_form(&self) -> ActivateEvaluationFormFluentBuilder
pub fn activate_evaluation_form(&self) -> ActivateEvaluationFormFluentBuilder
Constructs a fluent builder for the ActivateEvaluationForm
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_form_id(impl Into<String>)
/set_evaluation_form_id(Option<String>)
:
required: trueThe unique identifier for the evaluation form.
evaluation_form_version(i32)
/set_evaluation_form_version(Option<i32>)
:
required: trueThe version of the evaluation form to activate. If the version property is not provided, the latest version of the evaluation form is activated.
- On success, responds with
ActivateEvaluationFormOutput
with field(s):evaluation_form_id(String)
:The unique identifier for the evaluation form.
evaluation_form_arn(String)
:The Amazon Resource Name (ARN) for the evaluation form resource.
evaluation_form_version(i32)
:A version of the evaluation form.
- On failure, responds with
SdkError<ActivateEvaluationFormError>
Source§impl Client
impl Client
Sourcepub fn associate_analytics_data_set(
&self,
) -> AssociateAnalyticsDataSetFluentBuilder
pub fn associate_analytics_data_set( &self, ) -> AssociateAnalyticsDataSetFluentBuilder
Constructs a fluent builder for the AssociateAnalyticsDataSet
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
data_set_id(impl Into<String>)
/set_data_set_id(Option<String>)
:
required: trueThe identifier of the dataset to associate with the target account.
target_account_id(impl Into<String>)
/set_target_account_id(Option<String>)
:
required: falseThe identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
- On success, responds with
AssociateAnalyticsDataSetOutput
with field(s):data_set_id(Option<String>)
:The identifier of the dataset that was associated.
target_account_id(Option<String>)
:The identifier of the target account.
resource_share_id(Option<String>)
:The Resource Access Manager share ID that is generated.
resource_share_arn(Option<String>)
:The Amazon Resource Name (ARN) of the Resource Access Manager share.
- On failure, responds with
SdkError<AssociateAnalyticsDataSetError>
Source§impl Client
impl Client
Sourcepub fn associate_approved_origin(&self) -> AssociateApprovedOriginFluentBuilder
pub fn associate_approved_origin(&self) -> AssociateApprovedOriginFluentBuilder
Constructs a fluent builder for the AssociateApprovedOrigin
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
origin(impl Into<String>)
/set_origin(Option<String>)
:
required: trueThe domain to add to your allow list.
- On success, responds with
AssociateApprovedOriginOutput
- On failure, responds with
SdkError<AssociateApprovedOriginError>
Source§impl Client
impl Client
Sourcepub fn associate_bot(&self) -> AssociateBotFluentBuilder
pub fn associate_bot(&self) -> AssociateBotFluentBuilder
Constructs a fluent builder for the AssociateBot
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
lex_bot(LexBot)
/set_lex_bot(Option<LexBot>)
:
required: falseConfiguration information of an Amazon Lex bot.
lex_v2_bot(LexV2Bot)
/set_lex_v2_bot(Option<LexV2Bot>)
:
required: falseThe Amazon Lex V2 bot to associate with the instance.
- On success, responds with
AssociateBotOutput
- On failure, responds with
SdkError<AssociateBotError>
Source§impl Client
impl Client
Sourcepub fn associate_default_vocabulary(
&self,
) -> AssociateDefaultVocabularyFluentBuilder
pub fn associate_default_vocabulary( &self, ) -> AssociateDefaultVocabularyFluentBuilder
Constructs a fluent builder for the AssociateDefaultVocabulary
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
language_code(VocabularyLanguageCode)
/set_language_code(Option<VocabularyLanguageCode>)
:
required: trueThe language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
vocabulary_id(impl Into<String>)
/set_vocabulary_id(Option<String>)
:
required: falseThe identifier of the custom vocabulary. If this is empty, the default is set to none.
- On success, responds with
AssociateDefaultVocabularyOutput
- On failure, responds with
SdkError<AssociateDefaultVocabularyError>
Source§impl Client
impl Client
Sourcepub fn associate_flow(&self) -> AssociateFlowFluentBuilder
pub fn associate_flow(&self) -> AssociateFlowFluentBuilder
Constructs a fluent builder for the AssociateFlow
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe identifier of the resource.
-
Amazon Web Services End User Messaging SMS phone number ARN when using
SMS_PHONE_NUMBER
-
Amazon Web Services End User Messaging Social phone number ARN when using
WHATSAPP_MESSAGING_PHONE_NUMBER
-
flow_id(impl Into<String>)
/set_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
resource_type(FlowAssociationResourceType)
/set_resource_type(Option<FlowAssociationResourceType>)
:
required: trueA valid resource type.
- On success, responds with
AssociateFlowOutput
- On failure, responds with
SdkError<AssociateFlowError>
Source§impl Client
impl Client
Sourcepub fn associate_instance_storage_config(
&self,
) -> AssociateInstanceStorageConfigFluentBuilder
pub fn associate_instance_storage_config( &self, ) -> AssociateInstanceStorageConfigFluentBuilder
Constructs a fluent builder for the AssociateInstanceStorageConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
resource_type(InstanceStorageResourceType)
/set_resource_type(Option<InstanceStorageResourceType>)
:
required: trueA valid resource type. To enable streaming for real-time analysis of contacts, use the following types:
-
For chat contacts, use
REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS
. -
For voice contacts, use
REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.
REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
is deprecated, but it is still supported and will apply only to VOICE channel contacts. UseREAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
for voice contacts moving forward.If you have previously associated a stream with
REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
, no action is needed to update the stream toREAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.-
storage_config(InstanceStorageConfig)
/set_storage_config(Option<InstanceStorageConfig>)
:
required: trueA valid storage type.
- On success, responds with
AssociateInstanceStorageConfigOutput
with field(s):association_id(Option<String>)
:The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- On failure, responds with
SdkError<AssociateInstanceStorageConfigError>
Source§impl Client
impl Client
Sourcepub fn associate_lambda_function(&self) -> AssociateLambdaFunctionFluentBuilder
pub fn associate_lambda_function(&self) -> AssociateLambdaFunctionFluentBuilder
Constructs a fluent builder for the AssociateLambdaFunction
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
function_arn(impl Into<String>)
/set_function_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.
- On success, responds with
AssociateLambdaFunctionOutput
- On failure, responds with
SdkError<AssociateLambdaFunctionError>
Source§impl Client
impl Client
Sourcepub fn associate_lex_bot(&self) -> AssociateLexBotFluentBuilder
pub fn associate_lex_bot(&self) -> AssociateLexBotFluentBuilder
Constructs a fluent builder for the AssociateLexBot
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
lex_bot(LexBot)
/set_lex_bot(Option<LexBot>)
:
required: trueThe Amazon Lex bot to associate with the instance.
- On success, responds with
AssociateLexBotOutput
- On failure, responds with
SdkError<AssociateLexBotError>
Source§impl Client
impl Client
Sourcepub fn associate_phone_number_contact_flow(
&self,
) -> AssociatePhoneNumberContactFlowFluentBuilder
pub fn associate_phone_number_contact_flow( &self, ) -> AssociatePhoneNumberContactFlowFluentBuilder
Constructs a fluent builder for the AssociatePhoneNumberContactFlow
operation.
- The fluent builder is configurable:
phone_number_id(impl Into<String>)
/set_phone_number_id(Option<String>)
:
required: trueA unique identifier for the phone number.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
- On success, responds with
AssociatePhoneNumberContactFlowOutput
- On failure, responds with
SdkError<AssociatePhoneNumberContactFlowError>
Source§impl Client
impl Client
Sourcepub fn associate_queue_quick_connects(
&self,
) -> AssociateQueueQuickConnectsFluentBuilder
pub fn associate_queue_quick_connects( &self, ) -> AssociateQueueQuickConnectsFluentBuilder
Constructs a fluent builder for the AssociateQueueQuickConnects
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
quick_connect_ids(impl Into<String>)
/set_quick_connect_ids(Option<Vec::<String>>)
:
required: trueThe quick connects to associate with this queue.
- On success, responds with
AssociateQueueQuickConnectsOutput
- On failure, responds with
SdkError<AssociateQueueQuickConnectsError>
Source§impl Client
impl Client
Sourcepub fn associate_routing_profile_queues(
&self,
) -> AssociateRoutingProfileQueuesFluentBuilder
pub fn associate_routing_profile_queues( &self, ) -> AssociateRoutingProfileQueuesFluentBuilder
Constructs a fluent builder for the AssociateRoutingProfileQueues
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
queue_configs(RoutingProfileQueueConfig)
/set_queue_configs(Option<Vec::<RoutingProfileQueueConfig>>)
:
required: trueThe queues to associate with this routing profile.
- On success, responds with
AssociateRoutingProfileQueuesOutput
- On failure, responds with
SdkError<AssociateRoutingProfileQueuesError>
Source§impl Client
impl Client
Sourcepub fn associate_security_key(&self) -> AssociateSecurityKeyFluentBuilder
pub fn associate_security_key(&self) -> AssociateSecurityKeyFluentBuilder
Constructs a fluent builder for the AssociateSecurityKey
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
key(impl Into<String>)
/set_key(Option<String>)
:
required: trueA valid security key in PEM format as a String.
- On success, responds with
AssociateSecurityKeyOutput
with field(s):association_id(Option<String>)
:The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- On failure, responds with
SdkError<AssociateSecurityKeyError>
Source§impl Client
impl Client
Sourcepub fn associate_traffic_distribution_group_user(
&self,
) -> AssociateTrafficDistributionGroupUserFluentBuilder
pub fn associate_traffic_distribution_group_user( &self, ) -> AssociateTrafficDistributionGroupUserFluentBuilder
Constructs a fluent builder for the AssociateTrafficDistributionGroupUser
operation.
- The fluent builder is configurable:
traffic_distribution_group_id(impl Into<String>)
/set_traffic_distribution_group_id(Option<String>)
:
required: trueThe identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account. This can be the ID or the ARN of the user.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
AssociateTrafficDistributionGroupUserOutput
- On failure, responds with
SdkError<AssociateTrafficDistributionGroupUserError>
Source§impl Client
impl Client
Sourcepub fn associate_user_proficiencies(
&self,
) -> AssociateUserProficienciesFluentBuilder
pub fn associate_user_proficiencies( &self, ) -> AssociateUserProficienciesFluentBuilder
Constructs a fluent builder for the AssociateUserProficiencies
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN of the instance).
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
user_proficiencies(UserProficiency)
/set_user_proficiencies(Option<Vec::<UserProficiency>>)
:
required: trueThe proficiencies to associate with the user.
- On success, responds with
AssociateUserProficienciesOutput
- On failure, responds with
SdkError<AssociateUserProficienciesError>
Source§impl Client
impl Client
Sourcepub fn batch_associate_analytics_data_set(
&self,
) -> BatchAssociateAnalyticsDataSetFluentBuilder
pub fn batch_associate_analytics_data_set( &self, ) -> BatchAssociateAnalyticsDataSetFluentBuilder
Constructs a fluent builder for the BatchAssociateAnalyticsDataSet
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
data_set_ids(impl Into<String>)
/set_data_set_ids(Option<Vec::<String>>)
:
required: trueAn array of dataset identifiers to associate.
target_account_id(impl Into<String>)
/set_target_account_id(Option<String>)
:
required: falseThe identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
- On success, responds with
BatchAssociateAnalyticsDataSetOutput
with field(s):created(Option<Vec::<AnalyticsDataAssociationResult>>)
:Information about associations that are successfully created:
DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.errors(Option<Vec::<ErrorResult>>)
:A list of errors for datasets that aren’t successfully associated with the target account.
- On failure, responds with
SdkError<BatchAssociateAnalyticsDataSetError>
Source§impl Client
impl Client
Sourcepub fn batch_disassociate_analytics_data_set(
&self,
) -> BatchDisassociateAnalyticsDataSetFluentBuilder
pub fn batch_disassociate_analytics_data_set( &self, ) -> BatchDisassociateAnalyticsDataSetFluentBuilder
Constructs a fluent builder for the BatchDisassociateAnalyticsDataSet
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
data_set_ids(impl Into<String>)
/set_data_set_ids(Option<Vec::<String>>)
:
required: trueAn array of associated dataset identifiers to remove.
target_account_id(impl Into<String>)
/set_target_account_id(Option<String>)
:
required: falseThe identifier of the target account. Use to disassociate a dataset from a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
- On success, responds with
BatchDisassociateAnalyticsDataSetOutput
with field(s):deleted(Option<Vec::<String>>)
:An array of successfully disassociated dataset identifiers.
errors(Option<Vec::<ErrorResult>>)
:A list of errors for any datasets not successfully removed.
- On failure, responds with
SdkError<BatchDisassociateAnalyticsDataSetError>
Source§impl Client
impl Client
Sourcepub fn batch_get_attached_file_metadata(
&self,
) -> BatchGetAttachedFileMetadataFluentBuilder
pub fn batch_get_attached_file_metadata( &self, ) -> BatchGetAttachedFileMetadataFluentBuilder
Constructs a fluent builder for the BatchGetAttachedFileMetadata
operation.
- The fluent builder is configurable:
file_ids(impl Into<String>)
/set_file_ids(Option<Vec::<String>>)
:
required: trueThe unique identifiers of the attached file resource.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe unique identifier of the Connect instance.
associated_resource_arn(impl Into<String>)
/set_associated_resource_arn(Option<String>)
:
required: trueThe resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.
This value must be a valid ARN.
- On success, responds with
BatchGetAttachedFileMetadataOutput
with field(s):files(Option<Vec::<AttachedFile>>)
:List of attached files that were successfully retrieved.
errors(Option<Vec::<AttachedFileError>>)
:List of errors of attached files that could not be retrieved.
- On failure, responds with
SdkError<BatchGetAttachedFileMetadataError>
Source§impl Client
impl Client
Sourcepub fn batch_get_flow_association(&self) -> BatchGetFlowAssociationFluentBuilder
pub fn batch_get_flow_association(&self) -> BatchGetFlowAssociationFluentBuilder
Constructs a fluent builder for the BatchGetFlowAssociation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
resource_ids(impl Into<String>)
/set_resource_ids(Option<Vec::<String>>)
:
required: trueA list of resource identifiers to retrieve flow associations.
-
Amazon Web Services End User Messaging SMS phone number ARN when using
SMS_PHONE_NUMBER
-
Amazon Web Services End User Messaging Social phone number ARN when using
WHATSAPP_MESSAGING_PHONE_NUMBER
-
resource_type(ListFlowAssociationResourceType)
/set_resource_type(Option<ListFlowAssociationResourceType>)
:
required: falseThe type of resource association.
- On success, responds with
BatchGetFlowAssociationOutput
with field(s):flow_association_summary_list(Option<Vec::<FlowAssociationSummary>>)
:Information about flow associations.
- On failure, responds with
SdkError<BatchGetFlowAssociationError>
Source§impl Client
impl Client
Sourcepub fn batch_put_contact(&self) -> BatchPutContactFluentBuilder
pub fn batch_put_contact(&self) -> BatchPutContactFluentBuilder
Constructs a fluent builder for the BatchPutContact
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_data_request_list(ContactDataRequest)
/set_contact_data_request_list(Option<Vec::<ContactDataRequest>>)
:
required: trueList of individual contact requests.
- On success, responds with
BatchPutContactOutput
with field(s):successful_request_list(Option<Vec::<SuccessfulRequest>>)
:List of requests for which contact was successfully created.
failed_request_list(Option<Vec::<FailedRequest>>)
:List of requests for which contact creation failed.
- On failure, responds with
SdkError<BatchPutContactError>
Source§impl Client
impl Client
Sourcepub fn claim_phone_number(&self) -> ClaimPhoneNumberFluentBuilder
pub fn claim_phone_number(&self) -> ClaimPhoneNumberFluentBuilder
Constructs a fluent builder for the ClaimPhoneNumber
operation.
- The fluent builder is configurable:
target_arn(impl Into<String>)
/set_target_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter
InstanceId
orTargetArn
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter
InstanceId
orTargetArn
.phone_number(impl Into<String>)
/set_phone_number(Option<String>)
:
required: trueThe phone number you want to claim. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.phone_number_description(impl Into<String>)
/set_phone_number_description(Option<String>)
:
required: falseThe description of the phone number.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Pattern:
^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
- On success, responds with
ClaimPhoneNumberOutput
with field(s):phone_number_id(Option<String>)
:A unique identifier for the phone number.
phone_number_arn(Option<String>)
:The Amazon Resource Name (ARN) of the phone number.
- On failure, responds with
SdkError<ClaimPhoneNumberError>
Source§impl Client
impl Client
Sourcepub fn complete_attached_file_upload(
&self,
) -> CompleteAttachedFileUploadFluentBuilder
pub fn complete_attached_file_upload( &self, ) -> CompleteAttachedFileUploadFluentBuilder
Constructs a fluent builder for the CompleteAttachedFileUpload
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe unique identifier of the Amazon Connect instance.
file_id(impl Into<String>)
/set_file_id(Option<String>)
:
required: trueThe unique identifier of the attached file resource.
associated_resource_arn(impl Into<String>)
/set_associated_resource_arn(Option<String>)
:
required: trueThe resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.
This value must be a valid ARN.
- On success, responds with
CompleteAttachedFileUploadOutput
- On failure, responds with
SdkError<CompleteAttachedFileUploadError>
Source§impl Client
impl Client
Sourcepub fn create_agent_status(&self) -> CreateAgentStatusFluentBuilder
pub fn create_agent_status(&self) -> CreateAgentStatusFluentBuilder
Constructs a fluent builder for the CreateAgentStatus
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the status.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the status.
state(AgentStatusState)
/set_state(Option<AgentStatusState>)
:
required: trueThe state of the status.
display_order(i32)
/set_display_order(Option<i32>)
:
required: falseThe display order of the status.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateAgentStatusOutput
with field(s):agent_status_arn(Option<String>)
:The Amazon Resource Name (ARN) of the agent status.
agent_status_id(Option<String>)
:The identifier of the agent status.
- On failure, responds with
SdkError<CreateAgentStatusError>
Source§impl Client
impl Client
Sourcepub fn create_contact(&self) -> CreateContactFluentBuilder
pub fn create_contact(&self) -> CreateContactFluentBuilder
Constructs a fluent builder for the CreateContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
related_contact_id(impl Into<String>)
/set_related_contact_id(Option<String>)
:
required: falseThe identifier of the contact in this instance of Amazon Connect.
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
references(impl Into<String>, Reference)
/set_references(Option<HashMap::<String, Reference>>)
:
required: falseA formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL | ATTACHMENT.
channel(Channel)
/set_channel(Option<Channel>)
:
required: trueThe channel for the contact
initiation_method(ContactInitiationMethod)
/set_initiation_method(Option<ContactInitiationMethod>)
:
required: trueIndicates how the contact was initiated.
expiry_duration_in_minutes(i32)
/set_expiry_duration_in_minutes(Option<i32>)
:
required: falseNumber of minutes the contact will be active for before expiring
user_info(UserInfo)
/set_user_info(Option<UserInfo>)
:
required: falseUser details for the contact
initiate_as(InitiateAs)
/set_initiate_as(Option<InitiateAs>)
:
required: falseInitial state of the contact when it’s created
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of a the contact.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the contact.
segment_attributes(impl Into<String>, SegmentAttributeValue)
/set_segment_attributes(Option<HashMap::<String, SegmentAttributeValue>>)
:
required: falseA set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
Attribute keys can include only alphanumeric, -, and _.
This field can be used to set Segment Contact Expiry as a duration in minutes.
To set contact expiry, a ValueMap must be specified containing the integer number of minutes the contact will be active for before expiring, with
SegmentAttributes
like {“connect:ContactExpiry”: {“ValueMap” : { “ExpiryDuration”: { “ValueInteger”: 135}}}}
.
- On success, responds with
CreateContactOutput
with field(s):contact_id(Option<String>)
:The identifier of the contact in this instance of Amazon Connect.
contact_arn(Option<String>)
:The Amazon Resource Name (ARN) of the created contact.
- On failure, responds with
SdkError<CreateContactError>
Source§impl Client
impl Client
Sourcepub fn create_contact_flow(&self) -> CreateContactFlowFluentBuilder
pub fn create_contact_flow(&self) -> CreateContactFlowFluentBuilder
Constructs a fluent builder for the CreateContactFlow
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the flow.
r#type(ContactFlowType)
/set_type(Option<ContactFlowType>)
:
required: trueThe type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the flow.
content(impl Into<String>)
/set_content(Option<String>)
:
required: trueThe JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
status(ContactFlowStatus)
/set_status(Option<ContactFlowStatus>)
:
required: falseIndicates the flow status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content. theSAVED
status does not initiate validation of the content.SAVED
|PUBLISHED
.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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateContactFlowOutput
with field(s):contact_flow_id(Option<String>)
:The identifier of the flow.
contact_flow_arn(Option<String>)
:The Amazon Resource Name (ARN) of the flow.
flow_content_sha256(Option<String>)
:Indicates the checksum value of the flow content.
- On failure, responds with
SdkError<CreateContactFlowError>
Source§impl Client
impl Client
Sourcepub fn create_contact_flow_module(&self) -> CreateContactFlowModuleFluentBuilder
pub fn create_contact_flow_module(&self) -> CreateContactFlowModuleFluentBuilder
Constructs a fluent builder for the CreateContactFlowModule
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the flow module.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the flow module.
content(impl Into<String>)
/set_content(Option<String>)
:
required: trueThe JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
CreateContactFlowModuleOutput
with field(s):id(Option<String>)
:The identifier of the flow module.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the flow module.
- On failure, responds with
SdkError<CreateContactFlowModuleError>
Source§impl Client
impl Client
Sourcepub fn create_contact_flow_version(
&self,
) -> CreateContactFlowVersionFluentBuilder
pub fn create_contact_flow_version( &self, ) -> CreateContactFlowVersionFluentBuilder
Constructs a fluent builder for the CreateContactFlowVersion
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the flow version.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
flow_content_sha256(impl Into<String>)
/set_flow_content_sha256(Option<String>)
:
required: falseIndicates the checksum value of the flow content.
last_modified_time(DateTime)
/set_last_modified_time(Option<DateTime>)
:
required: falseThe Amazon Web Services Region where this resource was last modified.
last_modified_region(impl Into<String>)
/set_last_modified_region(Option<String>)
:
required: falseThe Amazon Web Services Region where this resource was last modified.
- On success, responds with
CreateContactFlowVersionOutput
with field(s):contact_flow_arn(Option<String>)
:The Amazon Resource Name (ARN) of the flow.
version(Option<i64>)
:The identifier of the flow version.
- On failure, responds with
SdkError<CreateContactFlowVersionError>
Source§impl Client
impl Client
Sourcepub fn create_email_address(&self) -> CreateEmailAddressFluentBuilder
pub fn create_email_address(&self) -> CreateEmailAddressFluentBuilder
Constructs a fluent builder for the CreateEmailAddress
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the email address.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
email_address(impl Into<String>)
/set_email_address(Option<String>)
:
required: trueThe email address with the instance, in [^\s@]+@[^\s@]+.[^\s@]+ format.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:
required: falseThe display name of email address
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
CreateEmailAddressOutput
with field(s):email_address_id(Option<String>)
:The identifier of the email address.
email_address_arn(Option<String>)
:The Amazon Resource Name (ARN) of the email address.
- On failure, responds with
SdkError<CreateEmailAddressError>
Source§impl Client
impl Client
Sourcepub fn create_evaluation_form(&self) -> CreateEvaluationFormFluentBuilder
pub fn create_evaluation_form(&self) -> CreateEvaluationFormFluentBuilder
Constructs a fluent builder for the CreateEvaluationForm
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
title(impl Into<String>)
/set_title(Option<String>)
:
required: trueA title of the evaluation form.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the evaluation form.
items(EvaluationFormItem)
/set_items(Option<Vec::<EvaluationFormItem>>)
:
required: trueItems that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
scoring_strategy(EvaluationFormScoringStrategy)
/set_scoring_strategy(Option<EvaluationFormScoringStrategy>)
:
required: falseA scoring strategy of the evaluation form.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
CreateEvaluationFormOutput
with field(s):evaluation_form_id(String)
:The unique identifier for the evaluation form.
evaluation_form_arn(String)
:The Amazon Resource Name (ARN) for the evaluation form resource.
- On failure, responds with
SdkError<CreateEvaluationFormError>
Source§impl Client
impl Client
Sourcepub fn create_hours_of_operation(&self) -> CreateHoursOfOperationFluentBuilder
pub fn create_hours_of_operation(&self) -> CreateHoursOfOperationFluentBuilder
Constructs a fluent builder for the CreateHoursOfOperation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the hours of operation.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the hours of operation.
time_zone(impl Into<String>)
/set_time_zone(Option<String>)
:
required: trueThe time zone of the hours of operation.
config(HoursOfOperationConfig)
/set_config(Option<Vec::<HoursOfOperationConfig>>)
:
required: trueConfiguration information for the hours of operation: day, start time, and end time.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateHoursOfOperationOutput
with field(s):hours_of_operation_id(Option<String>)
:The identifier for the hours of operation.
hours_of_operation_arn(Option<String>)
:The Amazon Resource Name (ARN) for the hours of operation.
- On failure, responds with
SdkError<CreateHoursOfOperationError>
Source§impl Client
impl Client
Sourcepub fn create_hours_of_operation_override(
&self,
) -> CreateHoursOfOperationOverrideFluentBuilder
pub fn create_hours_of_operation_override( &self, ) -> CreateHoursOfOperationOverrideFluentBuilder
Constructs a fluent builder for the CreateHoursOfOperationOverride
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the hours of operation override.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the hours of operation override.
config(HoursOfOperationOverrideConfig)
/set_config(Option<Vec::<HoursOfOperationOverrideConfig>>)
:
required: trueConfiguration information for the hours of operation override: day, start time, and end time.
effective_from(impl Into<String>)
/set_effective_from(Option<String>)
:
required: trueThe date from when the hours of operation override would be effective.
effective_till(impl Into<String>)
/set_effective_till(Option<String>)
:
required: trueThe date until when the hours of operation override would be effective.
- On success, responds with
CreateHoursOfOperationOverrideOutput
with field(s):hours_of_operation_override_id(Option<String>)
:The identifier for the hours of operation override.
- On failure, responds with
SdkError<CreateHoursOfOperationOverrideError>
Source§impl Client
impl Client
Sourcepub fn create_instance(&self) -> CreateInstanceFluentBuilder
pub fn create_instance(&self) -> CreateInstanceFluentBuilder
Constructs a fluent builder for the CreateInstance
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseThe idempotency token.
identity_management_type(DirectoryType)
/set_identity_management_type(Option<DirectoryType>)
:
required: trueThe type of identity management for your Amazon Connect users.
instance_alias(impl Into<String>)
/set_instance_alias(Option<String>)
:
required: falseThe name for your instance.
directory_id(impl Into<String>)
/set_directory_id(Option<String>)
:
required: falseThe identifier for the directory.
inbound_calls_enabled(bool)
/set_inbound_calls_enabled(Option<bool>)
:
required: trueYour contact center handles incoming contacts.
outbound_calls_enabled(bool)
/set_outbound_calls_enabled(Option<bool>)
:
required: trueYour contact center allows outbound calls.
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. For example,
{ “tags”: {“key1”:“value1”, “key2”:“value2”} }
.
- On success, responds with
CreateInstanceOutput
with field(s):id(Option<String>)
:The identifier for the instance.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the instance.
- On failure, responds with
SdkError<CreateInstanceError>
Source§impl Client
impl Client
Sourcepub fn create_integration_association(
&self,
) -> CreateIntegrationAssociationFluentBuilder
pub fn create_integration_association( &self, ) -> CreateIntegrationAssociationFluentBuilder
Constructs a fluent builder for the CreateIntegrationAssociation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_type(IntegrationType)
/set_integration_type(Option<IntegrationType>)
:
required: trueThe type of information to be ingested.
integration_arn(impl Into<String>)
/set_integration_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Web Services End User Messaging, the Amazon Connect and Amazon Web Services End User Messaging instances must be in the same account.
source_application_url(impl Into<String>)
/set_source_application_url(Option<String>)
:
required: falseThe URL for the external application. This field is only required for the EVENT integration type.
source_application_name(impl Into<String>)
/set_source_application_name(Option<String>)
:
required: falseThe name of the external application. This field is only required for the EVENT integration type.
source_type(SourceType)
/set_source_type(Option<SourceType>)
:
required: falseThe type of the data source. This field is only required for the EVENT integration 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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateIntegrationAssociationOutput
with field(s):integration_association_id(Option<String>)
:The identifier for the integration association.
integration_association_arn(Option<String>)
:The Amazon Resource Name (ARN) for the association.
- On failure, responds with
SdkError<CreateIntegrationAssociationError>
Source§impl Client
impl Client
Sourcepub fn create_participant(&self) -> CreateParticipantFluentBuilder
pub fn create_participant(&self) -> CreateParticipantFluentBuilder
Constructs a fluent builder for the CreateParticipant
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
participant_details(ParticipantDetailsToAdd)
/set_participant_details(Option<ParticipantDetailsToAdd>)
:
required: trueInformation identifying the participant.
The only Valid value for
ParticipantRole
isCUSTOM_BOT
.DisplayName
is Required.
- On success, responds with
CreateParticipantOutput
with field(s):participant_credentials(Option<ParticipantTokenCredentials>)
:The token used by the chat participant to call
CreateParticipantConnection
. The participant token is valid for the lifetime of a chat participant.participant_id(Option<String>)
:The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
- On failure, responds with
SdkError<CreateParticipantError>
Source§impl Client
impl Client
Sourcepub fn create_persistent_contact_association(
&self,
) -> CreatePersistentContactAssociationFluentBuilder
pub fn create_persistent_contact_association( &self, ) -> CreatePersistentContactAssociationFluentBuilder
Constructs a fluent builder for the CreatePersistentContactAssociation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
initial_contact_id(impl Into<String>)
/set_initial_contact_id(Option<String>)
:
required: trueThis is the contactId of the current contact that the
CreatePersistentContactAssociation
API is being called from.rehydration_type(RehydrationType)
/set_rehydration_type(Option<RehydrationType>)
:
required: trueThe contactId chosen for rehydration depends on the type chosen.
-
ENTIRE_PAST_SESSION
: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactId
of the past ended chat session in thesourceContactId
field. In this type, Amazon Connect determines what the most recent chat contact on the past ended chat session and uses it to start a persistent chat. -
FROM_SEGMENT
: Rehydrates a chat from the specified past chat contact provided in thesourceContactId
field.
The actual contactId used for rehydration is provided in the response of this API.
To illustrate how to use rehydration type, consider the following example: A customer starts a chat session. Agent a1 accepts the chat and a conversation starts between the customer and Agent a1. This first contact creates a contact ID C1. Agent a1 then transfers the chat to Agent a2. This creates another contact ID C2. At this point Agent a2 ends the chat. The customer is forwarded to the disconnect flow for a post chat survey that creates another contact ID C3. After the chat survey, the chat session ends. Later, the customer returns and wants to resume their past chat session. At this point, the customer can have following use cases:
-
Use Case 1: The customer wants to continue the past chat session but they want to hide the post chat survey. For this they will use the following configuration:
-
Configuration
-
SourceContactId = “C2”
-
RehydrationType = “FROM_SEGMENT”
-
-
Expected behavior
-
This starts a persistent chat session from the specified past ended contact (C2). Transcripts of past chat sessions C2 and C1 are accessible in the current persistent chat session. Note that chat segment C3 is dropped from the persistent chat session.
-
-
-
Use Case 2: The customer wants to continue the past chat session and see the transcript of the entire past engagement, including the post chat survey. For this they will use the following configuration:
-
Configuration
-
SourceContactId = “C1”
-
RehydrationType = “ENTIRE_PAST_SESSION”
-
-
Expected behavior
-
This starts a persistent chat session from the most recently ended chat contact (C3). Transcripts of past chat sessions C3, C2 and C1 are accessible in the current persistent chat session.
-
-
-
source_contact_id(impl Into<String>)
/set_source_contact_id(Option<String>)
:
required: trueThe contactId from which a persistent chat session must be started.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
CreatePersistentContactAssociationOutput
with field(s):continued_from_contact_id(Option<String>)
:The contactId from which a persistent chat session is started. This field is populated only for persistent chat.
- On failure, responds with
SdkError<CreatePersistentContactAssociationError>
Source§impl Client
impl Client
Sourcepub fn create_predefined_attribute(
&self,
) -> CreatePredefinedAttributeFluentBuilder
pub fn create_predefined_attribute( &self, ) -> CreatePredefinedAttributeFluentBuilder
Constructs a fluent builder for the CreatePredefinedAttribute
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the predefined attribute.
values(PredefinedAttributeValues)
/set_values(Option<PredefinedAttributeValues>)
:
required: trueThe values of the predefined attribute.
- On success, responds with
CreatePredefinedAttributeOutput
- On failure, responds with
SdkError<CreatePredefinedAttributeError>
Source§impl Client
impl Client
Sourcepub fn create_prompt(&self) -> CreatePromptFluentBuilder
pub fn create_prompt(&self) -> CreatePromptFluentBuilder
Constructs a fluent builder for the CreatePrompt
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the prompt.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the prompt.
s3_uri(impl Into<String>)
/set_s3_uri(Option<String>)
:
required: trueThe URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreatePromptOutput
with field(s):prompt_arn(Option<String>)
:The Amazon Resource Name (ARN) of the prompt.
prompt_id(Option<String>)
:A unique identifier for the prompt.
- On failure, responds with
SdkError<CreatePromptError>
Source§impl Client
impl Client
Sourcepub fn create_push_notification_registration(
&self,
) -> CreatePushNotificationRegistrationFluentBuilder
pub fn create_push_notification_registration( &self, ) -> CreatePushNotificationRegistrationFluentBuilder
Constructs a fluent builder for the CreatePushNotificationRegistration
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
pinpoint_app_arn(impl Into<String>)
/set_pinpoint_app_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the Pinpoint application.
device_token(impl Into<String>)
/set_device_token(Option<String>)
:
required: trueThe push notification token issued by the Apple or Google gateways.
device_type(DeviceType)
/set_device_type(Option<DeviceType>)
:
required: trueThe device type to use when sending the message.
contact_configuration(ContactConfiguration)
/set_contact_configuration(Option<ContactConfiguration>)
:
required: trueThe contact configuration for push notification registration.
- On success, responds with
CreatePushNotificationRegistrationOutput
with field(s):registration_id(String)
:The identifier for the registration.
- On failure, responds with
SdkError<CreatePushNotificationRegistrationError>
Source§impl Client
impl Client
Sourcepub fn create_queue(&self) -> CreateQueueFluentBuilder
pub fn create_queue(&self) -> CreateQueueFluentBuilder
Constructs a fluent builder for the CreateQueue
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the queue.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the queue.
outbound_caller_config(OutboundCallerConfig)
/set_outbound_caller_config(Option<OutboundCallerConfig>)
:
required: falseThe outbound caller ID name, number, and outbound whisper flow.
outbound_email_config(OutboundEmailConfig)
/set_outbound_email_config(Option<OutboundEmailConfig>)
:
required: falseThe outbound email address ID for a specified queue.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
max_contacts(i32)
/set_max_contacts(Option<i32>)
:
required: falseThe maximum number of contacts that can be in the queue before it is considered full.
quick_connect_ids(impl Into<String>)
/set_quick_connect_ids(Option<Vec::<String>>)
:
required: falseThe quick connects available to agents who are working the queue.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateQueueOutput
with field(s):queue_arn(Option<String>)
:The Amazon Resource Name (ARN) of the queue.
queue_id(Option<String>)
:The identifier for the queue.
- On failure, responds with
SdkError<CreateQueueError>
Source§impl Client
impl Client
Sourcepub fn create_quick_connect(&self) -> CreateQuickConnectFluentBuilder
pub fn create_quick_connect(&self) -> CreateQuickConnectFluentBuilder
Constructs a fluent builder for the CreateQuickConnect
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA unique name of the quick connect.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the quick connect.
quick_connect_config(QuickConnectConfig)
/set_quick_connect_config(Option<QuickConnectConfig>)
:
required: trueConfiguration settings for the quick connect.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateQuickConnectOutput
with field(s):quick_connect_arn(Option<String>)
:The Amazon Resource Name (ARN) for the quick connect.
quick_connect_id(Option<String>)
:The identifier for the quick connect.
- On failure, responds with
SdkError<CreateQuickConnectError>
Source§impl Client
impl Client
Sourcepub fn create_routing_profile(&self) -> CreateRoutingProfileFluentBuilder
pub fn create_routing_profile(&self) -> CreateRoutingProfileFluentBuilder
Constructs a fluent builder for the CreateRoutingProfile
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the routing profile. Must not be more than 127 characters.
description(impl Into<String>)
/set_description(Option<String>)
:
required: trueDescription of the routing profile. Must not be more than 250 characters.
default_outbound_queue_id(impl Into<String>)
/set_default_outbound_queue_id(Option<String>)
:
required: trueThe default outbound queue for the routing profile.
queue_configs(RoutingProfileQueueConfig)
/set_queue_configs(Option<Vec::<RoutingProfileQueueConfig>>)
:
required: falseThe inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig
objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per routing profile per instance that is listed in Amazon Connect service quotas.media_concurrencies(MediaConcurrency)
/set_media_concurrencies(Option<Vec::<MediaConcurrency>>)
:
required: trueThe channels that agents can handle in the Contact Control Panel (CCP) for this routing 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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
agent_availability_timer(AgentAvailabilityTimer)
/set_agent_availability_timer(Option<AgentAvailabilityTimer>)
:
required: falseWhether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
- On success, responds with
CreateRoutingProfileOutput
with field(s):routing_profile_arn(Option<String>)
:The Amazon Resource Name (ARN) of the routing profile.
routing_profile_id(Option<String>)
:The identifier of the routing profile.
- On failure, responds with
SdkError<CreateRoutingProfileError>
Source§impl Client
impl Client
Sourcepub fn create_rule(&self) -> CreateRuleFluentBuilder
pub fn create_rule(&self) -> CreateRuleFluentBuilder
Constructs a fluent builder for the CreateRule
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA unique name for the rule.
trigger_event_source(RuleTriggerEventSource)
/set_trigger_event_source(Option<RuleTriggerEventSource>)
:
required: trueThe event source to trigger the rule.
function(impl Into<String>)
/set_function(Option<String>)
:
required: trueThe conditions of the rule.
actions(RuleAction)
/set_actions(Option<Vec::<RuleAction>>)
:
required: trueA list of actions to be run when the rule is triggered.
publish_status(RulePublishStatus)
/set_publish_status(Option<RulePublishStatus>)
:
required: trueThe publish status of the rule.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
CreateRuleOutput
with field(s):rule_arn(String)
:The Amazon Resource Name (ARN) of the rule.
rule_id(String)
:A unique identifier for the rule.
- On failure, responds with
SdkError<CreateRuleError>
Source§impl Client
impl Client
Sourcepub fn create_security_profile(&self) -> CreateSecurityProfileFluentBuilder
pub fn create_security_profile(&self) -> CreateSecurityProfileFluentBuilder
Constructs a fluent builder for the CreateSecurityProfile
operation.
- The fluent builder is configurable:
security_profile_name(impl Into<String>)
/set_security_profile_name(Option<String>)
:
required: trueThe name of the security profile.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the security profile.
permissions(impl Into<String>)
/set_permissions(Option<Vec::<String>>)
:
required: falsePermissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
allowed_access_control_tags(impl Into<String>, impl Into<String>)
/set_allowed_access_control_tags(Option<HashMap::<String, String>>)
:
required: falseThe list of tags that a security profile uses to restrict access to resources in Amazon Connect.
tag_restricted_resources(impl Into<String>)
/set_tag_restricted_resources(Option<Vec::<String>>)
:
required: falseThe list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
|SecurityProfile
|Queue
|RoutingProfile
applications(Application)
/set_applications(Option<Vec::<Application>>)
:
required: falseA list of third-party applications that the security profile will give access to.
hierarchy_restricted_resources(impl Into<String>)
/set_hierarchy_restricted_resources(Option<Vec::<String>>)
:
required: falseThe list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
.allowed_access_control_hierarchy_group_id(impl Into<String>)
/set_allowed_access_control_hierarchy_group_id(Option<String>)
:
required: falseThe identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
- On success, responds with
CreateSecurityProfileOutput
with field(s):security_profile_id(Option<String>)
:The identifier for the security profle.
security_profile_arn(Option<String>)
:The Amazon Resource Name (ARN) for the security profile.
- On failure, responds with
SdkError<CreateSecurityProfileError>
Source§impl Client
impl Client
Sourcepub fn create_task_template(&self) -> CreateTaskTemplateFluentBuilder
pub fn create_task_template(&self) -> CreateTaskTemplateFluentBuilder
Constructs a fluent builder for the CreateTaskTemplate
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the task template.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the task template.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: falseThe identifier of the flow that runs by default when a task is created by referencing this template.
self_assign_flow_id(impl Into<String>)
/set_self_assign_flow_id(Option<String>)
:
required: falseThe ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.
constraints(TaskTemplateConstraints)
/set_constraints(Option<TaskTemplateConstraints>)
:
required: falseConstraints that are applicable to the fields listed.
defaults(TaskTemplateDefaults)
/set_defaults(Option<TaskTemplateDefaults>)
:
required: falseThe default values for fields when a task is created by referencing this template.
status(TaskTemplateStatus)
/set_status(Option<TaskTemplateStatus>)
:
required: falseMarks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.fields(TaskTemplateField)
/set_fields(Option<Vec::<TaskTemplateField>>)
:
required: trueFields that are part of the template.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
CreateTaskTemplateOutput
with field(s):id(String)
:The identifier of the task template resource.
arn(String)
:The Amazon Resource Name (ARN) for the task template resource.
- On failure, responds with
SdkError<CreateTaskTemplateError>
Source§impl Client
impl Client
Sourcepub fn create_traffic_distribution_group(
&self,
) -> CreateTrafficDistributionGroupFluentBuilder
pub fn create_traffic_distribution_group( &self, ) -> CreateTrafficDistributionGroupFluentBuilder
Constructs a fluent builder for the CreateTrafficDistributionGroup
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name for the traffic distribution group.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the traffic distribution group.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance that has been replicated. You can find the
instanceId
in the ARN of the instance.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateTrafficDistributionGroupOutput
with field(s):id(Option<String>)
:The identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the traffic distribution group.
- On failure, responds with
SdkError<CreateTrafficDistributionGroupError>
Source§impl Client
impl Client
Sourcepub fn create_use_case(&self) -> CreateUseCaseFluentBuilder
pub fn create_use_case(&self) -> CreateUseCaseFluentBuilder
Constructs a fluent builder for the CreateUseCase
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_association_id(impl Into<String>)
/set_integration_association_id(Option<String>)
:
required: trueThe identifier for the integration association.
use_case_type(UseCaseType)
/set_use_case_type(Option<UseCaseType>)
:
required: trueThe type of use case to associate to the integration association. Each integration association can have only one of each use case 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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateUseCaseOutput
with field(s):use_case_id(Option<String>)
:The identifier of the use case.
use_case_arn(Option<String>)
:The Amazon Resource Name (ARN) for the use case.
- On failure, responds with
SdkError<CreateUseCaseError>
Source§impl Client
impl Client
Sourcepub fn create_user(&self) -> CreateUserFluentBuilder
pub fn create_user(&self) -> CreateUserFluentBuilder
Constructs a fluent builder for the CreateUser
operation.
- The fluent builder is configurable:
username(impl Into<String>)
/set_username(Option<String>)
:
required: trueThe user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.@]+.
Username can include @ only if used in an email format. For example:
-
Correct: testuser
-
Correct: testuser@example.com
-
Incorrect: testuser@example
-
password(impl Into<String>)
/set_password(Option<String>)
:
required: falseThe password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
identity_info(UserIdentityInfo)
/set_identity_info(Option<UserIdentityInfo>)
:
required: falseThe information about the identity of the user.
phone_config(UserPhoneConfig)
/set_phone_config(Option<UserPhoneConfig>)
:
required: trueThe phone settings for the user.
directory_user_id(impl Into<String>)
/set_directory_user_id(Option<String>)
:
required: falseThe identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.
This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.
security_profile_ids(impl Into<String>)
/set_security_profile_ids(Option<Vec::<String>>)
:
required: trueThe identifier of the security profile for the user.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile for the user.
hierarchy_group_id(impl Into<String>)
/set_hierarchy_group_id(Option<String>)
:
required: falseThe identifier of the hierarchy group for the user.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateUserOutput
with field(s):user_id(Option<String>)
:The identifier of the user account.
user_arn(Option<String>)
:The Amazon Resource Name (ARN) of the user account.
- On failure, responds with
SdkError<CreateUserError>
Source§impl Client
impl Client
Sourcepub fn create_user_hierarchy_group(
&self,
) -> CreateUserHierarchyGroupFluentBuilder
pub fn create_user_hierarchy_group( &self, ) -> CreateUserHierarchyGroupFluentBuilder
Constructs a fluent builder for the CreateUserHierarchyGroup
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the user hierarchy group. Must not be more than 100 characters.
parent_group_id(impl Into<String>)
/set_parent_group_id(Option<String>)
:
required: falseThe identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateUserHierarchyGroupOutput
with field(s):hierarchy_group_id(Option<String>)
:The identifier of the hierarchy group.
hierarchy_group_arn(Option<String>)
:The Amazon Resource Name (ARN) of the hierarchy group.
- On failure, responds with
SdkError<CreateUserHierarchyGroupError>
Source§impl Client
impl Client
Sourcepub fn create_view(&self) -> CreateViewFluentBuilder
pub fn create_view(&self) -> CreateViewFluentBuilder
Constructs a fluent builder for the CreateView
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
status(ViewStatus)
/set_status(Option<ViewStatus>)
:
required: trueIndicates the view status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content.content(ViewInputContent)
/set_content(Option<ViewInputContent>)
:
required: trueView content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the view.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the view.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseThe tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { “tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateViewOutput
with field(s):view(Option<View>)
:A view resource object. Contains metadata and content necessary to render the view.
- On failure, responds with
SdkError<CreateViewError>
Source§impl Client
impl Client
Sourcepub fn create_view_version(&self) -> CreateViewVersionFluentBuilder
pub fn create_view_version(&self) -> CreateViewVersionFluentBuilder
Constructs a fluent builder for the CreateViewVersion
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
view_id(impl Into<String>)
/set_view_id(Option<String>)
:
required: trueThe identifier of the view. Both
ViewArn
andViewId
can be used.version_description(impl Into<String>)
/set_version_description(Option<String>)
:
required: falseThe description for the version being published.
view_content_sha256(impl Into<String>)
/set_view_content_sha256(Option<String>)
:
required: falseIndicates the checksum value of the latest published view content.
- On success, responds with
CreateViewVersionOutput
with field(s):view(Option<View>)
:All view data is contained within the View object.
- On failure, responds with
SdkError<CreateViewVersionError>
Source§impl Client
impl Client
Sourcepub fn create_vocabulary(&self) -> CreateVocabularyFluentBuilder
pub fn create_vocabulary(&self) -> CreateVocabularyFluentBuilder
Constructs a fluent builder for the CreateVocabulary
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueA unique name of the custom vocabulary.
language_code(VocabularyLanguageCode)
/set_language_code(Option<VocabularyLanguageCode>)
:
required: trueThe language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
content(impl Into<String>)
/set_content(Option<String>)
:
required: trueThe content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with
Phrase
,IPA
,SoundsLike
, andDisplayAs
fields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table.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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
CreateVocabularyOutput
with field(s):vocabulary_arn(String)
:The Amazon Resource Name (ARN) of the custom vocabulary.
vocabulary_id(String)
:The identifier of the custom vocabulary.
state(VocabularyState)
:The current state of the custom vocabulary.
- On failure, responds with
SdkError<CreateVocabularyError>
Source§impl Client
impl Client
Sourcepub fn deactivate_evaluation_form(
&self,
) -> DeactivateEvaluationFormFluentBuilder
pub fn deactivate_evaluation_form( &self, ) -> DeactivateEvaluationFormFluentBuilder
Constructs a fluent builder for the DeactivateEvaluationForm
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_form_id(impl Into<String>)
/set_evaluation_form_id(Option<String>)
:
required: trueThe unique identifier for the evaluation form.
evaluation_form_version(i32)
/set_evaluation_form_version(Option<i32>)
:
required: trueA version of the evaluation form. If the version property is not provided, the latest version of the evaluation form is deactivated.
- On success, responds with
DeactivateEvaluationFormOutput
with field(s):evaluation_form_id(String)
:The unique identifier for the evaluation form.
evaluation_form_arn(String)
:The Amazon Resource Name (ARN) for the evaluation form resource.
evaluation_form_version(i32)
:The version of the deactivated evaluation form resource.
- On failure, responds with
SdkError<DeactivateEvaluationFormError>
Source§impl Client
impl Client
Sourcepub fn delete_attached_file(&self) -> DeleteAttachedFileFluentBuilder
pub fn delete_attached_file(&self) -> DeleteAttachedFileFluentBuilder
Constructs a fluent builder for the DeleteAttachedFile
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe unique identifier of the Connect instance.
file_id(impl Into<String>)
/set_file_id(Option<String>)
:
required: trueThe unique identifier of the attached file resource.
associated_resource_arn(impl Into<String>)
/set_associated_resource_arn(Option<String>)
:
required: trueThe resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- On success, responds with
DeleteAttachedFileOutput
- On failure, responds with
SdkError<DeleteAttachedFileError>
Source§impl Client
impl Client
Sourcepub fn delete_contact_evaluation(&self) -> DeleteContactEvaluationFluentBuilder
pub fn delete_contact_evaluation(&self) -> DeleteContactEvaluationFluentBuilder
Constructs a fluent builder for the DeleteContactEvaluation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_id(impl Into<String>)
/set_evaluation_id(Option<String>)
:
required: trueA unique identifier for the contact evaluation.
- On success, responds with
DeleteContactEvaluationOutput
- On failure, responds with
SdkError<DeleteContactEvaluationError>
Source§impl Client
impl Client
Sourcepub fn delete_contact_flow(&self) -> DeleteContactFlowFluentBuilder
pub fn delete_contact_flow(&self) -> DeleteContactFlowFluentBuilder
Constructs a fluent builder for the DeleteContactFlow
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
- On success, responds with
DeleteContactFlowOutput
- On failure, responds with
SdkError<DeleteContactFlowError>
Source§impl Client
impl Client
Sourcepub fn delete_contact_flow_module(&self) -> DeleteContactFlowModuleFluentBuilder
pub fn delete_contact_flow_module(&self) -> DeleteContactFlowModuleFluentBuilder
Constructs a fluent builder for the DeleteContactFlowModule
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_module_id(impl Into<String>)
/set_contact_flow_module_id(Option<String>)
:
required: trueThe identifier of the flow module.
- On success, responds with
DeleteContactFlowModuleOutput
- On failure, responds with
SdkError<DeleteContactFlowModuleError>
Source§impl Client
impl Client
Sourcepub fn delete_email_address(&self) -> DeleteEmailAddressFluentBuilder
pub fn delete_email_address(&self) -> DeleteEmailAddressFluentBuilder
Constructs a fluent builder for the DeleteEmailAddress
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
email_address_id(impl Into<String>)
/set_email_address_id(Option<String>)
:
required: trueThe identifier of the email address.
- On success, responds with
DeleteEmailAddressOutput
- On failure, responds with
SdkError<DeleteEmailAddressError>
Source§impl Client
impl Client
Sourcepub fn delete_evaluation_form(&self) -> DeleteEvaluationFormFluentBuilder
pub fn delete_evaluation_form(&self) -> DeleteEvaluationFormFluentBuilder
Constructs a fluent builder for the DeleteEvaluationForm
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_form_id(impl Into<String>)
/set_evaluation_form_id(Option<String>)
:
required: trueThe unique identifier for the evaluation form.
evaluation_form_version(i32)
/set_evaluation_form_version(Option<i32>)
:
required: falseThe unique identifier for the evaluation form.
- On success, responds with
DeleteEvaluationFormOutput
- On failure, responds with
SdkError<DeleteEvaluationFormError>
Source§impl Client
impl Client
Sourcepub fn delete_hours_of_operation(&self) -> DeleteHoursOfOperationFluentBuilder
pub fn delete_hours_of_operation(&self) -> DeleteHoursOfOperationFluentBuilder
Constructs a fluent builder for the DeleteHoursOfOperation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
- On success, responds with
DeleteHoursOfOperationOutput
- On failure, responds with
SdkError<DeleteHoursOfOperationError>
Source§impl Client
impl Client
Sourcepub fn delete_hours_of_operation_override(
&self,
) -> DeleteHoursOfOperationOverrideFluentBuilder
pub fn delete_hours_of_operation_override( &self, ) -> DeleteHoursOfOperationOverrideFluentBuilder
Constructs a fluent builder for the DeleteHoursOfOperationOverride
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
hours_of_operation_override_id(impl Into<String>)
/set_hours_of_operation_override_id(Option<String>)
:
required: trueThe identifier for the hours of operation override.
- On success, responds with
DeleteHoursOfOperationOverrideOutput
- On failure, responds with
SdkError<DeleteHoursOfOperationOverrideError>
Source§impl Client
impl Client
Sourcepub fn delete_instance(&self) -> DeleteInstanceFluentBuilder
pub fn delete_instance(&self) -> DeleteInstanceFluentBuilder
Constructs a fluent builder for the DeleteInstance
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DeleteInstanceOutput
- On failure, responds with
SdkError<DeleteInstanceError>
Source§impl Client
impl Client
Sourcepub fn delete_integration_association(
&self,
) -> DeleteIntegrationAssociationFluentBuilder
pub fn delete_integration_association( &self, ) -> DeleteIntegrationAssociationFluentBuilder
Constructs a fluent builder for the DeleteIntegrationAssociation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_association_id(impl Into<String>)
/set_integration_association_id(Option<String>)
:
required: trueThe identifier for the integration association.
- On success, responds with
DeleteIntegrationAssociationOutput
- On failure, responds with
SdkError<DeleteIntegrationAssociationError>
Source§impl Client
impl Client
Sourcepub fn delete_predefined_attribute(
&self,
) -> DeletePredefinedAttributeFluentBuilder
pub fn delete_predefined_attribute( &self, ) -> DeletePredefinedAttributeFluentBuilder
Constructs a fluent builder for the DeletePredefinedAttribute
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the predefined attribute.
- On success, responds with
DeletePredefinedAttributeOutput
- On failure, responds with
SdkError<DeletePredefinedAttributeError>
Source§impl Client
impl Client
Sourcepub fn delete_prompt(&self) -> DeletePromptFluentBuilder
pub fn delete_prompt(&self) -> DeletePromptFluentBuilder
Constructs a fluent builder for the DeletePrompt
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
prompt_id(impl Into<String>)
/set_prompt_id(Option<String>)
:
required: trueA unique identifier for the prompt.
- On success, responds with
DeletePromptOutput
- On failure, responds with
SdkError<DeletePromptError>
Source§impl Client
impl Client
Sourcepub fn delete_push_notification_registration(
&self,
) -> DeletePushNotificationRegistrationFluentBuilder
pub fn delete_push_notification_registration( &self, ) -> DeletePushNotificationRegistrationFluentBuilder
Constructs a fluent builder for the DeletePushNotificationRegistration
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
registration_id(impl Into<String>)
/set_registration_id(Option<String>)
:
required: trueThe identifier for the registration.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact within the Amazon Connect instance.
- On success, responds with
DeletePushNotificationRegistrationOutput
- On failure, responds with
SdkError<DeletePushNotificationRegistrationError>
Source§impl Client
impl Client
Sourcepub fn delete_queue(&self) -> DeleteQueueFluentBuilder
pub fn delete_queue(&self) -> DeleteQueueFluentBuilder
Constructs a fluent builder for the DeleteQueue
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
- On success, responds with
DeleteQueueOutput
- On failure, responds with
SdkError<DeleteQueueError>
Source§impl Client
impl Client
Sourcepub fn delete_quick_connect(&self) -> DeleteQuickConnectFluentBuilder
pub fn delete_quick_connect(&self) -> DeleteQuickConnectFluentBuilder
Constructs a fluent builder for the DeleteQuickConnect
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
quick_connect_id(impl Into<String>)
/set_quick_connect_id(Option<String>)
:
required: trueThe identifier for the quick connect.
- On success, responds with
DeleteQuickConnectOutput
- On failure, responds with
SdkError<DeleteQuickConnectError>
Source§impl Client
impl Client
Sourcepub fn delete_routing_profile(&self) -> DeleteRoutingProfileFluentBuilder
pub fn delete_routing_profile(&self) -> DeleteRoutingProfileFluentBuilder
Constructs a fluent builder for the DeleteRoutingProfile
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
- On success, responds with
DeleteRoutingProfileOutput
- On failure, responds with
SdkError<DeleteRoutingProfileError>
Source§impl Client
impl Client
Sourcepub fn delete_rule(&self) -> DeleteRuleFluentBuilder
pub fn delete_rule(&self) -> DeleteRuleFluentBuilder
Constructs a fluent builder for the DeleteRule
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
rule_id(impl Into<String>)
/set_rule_id(Option<String>)
:
required: trueA unique identifier for the rule.
- On success, responds with
DeleteRuleOutput
- On failure, responds with
SdkError<DeleteRuleError>
Source§impl Client
impl Client
Sourcepub fn delete_security_profile(&self) -> DeleteSecurityProfileFluentBuilder
pub fn delete_security_profile(&self) -> DeleteSecurityProfileFluentBuilder
Constructs a fluent builder for the DeleteSecurityProfile
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
security_profile_id(impl Into<String>)
/set_security_profile_id(Option<String>)
:
required: trueThe identifier for the security profle.
- On success, responds with
DeleteSecurityProfileOutput
- On failure, responds with
SdkError<DeleteSecurityProfileError>
Source§impl Client
impl Client
Sourcepub fn delete_task_template(&self) -> DeleteTaskTemplateFluentBuilder
pub fn delete_task_template(&self) -> DeleteTaskTemplateFluentBuilder
Constructs a fluent builder for the DeleteTaskTemplate
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
task_template_id(impl Into<String>)
/set_task_template_id(Option<String>)
:
required: trueA unique identifier for the task template.
- On success, responds with
DeleteTaskTemplateOutput
- On failure, responds with
SdkError<DeleteTaskTemplateError>
Source§impl Client
impl Client
Sourcepub fn delete_traffic_distribution_group(
&self,
) -> DeleteTrafficDistributionGroupFluentBuilder
pub fn delete_traffic_distribution_group( &self, ) -> DeleteTrafficDistributionGroupFluentBuilder
Constructs a fluent builder for the DeleteTrafficDistributionGroup
operation.
- The fluent builder is configurable:
traffic_distribution_group_id(impl Into<String>)
/set_traffic_distribution_group_id(Option<String>)
:
required: trueThe identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
- On success, responds with
DeleteTrafficDistributionGroupOutput
- On failure, responds with
SdkError<DeleteTrafficDistributionGroupError>
Source§impl Client
impl Client
Sourcepub fn delete_use_case(&self) -> DeleteUseCaseFluentBuilder
pub fn delete_use_case(&self) -> DeleteUseCaseFluentBuilder
Constructs a fluent builder for the DeleteUseCase
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_association_id(impl Into<String>)
/set_integration_association_id(Option<String>)
:
required: trueThe identifier for the integration association.
use_case_id(impl Into<String>)
/set_use_case_id(Option<String>)
:
required: trueThe identifier for the use case.
- On success, responds with
DeleteUseCaseOutput
- On failure, responds with
SdkError<DeleteUseCaseError>
Source§impl Client
impl Client
Sourcepub fn delete_user(&self) -> DeleteUserFluentBuilder
pub fn delete_user(&self) -> DeleteUserFluentBuilder
Constructs a fluent builder for the DeleteUser
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user.
- On success, responds with
DeleteUserOutput
- On failure, responds with
SdkError<DeleteUserError>
Source§impl Client
impl Client
Sourcepub fn delete_user_hierarchy_group(
&self,
) -> DeleteUserHierarchyGroupFluentBuilder
pub fn delete_user_hierarchy_group( &self, ) -> DeleteUserHierarchyGroupFluentBuilder
Constructs a fluent builder for the DeleteUserHierarchyGroup
operation.
- The fluent builder is configurable:
hierarchy_group_id(impl Into<String>)
/set_hierarchy_group_id(Option<String>)
:
required: trueThe identifier of the hierarchy group.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DeleteUserHierarchyGroupOutput
- On failure, responds with
SdkError<DeleteUserHierarchyGroupError>
Source§impl Client
impl Client
Sourcepub fn delete_view(&self) -> DeleteViewFluentBuilder
pub fn delete_view(&self) -> DeleteViewFluentBuilder
Constructs a fluent builder for the DeleteView
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
view_id(impl Into<String>)
/set_view_id(Option<String>)
:
required: trueThe identifier of the view. Both
ViewArn
andViewId
can be used.
- On success, responds with
DeleteViewOutput
- On failure, responds with
SdkError<DeleteViewError>
Source§impl Client
impl Client
Sourcepub fn delete_view_version(&self) -> DeleteViewVersionFluentBuilder
pub fn delete_view_version(&self) -> DeleteViewVersionFluentBuilder
Constructs a fluent builder for the DeleteViewVersion
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
view_id(impl Into<String>)
/set_view_id(Option<String>)
:
required: trueThe identifier of the view. Both
ViewArn
andViewId
can be used.view_version(i32)
/set_view_version(Option<i32>)
:
required: trueThe version number of the view.
- On success, responds with
DeleteViewVersionOutput
- On failure, responds with
SdkError<DeleteViewVersionError>
Source§impl Client
impl Client
Sourcepub fn delete_vocabulary(&self) -> DeleteVocabularyFluentBuilder
pub fn delete_vocabulary(&self) -> DeleteVocabularyFluentBuilder
Constructs a fluent builder for the DeleteVocabulary
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
vocabulary_id(impl Into<String>)
/set_vocabulary_id(Option<String>)
:
required: trueThe identifier of the custom vocabulary.
- On success, responds with
DeleteVocabularyOutput
with field(s):vocabulary_arn(String)
:The Amazon Resource Name (ARN) of the custom vocabulary.
vocabulary_id(String)
:The identifier of the custom vocabulary.
state(VocabularyState)
:The current state of the custom vocabulary.
- On failure, responds with
SdkError<DeleteVocabularyError>
Source§impl Client
impl Client
Sourcepub fn describe_agent_status(&self) -> DescribeAgentStatusFluentBuilder
pub fn describe_agent_status(&self) -> DescribeAgentStatusFluentBuilder
Constructs a fluent builder for the DescribeAgentStatus
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
agent_status_id(impl Into<String>)
/set_agent_status_id(Option<String>)
:
required: trueThe identifier for the agent status.
- On success, responds with
DescribeAgentStatusOutput
with field(s):agent_status(Option<AgentStatus>)
:The agent status.
- On failure, responds with
SdkError<DescribeAgentStatusError>
Source§impl Client
impl Client
Sourcepub fn describe_authentication_profile(
&self,
) -> DescribeAuthenticationProfileFluentBuilder
pub fn describe_authentication_profile( &self, ) -> DescribeAuthenticationProfileFluentBuilder
Constructs a fluent builder for the DescribeAuthenticationProfile
operation.
- The fluent builder is configurable:
authentication_profile_id(impl Into<String>)
/set_authentication_profile_id(Option<String>)
:
required: trueA unique identifier for the authentication profile.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DescribeAuthenticationProfileOutput
with field(s):authentication_profile(Option<AuthenticationProfile>)
:The authentication profile object being described.
- On failure, responds with
SdkError<DescribeAuthenticationProfileError>
Source§impl Client
impl Client
Sourcepub fn describe_contact(&self) -> DescribeContactFluentBuilder
pub fn describe_contact(&self) -> DescribeContactFluentBuilder
Constructs a fluent builder for the DescribeContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
- On success, responds with
DescribeContactOutput
with field(s):contact(Option<Contact>)
:Information about the contact.
- On failure, responds with
SdkError<DescribeContactError>
Source§impl Client
impl Client
Sourcepub fn describe_contact_evaluation(
&self,
) -> DescribeContactEvaluationFluentBuilder
pub fn describe_contact_evaluation( &self, ) -> DescribeContactEvaluationFluentBuilder
Constructs a fluent builder for the DescribeContactEvaluation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_id(impl Into<String>)
/set_evaluation_id(Option<String>)
:
required: trueA unique identifier for the contact evaluation.
- On success, responds with
DescribeContactEvaluationOutput
with field(s):evaluation(Option<Evaluation>)
:Information about the evaluation form completed for a specific contact.
evaluation_form(Option<EvaluationFormContent>)
:Information about the evaluation form.
- On failure, responds with
SdkError<DescribeContactEvaluationError>
Source§impl Client
impl Client
Sourcepub fn describe_contact_flow(&self) -> DescribeContactFlowFluentBuilder
pub fn describe_contact_flow(&self) -> DescribeContactFlowFluentBuilder
Constructs a fluent builder for the DescribeContactFlow
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
- On success, responds with
DescribeContactFlowOutput
with field(s):contact_flow(Option<ContactFlow>)
:Information about the flow.
- On failure, responds with
SdkError<DescribeContactFlowError>
Source§impl Client
impl Client
Sourcepub fn describe_contact_flow_module(
&self,
) -> DescribeContactFlowModuleFluentBuilder
pub fn describe_contact_flow_module( &self, ) -> DescribeContactFlowModuleFluentBuilder
Constructs a fluent builder for the DescribeContactFlowModule
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_module_id(impl Into<String>)
/set_contact_flow_module_id(Option<String>)
:
required: trueThe identifier of the flow module.
- On success, responds with
DescribeContactFlowModuleOutput
with field(s):contact_flow_module(Option<ContactFlowModule>)
:Information about the flow module.
- On failure, responds with
SdkError<DescribeContactFlowModuleError>
Source§impl Client
impl Client
Sourcepub fn describe_email_address(&self) -> DescribeEmailAddressFluentBuilder
pub fn describe_email_address(&self) -> DescribeEmailAddressFluentBuilder
Constructs a fluent builder for the DescribeEmailAddress
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
email_address_id(impl Into<String>)
/set_email_address_id(Option<String>)
:
required: trueThe identifier of the email address.
- On success, responds with
DescribeEmailAddressOutput
with field(s):email_address_id(Option<String>)
:The identifier of the email address.
email_address_arn(Option<String>)
:The Amazon Resource Name (ARN) of the email address.
email_address(Option<String>)
:The email address with the instance, in [^\s@]+@[^\s@]+.[^\s@]+ format.
display_name(Option<String>)
:The display name of email address
description(Option<String>)
:The description of the email address.
create_timestamp(Option<String>)
:The email address creation timestamp in ISO 8601 Datetime.
modified_timestamp(Option<String>)
:The email address last modification timestamp in ISO 8601 Datetime.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On failure, responds with
SdkError<DescribeEmailAddressError>
Source§impl Client
impl Client
Sourcepub fn describe_evaluation_form(&self) -> DescribeEvaluationFormFluentBuilder
pub fn describe_evaluation_form(&self) -> DescribeEvaluationFormFluentBuilder
Constructs a fluent builder for the DescribeEvaluationForm
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_form_id(impl Into<String>)
/set_evaluation_form_id(Option<String>)
:
required: trueA unique identifier for the contact evaluation.
evaluation_form_version(i32)
/set_evaluation_form_version(Option<i32>)
:
required: falseA version of the evaluation form.
- On success, responds with
DescribeEvaluationFormOutput
with field(s):evaluation_form(Option<EvaluationForm>)
:Information about the evaluation form.
- On failure, responds with
SdkError<DescribeEvaluationFormError>
Source§impl Client
impl Client
Sourcepub fn describe_hours_of_operation(
&self,
) -> DescribeHoursOfOperationFluentBuilder
pub fn describe_hours_of_operation( &self, ) -> DescribeHoursOfOperationFluentBuilder
Constructs a fluent builder for the DescribeHoursOfOperation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
- On success, responds with
DescribeHoursOfOperationOutput
with field(s):hours_of_operation(Option<HoursOfOperation>)
:The hours of operation.
- On failure, responds with
SdkError<DescribeHoursOfOperationError>
Source§impl Client
impl Client
Sourcepub fn describe_hours_of_operation_override(
&self,
) -> DescribeHoursOfOperationOverrideFluentBuilder
pub fn describe_hours_of_operation_override( &self, ) -> DescribeHoursOfOperationOverrideFluentBuilder
Constructs a fluent builder for the DescribeHoursOfOperationOverride
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
hours_of_operation_override_id(impl Into<String>)
/set_hours_of_operation_override_id(Option<String>)
:
required: trueThe identifier for the hours of operation override.
- On success, responds with
DescribeHoursOfOperationOverrideOutput
with field(s):hours_of_operation_override(Option<HoursOfOperationOverride>)
:Information about the hours of operations override.
- On failure, responds with
SdkError<DescribeHoursOfOperationOverrideError>
Source§impl Client
impl Client
Sourcepub fn describe_instance(&self) -> DescribeInstanceFluentBuilder
pub fn describe_instance(&self) -> DescribeInstanceFluentBuilder
Constructs a fluent builder for the DescribeInstance
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DescribeInstanceOutput
with field(s):instance(Option<Instance>)
:The name of the instance.
replication_configuration(Option<ReplicationConfiguration>)
:Status information about the replication process. This field is included only when you are using the ReplicateInstance API to replicate an Amazon Connect instance across Amazon Web Services Regions. For information about replicating Amazon Connect instances, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
- On failure, responds with
SdkError<DescribeInstanceError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_attribute(
&self,
) -> DescribeInstanceAttributeFluentBuilder
pub fn describe_instance_attribute( &self, ) -> DescribeInstanceAttributeFluentBuilder
Constructs a fluent builder for the DescribeInstanceAttribute
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
attribute_type(InstanceAttributeType)
/set_attribute_type(Option<InstanceAttributeType>)
:
required: trueThe type of attribute.
- On success, responds with
DescribeInstanceAttributeOutput
with field(s):attribute(Option<Attribute>)
:The type of attribute.
- On failure, responds with
SdkError<DescribeInstanceAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_storage_config(
&self,
) -> DescribeInstanceStorageConfigFluentBuilder
pub fn describe_instance_storage_config( &self, ) -> DescribeInstanceStorageConfigFluentBuilder
Constructs a fluent builder for the DescribeInstanceStorageConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
resource_type(InstanceStorageResourceType)
/set_resource_type(Option<InstanceStorageResourceType>)
:
required: trueA valid resource type.
- On success, responds with
DescribeInstanceStorageConfigOutput
with field(s):storage_config(Option<InstanceStorageConfig>)
:A valid storage type.
- On failure, responds with
SdkError<DescribeInstanceStorageConfigError>
Source§impl Client
impl Client
Sourcepub fn describe_phone_number(&self) -> DescribePhoneNumberFluentBuilder
pub fn describe_phone_number(&self) -> DescribePhoneNumberFluentBuilder
Constructs a fluent builder for the DescribePhoneNumber
operation.
- The fluent builder is configurable:
phone_number_id(impl Into<String>)
/set_phone_number_id(Option<String>)
:
required: trueA unique identifier for the phone number.
- On success, responds with
DescribePhoneNumberOutput
with field(s):claimed_phone_number_summary(Option<ClaimedPhoneNumberSummary>)
:Information about a phone number that’s been claimed to your Amazon Connect instance or traffic distribution group.
- On failure, responds with
SdkError<DescribePhoneNumberError>
Source§impl Client
impl Client
Sourcepub fn describe_predefined_attribute(
&self,
) -> DescribePredefinedAttributeFluentBuilder
pub fn describe_predefined_attribute( &self, ) -> DescribePredefinedAttributeFluentBuilder
Constructs a fluent builder for the DescribePredefinedAttribute
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the predefined attribute.
- On success, responds with
DescribePredefinedAttributeOutput
with field(s):predefined_attribute(Option<PredefinedAttribute>)
:Information about the predefined attribute.
- On failure, responds with
SdkError<DescribePredefinedAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_prompt(&self) -> DescribePromptFluentBuilder
pub fn describe_prompt(&self) -> DescribePromptFluentBuilder
Constructs a fluent builder for the DescribePrompt
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
prompt_id(impl Into<String>)
/set_prompt_id(Option<String>)
:
required: trueA unique identifier for the prompt.
- On success, responds with
DescribePromptOutput
with field(s):prompt(Option<Prompt>)
:Information about the prompt.
- On failure, responds with
SdkError<DescribePromptError>
Source§impl Client
impl Client
Sourcepub fn describe_queue(&self) -> DescribeQueueFluentBuilder
pub fn describe_queue(&self) -> DescribeQueueFluentBuilder
Constructs a fluent builder for the DescribeQueue
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
- On success, responds with
DescribeQueueOutput
with field(s):queue(Option<Queue>)
:The name of the queue.
- On failure, responds with
SdkError<DescribeQueueError>
Source§impl Client
impl Client
Sourcepub fn describe_quick_connect(&self) -> DescribeQuickConnectFluentBuilder
pub fn describe_quick_connect(&self) -> DescribeQuickConnectFluentBuilder
Constructs a fluent builder for the DescribeQuickConnect
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
quick_connect_id(impl Into<String>)
/set_quick_connect_id(Option<String>)
:
required: trueThe identifier for the quick connect.
- On success, responds with
DescribeQuickConnectOutput
with field(s):quick_connect(Option<QuickConnect>)
:Information about the quick connect.
- On failure, responds with
SdkError<DescribeQuickConnectError>
Source§impl Client
impl Client
Sourcepub fn describe_routing_profile(&self) -> DescribeRoutingProfileFluentBuilder
pub fn describe_routing_profile(&self) -> DescribeRoutingProfileFluentBuilder
Constructs a fluent builder for the DescribeRoutingProfile
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
- On success, responds with
DescribeRoutingProfileOutput
with field(s):routing_profile(Option<RoutingProfile>)
:The routing profile.
- On failure, responds with
SdkError<DescribeRoutingProfileError>
Source§impl Client
impl Client
Sourcepub fn describe_rule(&self) -> DescribeRuleFluentBuilder
pub fn describe_rule(&self) -> DescribeRuleFluentBuilder
Constructs a fluent builder for the DescribeRule
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
rule_id(impl Into<String>)
/set_rule_id(Option<String>)
:
required: trueA unique identifier for the rule.
- On success, responds with
DescribeRuleOutput
with field(s):rule(Option<Rule>)
:Information about the rule.
- On failure, responds with
SdkError<DescribeRuleError>
Source§impl Client
impl Client
Sourcepub fn describe_security_profile(&self) -> DescribeSecurityProfileFluentBuilder
pub fn describe_security_profile(&self) -> DescribeSecurityProfileFluentBuilder
Constructs a fluent builder for the DescribeSecurityProfile
operation.
- The fluent builder is configurable:
security_profile_id(impl Into<String>)
/set_security_profile_id(Option<String>)
:
required: trueThe identifier for the security profle.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DescribeSecurityProfileOutput
with field(s):security_profile(Option<SecurityProfile>)
:The security profile.
- On failure, responds with
SdkError<DescribeSecurityProfileError>
Source§impl Client
impl Client
Sourcepub fn describe_traffic_distribution_group(
&self,
) -> DescribeTrafficDistributionGroupFluentBuilder
pub fn describe_traffic_distribution_group( &self, ) -> DescribeTrafficDistributionGroupFluentBuilder
Constructs a fluent builder for the DescribeTrafficDistributionGroup
operation.
- The fluent builder is configurable:
traffic_distribution_group_id(impl Into<String>)
/set_traffic_distribution_group_id(Option<String>)
:
required: trueThe identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
- On success, responds with
DescribeTrafficDistributionGroupOutput
with field(s):traffic_distribution_group(Option<TrafficDistributionGroup>)
:Information about the traffic distribution group.
- On failure, responds with
SdkError<DescribeTrafficDistributionGroupError>
Source§impl Client
impl Client
Sourcepub fn describe_user(&self) -> DescribeUserFluentBuilder
pub fn describe_user(&self) -> DescribeUserFluentBuilder
Constructs a fluent builder for the DescribeUser
operation.
- The fluent builder is configurable:
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DescribeUserOutput
with field(s):user(Option<User>)
:Information about the user account and configuration settings.
- On failure, responds with
SdkError<DescribeUserError>
Source§impl Client
impl Client
Sourcepub fn describe_user_hierarchy_group(
&self,
) -> DescribeUserHierarchyGroupFluentBuilder
pub fn describe_user_hierarchy_group( &self, ) -> DescribeUserHierarchyGroupFluentBuilder
Constructs a fluent builder for the DescribeUserHierarchyGroup
operation.
- The fluent builder is configurable:
hierarchy_group_id(impl Into<String>)
/set_hierarchy_group_id(Option<String>)
:
required: trueThe identifier of the hierarchy group.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DescribeUserHierarchyGroupOutput
with field(s):hierarchy_group(Option<HierarchyGroup>)
:Information about the hierarchy group.
- On failure, responds with
SdkError<DescribeUserHierarchyGroupError>
Source§impl Client
impl Client
Sourcepub fn describe_user_hierarchy_structure(
&self,
) -> DescribeUserHierarchyStructureFluentBuilder
pub fn describe_user_hierarchy_structure( &self, ) -> DescribeUserHierarchyStructureFluentBuilder
Constructs a fluent builder for the DescribeUserHierarchyStructure
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DescribeUserHierarchyStructureOutput
with field(s):hierarchy_structure(Option<HierarchyStructure>)
:Information about the hierarchy structure.
- On failure, responds with
SdkError<DescribeUserHierarchyStructureError>
Source§impl Client
impl Client
Sourcepub fn describe_view(&self) -> DescribeViewFluentBuilder
pub fn describe_view(&self) -> DescribeViewFluentBuilder
Constructs a fluent builder for the DescribeView
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
view_id(impl Into<String>)
/set_view_id(Option<String>)
:
required: trueThe ViewId of the view. This must be an ARN for Amazon Web Services managed views.
- On success, responds with
DescribeViewOutput
with field(s):view(Option<View>)
:All view data is contained within the View object.
- On failure, responds with
SdkError<DescribeViewError>
Source§impl Client
impl Client
Sourcepub fn describe_vocabulary(&self) -> DescribeVocabularyFluentBuilder
pub fn describe_vocabulary(&self) -> DescribeVocabularyFluentBuilder
Constructs a fluent builder for the DescribeVocabulary
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
vocabulary_id(impl Into<String>)
/set_vocabulary_id(Option<String>)
:
required: trueThe identifier of the custom vocabulary.
- On success, responds with
DescribeVocabularyOutput
with field(s):vocabulary(Option<Vocabulary>)
:A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.
- On failure, responds with
SdkError<DescribeVocabularyError>
Source§impl Client
impl Client
Sourcepub fn disassociate_analytics_data_set(
&self,
) -> DisassociateAnalyticsDataSetFluentBuilder
pub fn disassociate_analytics_data_set( &self, ) -> DisassociateAnalyticsDataSetFluentBuilder
Constructs a fluent builder for the DisassociateAnalyticsDataSet
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
data_set_id(impl Into<String>)
/set_data_set_id(Option<String>)
:
required: trueThe identifier of the dataset to remove.
target_account_id(impl Into<String>)
/set_target_account_id(Option<String>)
:
required: falseThe identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
- On success, responds with
DisassociateAnalyticsDataSetOutput
- On failure, responds with
SdkError<DisassociateAnalyticsDataSetError>
Source§impl Client
impl Client
Sourcepub fn disassociate_approved_origin(
&self,
) -> DisassociateApprovedOriginFluentBuilder
pub fn disassociate_approved_origin( &self, ) -> DisassociateApprovedOriginFluentBuilder
Constructs a fluent builder for the DisassociateApprovedOrigin
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
origin(impl Into<String>)
/set_origin(Option<String>)
:
required: trueThe domain URL of the integrated application.
- On success, responds with
DisassociateApprovedOriginOutput
- On failure, responds with
SdkError<DisassociateApprovedOriginError>
Source§impl Client
impl Client
Sourcepub fn disassociate_bot(&self) -> DisassociateBotFluentBuilder
pub fn disassociate_bot(&self) -> DisassociateBotFluentBuilder
Constructs a fluent builder for the DisassociateBot
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
lex_bot(LexBot)
/set_lex_bot(Option<LexBot>)
:
required: falseConfiguration information of an Amazon Lex bot.
lex_v2_bot(LexV2Bot)
/set_lex_v2_bot(Option<LexV2Bot>)
:
required: falseThe Amazon Lex V2 bot to disassociate from the instance.
- On success, responds with
DisassociateBotOutput
- On failure, responds with
SdkError<DisassociateBotError>
Source§impl Client
impl Client
Sourcepub fn disassociate_flow(&self) -> DisassociateFlowFluentBuilder
pub fn disassociate_flow(&self) -> DisassociateFlowFluentBuilder
Constructs a fluent builder for the DisassociateFlow
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe identifier of the resource.
-
Amazon Web Services End User Messaging SMS phone number ARN when using
SMS_PHONE_NUMBER
-
Amazon Web Services End User Messaging Social phone number ARN when using
WHATSAPP_MESSAGING_PHONE_NUMBER
-
resource_type(FlowAssociationResourceType)
/set_resource_type(Option<FlowAssociationResourceType>)
:
required: trueA valid resource type.
- On success, responds with
DisassociateFlowOutput
- On failure, responds with
SdkError<DisassociateFlowError>
Source§impl Client
impl Client
Sourcepub fn disassociate_instance_storage_config(
&self,
) -> DisassociateInstanceStorageConfigFluentBuilder
pub fn disassociate_instance_storage_config( &self, ) -> DisassociateInstanceStorageConfigFluentBuilder
Constructs a fluent builder for the DisassociateInstanceStorageConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
resource_type(InstanceStorageResourceType)
/set_resource_type(Option<InstanceStorageResourceType>)
:
required: trueA valid resource type.
- On success, responds with
DisassociateInstanceStorageConfigOutput
- On failure, responds with
SdkError<DisassociateInstanceStorageConfigError>
Source§impl Client
impl Client
Sourcepub fn disassociate_lambda_function(
&self,
) -> DisassociateLambdaFunctionFluentBuilder
pub fn disassociate_lambda_function( &self, ) -> DisassociateLambdaFunctionFluentBuilder
Constructs a fluent builder for the DisassociateLambdaFunction
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance..
function_arn(impl Into<String>)
/set_function_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the Lambda function being disassociated.
- On success, responds with
DisassociateLambdaFunctionOutput
- On failure, responds with
SdkError<DisassociateLambdaFunctionError>
Source§impl Client
impl Client
Sourcepub fn disassociate_lex_bot(&self) -> DisassociateLexBotFluentBuilder
pub fn disassociate_lex_bot(&self) -> DisassociateLexBotFluentBuilder
Constructs a fluent builder for the DisassociateLexBot
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
bot_name(impl Into<String>)
/set_bot_name(Option<String>)
:
required: trueThe name of the Amazon Lex bot. Maximum character limit of 50.
lex_region(impl Into<String>)
/set_lex_region(Option<String>)
:
required: trueThe Amazon Web Services Region in which the Amazon Lex bot has been created.
- On success, responds with
DisassociateLexBotOutput
- On failure, responds with
SdkError<DisassociateLexBotError>
Source§impl Client
impl Client
Sourcepub fn disassociate_phone_number_contact_flow(
&self,
) -> DisassociatePhoneNumberContactFlowFluentBuilder
pub fn disassociate_phone_number_contact_flow( &self, ) -> DisassociatePhoneNumberContactFlowFluentBuilder
Constructs a fluent builder for the DisassociatePhoneNumberContactFlow
operation.
- The fluent builder is configurable:
phone_number_id(impl Into<String>)
/set_phone_number_id(Option<String>)
:
required: trueA unique identifier for the phone number.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DisassociatePhoneNumberContactFlowOutput
- On failure, responds with
SdkError<DisassociatePhoneNumberContactFlowError>
Source§impl Client
impl Client
Sourcepub fn disassociate_queue_quick_connects(
&self,
) -> DisassociateQueueQuickConnectsFluentBuilder
pub fn disassociate_queue_quick_connects( &self, ) -> DisassociateQueueQuickConnectsFluentBuilder
Constructs a fluent builder for the DisassociateQueueQuickConnects
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
quick_connect_ids(impl Into<String>)
/set_quick_connect_ids(Option<Vec::<String>>)
:
required: trueThe quick connects to disassociate from the queue.
- On success, responds with
DisassociateQueueQuickConnectsOutput
- On failure, responds with
SdkError<DisassociateQueueQuickConnectsError>
Source§impl Client
impl Client
Sourcepub fn disassociate_routing_profile_queues(
&self,
) -> DisassociateRoutingProfileQueuesFluentBuilder
pub fn disassociate_routing_profile_queues( &self, ) -> DisassociateRoutingProfileQueuesFluentBuilder
Constructs a fluent builder for the DisassociateRoutingProfileQueues
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
queue_references(RoutingProfileQueueReference)
/set_queue_references(Option<Vec::<RoutingProfileQueueReference>>)
:
required: trueThe queues to disassociate from this routing profile.
- On success, responds with
DisassociateRoutingProfileQueuesOutput
- On failure, responds with
SdkError<DisassociateRoutingProfileQueuesError>
Source§impl Client
impl Client
Sourcepub fn disassociate_security_key(&self) -> DisassociateSecurityKeyFluentBuilder
pub fn disassociate_security_key(&self) -> DisassociateSecurityKeyFluentBuilder
Constructs a fluent builder for the DisassociateSecurityKey
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- On success, responds with
DisassociateSecurityKeyOutput
- On failure, responds with
SdkError<DisassociateSecurityKeyError>
Source§impl Client
impl Client
Sourcepub fn disassociate_traffic_distribution_group_user(
&self,
) -> DisassociateTrafficDistributionGroupUserFluentBuilder
pub fn disassociate_traffic_distribution_group_user( &self, ) -> DisassociateTrafficDistributionGroupUserFluentBuilder
Constructs a fluent builder for the DisassociateTrafficDistributionGroupUser
operation.
- The fluent builder is configurable:
traffic_distribution_group_id(impl Into<String>)
/set_traffic_distribution_group_id(Option<String>)
:
required: trueThe identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier for the user. This can be the ID or the ARN of the user.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
DisassociateTrafficDistributionGroupUserOutput
- On failure, responds with
SdkError<DisassociateTrafficDistributionGroupUserError>
Source§impl Client
impl Client
Sourcepub fn disassociate_user_proficiencies(
&self,
) -> DisassociateUserProficienciesFluentBuilder
pub fn disassociate_user_proficiencies( &self, ) -> DisassociateUserProficienciesFluentBuilder
Constructs a fluent builder for the DisassociateUserProficiencies
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
user_proficiencies(UserProficiencyDisassociate)
/set_user_proficiencies(Option<Vec::<UserProficiencyDisassociate>>)
:
required: trueThe proficiencies to disassociate from the user.
- On success, responds with
DisassociateUserProficienciesOutput
- On failure, responds with
SdkError<DisassociateUserProficienciesError>
Source§impl Client
impl Client
Sourcepub fn dismiss_user_contact(&self) -> DismissUserContactFluentBuilder
pub fn dismiss_user_contact(&self) -> DismissUserContactFluentBuilder
Constructs a fluent builder for the DismissUserContact
operation.
- The fluent builder is configurable:
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
- On success, responds with
DismissUserContactOutput
- On failure, responds with
SdkError<DismissUserContactError>
Source§impl Client
impl Client
Sourcepub fn get_attached_file(&self) -> GetAttachedFileFluentBuilder
pub fn get_attached_file(&self) -> GetAttachedFileFluentBuilder
Constructs a fluent builder for the GetAttachedFile
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe unique identifier of the Amazon Connect instance.
file_id(impl Into<String>)
/set_file_id(Option<String>)
:
required: trueThe unique identifier of the attached file resource.
url_expiry_in_seconds(i32)
/set_url_expiry_in_seconds(Option<i32>)
:
required: falseOptional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
associated_resource_arn(impl Into<String>)
/set_associated_resource_arn(Option<String>)
:
required: trueThe resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.
This value must be a valid ARN.
- On success, responds with
GetAttachedFileOutput
with field(s):file_arn(Option<String>)
:The unique identifier of the attached file resource (ARN).
file_id(Option<String>)
:The unique identifier of the attached file resource.
creation_time(Option<String>)
:The time of Creation of the file resource as an ISO timestamp. It’s specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2024-05-03T02:41:28.172Z
.file_status(Option<FileStatusType>)
:The current status of the attached file.
file_name(Option<String>)
:A case-sensitive name of the attached file being uploaded.
file_size_in_bytes(i64)
:The size of the attached file in bytes.
associated_resource_arn(Option<String>)
:The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
file_use_case_type(Option<FileUseCaseType>)
:The use case for the file.
created_by(Option<CreatedByInfo>)
:Represents the identity that created the file.
download_url_metadata(Option<DownloadUrlMetadata>)
:URL and expiry to be used when downloading the attached file.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource. For example,
{ “Tags”: {“key1”:“value1”, “key2”:“value2”} }
.
- On failure, responds with
SdkError<GetAttachedFileError>
Source§impl Client
impl Client
Sourcepub fn get_contact_attributes(&self) -> GetContactAttributesFluentBuilder
pub fn get_contact_attributes(&self) -> GetContactAttributesFluentBuilder
Constructs a fluent builder for the GetContactAttributes
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
initial_contact_id(impl Into<String>)
/set_initial_contact_id(Option<String>)
:
required: trueThe identifier of the initial contact.
- On success, responds with
GetContactAttributesOutput
with field(s):attributes(Option<HashMap::<String, String>>)
:Information about the attributes.
- On failure, responds with
SdkError<GetContactAttributesError>
Source§impl Client
impl Client
Sourcepub fn get_current_metric_data(&self) -> GetCurrentMetricDataFluentBuilder
pub fn get_current_metric_data(&self) -> GetCurrentMetricDataFluentBuilder
Constructs a fluent builder for the GetCurrentMetricData
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
filters(Filters)
/set_filters(Option<Filters>)
:
required: trueThe filters to apply to returned metrics. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Channels: 3 (VOICE, CHAT, and TASK channels are supported.)
-
RoutingStepExpressions: 50
Metric data is retrieved only for the resources associated with the queues or routing profiles, and by any channels included in the filter. (You cannot filter by both queue AND routing profile.) You can include both resource IDs and resource ARNs in the same request.
When using the
RoutingStepExpression
filter, you need to pass exactly oneQueueId
. The filter is also case sensitive so when using theRoutingStepExpression
filter, grouping byROUTING_STEP_EXPRESSION
is required.Currently tagging is only supported on the resources that are passed in the filter.
-
groupings(Grouping)
/set_groupings(Option<Vec::<Grouping>>)
:
required: falseThe grouping applied to the metrics returned. For example, when grouped by
QUEUE
, the metrics returned apply to each queue rather than aggregated for all queues.-
If you group by
CHANNEL
, you should include a Channels filter. VOICE, CHAT, and TASK channels are supported. -
If you group by
ROUTING_PROFILE
, you must include either a queue or routing profile filter. In addition, a routing profile filter is required for metricsCONTACTS_SCHEDULED
,CONTACTS_IN_QUEUE
, andOLDEST_CONTACT_AGE
. -
If no
Grouping
is included in the request, a summary of metrics is returned. -
When using the
RoutingStepExpression
filter, group byROUTING_STEP_EXPRESSION
is required.
-
current_metrics(CurrentMetric)
/set_current_metrics(Option<Vec::<CurrentMetric>>)
:
required: trueThe metrics to retrieve. Specify the name and unit for each metric. The following metrics are available. For a description of all the metrics, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.
- AGENTS_AFTER_CONTACT_WORK
-
Unit: COUNT
Name in real-time metrics report: ACW
- AGENTS_AVAILABLE
-
Unit: COUNT
Name in real-time metrics report: Available
- AGENTS_ERROR
-
Unit: COUNT
Name in real-time metrics report: Error
- AGENTS_NON_PRODUCTIVE
-
Unit: COUNT
Name in real-time metrics report: NPT (Non-Productive Time)
- AGENTS_ON_CALL
-
Unit: COUNT
Name in real-time metrics report: On contact
- AGENTS_ON_CONTACT
-
Unit: COUNT
Name in real-time metrics report: On contact
- AGENTS_ONLINE
-
Unit: COUNT
Name in real-time metrics report: Online
- AGENTS_STAFFED
-
Unit: COUNT
Name in real-time metrics report: Staffed
- CONTACTS_IN_QUEUE
-
Unit: COUNT
Name in real-time metrics report: In queue
- CONTACTS_SCHEDULED
-
Unit: COUNT
Name in real-time metrics report: Scheduled
- OLDEST_CONTACT_AGE
-
Unit: SECONDS
When you use groupings, Unit says SECONDS and the Value is returned in SECONDS.
When you do not use groupings, Unit says SECONDS but the Value is returned in MILLISECONDS. For example, if you get a response like this:
{ “Metric”: { “Name”: “OLDEST_CONTACT_AGE”, “Unit”: “SECONDS” }, “Value”: 24113.0
}The actual OLDEST_CONTACT_AGE is 24 seconds.
When the filter
RoutingStepExpression
is used, this metric is still calculated from enqueue time. For example, if a contact that has been queued under<expression 1>
for 10 seconds has expired and<expression 2>
becomes active, thenOLDEST_CONTACT_AGE
for this queue will be counted starting from 10, not 0.Name in real-time metrics report: Oldest
- SLOTS_ACTIVE
-
Unit: COUNT
Name in real-time metrics report: Active
- SLOTS_AVAILABLE
-
Unit: COUNT
Name in real-time metrics report: Availability
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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
sort_criteria(CurrentMetricSortCriteria)
/set_sort_criteria(Option<Vec::<CurrentMetricSortCriteria>>)
:
required: falseThe way to sort the resulting response based on metrics. You can enter one sort criteria. By default resources are sorted based on
AGENTS_ONLINE
,DESCENDING
. The metric collection is sorted based on the input metrics.Note the following:
-
Sorting on
SLOTS_ACTIVE
andSLOTS_AVAILABLE
is not supported.
-
- On success, responds with
GetCurrentMetricDataOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
metric_results(Option<Vec::<CurrentMetricResult>>)
:Information about the real-time metrics.
data_snapshot_time(Option<DateTime>)
:The time at which the metrics were retrieved and cached for pagination.
approximate_total_count(Option<i64>)
:The total count of the result, regardless of the current page size.
- On failure, responds with
SdkError<GetCurrentMetricDataError>
Source§impl Client
impl Client
Sourcepub fn get_current_user_data(&self) -> GetCurrentUserDataFluentBuilder
pub fn get_current_user_data(&self) -> GetCurrentUserDataFluentBuilder
Constructs a fluent builder for the GetCurrentUserData
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
filters(UserDataFilters)
/set_filters(Option<UserDataFilters>)
:
required: trueThe filters to apply to returned user data. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
-
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
GetCurrentUserDataOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
user_data_list(Option<Vec::<UserData>>)
:A list of the user data that is returned.
approximate_total_count(Option<i64>)
:The total count of the result, regardless of the current page size.
- On failure, responds with
SdkError<GetCurrentUserDataError>
Source§impl Client
impl Client
Sourcepub fn get_effective_hours_of_operations(
&self,
) -> GetEffectiveHoursOfOperationsFluentBuilder
pub fn get_effective_hours_of_operations( &self, ) -> GetEffectiveHoursOfOperationsFluentBuilder
Constructs a fluent builder for the GetEffectiveHoursOfOperations
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
from_date(impl Into<String>)
/set_from_date(Option<String>)
:
required: trueThe Date from when the hours of operation are listed.
to_date(impl Into<String>)
/set_to_date(Option<String>)
:
required: trueThe Date until when the hours of operation are listed.
- On success, responds with
GetEffectiveHoursOfOperationsOutput
with field(s):effective_hours_of_operation_list(Option<Vec::<EffectiveHoursOfOperations>>)
:Information about the effective hours of operations
time_zone(Option<String>)
:The time zone for the hours of operation.
- On failure, responds with
SdkError<GetEffectiveHoursOfOperationsError>
Source§impl Client
impl Client
Sourcepub fn get_federation_token(&self) -> GetFederationTokenFluentBuilder
pub fn get_federation_token(&self) -> GetFederationTokenFluentBuilder
Constructs a fluent builder for the GetFederationToken
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
GetFederationTokenOutput
with field(s):credentials(Option<Credentials>)
:The credentials to use for federation.
sign_in_url(Option<String>)
:The URL to sign into the user’s instance.
user_arn(Option<String>)
:The Amazon Resource Name (ARN) of the user.
user_id(Option<String>)
:The identifier for the user. This can be the ID or the ARN of the user.
- On failure, responds with
SdkError<GetFederationTokenError>
Source§impl Client
impl Client
Sourcepub fn get_flow_association(&self) -> GetFlowAssociationFluentBuilder
pub fn get_flow_association(&self) -> GetFlowAssociationFluentBuilder
Constructs a fluent builder for the GetFlowAssociation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe identifier of the resource.
-
Amazon Web Services End User Messaging SMS phone number ARN when using
SMS_PHONE_NUMBER
-
Amazon Web Services End User Messaging Social phone number ARN when using
WHATSAPP_MESSAGING_PHONE_NUMBER
-
resource_type(FlowAssociationResourceType)
/set_resource_type(Option<FlowAssociationResourceType>)
:
required: trueA valid resource type.
- On success, responds with
GetFlowAssociationOutput
with field(s):resource_id(Option<String>)
:The identifier of the resource.
flow_id(Option<String>)
:The identifier of the flow.
resource_type(Option<FlowAssociationResourceType>)
:A valid resource type.
- On failure, responds with
SdkError<GetFlowAssociationError>
Source§impl Client
impl Client
Sourcepub fn get_metric_data(&self) -> GetMetricDataFluentBuilder
pub fn get_metric_data(&self) -> GetMetricDataFluentBuilder
Constructs a fluent builder for the GetMetricData
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: trueThe timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be specified using a multiple of 5 minutes, such as 10:05, 10:10, 10:15.
The start time cannot be earlier than 24 hours before the time of the request. Historical metrics are available only for 24 hours.
end_time(DateTime)
/set_end_time(Option<DateTime>)
:
required: trueThe timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be specified using an interval of 5 minutes, such as 11:00, 11:05, 11:10, and must be later than the start time timestamp.
The time range between the start and end time must be less than 24 hours.
filters(Filters)
/set_filters(Option<Filters>)
:
required: trueThe queues, up to 100, or channels, to use to filter the metrics returned. Metric data is retrieved only for the resources associated with the queues or channels included in the filter. You can include both queue IDs and queue ARNs in the same request. VOICE, CHAT, and TASK channels are supported.
RoutingStepExpression is not a valid filter for GetMetricData and we recommend switching to GetMetricDataV2 for more up-to-date features.
To filter by
Queues
, enter the queue ID/ARN, not the name of the queue.groupings(Grouping)
/set_groupings(Option<Vec::<Grouping>>)
:
required: falseThe grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
If no grouping is specified, a summary of metrics for all queues is returned.
RoutingStepExpression is not a valid filter for GetMetricData and we recommend switching to GetMetricDataV2 for more up-to-date features.
historical_metrics(HistoricalMetric)
/set_historical_metrics(Option<Vec::<HistoricalMetric>>)
:
required: trueThe metrics to retrieve. Specify the name, unit, and statistic for each metric. The following historical metrics are available. For a description of each metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
This API does not support a contacts incoming metric (there’s no CONTACTS_INCOMING metric missing from the documented list).
- ABANDON_TIME
-
Unit: SECONDS
Statistic: AVG
- AFTER_CONTACT_WORK_TIME
-
Unit: SECONDS
Statistic: AVG
- API_CONTACTS_HANDLED
-
Unit: COUNT
Statistic: SUM
- CALLBACK_CONTACTS_HANDLED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_ABANDONED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_AGENT_HUNG_UP_FIRST
-
Unit: COUNT
Statistic: SUM
- CONTACTS_CONSULTED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HANDLED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HANDLED_INCOMING
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HANDLED_OUTBOUND
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HOLD_ABANDONS
-
Unit: COUNT
Statistic: SUM
- CONTACTS_MISSED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_QUEUED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_IN
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_IN_FROM_QUEUE
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_OUT
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
-
Unit: COUNT
Statistic: SUM
- HANDLE_TIME
-
Unit: SECONDS
Statistic: AVG
- HOLD_TIME
-
Unit: SECONDS
Statistic: AVG
- INTERACTION_AND_HOLD_TIME
-
Unit: SECONDS
Statistic: AVG
- INTERACTION_TIME
-
Unit: SECONDS
Statistic: AVG
- OCCUPANCY
-
Unit: PERCENT
Statistic: AVG
- QUEUE_ANSWER_TIME
-
Unit: SECONDS
Statistic: AVG
- QUEUED_TIME
-
Unit: SECONDS
Statistic: MAX
- SERVICE_LEVEL
-
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: PERCENT
Statistic: AVG
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you must enterLT
(for “Less than”).
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
GetMetricDataOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
metric_results(Option<Vec::<HistoricalMetricResult>>)
:Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
- On failure, responds with
SdkError<GetMetricDataError>
Source§impl Client
impl Client
Sourcepub fn get_metric_data_v2(&self) -> GetMetricDataV2FluentBuilder
pub fn get_metric_data_v2(&self) -> GetMetricDataV2FluentBuilder
Constructs a fluent builder for the GetMetricDataV2
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the resource. This includes the
instanceId
an Amazon Connect instance.start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: trueThe timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The start and end time depends on the
IntervalPeriod
selected. By default the time range between start and end time is 35 days. Historical metrics are available for 3 months.end_time(DateTime)
/set_end_time(Option<DateTime>)
:
required: trueThe timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.
interval(IntervalDetails)
/set_interval(Option<IntervalDetails>)
:
required: falseThe interval period and timezone to apply to returned metrics.
-
IntervalPeriod
: An aggregated grouping applied to request metrics. ValidIntervalPeriod
values are:FIFTEEN_MIN
|THIRTY_MIN
|HOUR
|DAY
|WEEK
|TOTAL
.For example, if
IntervalPeriod
is selectedTHIRTY_MIN
,StartTime
andEndTime
differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on theTOTAL
interval period.The following list describes restrictions on
StartTime
andEndTime
based on whichIntervalPeriod
is requested.-
FIFTEEN_MIN
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
THIRTY_MIN
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
HOUR
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
DAY
: The difference betweenStartTime
andEndTime
must be less than 35 days. -
WEEK
: The difference betweenStartTime
andEndTime
must be less than 35 days. -
TOTAL
: The difference betweenStartTime
andEndTime
must be less than 35 days.
-
-
TimeZone
: The timezone applied to requested metrics.
-
filters(FilterV2)
/set_filters(Option<Vec::<FilterV2>>)
:
required: trueThe filters to apply to returned metrics. You can filter on the following resources:
-
Agents
-
Campaigns
-
Channels
-
Feature
-
Queues
-
Routing profiles
-
Routing step expression
-
User hierarchy groups
At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.
For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least one filter requirement.
To filter by phone number, see Create a historical metrics report in the Amazon Connect Administrator Guide.
Note the following limits:
-
Filter keys: A maximum of 5 filter keys are supported in a single request. Valid filter keys:
AGENT
|AGENT_HIERARCHY_LEVEL_ONE
|AGENT_HIERARCHY_LEVEL_TWO
|AGENT_HIERARCHY_LEVEL_THREE
|AGENT_HIERARCHY_LEVEL_FOUR
|AGENT_HIERARCHY_LEVEL_FIVE
|ANSWERING_MACHINE_DETECTION_STATUS
|BOT_ID
|BOT_ALIAS
|BOT_VERSION
|BOT_LOCALE
|BOT_INTENT_NAME
|CAMPAIGN
|CAMPAIGN_DELIVERY_EVENT_TYPE
|CASE_TEMPLATE_ARN
|CASE_STATUS
|CHANNEL
|contact/segmentAttributes/connect:Subtype
|DISCONNECT_REASON
|FEATURE
|FLOW_ACTION_ID
|FLOW_TYPE
|FLOWS_MODULE_RESOURCE_ID
|FLOWS_NEXT_RESOURCE_ID
|FLOWS_NEXT_RESOURCE_QUEUE_ID
|FLOWS_OUTCOME_TYPE
|FLOWS_RESOURCE_ID
|INITIATION_METHOD
|INVOKING_RESOURCE_PUBLISHED_TIMESTAMP
|INVOKING_RESOURCE_TYPE
|PARENT_FLOWS_RESOURCE_ID
|RESOURCE_PUBLISHED_TIMESTAMP
|ROUTING_PROFILE
|ROUTING_STEP_EXPRESSION
|QUEUE
|Q_CONNECT_ENABLED
| -
Filter values: A maximum of 100 filter values are supported in a single request. VOICE, CHAT, and TASK are valid
filterValue
for the CHANNEL filter key. They do not count towards limitation of 100 filter values. For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and 15 routing profiles for a total of 100 filter values, along with 3 channel filters.contact_lens_conversational_analytics
is a valid filterValue for theFEATURE
filter key. It is available only to contacts analyzed by Contact Lens conversational analytics.connect:Chat
,connect:SMS
,connect:Telephony
, andconnect:WebRTC
are validfilterValue
examples (not exhaustive) for thecontact/segmentAttributes/connect:Subtype filter
key.ROUTING_STEP_EXPRESSION
is a valid filter key with a filter value up to 3000 length. This filter is case and order sensitive. JSON string fields must be sorted in ascending order and JSON array order should be kept as is.Q_CONNECT_ENABLED
. TRUE and FALSE are the only valid filterValues for theQ_CONNECT_ENABLED
filter key.-
TRUE includes all contacts that had Amazon Q in Connect enabled as part of the flow.
-
FALSE includes all contacts that did not have Amazon Q in Connect enabled as part of the flow
This filter is available only for contact record-driven metrics.
Campaign ARNs are valid
filterValues
for theCAMPAIGN
filter key. -
-
groupings(impl Into<String>)
/set_groupings(Option<Vec::<String>>)
:
required: falseThe grouping applied to the metrics that are returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values that are returned apply to the metrics for each queue. They are not aggregated for all queues.
If no grouping is specified, a summary of all metrics is returned.
Valid grouping keys:
AGENT
|AGENT_HIERARCHY_LEVEL_ONE
|AGENT_HIERARCHY_LEVEL_TWO
|AGENT_HIERARCHY_LEVEL_THREE
|AGENT_HIERARCHY_LEVEL_FOUR
|AGENT_HIERARCHY_LEVEL_FIVE
|ANSWERING_MACHINE_DETECTION_STATUS
|BOT_ID
|BOT_ALIAS
|BOT_VERSION
|BOT_LOCALE
|BOT_INTENT_NAME
|CAMPAIGN
|CAMPAIGN_DELIVERY_EVENT_TYPE
|CASE_TEMPLATE_ARN
|CASE_STATUS
|CHANNEL
|contact/segmentAttributes/connect:Subtype
|DISCONNECT_REASON
|FLOWS_RESOURCE_ID
|FLOWS_MODULE_RESOURCE_ID
|FLOW_ACTION_ID
|FLOW_TYPE
|FLOWS_OUTCOME_TYPE
|INITIATION_METHOD
|INVOKING_RESOURCE_PUBLISHED_TIMESTAMP
|INVOKING_RESOURCE_TYPE
|PARENT_FLOWS_RESOURCE_ID
|Q_CONNECT_ENABLED
|QUEUE
|RESOURCE_PUBLISHED_TIMESTAMP
|ROUTING_PROFILE
|ROUTING_STEP_EXPRESSION
metrics(MetricV2)
/set_metrics(Option<Vec::<MetricV2>>)
:
required: trueThe metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.
- ABANDONMENT_RATE
-
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Abandonment rate
- AGENT_ADHERENT_TIME
-
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Adherent time
- AGENT_ANSWER_RATE
-
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent answer rate
- AGENT_NON_ADHERENT_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Non-adherent time
- AGENT_NON_RESPONSE
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent non-response
- AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Data for this metric is available starting from October 1, 2023 0:00:00 GMT.
- AGENT_OCCUPANCY
-
Unit: Percentage
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Occupancy
- AGENT_SCHEDULE_ADHERENCE
-
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Adherence
- AGENT_SCHEDULED_TIME
-
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Scheduled time
- AVG_ABANDON_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average queue abandon time
- AVG_ACTIVE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Average active time
- AVG_AFTER_CONTACT_WORK_TIME
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average after contact work time
Feature is a valid filter but not a valid grouping.
- AVG_AGENT_CONNECTING_TIME
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
. For now, this metric only supports the following asINITIATION_METHOD
:INBOUND
|OUTBOUND
|CALLBACK
|API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Average agent API connecting time
The
Negate
key in metric-level filters is not applicable for this metric. - AVG_AGENT_PAUSE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Average agent pause time
- AVG_BOT_CONVERSATION_TIME
-
Unit: Seconds
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID
UI name: Average bot conversation time
- AVG_BOT_CONVERSATION_TURNS
-
Unit: Count
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID
UI name: Average bot conversation turns
- AVG_CASE_RELATED_CONTACTS
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Average contacts per case
- AVG_CASE_RESOLUTION_TIME
-
Unit: Seconds
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Average case resolution time
- AVG_CONTACT_DURATION
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average contact duration
Feature is a valid filter but not a valid grouping.
- AVG_CONVERSATION_DURATION
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average conversation duration
- AVG_DIALS_PER_MINUTE
-
This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.
Unit: Count
Valid groupings and filters: Agent, Campaign, Queue, Routing Profile
UI name: Average dials per minute
- AVG_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Average flow time
- AVG_GREETING_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent greeting time
- AVG_HANDLE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression
UI name: Average handle time
Feature is a valid filter but not a valid grouping.
- AVG_HOLD_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average customer hold time
Feature is a valid filter but not a valid grouping.
- AVG_HOLD_TIME_ALL_CONTACTS
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
- AVG_HOLDS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average holds
Feature is a valid filter but not a valid grouping.
- AVG_INTERACTION_AND_HOLD_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
- AVG_INTERACTION_TIME
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent interaction time
Feature is a valid filter but not a valid grouping.
- AVG_INTERRUPTIONS_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent interruptions
- AVG_INTERRUPTION_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent interruption time
- AVG_NON_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average non-talk time
- AVG_QUEUE_ANSWER_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average queue answer time
Feature is a valid filter but not a valid grouping.
- AVG_RESOLUTION_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average resolution time
- AVG_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average talk time
- AVG_TALK_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent talk time
- AVG_TALK_TIME_CUSTOMER
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average customer talk time
- AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
-
This metric is available only for outbound campaigns that use the agent assisted voice and automated voice delivery modes.
Unit: Seconds
Valid groupings and filters: Campaign
- BOT_CONVERSATIONS_COMPLETED
-
Unit: Count
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID
UI name: Bot conversations
- BOT_INTENTS_COMPLETED
-
Unit: Count
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID
UI name: Bot intents completed
- CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
-
This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.
Unit: Count
Valid groupings and filters: Agent, Campaign
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you must enterGT
(for Greater than).UI name: Campaign contacts abandoned after X
- CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
-
This metric is available only for outbound campaigns using the agent assisted voice and automated voice delivery modes.
Unit: Percent
Valid groupings and filters: Agent, Campaign
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you must enterGT
(for Greater than). - CAMPAIGN_INTERACTIONS
-
This metric is available only for outbound campaigns using the email delivery mode.
Unit: Count
Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE
Valid groupings and filters: Campaign
UI name: Campaign interactions
- CAMPAIGN_SEND_ATTEMPTS
-
This metric is available only for outbound campaigns.
Unit: Count
Valid groupings and filters: Campaign, Channel, contact/segmentAttributes/connect:Subtype
UI name: Campaign send attempts
- CASES_CREATED
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases created
- CONTACTS_CREATED
-
Unit: Count
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts created
Feature is a valid filter but not a valid grouping.
- CONTACTS_HANDLED
-
Unit: Count
Valid metric filter key:
INITIATION_METHOD
,DISCONNECT_REASON
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect
UI name: API contacts handled
Feature is a valid filter but not a valid grouping.
- CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
-
Unit: Count
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
- CONTACTS_HOLD_ABANDONS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts hold disconnect
- CONTACTS_ON_HOLD_AGENT_DISCONNECT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts hold agent disconnect
- CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts hold customer disconnect
- CONTACTS_PUT_ON_HOLD
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts put on hold
- CONTACTS_TRANSFERRED_OUT_EXTERNAL
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts transferred out external
- CONTACTS_TRANSFERRED_OUT_INTERNAL
-
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts transferred out internal
- CONTACTS_QUEUED
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts queued
- CONTACTS_QUEUED_BY_ENQUEUE
-
Unit: Count
Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype
UI name: Contacts queued (enqueue timestamp)
- CONTACTS_REMOVED_FROM_QUEUE_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for “Less than”) orLTE
(for “Less than equal”). - CONTACTS_RESOLVED_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for “Less than”) orLTE
(for “Less than equal”).UI name: Contacts resolved in X
- CONTACTS_TRANSFERRED_OUT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts transferred out
Feature is a valid filter but not a valid grouping.
- CONTACTS_TRANSFERRED_OUT_BY_AGENT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts transferred out by agent
- CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts transferred out queue
- CURRENT_CASES
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Current cases
- DELIVERY_ATTEMPTS
-
This metric is available only for outbound campaigns.
Unit: Count
Valid metric filter key:
ANSWERING_MACHINE_DETECTION_STATUS
,CAMPAIGN_DELIVERY_EVENT_TYPE
,DISCONNECT_REASON
Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Campaign Delivery EventType, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile
UI name: Delivery attempts
Campaign Delivery EventType filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.
- DELIVERY_ATTEMPT_DISPOSITION_RATE
-
This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.
Unit: Percent
Valid metric filter key:
ANSWERING_MACHINE_DETECTION_STATUS
,CAMPAIGN_DELIVERY_EVENT_TYPE
,DISCONNECT_REASON
Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel, contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile
UI name: Delivery attempt disposition rate
Campaign Delivery Event Type filter and grouping are only available for SMS and Email campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available for agent assisted voice and automated voice delivery modes.
- FLOWS_OUTCOME
-
Unit: Count
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Flows outcome
- FLOWS_STARTED
-
Unit: Count
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp
UI name: Flows started
- HUMAN_ANSWERED_CALLS
-
This metric is available only for outbound campaigns. Dispositions for the agent assisted voice and automated voice delivery modes are only available with answering machine detection enabled.
Unit: Count
Valid groupings and filters: Agent, Campaign
UI name: Human answered
- MAX_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Maximum flow time
- MAX_QUEUED_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Maximum queued time
- MIN_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Minimum flow time
- PERCENT_BOT_CONVERSATIONS_OUTCOME
-
Unit: Percent
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID
UI name: Percent bot conversations outcome
- PERCENT_BOT_INTENTS_OUTCOME
-
Unit: Percent
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Bot ID, Bot alias, Bot version, Bot locale, Bot intent name, Flows resource ID, Flows module resource ID, Flow type, Flow action ID, Invoking resource published timestamp, Initiation method, Invoking resource type, Parent flows resource ID
UI name: Percent bot intents outcome
- PERCENT_CASES_FIRST_CONTACT_RESOLVED
-
Unit: Percent
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases resolved on first contact
- PERCENT_CONTACTS_STEP_EXPIRED
-
Unit: Percent
Valid groupings and filters: Queue, RoutingStepExpression
UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.
- PERCENT_CONTACTS_STEP_JOINED
-
Unit: Percent
Valid groupings and filters: Queue, RoutingStepExpression
UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.
- PERCENT_FLOWS_OUTCOME
-
Unit: Percent
Valid metric filter key:
FLOWS_OUTCOME_TYPE
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Flows outcome percentage.
The
FLOWS_OUTCOME_TYPE
is not a valid grouping. - PERCENT_NON_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Non-talk time percent
- PERCENT_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Talk time percent
- PERCENT_TALK_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Agent talk time percent
- PERCENT_TALK_TIME_CUSTOMER
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Customer talk time percent
- REOPENED_CASE_ACTIONS
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases reopened
- RESOLVED_CASE_ACTIONS
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases resolved
- SERVICE_LEVEL
-
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for “Less than”) orLTE
(for “Less than equal”).UI name: Service level X
- STEP_CONTACTS_QUEUED
-
Unit: Count
Valid groupings and filters: Queue, RoutingStepExpression
UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.
- SUM_AFTER_CONTACT_WORK_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: After contact work time
- SUM_CONNECTING_TIME_AGENT
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
. This metric only supports the following filter keys asINITIATION_METHOD
:INBOUND
|OUTBOUND
|CALLBACK
|API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent API connecting time
The
Negate
key in metric-level filters is not applicable for this metric. - CONTACTS_ABANDONED
-
Unit: Count
Metric filter:
-
Valid values:
API
|Incoming
|Outbound
|Transfer
|Callback
|Queue_Transfer
|Disconnect
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect
UI name: Contact abandoned
-
- SUM_CONTACTS_ABANDONED_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for “Less than”) orLTE
(for “Less than equal”).UI name: Contacts abandoned in X seconds
- SUM_CONTACTS_ANSWERED_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for “Less than”) orLTE
(for “Less than equal”).UI name: Contacts answered in X seconds
- SUM_CONTACT_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contact flow time
- SUM_CONTACT_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Agent on contact time
- SUM_CONTACTS_DISCONNECTED
-
Valid metric filter key:
DISCONNECT_REASON
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contact disconnected
- SUM_ERROR_STATUS_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Error status time
- SUM_HANDLE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contact handle time
- SUM_HOLD_TIME
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Customer hold time
- SUM_IDLE_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Agent idle time
- SUM_INTERACTION_AND_HOLD_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Agent interaction and hold time
- SUM_INTERACTION_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent interaction time
- SUM_NON_PRODUCTIVE_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Non-Productive Time
- SUM_ONLINE_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Online time
- SUM_RETRY_CALLBACK_ATTEMPTS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Callback attempts
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
GetMetricDataV2Output
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
metric_results(Option<Vec::<MetricResultV2>>)
:Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
- On failure, responds with
SdkError<GetMetricDataV2Error>
Source§impl Client
impl Client
Sourcepub fn get_prompt_file(&self) -> GetPromptFileFluentBuilder
pub fn get_prompt_file(&self) -> GetPromptFileFluentBuilder
Constructs a fluent builder for the GetPromptFile
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
prompt_id(impl Into<String>)
/set_prompt_id(Option<String>)
:
required: trueA unique identifier for the prompt.
- On success, responds with
GetPromptFileOutput
with field(s):prompt_presigned_url(Option<String>)
:A generated URL to the prompt that can be given to an unauthorized user so they can access the prompt in S3.
last_modified_time(Option<DateTime>)
:The timestamp when this resource was last modified.
last_modified_region(Option<String>)
:The Amazon Web Services Region where this resource was last modified.
- On failure, responds with
SdkError<GetPromptFileError>
Source§impl Client
impl Client
Sourcepub fn get_task_template(&self) -> GetTaskTemplateFluentBuilder
pub fn get_task_template(&self) -> GetTaskTemplateFluentBuilder
Constructs a fluent builder for the GetTaskTemplate
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
task_template_id(impl Into<String>)
/set_task_template_id(Option<String>)
:
required: trueA unique identifier for the task template.
snapshot_version(impl Into<String>)
/set_snapshot_version(Option<String>)
:
required: falseThe system generated version of a task template that is associated with a task, when the task is created.
- On success, responds with
GetTaskTemplateOutput
with field(s):instance_id(Option<String>)
:The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
id(String)
:A unique identifier for the task template.
arn(String)
:The Amazon Resource Name (ARN).
name(String)
:The name of the task template.
description(Option<String>)
:The description of the task template.
contact_flow_id(Option<String>)
:The identifier of the flow that runs by default when a task is created by referencing this template.
self_assign_flow_id(Option<String>)
:ContactFlowId for the flow that will be run if this template is used to create a self-assigned task
constraints(Option<TaskTemplateConstraints>)
:Constraints that are applicable to the fields listed.
defaults(Option<TaskTemplateDefaults>)
:The default values for fields when a task is created by referencing this template.
fields(Option<Vec::<TaskTemplateField>>)
:Fields that are part of the template.
status(Option<TaskTemplateStatus>)
:Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.last_modified_time(Option<DateTime>)
:The timestamp when the task template was last modified.
created_time(Option<DateTime>)
:The timestamp when the task template was created.
tags(Option<HashMap::<String, String>>)
:The tags used to organize, track, or control access for this resource. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On failure, responds with
SdkError<GetTaskTemplateError>
Source§impl Client
impl Client
Sourcepub fn get_traffic_distribution(&self) -> GetTrafficDistributionFluentBuilder
pub fn get_traffic_distribution(&self) -> GetTrafficDistributionFluentBuilder
Constructs a fluent builder for the GetTrafficDistribution
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
- On success, responds with
GetTrafficDistributionOutput
with field(s):telephony_config(Option<TelephonyConfig>)
:The distribution of traffic between the instance and its replicas.
id(Option<String>)
:The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
arn(Option<String>)
:The Amazon Resource Name (ARN) of the traffic distribution group.
sign_in_config(Option<SignInConfig>)
:The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
agent_config(Option<AgentConfig>)
:The distribution of agents between the instance and its replica(s).
- On failure, responds with
SdkError<GetTrafficDistributionError>
Source§impl Client
impl Client
Sourcepub fn import_phone_number(&self) -> ImportPhoneNumberFluentBuilder
pub fn import_phone_number(&self) -> ImportPhoneNumberFluentBuilder
Constructs a fluent builder for the ImportPhoneNumber
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
source_phone_number_arn(impl Into<String>)
/set_source_phone_number_arn(Option<String>)
:
required: trueThe claimed phone number ARN being imported from the external service, such as Amazon Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it looks like the ARN of the phone number to import from Amazon Web Services End User Messaging.
phone_number_description(impl Into<String>)
/set_phone_number_description(Option<String>)
:
required: falseThe description of the phone number.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
ImportPhoneNumberOutput
with field(s):phone_number_id(Option<String>)
:A unique identifier for the phone number.
phone_number_arn(Option<String>)
:The Amazon Resource Name (ARN) of the phone number.
- On failure, responds with
SdkError<ImportPhoneNumberError>
Source§impl Client
impl Client
Sourcepub fn list_agent_statuses(&self) -> ListAgentStatusesFluentBuilder
pub fn list_agent_statuses(&self) -> ListAgentStatusesFluentBuilder
Constructs a fluent builder for the ListAgentStatuses
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
agent_status_types(AgentStatusType)
/set_agent_status_types(Option<Vec::<AgentStatusType>>)
:
required: falseAvailable agent status types.
- On success, responds with
ListAgentStatusesOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
agent_status_summary_list(Option<Vec::<AgentStatusSummary>>)
:A summary of agent statuses.
- On failure, responds with
SdkError<ListAgentStatusesError>
Source§impl Client
impl Client
Sourcepub fn list_analytics_data_associations(
&self,
) -> ListAnalyticsDataAssociationsFluentBuilder
pub fn list_analytics_data_associations( &self, ) -> ListAnalyticsDataAssociationsFluentBuilder
Constructs a fluent builder for the ListAnalyticsDataAssociations
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
data_set_id(impl Into<String>)
/set_data_set_id(Option<String>)
:
required: falseThe identifier of the dataset to get the association status.
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
ListAnalyticsDataAssociationsOutput
with field(s):results(Option<Vec::<AnalyticsDataAssociationResult>>)
:An array of successful results:
DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
. This is a paginated API, sonextToken
is given if there are more results to be returned.next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListAnalyticsDataAssociationsError>
Source§impl Client
impl Client
Sourcepub fn list_approved_origins(&self) -> ListApprovedOriginsFluentBuilder
pub fn list_approved_origins(&self) -> ListApprovedOriginsFluentBuilder
Constructs a fluent builder for the ListApprovedOrigins
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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
ListApprovedOriginsOutput
with field(s):origins(Option<Vec::<String>>)
:The approved origins.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListApprovedOriginsError>
Source§impl Client
impl Client
Sourcepub fn list_associated_contacts(&self) -> ListAssociatedContactsFluentBuilder
pub fn list_associated_contacts(&self) -> ListAssociatedContactsFluentBuilder
Constructs a fluent builder for the ListAssociatedContacts
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
The maximum number of results to return per page. The default MaxResult size is 25.
Valid Range: Minimum value of 1. Maximum value of 100.
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.
- On success, responds with
ListAssociatedContactsOutput
with field(s):contact_summary_list(Option<Vec::<AssociatedContactSummary>>)
:List of the contact summary for all the contacts in contact tree associated with unique identifier.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListAssociatedContactsError>
Source§impl Client
impl Client
Sourcepub fn list_authentication_profiles(
&self,
) -> ListAuthenticationProfilesFluentBuilder
pub fn list_authentication_profiles( &self, ) -> ListAuthenticationProfilesFluentBuilder
Constructs a fluent builder for the ListAuthenticationProfiles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
- On success, responds with
ListAuthenticationProfilesOutput
with field(s):authentication_profile_summary_list(Option<Vec::<AuthenticationProfileSummary>>)
:A summary of a given authentication profile.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListAuthenticationProfilesError>
Source§impl Client
impl Client
Sourcepub fn list_bots(&self) -> ListBotsFluentBuilder
pub fn list_bots(&self) -> ListBotsFluentBuilder
Constructs a fluent builder for the ListBots
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
lex_version(LexVersion)
/set_lex_version(Option<LexVersion>)
:
required: trueThe version of Amazon Lex or Amazon Lex V2.
- On success, responds with
ListBotsOutput
with field(s):lex_bots(Option<Vec::<LexBotConfig>>)
:The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListBotsError>
Source§impl Client
impl Client
Sourcepub fn list_contact_evaluations(&self) -> ListContactEvaluationsFluentBuilder
pub fn list_contact_evaluations(&self) -> ListContactEvaluationsFluentBuilder
Constructs a fluent builder for the ListContactEvaluations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
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.
This is not expected to be set because the value returned in the previous response is always null.
- On success, responds with
ListContactEvaluationsOutput
with field(s):evaluation_summary_list(Vec::<EvaluationSummary>)
:Provides details about a list of contact evaluations belonging to an instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
This is always returned as null in the response.
- On failure, responds with
SdkError<ListContactEvaluationsError>
Source§impl Client
impl Client
Sourcepub fn list_contact_flow_modules(&self) -> ListContactFlowModulesFluentBuilder
pub fn list_contact_flow_modules(&self) -> ListContactFlowModulesFluentBuilder
Constructs a fluent builder for the ListContactFlowModules
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
contact_flow_module_state(ContactFlowModuleState)
/set_contact_flow_module_state(Option<ContactFlowModuleState>)
:
required: falseThe state of the flow module.
- On success, responds with
ListContactFlowModulesOutput
with field(s):contact_flow_modules_summary_list(Option<Vec::<ContactFlowModuleSummary>>)
:Information about the flow module.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListContactFlowModulesError>
Source§impl Client
impl Client
Sourcepub fn list_contact_flow_versions(&self) -> ListContactFlowVersionsFluentBuilder
pub fn list_contact_flow_versions(&self) -> ListContactFlowVersionsFluentBuilder
Constructs a fluent builder for the ListContactFlowVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
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. The default MaxResult size is 100.
- On success, responds with
ListContactFlowVersionsOutput
with field(s):contact_flow_version_summary_list(Option<Vec::<ContactFlowVersionSummary>>)
:A list of flow version summaries.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListContactFlowVersionsError>
Source§impl Client
impl Client
Sourcepub fn list_contact_flows(&self) -> ListContactFlowsFluentBuilder
pub fn list_contact_flows(&self) -> ListContactFlowsFluentBuilder
Constructs a fluent builder for the ListContactFlows
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_types(ContactFlowType)
/set_contact_flow_types(Option<Vec::<ContactFlowType>>)
:
required: falseThe type of flow.
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. The default MaxResult size is 100.
- On success, responds with
ListContactFlowsOutput
with field(s):contact_flow_summary_list(Option<Vec::<ContactFlowSummary>>)
:Information about the flows.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListContactFlowsError>
Source§impl Client
impl Client
Sourcepub fn list_contact_references(&self) -> ListContactReferencesFluentBuilder
pub fn list_contact_references(&self) -> ListContactReferencesFluentBuilder
Constructs a fluent builder for the ListContactReferences
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the initial contact.
reference_types(ReferenceType)
/set_reference_types(Option<Vec::<ReferenceType>>)
:
required: trueThe type of reference.
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.
This is not expected to be set, because the value returned in the previous response is always null.
- On success, responds with
ListContactReferencesOutput
with field(s):reference_summary_list(Option<Vec::<ReferenceSummary>>)
:Information about the flows.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
This is always returned as null in the response.
- On failure, responds with
SdkError<ListContactReferencesError>
Source§impl Client
impl Client
Sourcepub fn list_default_vocabularies(&self) -> ListDefaultVocabulariesFluentBuilder
pub fn list_default_vocabularies(&self) -> ListDefaultVocabulariesFluentBuilder
Constructs a fluent builder for the ListDefaultVocabularies
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
language_code(VocabularyLanguageCode)
/set_language_code(Option<VocabularyLanguageCode>)
:
required: falseThe language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
- On success, responds with
ListDefaultVocabulariesOutput
with field(s):default_vocabulary_list(Vec::<DefaultVocabulary>)
:A list of default vocabularies.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListDefaultVocabulariesError>
Source§impl Client
impl Client
Sourcepub fn list_evaluation_form_versions(
&self,
) -> ListEvaluationFormVersionsFluentBuilder
pub fn list_evaluation_form_versions( &self, ) -> ListEvaluationFormVersionsFluentBuilder
Constructs a fluent builder for the ListEvaluationFormVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_form_id(impl Into<String>)
/set_evaluation_form_id(Option<String>)
:
required: trueThe unique identifier for the evaluation form.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
- On success, responds with
ListEvaluationFormVersionsOutput
with field(s):evaluation_form_version_summary_list(Vec::<EvaluationFormVersionSummary>)
:Provides details about a list of evaluation forms belonging to an instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListEvaluationFormVersionsError>
Source§impl Client
impl Client
Sourcepub fn list_evaluation_forms(&self) -> ListEvaluationFormsFluentBuilder
pub fn list_evaluation_forms(&self) -> ListEvaluationFormsFluentBuilder
Constructs a fluent builder for the ListEvaluationForms
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
- On success, responds with
ListEvaluationFormsOutput
with field(s):evaluation_form_summary_list(Vec::<EvaluationFormSummary>)
:Provides details about a list of evaluation forms belonging to an instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListEvaluationFormsError>
Source§impl Client
impl Client
Sourcepub fn list_flow_associations(&self) -> ListFlowAssociationsFluentBuilder
pub fn list_flow_associations(&self) -> ListFlowAssociationsFluentBuilder
Constructs a fluent builder for the ListFlowAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
resource_type(ListFlowAssociationResourceType)
/set_resource_type(Option<ListFlowAssociationResourceType>)
:
required: falseA valid resource type.
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
ListFlowAssociationsOutput
with field(s):flow_association_summary_list(Option<Vec::<FlowAssociationSummary>>)
:Summary of flow associations.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListFlowAssociationsError>
Source§impl Client
impl Client
Sourcepub fn list_hours_of_operation_overrides(
&self,
) -> ListHoursOfOperationOverridesFluentBuilder
pub fn list_hours_of_operation_overrides( &self, ) -> ListHoursOfOperationOverridesFluentBuilder
Constructs a fluent builder for the ListHoursOfOperationOverrides
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation
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. The default MaxResult size is 100. Valid Range: Minimum value of 1. Maximum value of 1000.
- On success, responds with
ListHoursOfOperationOverridesOutput
with field(s):next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
hours_of_operation_override_list(Option<Vec::<HoursOfOperationOverride>>)
:Information about the hours of operation override.
last_modified_region(Option<String>)
:The AWS Region where this resource was last modified.
last_modified_time(Option<DateTime>)
:The timestamp when this resource was last modified.
- On failure, responds with
SdkError<ListHoursOfOperationOverridesError>
Source§impl Client
impl Client
Sourcepub fn list_hours_of_operations(&self) -> ListHoursOfOperationsFluentBuilder
pub fn list_hours_of_operations(&self) -> ListHoursOfOperationsFluentBuilder
Constructs a fluent builder for the ListHoursOfOperations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. The default MaxResult size is 100.
- On success, responds with
ListHoursOfOperationsOutput
with field(s):hours_of_operation_summary_list(Option<Vec::<HoursOfOperationSummary>>)
:Information about the hours of operation.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListHoursOfOperationsError>
Source§impl Client
impl Client
Sourcepub fn list_instance_attributes(&self) -> ListInstanceAttributesFluentBuilder
pub fn list_instance_attributes(&self) -> ListInstanceAttributesFluentBuilder
Constructs a fluent builder for the ListInstanceAttributes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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
ListInstanceAttributesOutput
with field(s):attributes(Option<Vec::<Attribute>>)
:The attribute types.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListInstanceAttributesError>
Source§impl Client
impl Client
Sourcepub fn list_instance_storage_configs(
&self,
) -> ListInstanceStorageConfigsFluentBuilder
pub fn list_instance_storage_configs( &self, ) -> ListInstanceStorageConfigsFluentBuilder
Constructs a fluent builder for the ListInstanceStorageConfigs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
resource_type(InstanceStorageResourceType)
/set_resource_type(Option<InstanceStorageResourceType>)
:
required: trueA valid resource type.
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
ListInstanceStorageConfigsOutput
with field(s):storage_configs(Option<Vec::<InstanceStorageConfig>>)
:A valid storage type.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListInstanceStorageConfigsError>
Source§impl Client
impl Client
Sourcepub fn list_instances(&self) -> ListInstancesFluentBuilder
pub fn list_instances(&self) -> ListInstancesFluentBuilder
Constructs a fluent builder for the ListInstances
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 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
ListInstancesOutput
with field(s):instance_summary_list(Option<Vec::<InstanceSummary>>)
:Information about the instances.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListInstancesError>
Source§impl Client
impl Client
Sourcepub fn list_integration_associations(
&self,
) -> ListIntegrationAssociationsFluentBuilder
pub fn list_integration_associations( &self, ) -> ListIntegrationAssociationsFluentBuilder
Constructs a fluent builder for the ListIntegrationAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_type(IntegrationType)
/set_integration_type(Option<IntegrationType>)
:
required: falseThe integration type.
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.
integration_arn(impl Into<String>)
/set_integration_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the integration.
- On success, responds with
ListIntegrationAssociationsOutput
with field(s):integration_association_summary_list(Option<Vec::<IntegrationAssociationSummary>>)
:The associations.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListIntegrationAssociationsError>
Source§impl Client
impl Client
Sourcepub fn list_lambda_functions(&self) -> ListLambdaFunctionsFluentBuilder
pub fn list_lambda_functions(&self) -> ListLambdaFunctionsFluentBuilder
Constructs a fluent builder for the ListLambdaFunctions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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
ListLambdaFunctionsOutput
with field(s):lambda_functions(Option<Vec::<String>>)
:The Lambdafunction ARNs associated with the specified instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListLambdaFunctionsError>
Source§impl Client
impl Client
Sourcepub fn list_lex_bots(&self) -> ListLexBotsFluentBuilder
pub fn list_lex_bots(&self) -> ListLexBotsFluentBuilder
Constructs a fluent builder for the ListLexBots
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. If no value is specified, the default is 10.
- On success, responds with
ListLexBotsOutput
with field(s):lex_bots(Option<Vec::<LexBot>>)
:The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListLexBotsError>
Source§impl Client
impl Client
Sourcepub fn list_phone_numbers(&self) -> ListPhoneNumbersFluentBuilder
pub fn list_phone_numbers(&self) -> ListPhoneNumbersFluentBuilder
Constructs a fluent builder for the ListPhoneNumbers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
phone_number_types(PhoneNumberType)
/set_phone_number_types(Option<Vec::<PhoneNumberType>>)
:
required: falseThe type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.phone_number_country_codes(PhoneNumberCountryCode)
/set_phone_number_country_codes(Option<Vec::<PhoneNumberCountryCode>>)
:
required: falseThe ISO country code.
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. The default MaxResult size is 100.
- On success, responds with
ListPhoneNumbersOutput
with field(s):phone_number_summary_list(Option<Vec::<PhoneNumberSummary>>)
:Information about the phone numbers.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListPhoneNumbersError>
Source§impl Client
impl Client
Sourcepub fn list_phone_numbers_v2(&self) -> ListPhoneNumbersV2FluentBuilder
pub fn list_phone_numbers_v2(&self) -> ListPhoneNumbersV2FluentBuilder
Constructs a fluent builder for the ListPhoneNumbersV2
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
target_arn(impl Into<String>)
/set_target_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. If both
TargetArn
andInstanceId
input are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. If both
TargetArn
andInstanceId
are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same AWS Region as the request.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
phone_number_country_codes(PhoneNumberCountryCode)
/set_phone_number_country_codes(Option<Vec::<PhoneNumberCountryCode>>)
:
required: falseThe ISO country code.
phone_number_types(PhoneNumberType)
/set_phone_number_types(Option<Vec::<PhoneNumberType>>)
:
required: falseThe type of phone number.
phone_number_prefix(impl Into<String>)
/set_phone_number_prefix(Option<String>)
:
required: falseThe prefix of the phone number. If provided, it must contain
+
as part of the country code.
- On success, responds with
ListPhoneNumbersV2Output
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
list_phone_numbers_summary_list(Option<Vec::<ListPhoneNumbersSummary>>)
:Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.
- On failure, responds with
SdkError<ListPhoneNumbersV2Error>
Source§impl Client
impl Client
Sourcepub fn list_predefined_attributes(
&self,
) -> ListPredefinedAttributesFluentBuilder
pub fn list_predefined_attributes( &self, ) -> ListPredefinedAttributesFluentBuilder
Constructs a fluent builder for the ListPredefinedAttributes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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
ListPredefinedAttributesOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
predefined_attribute_summary_list(Option<Vec::<PredefinedAttributeSummary>>)
:Summary of the predefined attributes.
- On failure, responds with
SdkError<ListPredefinedAttributesError>
Source§impl Client
impl Client
Sourcepub fn list_prompts(&self) -> ListPromptsFluentBuilder
pub fn list_prompts(&self) -> ListPromptsFluentBuilder
Constructs a fluent builder for the ListPrompts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
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. The default MaxResult size is 100.
- On success, responds with
ListPromptsOutput
with field(s):prompt_summary_list(Option<Vec::<PromptSummary>>)
:Information about the prompts.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListPromptsError>
Source§impl Client
impl Client
Sourcepub fn list_queue_quick_connects(&self) -> ListQueueQuickConnectsFluentBuilder
pub fn list_queue_quick_connects(&self) -> ListQueueQuickConnectsFluentBuilder
Constructs a fluent builder for the ListQueueQuickConnects
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
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. The default MaxResult size is 100.
- On success, responds with
ListQueueQuickConnectsOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
quick_connect_summary_list(Option<Vec::<QuickConnectSummary>>)
:Information about the quick connects.
last_modified_time(Option<DateTime>)
:The timestamp when this resource was last modified.
last_modified_region(Option<String>)
:The Amazon Web Services Region where this resource was last modified.
- On failure, responds with
SdkError<ListQueueQuickConnectsError>
Source§impl Client
impl Client
Sourcepub fn list_queues(&self) -> ListQueuesFluentBuilder
pub fn list_queues(&self) -> ListQueuesFluentBuilder
Constructs a fluent builder for the ListQueues
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_types(QueueType)
/set_queue_types(Option<Vec::<QueueType>>)
:
required: falseThe type of queue.
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. The default MaxResult size is 100.
- On success, responds with
ListQueuesOutput
with field(s):queue_summary_list(Option<Vec::<QueueSummary>>)
:Information about the queues.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListQueuesError>
Source§impl Client
impl Client
Sourcepub fn list_quick_connects(&self) -> ListQuickConnectsFluentBuilder
pub fn list_quick_connects(&self) -> ListQuickConnectsFluentBuilder
Constructs a fluent builder for the ListQuickConnects
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. The default MaxResult size is 100.
quick_connect_types(QuickConnectType)
/set_quick_connect_types(Option<Vec::<QuickConnectType>>)
:
required: falseThe type of quick connect. In the Amazon Connect admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
- On success, responds with
ListQuickConnectsOutput
with field(s):quick_connect_summary_list(Option<Vec::<QuickConnectSummary>>)
:Information about the quick connects.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListQuickConnectsError>
Source§impl Client
impl Client
Sourcepub fn list_realtime_contact_analysis_segments_v2(
&self,
) -> ListRealtimeContactAnalysisSegmentsV2FluentBuilder
pub fn list_realtime_contact_analysis_segments_v2( &self, ) -> ListRealtimeContactAnalysisSegmentsV2FluentBuilder
Constructs a fluent builder for the ListRealtimeContactAnalysisSegmentsV2
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
output_type(RealTimeContactAnalysisOutputType)
/set_output_type(Option<RealTimeContactAnalysisOutputType>)
:
required: trueThe Contact Lens output type to be returned.
segment_types(RealTimeContactAnalysisSegmentType)
/set_segment_types(Option<Vec::<RealTimeContactAnalysisSegmentType>>)
:
required: trueEnum with segment types . Each value corresponds to a segment type returned in the segments list of the API. Each segment type has its own structure. Different channels may have different sets of supported segment types.
- On success, responds with
ListRealtimeContactAnalysisSegmentsV2Output
with field(s):channel(RealTimeContactAnalysisSupportedChannel)
:The channel of the contact.
Voice
will not be returned.status(RealTimeContactAnalysisStatus)
:Status of real-time contact analysis.
segments(Vec::<RealtimeContactAnalysisSegment>)
:An analyzed transcript or category.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListRealtimeContactAnalysisSegmentsV2Error>
Source§impl Client
impl Client
Sourcepub fn list_routing_profile_queues(
&self,
) -> ListRoutingProfileQueuesFluentBuilder
pub fn list_routing_profile_queues( &self, ) -> ListRoutingProfileQueuesFluentBuilder
Constructs a fluent builder for the ListRoutingProfileQueues
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
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. The default MaxResult size is 100.
- On success, responds with
ListRoutingProfileQueuesOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
routing_profile_queue_config_summary_list(Option<Vec::<RoutingProfileQueueConfigSummary>>)
:Information about the routing profiles.
last_modified_time(Option<DateTime>)
:The timestamp when this resource was last modified.
last_modified_region(Option<String>)
:The Amazon Web Services Region where this resource was last modified.
- On failure, responds with
SdkError<ListRoutingProfileQueuesError>
Source§impl Client
impl Client
Sourcepub fn list_routing_profiles(&self) -> ListRoutingProfilesFluentBuilder
pub fn list_routing_profiles(&self) -> ListRoutingProfilesFluentBuilder
Constructs a fluent builder for the ListRoutingProfiles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. The default MaxResult size is 100.
- On success, responds with
ListRoutingProfilesOutput
with field(s):routing_profile_summary_list(Option<Vec::<RoutingProfileSummary>>)
:Information about the routing profiles.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListRoutingProfilesError>
Source§impl Client
impl Client
Sourcepub fn list_rules(&self) -> ListRulesFluentBuilder
pub fn list_rules(&self) -> ListRulesFluentBuilder
Constructs a fluent builder for the ListRules
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
publish_status(RulePublishStatus)
/set_publish_status(Option<RulePublishStatus>)
:
required: falseThe publish status of the rule.
event_source_name(EventSourceName)
/set_event_source_name(Option<EventSourceName>)
:
required: falseThe name of the event source.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
- On success, responds with
ListRulesOutput
with field(s):rule_summary_list(Vec::<RuleSummary>)
:Summary information about a rule.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListRulesError>
Source§impl Client
impl Client
Sourcepub fn list_security_keys(&self) -> ListSecurityKeysFluentBuilder
pub fn list_security_keys(&self) -> ListSecurityKeysFluentBuilder
Constructs a fluent builder for the ListSecurityKeys
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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
ListSecurityKeysOutput
with field(s):security_keys(Option<Vec::<SecurityKey>>)
:The security keys.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListSecurityKeysError>
Source§impl Client
impl Client
Sourcepub fn list_security_profile_applications(
&self,
) -> ListSecurityProfileApplicationsFluentBuilder
pub fn list_security_profile_applications( &self, ) -> ListSecurityProfileApplicationsFluentBuilder
Constructs a fluent builder for the ListSecurityProfileApplications
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
security_profile_id(impl Into<String>)
/set_security_profile_id(Option<String>)
:
required: trueThe identifier for the security profle.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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
ListSecurityProfileApplicationsOutput
with field(s):applications(Option<Vec::<Application>>)
:A list of the third-party application’s metadata.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
last_modified_time(Option<DateTime>)
:The timestamp when this resource was last modified.
last_modified_region(Option<String>)
:The Amazon Web Services Region where this resource was last modified.
- On failure, responds with
SdkError<ListSecurityProfileApplicationsError>
Source§impl Client
impl Client
Sourcepub fn list_security_profile_permissions(
&self,
) -> ListSecurityProfilePermissionsFluentBuilder
pub fn list_security_profile_permissions( &self, ) -> ListSecurityProfilePermissionsFluentBuilder
Constructs a fluent builder for the ListSecurityProfilePermissions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
security_profile_id(impl Into<String>)
/set_security_profile_id(Option<String>)
:
required: trueThe identifier for the security profle.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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
ListSecurityProfilePermissionsOutput
with field(s):permissions(Option<Vec::<String>>)
:The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
last_modified_time(Option<DateTime>)
:The timestamp when this resource was last modified.
last_modified_region(Option<String>)
:The Amazon Web Services Region where this resource was last modified.
- On failure, responds with
SdkError<ListSecurityProfilePermissionsError>
Source§impl Client
impl Client
Sourcepub fn list_security_profiles(&self) -> ListSecurityProfilesFluentBuilder
pub fn list_security_profiles(&self) -> ListSecurityProfilesFluentBuilder
Constructs a fluent builder for the ListSecurityProfiles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. The default MaxResult size is 100.
- On success, responds with
ListSecurityProfilesOutput
with field(s):security_profile_summary_list(Option<Vec::<SecurityProfileSummary>>)
:Information about the security profiles.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListSecurityProfilesError>
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 Amazon Resource Name (ARN) of the resource. All Amazon Connect resources (instances, queues, flows, routing profiles, etc) have an ARN. To locate the ARN for an instance, for example, see Find your Amazon Connect instance ID/ARN.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<HashMap::<String, String>>)
:Information about the tags.
- On failure, responds with
SdkError<ListTagsForResourceError>
Source§impl Client
impl Client
Sourcepub fn list_task_templates(&self) -> ListTaskTemplatesFluentBuilder
pub fn list_task_templates(&self) -> ListTaskTemplatesFluentBuilder
Constructs a fluent builder for the ListTaskTemplates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
It is not expected that you set this because the value returned in the previous response is always null.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
It is not expected that you set this.
status(TaskTemplateStatus)
/set_status(Option<TaskTemplateStatus>)
:
required: falseMarks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the task template.
- On success, responds with
ListTaskTemplatesOutput
with field(s):task_templates(Option<Vec::<TaskTemplateMetadata>>)
:Provides details about a list of task templates belonging to an instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
- On failure, responds with
SdkError<ListTaskTemplatesError>
Source§impl Client
impl Client
Sourcepub fn list_traffic_distribution_group_users(
&self,
) -> ListTrafficDistributionGroupUsersFluentBuilder
pub fn list_traffic_distribution_group_users( &self, ) -> ListTrafficDistributionGroupUsersFluentBuilder
Constructs a fluent builder for the ListTrafficDistributionGroupUsers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
traffic_distribution_group_id(impl Into<String>)
/set_traffic_distribution_group_id(Option<String>)
:
required: trueThe identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
- On success, responds with
ListTrafficDistributionGroupUsersOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
traffic_distribution_group_user_summary_list(Option<Vec::<TrafficDistributionGroupUserSummary>>)
:A list of traffic distribution group users.
- On failure, responds with
SdkError<ListTrafficDistributionGroupUsersError>
Source§impl Client
impl Client
Sourcepub fn list_traffic_distribution_groups(
&self,
) -> ListTrafficDistributionGroupsFluentBuilder
pub fn list_traffic_distribution_groups( &self, ) -> ListTrafficDistributionGroupsFluentBuilder
Constructs a fluent builder for the ListTrafficDistributionGroups
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 results to return per page.
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.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
ListTrafficDistributionGroupsOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
traffic_distribution_group_summary_list(Option<Vec::<TrafficDistributionGroupSummary>>)
:A list of traffic distribution groups.
- On failure, responds with
SdkError<ListTrafficDistributionGroupsError>
Source§impl Client
impl Client
Sourcepub fn list_use_cases(&self) -> ListUseCasesFluentBuilder
pub fn list_use_cases(&self) -> ListUseCasesFluentBuilder
Constructs a fluent builder for the ListUseCases
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_association_id(impl Into<String>)
/set_integration_association_id(Option<String>)
:
required: trueThe identifier for the integration association.
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
ListUseCasesOutput
with field(s):use_case_summary_list(Option<Vec::<UseCase>>)
:The use cases.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListUseCasesError>
Source§impl Client
impl Client
Sourcepub fn list_user_hierarchy_groups(&self) -> ListUserHierarchyGroupsFluentBuilder
pub fn list_user_hierarchy_groups(&self) -> ListUserHierarchyGroupsFluentBuilder
Constructs a fluent builder for the ListUserHierarchyGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. The default MaxResult size is 100.
- On success, responds with
ListUserHierarchyGroupsOutput
with field(s):user_hierarchy_group_summary_list(Option<Vec::<HierarchyGroupSummary>>)
:Information about the hierarchy groups.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListUserHierarchyGroupsError>
Source§impl Client
impl Client
Sourcepub fn list_user_proficiencies(&self) -> ListUserProficienciesFluentBuilder
pub fn list_user_proficiencies(&self) -> ListUserProficienciesFluentBuilder
Constructs a fluent builder for the ListUserProficiencies
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
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
ListUserProficienciesOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
user_proficiency_list(Option<Vec::<UserProficiency>>)
:Information about the user proficiencies.
last_modified_time(Option<DateTime>)
:The last time that the user’s proficiencies are were modified.
last_modified_region(Option<String>)
:The region in which a user’s proficiencies were last modified.
- On failure, responds with
SdkError<ListUserProficienciesError>
Source§impl Client
impl Client
Sourcepub fn list_users(&self) -> ListUsersFluentBuilder
pub fn list_users(&self) -> ListUsersFluentBuilder
Constructs a fluent builder for the ListUsers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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. The default MaxResult size is 100.
- On success, responds with
ListUsersOutput
with field(s):user_summary_list(Option<Vec::<UserSummary>>)
:Information about the users.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListUsersError>
Source§impl Client
impl Client
Sourcepub fn list_view_versions(&self) -> ListViewVersionsFluentBuilder
pub fn list_view_versions(&self) -> ListViewVersionsFluentBuilder
Constructs a fluent builder for the ListViewVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
view_id(impl Into<String>)
/set_view_id(Option<String>)
:
required: trueThe identifier of the view. Both
ViewArn
andViewId
can be used.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. The default MaxResult size is 100.
- On success, responds with
ListViewVersionsOutput
with field(s):view_version_summary_list(Option<Vec::<ViewVersionSummary>>)
:A list of view version summaries.
next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On failure, responds with
SdkError<ListViewVersionsError>
Source§impl Client
impl Client
Sourcepub fn list_views(&self) -> ListViewsFluentBuilder
pub fn list_views(&self) -> ListViewsFluentBuilder
Constructs a fluent builder for the ListViews
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
r#type(ViewType)
/set_type(Option<ViewType>)
:
required: falseThe type of the view.
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. The default MaxResult size is 100.
- On success, responds with
ListViewsOutput
with field(s):views_summary_list(Option<Vec::<ViewSummary>>)
:A list of view summaries.
next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On failure, responds with
SdkError<ListViewsError>
Source§impl Client
impl Client
Sourcepub fn monitor_contact(&self) -> MonitorContactFluentBuilder
pub fn monitor_contact(&self) -> MonitorContactFluentBuilder
Constructs a fluent builder for the MonitorContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
allowed_monitor_capabilities(MonitorCapability)
/set_allowed_monitor_capabilities(Option<Vec::<MonitorCapability>>)
:
required: falseSpecify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge. AllowedMonitorCapabilities is required if barge is enabled.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
MonitorContactOutput
with field(s):contact_id(Option<String>)
:The identifier of the contact.
contact_arn(Option<String>)
:The ARN of the contact.
- On failure, responds with
SdkError<MonitorContactError>
Source§impl Client
impl Client
Sourcepub fn pause_contact(&self) -> PauseContactFluentBuilder
pub fn pause_contact(&self) -> PauseContactFluentBuilder
Constructs a fluent builder for the PauseContact
operation.
- The fluent builder is configurable:
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the
instanceId
in the ARN of the instance.contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: falseThe identifier of the flow.
- On success, responds with
PauseContactOutput
- On failure, responds with
SdkError<PauseContactError>
Source§impl Client
impl Client
Sourcepub fn put_user_status(&self) -> PutUserStatusFluentBuilder
pub fn put_user_status(&self) -> PutUserStatusFluentBuilder
Constructs a fluent builder for the PutUserStatus
operation.
- The fluent builder is configurable:
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
agent_status_id(impl Into<String>)
/set_agent_status_id(Option<String>)
:
required: trueThe identifier of the agent status.
- On success, responds with
PutUserStatusOutput
- On failure, responds with
SdkError<PutUserStatusError>
Source§impl Client
impl Client
Sourcepub fn release_phone_number(&self) -> ReleasePhoneNumberFluentBuilder
pub fn release_phone_number(&self) -> ReleasePhoneNumberFluentBuilder
Constructs a fluent builder for the ReleasePhoneNumber
operation.
- The fluent builder is configurable:
phone_number_id(impl Into<String>)
/set_phone_number_id(Option<String>)
:
required: trueA unique identifier for the phone number.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
ReleasePhoneNumberOutput
- On failure, responds with
SdkError<ReleasePhoneNumberError>
Source§impl Client
impl Client
Sourcepub fn replicate_instance(&self) -> ReplicateInstanceFluentBuilder
pub fn replicate_instance(&self) -> ReplicateInstanceFluentBuilder
Constructs a fluent builder for the ReplicateInstance
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You can provide the
InstanceId
, or the entire ARN.replica_region(impl Into<String>)
/set_replica_region(Option<String>)
:
required: trueThe Amazon Web Services Region where to replicate the Amazon Connect instance.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
replica_alias(impl Into<String>)
/set_replica_alias(Option<String>)
:
required: trueThe alias for the replicated instance. The
ReplicaAlias
must be unique.
- On success, responds with
ReplicateInstanceOutput
with field(s):id(Option<String>)
:The identifier of the replicated instance. You can find the
instanceId
in the ARN of the instance. The replicated instance has the same identifier as the instance it was replicated from.arn(Option<String>)
:The Amazon Resource Name (ARN) of the replicated instance.
- On failure, responds with
SdkError<ReplicateInstanceError>
Source§impl Client
impl Client
Sourcepub fn resume_contact(&self) -> ResumeContactFluentBuilder
pub fn resume_contact(&self) -> ResumeContactFluentBuilder
Constructs a fluent builder for the ResumeContact
operation.
- The fluent builder is configurable:
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the
instanceId
in the ARN of the instance.contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: falseThe identifier of the flow.
- On success, responds with
ResumeContactOutput
- On failure, responds with
SdkError<ResumeContactError>
Source§impl Client
impl Client
Sourcepub fn resume_contact_recording(&self) -> ResumeContactRecordingFluentBuilder
pub fn resume_contact_recording(&self) -> ResumeContactRecordingFluentBuilder
Constructs a fluent builder for the ResumeContactRecording
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
initial_contact_id(impl Into<String>)
/set_initial_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
contact_recording_type(ContactRecordingType)
/set_contact_recording_type(Option<ContactRecordingType>)
:
required: falseThe type of recording being operated on.
- On success, responds with
ResumeContactRecordingOutput
- On failure, responds with
SdkError<ResumeContactRecordingError>
Source§impl Client
impl Client
Sourcepub fn search_agent_statuses(&self) -> SearchAgentStatusesFluentBuilder
pub fn search_agent_statuses(&self) -> SearchAgentStatusesFluentBuilder
Constructs a fluent builder for the SearchAgentStatuses
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
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.
search_filter(AgentStatusSearchFilter)
/set_search_filter(Option<AgentStatusSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(AgentStatusSearchCriteria)
/set_search_criteria(Option<AgentStatusSearchCriteria>)
:
required: falseThe search criteria to be used to return agent statuses.
- On success, responds with
SearchAgentStatusesOutput
with field(s):agent_statuses(Option<Vec::<AgentStatus>>)
:The search criteria to be used to return agent statuses.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of agent statuses which matched your search query.
- On failure, responds with
SdkError<SearchAgentStatusesError>
Source§impl Client
impl Client
Sourcepub fn search_available_phone_numbers(
&self,
) -> SearchAvailablePhoneNumbersFluentBuilder
pub fn search_available_phone_numbers( &self, ) -> SearchAvailablePhoneNumbersFluentBuilder
Constructs a fluent builder for the SearchAvailablePhoneNumbers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
target_arn(impl Into<String>)
/set_target_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter
InstanceId
orTargetArn
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter
InstanceId
orTargetArn
.phone_number_country_code(PhoneNumberCountryCode)
/set_phone_number_country_code(Option<PhoneNumberCountryCode>)
:
required: trueThe ISO country code.
phone_number_type(PhoneNumberType)
/set_phone_number_type(Option<PhoneNumberType>)
:
required: trueThe type of phone number.
phone_number_prefix(impl Into<String>)
/set_phone_number_prefix(Option<String>)
:
required: falseThe prefix of the phone number. If provided, it must contain
+
as part of the country code.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
- On success, responds with
SearchAvailablePhoneNumbersOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
available_numbers_list(Option<Vec::<AvailableNumberSummary>>)
:A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
- On failure, responds with
SdkError<SearchAvailablePhoneNumbersError>
Source§impl Client
impl Client
Sourcepub fn search_contact_flow_modules(
&self,
) -> SearchContactFlowModulesFluentBuilder
pub fn search_contact_flow_modules( &self, ) -> SearchContactFlowModulesFluentBuilder
Constructs a fluent builder for the SearchContactFlowModules
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_filter(ContactFlowModuleSearchFilter)
/set_search_filter(Option<ContactFlowModuleSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(ContactFlowModuleSearchCriteria)
/set_search_criteria(Option<ContactFlowModuleSearchCriteria>)
:
required: falseThe search criteria to be used to return flow modules.
The
name
anddescription
fields support “contains” queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results.
- On success, responds with
SearchContactFlowModulesOutput
with field(s):contact_flow_modules(Option<Vec::<ContactFlowModule>>)
:The search criteria to be used to return flow modules.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of flows which matched your search query.
- On failure, responds with
SdkError<SearchContactFlowModulesError>
Source§impl Client
impl Client
Sourcepub fn search_contact_flows(&self) -> SearchContactFlowsFluentBuilder
pub fn search_contact_flows(&self) -> SearchContactFlowsFluentBuilder
Constructs a fluent builder for the SearchContactFlows
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_filter(ContactFlowSearchFilter)
/set_search_filter(Option<ContactFlowSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(ContactFlowSearchCriteria)
/set_search_criteria(Option<ContactFlowSearchCriteria>)
:
required: falseThe search criteria to be used to return flows.
The
name
anddescription
fields support “contains” queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results.
- On success, responds with
SearchContactFlowsOutput
with field(s):contact_flows(Option<Vec::<ContactFlow>>)
:Information about the flows.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of flows which matched your search query.
- On failure, responds with
SdkError<SearchContactFlowsError>
Source§impl Client
impl Client
Sourcepub fn search_contacts(&self) -> SearchContactsFluentBuilder
pub fn search_contacts(&self) -> SearchContactsFluentBuilder
Constructs a fluent builder for the SearchContacts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
time_range(SearchContactsTimeRange)
/set_time_range(Option<SearchContactsTimeRange>)
:
required: trueTime range that you want to search results.
search_criteria(SearchCriteria)
/set_search_criteria(Option<SearchCriteria>)
:
required: falseThe search criteria to be used to return contacts.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
sort(Sort)
/set_sort(Option<Sort>)
:
required: falseSpecifies a field to sort by and a sort order.
- On success, responds with
SearchContactsOutput
with field(s):contacts(Vec::<ContactSearchSummary>)
:Information about the contacts.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
total_count(Option<i64>)
:The total number of contacts which matched your search query.
- On failure, responds with
SdkError<SearchContactsError>
Source§impl Client
impl Client
Sourcepub fn search_email_addresses(&self) -> SearchEmailAddressesFluentBuilder
pub fn search_email_addresses(&self) -> SearchEmailAddressesFluentBuilder
Constructs a fluent builder for the SearchEmailAddresses
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
search_criteria(EmailAddressSearchCriteria)
/set_search_criteria(Option<EmailAddressSearchCriteria>)
:
required: falseThe search criteria to be used to return email addresses.
search_filter(EmailAddressSearchFilter)
/set_search_filter(Option<EmailAddressSearchFilter>)
:
required: falseFilters to be applied to search results.
- On success, responds with
SearchEmailAddressesOutput
with field(s):next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
email_addresses(Option<Vec::<EmailAddressMetadata>>)
:List of email addresses matching SearchFilter and SearchCriteria
approximate_total_count(Option<i64>)
:The total number of email addresses which matched your search query.
- On failure, responds with
SdkError<SearchEmailAddressesError>
Source§impl Client
impl Client
Sourcepub fn search_hours_of_operation_overrides(
&self,
) -> SearchHoursOfOperationOverridesFluentBuilder
pub fn search_hours_of_operation_overrides( &self, ) -> SearchHoursOfOperationOverridesFluentBuilder
Constructs a fluent builder for the SearchHoursOfOperationOverrides
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
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. Length Constraints: Minimum length of 1. Maximum length of 2500.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page. Valid Range: Minimum value of 1. Maximum value of 100.
search_filter(HoursOfOperationSearchFilter)
/set_search_filter(Option<HoursOfOperationSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(HoursOfOperationOverrideSearchCriteria)
/set_search_criteria(Option<HoursOfOperationOverrideSearchCriteria>)
:
required: falseThe search criteria to be used to return hours of operations overrides.
- On success, responds with
SearchHoursOfOperationOverridesOutput
with field(s):hours_of_operation_overrides(Option<Vec::<HoursOfOperationOverride>>)
:Information about the hours of operations overrides.
next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. Length Constraints: Minimum length of 1. Maximum length of 2500.
approximate_total_count(Option<i64>)
:The total number of hours of operations which matched your search query.
- On failure, responds with
SdkError<SearchHoursOfOperationOverridesError>
Source§impl Client
impl Client
Sourcepub fn search_hours_of_operations(&self) -> SearchHoursOfOperationsFluentBuilder
pub fn search_hours_of_operations(&self) -> SearchHoursOfOperationsFluentBuilder
Constructs a fluent builder for the SearchHoursOfOperations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_filter(HoursOfOperationSearchFilter)
/set_search_filter(Option<HoursOfOperationSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(HoursOfOperationSearchCriteria)
/set_search_criteria(Option<HoursOfOperationSearchCriteria>)
:
required: falseThe search criteria to be used to return hours of operations.
- On success, responds with
SearchHoursOfOperationsOutput
with field(s):hours_of_operations(Option<Vec::<HoursOfOperation>>)
:Information about the hours of operations.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of hours of operations which matched your search query.
- On failure, responds with
SdkError<SearchHoursOfOperationsError>
Source§impl Client
impl Client
Sourcepub fn search_predefined_attributes(
&self,
) -> SearchPredefinedAttributesFluentBuilder
pub fn search_predefined_attributes( &self, ) -> SearchPredefinedAttributesFluentBuilder
Constructs a fluent builder for the SearchPredefinedAttributes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_criteria(PredefinedAttributeSearchCriteria)
/set_search_criteria(Option<PredefinedAttributeSearchCriteria>)
:
required: falseThe search criteria to be used to return predefined attributes.
- On success, responds with
SearchPredefinedAttributesOutput
with field(s):predefined_attributes(Option<Vec::<PredefinedAttribute>>)
:Predefined attributes matched by the search criteria.
next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
approximate_total_count(Option<i64>)
:The approximate number of predefined attributes which matched your search query.
- On failure, responds with
SdkError<SearchPredefinedAttributesError>
Source§impl Client
impl Client
Sourcepub fn search_prompts(&self) -> SearchPromptsFluentBuilder
pub fn search_prompts(&self) -> SearchPromptsFluentBuilder
Constructs a fluent builder for the SearchPrompts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_filter(PromptSearchFilter)
/set_search_filter(Option<PromptSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(PromptSearchCriteria)
/set_search_criteria(Option<PromptSearchCriteria>)
:
required: falseThe search criteria to be used to return prompts.
- On success, responds with
SearchPromptsOutput
with field(s):prompts(Option<Vec::<Prompt>>)
:Information about the prompts.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of quick connects which matched your search query.
- On failure, responds with
SdkError<SearchPromptsError>
Source§impl Client
impl Client
Sourcepub fn search_queues(&self) -> SearchQueuesFluentBuilder
pub fn search_queues(&self) -> SearchQueuesFluentBuilder
Constructs a fluent builder for the SearchQueues
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_filter(QueueSearchFilter)
/set_search_filter(Option<QueueSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(QueueSearchCriteria)
/set_search_criteria(Option<QueueSearchCriteria>)
:
required: falseThe search criteria to be used to return queues.
The
name
anddescription
fields support “contains” queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
- On success, responds with
SearchQueuesOutput
with field(s):queues(Option<Vec::<Queue>>)
:Information about the queues.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of queues which matched your search query.
- On failure, responds with
SdkError<SearchQueuesError>
Source§impl Client
impl Client
Sourcepub fn search_quick_connects(&self) -> SearchQuickConnectsFluentBuilder
pub fn search_quick_connects(&self) -> SearchQuickConnectsFluentBuilder
Constructs a fluent builder for the SearchQuickConnects
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_filter(QuickConnectSearchFilter)
/set_search_filter(Option<QuickConnectSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(QuickConnectSearchCriteria)
/set_search_criteria(Option<QuickConnectSearchCriteria>)
:
required: falseThe search criteria to be used to return quick connects.
- On success, responds with
SearchQuickConnectsOutput
with field(s):quick_connects(Option<Vec::<QuickConnect>>)
:Information about the quick connects.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of quick connects which matched your search query.
- On failure, responds with
SdkError<SearchQuickConnectsError>
Source§impl Client
impl Client
Constructs a fluent builder for the SearchResourceTags
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
resource_types(impl Into<String>)
/set_resource_types(Option<Vec::<String>>)
:
required: falseThe list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
Supported resource types
-
AGENT
-
ROUTING_PROFILE
-
STANDARD_QUEUE
-
SECURITY_PROFILE
-
OPERATING_HOURS
-
PROMPT
-
CONTACT_FLOW
-
FLOW_MODULE
-
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.
search_criteria(ResourceTagsSearchCriteria)
/set_search_criteria(Option<ResourceTagsSearchCriteria>)
:
required: falseThe search criteria to be used to return tags.
- On success, responds with
SearchResourceTagsOutput
with field(s):tags(Option<Vec::<TagSet>>)
:A list of tags used in the Amazon Connect instance.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<SearchResourceTagsError>
Source§impl Client
impl Client
Sourcepub fn search_routing_profiles(&self) -> SearchRoutingProfilesFluentBuilder
pub fn search_routing_profiles(&self) -> SearchRoutingProfilesFluentBuilder
Constructs a fluent builder for the SearchRoutingProfiles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_filter(RoutingProfileSearchFilter)
/set_search_filter(Option<RoutingProfileSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(RoutingProfileSearchCriteria)
/set_search_criteria(Option<RoutingProfileSearchCriteria>)
:
required: falseThe search criteria to be used to return routing profiles.
The
name
anddescription
fields support “contains” queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
- On success, responds with
SearchRoutingProfilesOutput
with field(s):routing_profiles(Option<Vec::<RoutingProfile>>)
:Information about the routing profiles.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of routing profiles which matched your search query.
- On failure, responds with
SdkError<SearchRoutingProfilesError>
Source§impl Client
impl Client
Sourcepub fn search_security_profiles(&self) -> SearchSecurityProfilesFluentBuilder
pub fn search_security_profiles(&self) -> SearchSecurityProfilesFluentBuilder
Constructs a fluent builder for the SearchSecurityProfiles
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
search_criteria(SecurityProfileSearchCriteria)
/set_search_criteria(Option<SecurityProfileSearchCriteria>)
:
required: falseThe search criteria to be used to return security profiles.
The
name
field support “contains” queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.The currently supported value for
FieldName
:name
search_filter(SecurityProfilesSearchFilter)
/set_search_filter(Option<SecurityProfilesSearchFilter>)
:
required: falseFilters to be applied to search results.
- On success, responds with
SearchSecurityProfilesOutput
with field(s):security_profiles(Option<Vec::<SecurityProfileSearchSummary>>)
:Information about the security profiles.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of security profiles which matched your search query.
- On failure, responds with
SdkError<SearchSecurityProfilesError>
Source§impl Client
impl Client
Sourcepub fn search_user_hierarchy_groups(
&self,
) -> SearchUserHierarchyGroupsFluentBuilder
pub fn search_user_hierarchy_groups( &self, ) -> SearchUserHierarchyGroupsFluentBuilder
Constructs a fluent builder for the SearchUserHierarchyGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
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.
search_filter(UserHierarchyGroupSearchFilter)
/set_search_filter(Option<UserHierarchyGroupSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(UserHierarchyGroupSearchCriteria)
/set_search_criteria(Option<UserHierarchyGroupSearchCriteria>)
:
required: falseThe search criteria to be used to return UserHierarchyGroups.
- On success, responds with
SearchUserHierarchyGroupsOutput
with field(s):user_hierarchy_groups(Option<Vec::<HierarchyGroup>>)
:Information about the userHierarchyGroups.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of userHierarchyGroups which matched your search query.
- On failure, responds with
SdkError<SearchUserHierarchyGroupsError>
Source§impl Client
impl Client
Sourcepub fn search_users(&self) -> SearchUsersFluentBuilder
pub fn search_users(&self) -> SearchUsersFluentBuilder
Constructs a fluent builder for the SearchUsers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
InstanceID is a required field. The “Required: No” below is incorrect.
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.
search_filter(UserSearchFilter)
/set_search_filter(Option<UserSearchFilter>)
:
required: falseFilters to be applied to search results.
search_criteria(UserSearchCriteria)
/set_search_criteria(Option<UserSearchCriteria>)
:
required: falseThe search criteria to be used to return users.
The
name
anddescription
fields support “contains” queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
- On success, responds with
SearchUsersOutput
with field(s):users(Option<Vec::<UserSearchSummary>>)
:Information about the users.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
approximate_total_count(Option<i64>)
:The total number of users who matched your search query.
- On failure, responds with
SdkError<SearchUsersError>
Source§impl Client
impl Client
Sourcepub fn search_vocabularies(&self) -> SearchVocabulariesFluentBuilder
pub fn search_vocabularies(&self) -> SearchVocabulariesFluentBuilder
Constructs a fluent builder for the SearchVocabularies
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return per page.
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.
state(VocabularyState)
/set_state(Option<VocabularyState>)
:
required: falseThe current state of the custom vocabulary.
name_starts_with(impl Into<String>)
/set_name_starts_with(Option<String>)
:
required: falseThe starting pattern of the name of the vocabulary.
language_code(VocabularyLanguageCode)
/set_language_code(Option<VocabularyLanguageCode>)
:
required: falseThe language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- On success, responds with
SearchVocabulariesOutput
with field(s):vocabulary_summary_list(Option<Vec::<VocabularySummary>>)
:The list of the available custom vocabularies.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<SearchVocabulariesError>
Source§impl Client
impl Client
Sourcepub fn send_chat_integration_event(
&self,
) -> SendChatIntegrationEventFluentBuilder
pub fn send_chat_integration_event( &self, ) -> SendChatIntegrationEventFluentBuilder
Constructs a fluent builder for the SendChatIntegrationEvent
operation.
- The fluent builder is configurable:
source_id(impl Into<String>)
/set_source_id(Option<String>)
:
required: trueExternal identifier of chat customer participant, used in part to uniquely identify a chat. For SMS, this is the E164 phone number of the chat customer participant.
destination_id(impl Into<String>)
/set_destination_id(Option<String>)
:
required: trueChat system identifier, used in part to uniquely identify chat. This is associated with the Amazon Connect instance and flow to be used to start chats. For Server Migration Service, this is the phone number destination of inbound Server Migration Service messages represented by an Amazon Web Services End User Messaging phone number ARN.
subtype(impl Into<String>)
/set_subtype(Option<String>)
:
required: falseClassification of a channel. This is used in part to uniquely identify chat.
Valid value:
[“connect:sms”, connect:“WhatsApp”]
event(ChatEvent)
/set_event(Option<ChatEvent>)
:
required: trueChat integration event payload
new_session_details(NewSessionDetails)
/set_new_session_details(Option<NewSessionDetails>)
:
required: falseContact properties to apply when starting a new chat. If the integration event is handled with an existing chat, this is ignored.
- On success, responds with
SendChatIntegrationEventOutput
with field(s):initial_contact_id(Option<String>)
:Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
new_chat_created(Option<bool>)
:Whether handling the integration event resulted in creating a new chat or acting on existing chat.
- On failure, responds with
SdkError<SendChatIntegrationEventError>
Source§impl Client
impl Client
Sourcepub fn send_outbound_email(&self) -> SendOutboundEmailFluentBuilder
pub fn send_outbound_email(&self) -> SendOutboundEmailFluentBuilder
Constructs a fluent builder for the SendOutboundEmail
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
from_email_address(EmailAddressInfo)
/set_from_email_address(Option<EmailAddressInfo>)
:
required: trueThe email address to be used for sending email.
destination_email_address(EmailAddressInfo)
/set_destination_email_address(Option<EmailAddressInfo>)
:
required: trueThe email address to send the email to.
additional_recipients(OutboundAdditionalRecipients)
/set_additional_recipients(Option<OutboundAdditionalRecipients>)
:
required: falseThe additional recipients address of the email in CC.
email_message(OutboundEmailContent)
/set_email_message(Option<OutboundEmailContent>)
:
required: trueThe email message body to be sent to the newly created email.
traffic_type(TrafficType)
/set_traffic_type(Option<TrafficType>)
:
required: trueDenotes the class of traffic.
source_campaign(SourceCampaign)
/set_source_campaign(Option<SourceCampaign>)
:
required: falseA Campaign object need for Campaign traffic type.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
SendOutboundEmailOutput
- On failure, responds with
SdkError<SendOutboundEmailError>
Source§impl Client
impl Client
Sourcepub fn start_attached_file_upload(&self) -> StartAttachedFileUploadFluentBuilder
pub fn start_attached_file_upload(&self) -> StartAttachedFileUploadFluentBuilder
Constructs a fluent builder for the StartAttachedFileUpload
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe unique identifier of the Amazon Connect instance.
file_name(impl Into<String>)
/set_file_name(Option<String>)
:
required: trueA case-sensitive name of the attached file being uploaded.
file_size_in_bytes(i64)
/set_file_size_in_bytes(Option<i64>)
:
required: trueThe size of the attached file in bytes.
url_expiry_in_seconds(i32)
/set_url_expiry_in_seconds(Option<i32>)
:
required: falseOptional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
file_use_case_type(FileUseCaseType)
/set_file_use_case_type(Option<FileUseCaseType>)
:
required: trueThe use case for the file.
Only
ATTACHMENTS
are supported.associated_resource_arn(impl Into<String>)
/set_associated_resource_arn(Option<String>)
:
required: trueThe resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.
This value must be a valid ARN.
created_by(CreatedByInfo)
/set_created_by(Option<CreatedByInfo>)
:
required: falseRepresents the identity that created the file.
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. For example,
{ “Tags”: {“key1”:“value1”, “key2”:“value2”} }
.
- On success, responds with
StartAttachedFileUploadOutput
with field(s):file_arn(Option<String>)
:The unique identifier of the attached file resource (ARN).
file_id(Option<String>)
:The unique identifier of the attached file resource.
creation_time(Option<String>)
:The time of Creation of the file resource as an ISO timestamp. It’s specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2024-05-03T02:41:28.172Z
.file_status(Option<FileStatusType>)
:The current status of the attached file.
created_by(Option<CreatedByInfo>)
:Represents the identity that created the file.
upload_url_metadata(Option<UploadUrlMetadata>)
:The headers to be provided while uploading the file to the URL.
- On failure, responds with
SdkError<StartAttachedFileUploadError>
Source§impl Client
impl Client
Sourcepub fn start_chat_contact(&self) -> StartChatContactFluentBuilder
pub fn start_chat_contact(&self) -> StartChatContactFluentBuilder
Constructs a fluent builder for the StartChatContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow for initiating the chat. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
participant_details(ParticipantDetails)
/set_participant_details(Option<ParticipantDetails>)
:
required: trueInformation identifying the participant.
initial_message(ChatMessage)
/set_initial_message(Option<ChatMessage>)
:
required: falseThe initial message to be sent to the newly created chat. If you have a Lex bot in your flow, the initial message is not delivered to the Lex bot.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
chat_duration_in_minutes(i32)
/set_chat_duration_in_minutes(Option<i32>)
:
required: falseThe total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minimum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
supported_messaging_content_types(impl Into<String>)
/set_supported_messaging_content_types(Option<Vec::<String>>)
:
required: falseThe supported chat message content types. Supported types are
text/plain
,text/markdown
,application/json
,application/vnd.amazonaws.connect.message.interactive
, andapplication/vnd.amazonaws.connect.message.interactive.response
.Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:[text/plain, text/markdown, application/json]
,[text/markdown, text/plain]
,[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.The type
application/vnd.amazonaws.connect.message.interactive
is required to use the Show view flow block.persistent_chat(PersistentChat)
/set_persistent_chat(Option<PersistentChat>)
:
required: falseEnable persistent chats. For more information about enabling persistent chat, and for example use cases and how to configure for them, see Enable persistent chat.
related_contact_id(impl Into<String>)
/set_related_contact_id(Option<String>)
:
required: falseThe unique identifier for an Amazon Connect contact. This identifier is related to the chat starting.
You cannot provide data for both RelatedContactId and PersistentChat.
segment_attributes(impl Into<String>, SegmentAttributeValue)
/set_segment_attributes(Option<HashMap::<String, SegmentAttributeValue>>)
:
required: falseA set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
Attribute keys can include only alphanumeric, -, and _.
This field can be used to show channel subtype, such as
connect:Guide
.The types
application/vnd.amazonaws.connect.message.interactive
andapplication/vnd.amazonaws.connect.message.interactive.response
must be present in the SupportedMessagingContentTypes field of this API in order to setSegmentAttributes
as {“connect:Subtype”: {“valueString” : “connect:Guide” }}
.customer_id(impl Into<String>)
/set_customer_id(Option<String>)
:
required: falseThe customer’s identification number. For example, the
CustomerId
may be a customer number from your CRM.
- On success, responds with
StartChatContactOutput
with field(s):contact_id(Option<String>)
:The identifier of this contact within the Amazon Connect instance.
participant_id(Option<String>)
:The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
participant_token(Option<String>)
:The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
continued_from_contact_id(Option<String>)
:The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
- On failure, responds with
SdkError<StartChatContactError>
Source§impl Client
impl Client
Sourcepub fn start_contact_evaluation(&self) -> StartContactEvaluationFluentBuilder
pub fn start_contact_evaluation(&self) -> StartContactEvaluationFluentBuilder
Constructs a fluent builder for the StartContactEvaluation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
evaluation_form_id(impl Into<String>)
/set_evaluation_form_id(Option<String>)
:
required: trueThe unique identifier for the evaluation form.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
StartContactEvaluationOutput
with field(s):evaluation_id(String)
:A unique identifier for the contact evaluation.
evaluation_arn(String)
:The Amazon Resource Name (ARN) for the contact evaluation resource.
- On failure, responds with
SdkError<StartContactEvaluationError>
Source§impl Client
impl Client
Sourcepub fn start_contact_recording(&self) -> StartContactRecordingFluentBuilder
pub fn start_contact_recording(&self) -> StartContactRecordingFluentBuilder
Constructs a fluent builder for the StartContactRecording
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
initial_contact_id(impl Into<String>)
/set_initial_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
voice_recording_configuration(VoiceRecordingConfiguration)
/set_voice_recording_configuration(Option<VoiceRecordingConfiguration>)
:
required: trueThe person being recorded.
- On success, responds with
StartContactRecordingOutput
- On failure, responds with
SdkError<StartContactRecordingError>
Source§impl Client
impl Client
Sourcepub fn start_contact_streaming(&self) -> StartContactStreamingFluentBuilder
pub fn start_contact_streaming(&self) -> StartContactStreamingFluentBuilder
Constructs a fluent builder for the StartContactStreaming
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
chat_streaming_configuration(ChatStreamingConfiguration)
/set_chat_streaming_configuration(Option<ChatStreamingConfiguration>)
:
required: trueThe streaming configuration, such as the Amazon SNS streaming endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: trueA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
StartContactStreamingOutput
with field(s):streaming_id(String)
:The identifier of the streaming configuration enabled.
- On failure, responds with
SdkError<StartContactStreamingError>
Source§impl Client
impl Client
Sourcepub fn start_email_contact(&self) -> StartEmailContactFluentBuilder
pub fn start_email_contact(&self) -> StartEmailContactFluentBuilder
Constructs a fluent builder for the StartEmailContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
from_email_address(EmailAddressInfo)
/set_from_email_address(Option<EmailAddressInfo>)
:
required: trueThe email address of the customer.
destination_email_address(impl Into<String>)
/set_destination_email_address(Option<String>)
:
required: trueThe email address associated with the instance.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the email contact.
references(impl Into<String>, Reference)
/set_references(Option<HashMap::<String, Reference>>)
:
required: falseA formatted URL that is shown to an agent in the Contact Control Panel (CCP). Emails can have the following reference types at the time of creation:
URL
|NUMBER
|STRING
|DATE
.EMAIL
|EMAIL_MESSAGE
|ATTACHMENT
are not a supported reference type during email creation.name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of a email that is shown to an agent in the Contact Control Panel (CCP).
email_message(InboundEmailContent)
/set_email_message(Option<InboundEmailContent>)
:
required: trueThe email message body to be sent to the newly created email.
additional_recipients(InboundAdditionalRecipients)
/set_additional_recipients(Option<InboundAdditionalRecipients>)
:
required: falseThe addtional recipients address of the email.
attachments(EmailAttachment)
/set_attachments(Option<Vec::<EmailAttachment>>)
:
required: falseList of S3 presigned URLs of email attachments and their file name.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: falseThe identifier of the flow for initiating the emails. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
related_contact_id(impl Into<String>)
/set_related_contact_id(Option<String>)
:
required: falseThe contactId that is related to this contact. Linking emails together by using
RelatedContactID
copies over contact attributes from the related email contact to the new email contact. All updates to user-defined attributes in the new email contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by usingRelatedContactId
.attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
segment_attributes(impl Into<String>, SegmentAttributeValue)
/set_segment_attributes(Option<HashMap::<String, SegmentAttributeValue>>)
:
required: falseA set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
Attribute keys can include only alphanumeric, -, and _.
This field can be used to show channel subtype, such as
connect:Guide
.To set contact expiry, a
ValueMap
must be specified containing the integer number of minutes the contact will be active for before expiring, withSegmentAttributes
like {“connect:ContactExpiry”: {“ValueMap” : { “ExpiryDuration”: { “ValueInteger”:135}}}}
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
StartEmailContactOutput
with field(s):contact_id(Option<String>)
:The identifier of this contact within the Amazon Connect instance.
- On failure, responds with
SdkError<StartEmailContactError>
Source§impl Client
impl Client
Sourcepub fn start_outbound_chat_contact(
&self,
) -> StartOutboundChatContactFluentBuilder
pub fn start_outbound_chat_contact( &self, ) -> StartOutboundChatContactFluentBuilder
Constructs a fluent builder for the StartOutboundChatContact
operation.
- The fluent builder is configurable:
source_endpoint(Endpoint)
/set_source_endpoint(Option<Endpoint>)
:
required: trueInformation about the endpoint.
destination_endpoint(Endpoint)
/set_destination_endpoint(Option<Endpoint>)
:
required: trueInformation about the endpoint.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
segment_attributes(impl Into<String>, SegmentAttributeValue)
/set_segment_attributes(Option<HashMap::<String, SegmentAttributeValue>>)
:
required: trueA set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
-
Attribute keys can include only alphanumeric,
-
, and_
. -
This field can be used to show channel subtype, such as
connect:Guide
andconnect:SMS
.
-
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
-
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/123ec456-a007-89c0-1234-xxxxxxxxxxxx
-
chat_duration_in_minutes(i32)
/set_chat_duration_in_minutes(Option<i32>)
:
required: falseThe total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minimum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
participant_details(ParticipantDetails)
/set_participant_details(Option<ParticipantDetails>)
:
required: falseThe customer’s details.
initial_system_message(ChatMessage)
/set_initial_system_message(Option<ChatMessage>)
:
required: falseA chat message.
related_contact_id(impl Into<String>)
/set_related_contact_id(Option<String>)
:
required: falseThe unique identifier for an Amazon Connect contact. This identifier is related to the contact starting.
supported_messaging_content_types(impl Into<String>)
/set_supported_messaging_content_types(Option<Vec::<String>>)
:
required: falseThe supported chat message content types. Supported types are:
-
text/plain
-
text/markdown
-
application/json, application/vnd.amazonaws.connect.message.interactive
-
application/vnd.amazonaws.connect.message.interactive.response
Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:-
[text/plain, text/markdown, application/json]
-
[text/markdown, text/plain]
-
[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
-
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
- On success, responds with
StartOutboundChatContactOutput
with field(s):contact_id(Option<String>)
:The identifier of this contact within the Amazon Connect instance.
- On failure, responds with
SdkError<StartOutboundChatContactError>
Source§impl Client
impl Client
Sourcepub fn start_outbound_email_contact(
&self,
) -> StartOutboundEmailContactFluentBuilder
pub fn start_outbound_email_contact( &self, ) -> StartOutboundEmailContactFluentBuilder
Constructs a fluent builder for the StartOutboundEmailContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
from_email_address(EmailAddressInfo)
/set_from_email_address(Option<EmailAddressInfo>)
:
required: falseThe email address associated with the instance.
destination_email_address(EmailAddressInfo)
/set_destination_email_address(Option<EmailAddressInfo>)
:
required: trueThe email address of the customer.
additional_recipients(OutboundAdditionalRecipients)
/set_additional_recipients(Option<OutboundAdditionalRecipients>)
:
required: falseThe addtional recipients address of email in CC.
email_message(OutboundEmailContent)
/set_email_message(Option<OutboundEmailContent>)
:
required: trueThe email message body to be sent to the newly created email.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
StartOutboundEmailContactOutput
with field(s):contact_id(Option<String>)
:The identifier of the contact in this instance of Amazon Connect.
- On failure, responds with
SdkError<StartOutboundEmailContactError>
Source§impl Client
impl Client
Sourcepub fn start_outbound_voice_contact(
&self,
) -> StartOutboundVoiceContactFluentBuilder
pub fn start_outbound_voice_contact( &self, ) -> StartOutboundVoiceContactFluentBuilder
Constructs a fluent builder for the StartOutboundVoiceContact
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of a voice contact that is shown to an agent in the Contact Control Panel (CCP).
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the voice contact that is shown to an agent in the Contact Control Panel (CCP).
references(impl Into<String>, Reference)
/set_references(Option<HashMap::<String, Reference>>)
:
required: falseA formatted URL that is shown to an agent in the Contact Control Panel (CCP). Contacts can have the following reference types at the time of creation:
URL
|NUMBER
|STRING
|DATE
|EMAIL
.ATTACHMENT
is not a supported reference type during voice contact creation.related_contact_id(impl Into<String>)
/set_related_contact_id(Option<String>)
:
required: falseThe
contactId
that is related to this contact. Linking voice, task, or chat by usingRelatedContactID
copies over contact attributes from the related contact to the new contact. All updates to user-defined attributes in the new contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by usingRelatedContactId
.destination_phone_number(impl Into<String>)
/set_destination_phone_number(Option<String>)
:
required: trueThe phone number of the customer, in E.164 format.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow for the outbound call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
source_phone_number(impl Into<String>)
/set_source_phone_number(Option<String>)
:
required: falseThe phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: falseThe queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the flow is used. If you do not specify a queue, you must specify a source phone number.
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
answer_machine_detection_config(AnswerMachineDetectionConfig)
/set_answer_machine_detection_config(Option<AnswerMachineDetectionConfig>)
:
required: falseConfiguration of the answering machine detection for this outbound call.
campaign_id(impl Into<String>)
/set_campaign_id(Option<String>)
:
required: falseThe campaign identifier of the outbound communication.
traffic_type(TrafficType)
/set_traffic_type(Option<TrafficType>)
:
required: falseDenotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The default value is
GENERAL
. UseCAMPAIGN
ifEnableAnswerMachineDetection
is set totrue
. For all other cases, useGENERAL
.
- On success, responds with
StartOutboundVoiceContactOutput
with field(s):contact_id(Option<String>)
:The identifier of this contact within the Amazon Connect instance.
- On failure, responds with
SdkError<StartOutboundVoiceContactError>
Source§impl Client
impl Client
Sourcepub fn start_screen_sharing(&self) -> StartScreenSharingFluentBuilder
pub fn start_screen_sharing(&self) -> StartScreenSharingFluentBuilder
Constructs a fluent builder for the StartScreenSharing
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
- On success, responds with
StartScreenSharingOutput
- On failure, responds with
SdkError<StartScreenSharingError>
Source§impl Client
impl Client
Sourcepub fn start_task_contact(&self) -> StartTaskContactFluentBuilder
pub fn start_task_contact(&self) -> StartTaskContactFluentBuilder
Constructs a fluent builder for the StartTaskContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
previous_contact_id(impl Into<String>)
/set_previous_contact_id(Option<String>)
:
required: falseThe identifier of the previous chat, voice, or task contact. Any updates to user-defined attributes to task contacts linked using the same
PreviousContactID
will affect every contact in the chain. There can be a maximum of 12 linked task contacts in a chain.contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: falseThe identifier of the flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of a task that is shown to an agent in the Contact Control Panel (CCP).
references(impl Into<String>, Reference)
/set_references(Option<HashMap::<String, Reference>>)
:
required: falseA formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation:
URL
|NUMBER
|STRING
|DATE
|EMAIL
.ATTACHMENT
is not a supported reference type during task creation.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the task that is shown to an agent in the Contact Control Panel (CCP).
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
scheduled_time(DateTime)
/set_scheduled_time(Option<DateTime>)
:
required: falseThe timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
task_template_id(impl Into<String>)
/set_task_template_id(Option<String>)
:
required: falseA unique identifier for the task template. For more information about task templates, see Create task templates in the Amazon Connect Administrator Guide.
quick_connect_id(impl Into<String>)
/set_quick_connect_id(Option<String>)
:
required: falseThe identifier for the quick connect. Tasks that are created by using
QuickConnectId
will use the flow that is defined on agent or queue quick connect. For more information about quick connects, see Create quick connects.related_contact_id(impl Into<String>)
/set_related_contact_id(Option<String>)
:
required: falseThe contactId that is related to this contact. Linking tasks together by using
RelatedContactID
copies over contact attributes from the related task contact to the new task contact. All updates to user-defined attributes in the new task contact are limited to the individual contact ID, unlike what happens when tasks are linked by usingPreviousContactID
. There are no limits to the number of contacts that can be linked by usingRelatedContactId
.segment_attributes(impl Into<String>, SegmentAttributeValue)
/set_segment_attributes(Option<HashMap::<String, SegmentAttributeValue>>)
:
required: falseA set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
Attribute keys can include only alphanumeric, -, and _.
This field can be used to set Contact Expiry as a duration in minutes and set a UserId for the User who created a task.
To set contact expiry, a ValueMap must be specified containing the integer number of minutes the contact will be active for before expiring, with
SegmentAttributes
like {“connect:ContactExpiry”: {“ValueMap” : { “ExpiryDuration”: { “ValueInteger”: 135}}}}
.To set the created by user, a valid AgentResourceId must be supplied, with
SegmentAttributes
like {“connect:CreatedByUser” { “ValueString”: “arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/agent/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”}}}
.
- On success, responds with
StartTaskContactOutput
with field(s):contact_id(Option<String>)
:The identifier of this contact within the Amazon Connect instance.
- On failure, responds with
SdkError<StartTaskContactError>
Source§impl Client
impl Client
Sourcepub fn start_web_rtc_contact(&self) -> StartWebRTCContactFluentBuilder
pub fn start_web_rtc_contact(&self) -> StartWebRTCContactFluentBuilder
Constructs a fluent builder for the StartWebRTCContact
operation.
- The fluent builder is configurable:
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: falseA custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, -, and _ characters.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
allowed_capabilities(AllowedCapabilities)
/set_allowed_capabilities(Option<AllowedCapabilities>)
:
required: falseInformation about the video sharing capabilities of the participants (customer, agent).
participant_details(ParticipantDetails)
/set_participant_details(Option<ParticipantDetails>)
:
required: trueThe customer’s details.
related_contact_id(impl Into<String>)
/set_related_contact_id(Option<String>)
:
required: falseThe unique identifier for an Amazon Connect contact. This identifier is related to the contact starting.
references(impl Into<String>, Reference)
/set_references(Option<HashMap::<String, Reference>>)
:
required: falseA formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation:
URL
|NUMBER
|STRING
|DATE
|EMAIL
.ATTACHMENT
is not a supported reference type during task creation.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the task that is shown to an agent in the Contact Control Panel (CCP).
- On success, responds with
StartWebRtcContactOutput
with field(s):connection_data(Option<ConnectionData>)
:Information required for the client application (mobile application or website) to connect to the call.
contact_id(Option<String>)
:The identifier of the contact in this instance of Amazon Connect.
participant_id(Option<String>)
:The identifier for a contact participant. The
ParticipantId
for a contact participant is the same throughout the contact lifecycle.participant_token(Option<String>)
:The token used by the contact participant to call the CreateParticipantConnection API. The participant token is valid for the lifetime of a contact participant.
- On failure, responds with
SdkError<StartWebRTCContactError>
Source§impl Client
impl Client
Sourcepub fn stop_contact(&self) -> StopContactFluentBuilder
pub fn stop_contact(&self) -> StopContactFluentBuilder
Constructs a fluent builder for the StopContact
operation.
- The fluent builder is configurable:
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe ID of the contact.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
disconnect_reason(DisconnectReason)
/set_disconnect_reason(Option<DisconnectReason>)
:
required: falseThe reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
- On success, responds with
StopContactOutput
- On failure, responds with
SdkError<StopContactError>
Source§impl Client
impl Client
Sourcepub fn stop_contact_recording(&self) -> StopContactRecordingFluentBuilder
pub fn stop_contact_recording(&self) -> StopContactRecordingFluentBuilder
Constructs a fluent builder for the StopContactRecording
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
initial_contact_id(impl Into<String>)
/set_initial_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
contact_recording_type(ContactRecordingType)
/set_contact_recording_type(Option<ContactRecordingType>)
:
required: falseThe type of recording being operated on.
- On success, responds with
StopContactRecordingOutput
- On failure, responds with
SdkError<StopContactRecordingError>
Source§impl Client
impl Client
Sourcepub fn stop_contact_streaming(&self) -> StopContactStreamingFluentBuilder
pub fn stop_contact_streaming(&self) -> StopContactStreamingFluentBuilder
Constructs a fluent builder for the StopContactStreaming
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
streaming_id(impl Into<String>)
/set_streaming_id(Option<String>)
:
required: trueThe identifier of the streaming configuration enabled.
- On success, responds with
StopContactStreamingOutput
- On failure, responds with
SdkError<StopContactStreamingError>
Source§impl Client
impl Client
Sourcepub fn submit_contact_evaluation(&self) -> SubmitContactEvaluationFluentBuilder
pub fn submit_contact_evaluation(&self) -> SubmitContactEvaluationFluentBuilder
Constructs a fluent builder for the SubmitContactEvaluation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_id(impl Into<String>)
/set_evaluation_id(Option<String>)
:
required: trueA unique identifier for the contact evaluation.
answers(impl Into<String>, EvaluationAnswerInput)
/set_answers(Option<HashMap::<String, EvaluationAnswerInput>>)
:
required: falseA map of question identifiers to answer value.
notes(impl Into<String>, EvaluationNote)
/set_notes(Option<HashMap::<String, EvaluationNote>>)
:
required: falseA map of question identifiers to note value.
- On success, responds with
SubmitContactEvaluationOutput
with field(s):evaluation_id(String)
:A unique identifier for the contact evaluation.
evaluation_arn(String)
:The Amazon Resource Name (ARN) for the contact evaluation resource.
- On failure, responds with
SdkError<SubmitContactEvaluationError>
Source§impl Client
impl Client
Sourcepub fn suspend_contact_recording(&self) -> SuspendContactRecordingFluentBuilder
pub fn suspend_contact_recording(&self) -> SuspendContactRecordingFluentBuilder
Constructs a fluent builder for the SuspendContactRecording
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
initial_contact_id(impl Into<String>)
/set_initial_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
contact_recording_type(ContactRecordingType)
/set_contact_recording_type(Option<ContactRecordingType>)
:
required: falseThe type of recording being operated on.
- On success, responds with
SuspendContactRecordingOutput
- On failure, responds with
SdkError<SuspendContactRecordingError>
Source§impl Client
impl Client
Sourcepub fn tag_contact(&self) -> TagContactFluentBuilder
pub fn tag_contact(&self) -> TagContactFluentBuilder
Constructs a fluent builder for the TagContact
operation.
- The fluent builder is configurable:
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: trueThe tags to be assigned to the contact resource. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
Authorization is not supported by this tag.
- On success, responds with
TagContactOutput
- On failure, responds with
SdkError<TagContactError>
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 Amazon Resource Name (ARN) of the resource.
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. For example, { “Tags”: {“key1”:“value1”, “key2”:“value2”} }.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Source§impl Client
impl Client
Sourcepub fn transfer_contact(&self) -> TransferContactFluentBuilder
pub fn transfer_contact(&self) -> TransferContactFluentBuilder
Constructs a fluent builder for the TransferContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: falseThe identifier for the queue.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: falseThe identifier for the user. This can be the ID or the ARN of the user.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
TransferContactOutput
with field(s):contact_id(Option<String>)
:The identifier of the contact in this instance of Amazon Connect.
contact_arn(Option<String>)
:The Amazon Resource Name (ARN) of the contact.
- On failure, responds with
SdkError<TransferContactError>
Source§impl Client
impl Client
Sourcepub fn untag_contact(&self) -> UntagContactFluentBuilder
pub fn untag_contact(&self) -> UntagContactFluentBuilder
Constructs a fluent builder for the UntagContact
operation.
- The fluent builder is configurable:
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueA list of tag keys. Existing tags on the contact whose keys are members of this list will be removed.
- On success, responds with
UntagContactOutput
- On failure, responds with
SdkError<UntagContactError>
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 Amazon Resource Name (ARN) of the resource.
tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueThe tag keys.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Source§impl Client
impl Client
Sourcepub fn update_agent_status(&self) -> UpdateAgentStatusFluentBuilder
pub fn update_agent_status(&self) -> UpdateAgentStatusFluentBuilder
Constructs a fluent builder for the UpdateAgentStatus
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
agent_status_id(impl Into<String>)
/set_agent_status_id(Option<String>)
:
required: trueThe identifier of the agent status.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the agent status.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the agent status.
state(AgentStatusState)
/set_state(Option<AgentStatusState>)
:
required: falseThe state of the agent status.
display_order(i32)
/set_display_order(Option<i32>)
:
required: falseThe display order of the agent status.
reset_order_number(bool)
/set_reset_order_number(Option<bool>)
:
required: falseA number indicating the reset order of the agent status.
- On success, responds with
UpdateAgentStatusOutput
- On failure, responds with
SdkError<UpdateAgentStatusError>
Source§impl Client
impl Client
Sourcepub fn update_authentication_profile(
&self,
) -> UpdateAuthenticationProfileFluentBuilder
pub fn update_authentication_profile( &self, ) -> UpdateAuthenticationProfileFluentBuilder
Constructs a fluent builder for the UpdateAuthenticationProfile
operation.
- The fluent builder is configurable:
authentication_profile_id(impl Into<String>)
/set_authentication_profile_id(Option<String>)
:
required: trueA unique identifier for the authentication profile.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name for the authentication profile.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description for the authentication profile.
allowed_ips(impl Into<String>)
/set_allowed_ips(Option<Vec::<String>>)
:
required: falseA list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
blocked_ips(impl Into<String>)
/set_blocked_ips(Option<Vec::<String>>)
:
required: falseA list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
periodic_session_duration(i32)
/set_periodic_session_duration(Option<i32>)
:
required: falseThe short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
- On success, responds with
UpdateAuthenticationProfileOutput
- On failure, responds with
SdkError<UpdateAuthenticationProfileError>
Source§impl Client
impl Client
Sourcepub fn update_contact(&self) -> UpdateContactFluentBuilder
pub fn update_contact(&self) -> UpdateContactFluentBuilder
Constructs a fluent builder for the UpdateContact
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the contact.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the contact.
references(impl Into<String>, Reference)
/set_references(Option<HashMap::<String, Reference>>)
:
required: falseWell-formed data on contact, shown to agents on Contact Control Panel (CCP).
segment_attributes(impl Into<String>, SegmentAttributeValue)
/set_segment_attributes(Option<HashMap::<String, SegmentAttributeValue>>)
:
required: falseA set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
Attribute keys can include only alphanumeric, -, and _.
This field can be used to show channel subtype, such as
connect:Guide
.Currently Contact Expiry is the only segment attribute which can be updated by using the UpdateContact API.
queue_info(QueueInfoInput)
/set_queue_info(Option<QueueInfoInput>)
:
required: falseInformation about the queue associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
user_info(UserInfo)
/set_user_info(Option<UserInfo>)
:
required: falseInformation about the agent associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
customer_endpoint(Endpoint)
/set_customer_endpoint(Option<Endpoint>)
:
required: falseThe endpoint of the customer for which the contact was initiated. For external audio contacts, this is usually the end customer’s phone number. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
system_endpoint(Endpoint)
/set_system_endpoint(Option<Endpoint>)
:
required: falseExternal system endpoint for the contact was initiated. For external audio contacts, this is the phone number of the external system such as the contact center. This value can only be updated for external audio contacts. For more information, see Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.
- On success, responds with
UpdateContactOutput
- On failure, responds with
SdkError<UpdateContactError>
Source§impl Client
impl Client
Sourcepub fn update_contact_attributes(&self) -> UpdateContactAttributesFluentBuilder
pub fn update_contact_attributes(&self) -> UpdateContactAttributesFluentBuilder
Constructs a fluent builder for the UpdateContactAttributes
operation.
- The fluent builder is configurable:
initial_contact_id(impl Into<String>)
/set_initial_contact_id(Option<String>)
:
required: trueThe identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
attributes(impl Into<String>, impl Into<String>)
/set_attributes(Option<HashMap::<String, String>>)
:
required: trueThe Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.
You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
When the attributes for a contact exceed 32 KB, the contact is routed down the Error branch of the flow. As a mitigation, consider the following options:
-
Remove unnecessary attributes by setting their values to empty.
-
If the attributes are only used in one flow and don’t need to be referred to outside of that flow (for example, by a Lambda or another flow), then use flow attributes. This way you aren’t needlessly persisting the 32 KB of information from one flow to another. For more information, see Flow block: Set contact attributes in the Amazon Connect Administrator Guide.
-
- On success, responds with
UpdateContactAttributesOutput
- On failure, responds with
SdkError<UpdateContactAttributesError>
Source§impl Client
impl Client
Sourcepub fn update_contact_evaluation(&self) -> UpdateContactEvaluationFluentBuilder
pub fn update_contact_evaluation(&self) -> UpdateContactEvaluationFluentBuilder
Constructs a fluent builder for the UpdateContactEvaluation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_id(impl Into<String>)
/set_evaluation_id(Option<String>)
:
required: trueA unique identifier for the contact evaluation.
answers(impl Into<String>, EvaluationAnswerInput)
/set_answers(Option<HashMap::<String, EvaluationAnswerInput>>)
:
required: falseA map of question identifiers to answer value.
notes(impl Into<String>, EvaluationNote)
/set_notes(Option<HashMap::<String, EvaluationNote>>)
:
required: falseA map of question identifiers to note value.
- On success, responds with
UpdateContactEvaluationOutput
with field(s):evaluation_id(String)
:A unique identifier for the contact evaluation.
evaluation_arn(String)
:The Amazon Resource Name (ARN) for the contact evaluation resource.
- On failure, responds with
SdkError<UpdateContactEvaluationError>
Source§impl Client
impl Client
Sourcepub fn update_contact_flow_content(
&self,
) -> UpdateContactFlowContentFluentBuilder
pub fn update_contact_flow_content( &self, ) -> UpdateContactFlowContentFluentBuilder
Constructs a fluent builder for the UpdateContactFlowContent
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
content(impl Into<String>)
/set_content(Option<String>)
:
required: trueThe JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
- On success, responds with
UpdateContactFlowContentOutput
- On failure, responds with
SdkError<UpdateContactFlowContentError>
Source§impl Client
impl Client
Sourcepub fn update_contact_flow_metadata(
&self,
) -> UpdateContactFlowMetadataFluentBuilder
pub fn update_contact_flow_metadata( &self, ) -> UpdateContactFlowMetadataFluentBuilder
Constructs a fluent builder for the UpdateContactFlowMetadata
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the flow.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the flow.
contact_flow_state(ContactFlowState)
/set_contact_flow_state(Option<ContactFlowState>)
:
required: falseThe state of flow.
- On success, responds with
UpdateContactFlowMetadataOutput
- On failure, responds with
SdkError<UpdateContactFlowMetadataError>
Source§impl Client
impl Client
Sourcepub fn update_contact_flow_module_content(
&self,
) -> UpdateContactFlowModuleContentFluentBuilder
pub fn update_contact_flow_module_content( &self, ) -> UpdateContactFlowModuleContentFluentBuilder
Constructs a fluent builder for the UpdateContactFlowModuleContent
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_module_id(impl Into<String>)
/set_contact_flow_module_id(Option<String>)
:
required: trueThe identifier of the flow module.
content(impl Into<String>)
/set_content(Option<String>)
:
required: trueThe JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
- On success, responds with
UpdateContactFlowModuleContentOutput
- On failure, responds with
SdkError<UpdateContactFlowModuleContentError>
Source§impl Client
impl Client
Sourcepub fn update_contact_flow_module_metadata(
&self,
) -> UpdateContactFlowModuleMetadataFluentBuilder
pub fn update_contact_flow_module_metadata( &self, ) -> UpdateContactFlowModuleMetadataFluentBuilder
Constructs a fluent builder for the UpdateContactFlowModuleMetadata
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_flow_module_id(impl Into<String>)
/set_contact_flow_module_id(Option<String>)
:
required: trueThe identifier of the flow module.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the flow module.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the flow module.
state(ContactFlowModuleState)
/set_state(Option<ContactFlowModuleState>)
:
required: falseThe state of flow module.
- On success, responds with
UpdateContactFlowModuleMetadataOutput
- On failure, responds with
SdkError<UpdateContactFlowModuleMetadataError>
Source§impl Client
impl Client
Sourcepub fn update_contact_flow_name(&self) -> UpdateContactFlowNameFluentBuilder
pub fn update_contact_flow_name(&self) -> UpdateContactFlowNameFluentBuilder
Constructs a fluent builder for the UpdateContactFlowName
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: trueThe identifier of the flow.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the flow.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the flow.
- On success, responds with
UpdateContactFlowNameOutput
- On failure, responds with
SdkError<UpdateContactFlowNameError>
Source§impl Client
impl Client
Sourcepub fn update_contact_routing_data(
&self,
) -> UpdateContactRoutingDataFluentBuilder
pub fn update_contact_routing_data( &self, ) -> UpdateContactRoutingDataFluentBuilder
Constructs a fluent builder for the UpdateContactRoutingData
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
queue_time_adjustment_seconds(i32)
/set_queue_time_adjustment_seconds(Option<i32>)
:
required: falseThe number of seconds to add or subtract from the contact’s routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.
queue_priority(i64)
/set_queue_priority(Option<i64>)
:
required: falsePriority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.
routing_criteria(RoutingCriteriaInput)
/set_routing_criteria(Option<RoutingCriteriaInput>)
:
required: falseUpdates the routing criteria on the contact. These properties can be used to change how a contact is routed within the queue.
- On success, responds with
UpdateContactRoutingDataOutput
- On failure, responds with
SdkError<UpdateContactRoutingDataError>
Source§impl Client
impl Client
Sourcepub fn update_contact_schedule(&self) -> UpdateContactScheduleFluentBuilder
pub fn update_contact_schedule(&self) -> UpdateContactScheduleFluentBuilder
Constructs a fluent builder for the UpdateContactSchedule
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact.
scheduled_time(DateTime)
/set_scheduled_time(Option<DateTime>)
:
required: trueThe timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
- On success, responds with
UpdateContactScheduleOutput
- On failure, responds with
SdkError<UpdateContactScheduleError>
Source§impl Client
impl Client
Sourcepub fn update_email_address_metadata(
&self,
) -> UpdateEmailAddressMetadataFluentBuilder
pub fn update_email_address_metadata( &self, ) -> UpdateEmailAddressMetadataFluentBuilder
Constructs a fluent builder for the UpdateEmailAddressMetadata
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
email_address_id(impl Into<String>)
/set_email_address_id(Option<String>)
:
required: trueThe identifier of the email address.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the email address.
display_name(impl Into<String>)
/set_display_name(Option<String>)
:
required: falseThe display name of email address.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
UpdateEmailAddressMetadataOutput
with field(s):email_address_id(Option<String>)
:The identifier of the email address.
email_address_arn(Option<String>)
:The Amazon Resource Name (ARN) of the email address.
- On failure, responds with
SdkError<UpdateEmailAddressMetadataError>
Source§impl Client
impl Client
Sourcepub fn update_evaluation_form(&self) -> UpdateEvaluationFormFluentBuilder
pub fn update_evaluation_form(&self) -> UpdateEvaluationFormFluentBuilder
Constructs a fluent builder for the UpdateEvaluationForm
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
evaluation_form_id(impl Into<String>)
/set_evaluation_form_id(Option<String>)
:
required: trueThe unique identifier for the evaluation form.
evaluation_form_version(i32)
/set_evaluation_form_version(Option<i32>)
:
required: trueA version of the evaluation form to update.
create_new_version(bool)
/set_create_new_version(Option<bool>)
:
required: falseA flag indicating whether the operation must create a new version.
title(impl Into<String>)
/set_title(Option<String>)
:
required: trueA title of the evaluation form.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the evaluation form.
items(EvaluationFormItem)
/set_items(Option<Vec::<EvaluationFormItem>>)
:
required: trueItems that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
scoring_strategy(EvaluationFormScoringStrategy)
/set_scoring_strategy(Option<EvaluationFormScoringStrategy>)
:
required: falseA scoring strategy of the evaluation form.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
UpdateEvaluationFormOutput
with field(s):evaluation_form_id(String)
:The unique identifier for the evaluation form.
evaluation_form_arn(String)
:The Amazon Resource Name (ARN) for the contact evaluation resource.
evaluation_form_version(i32)
:The version of the updated evaluation form resource.
- On failure, responds with
SdkError<UpdateEvaluationFormError>
Source§impl Client
impl Client
Sourcepub fn update_hours_of_operation(&self) -> UpdateHoursOfOperationFluentBuilder
pub fn update_hours_of_operation(&self) -> UpdateHoursOfOperationFluentBuilder
Constructs a fluent builder for the UpdateHoursOfOperation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier of the hours of operation.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the hours of operation.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the hours of operation.
time_zone(impl Into<String>)
/set_time_zone(Option<String>)
:
required: falseThe time zone of the hours of operation.
config(HoursOfOperationConfig)
/set_config(Option<Vec::<HoursOfOperationConfig>>)
:
required: falseConfiguration information of the hours of operation.
- On success, responds with
UpdateHoursOfOperationOutput
- On failure, responds with
SdkError<UpdateHoursOfOperationError>
Source§impl Client
impl Client
Sourcepub fn update_hours_of_operation_override(
&self,
) -> UpdateHoursOfOperationOverrideFluentBuilder
pub fn update_hours_of_operation_override( &self, ) -> UpdateHoursOfOperationOverrideFluentBuilder
Constructs a fluent builder for the UpdateHoursOfOperationOverride
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
hours_of_operation_override_id(impl Into<String>)
/set_hours_of_operation_override_id(Option<String>)
:
required: trueThe identifier for the hours of operation override.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the hours of operation override.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the hours of operation override.
config(HoursOfOperationOverrideConfig)
/set_config(Option<Vec::<HoursOfOperationOverrideConfig>>)
:
required: falseConfiguration information for the hours of operation override: day, start time, and end time.
effective_from(impl Into<String>)
/set_effective_from(Option<String>)
:
required: falseThe date from when the hours of operation override would be effective.
effective_till(impl Into<String>)
/set_effective_till(Option<String>)
:
required: falseThe date till when the hours of operation override would be effective.
- On success, responds with
UpdateHoursOfOperationOverrideOutput
- On failure, responds with
SdkError<UpdateHoursOfOperationOverrideError>
Source§impl Client
impl Client
Sourcepub fn update_instance_attribute(&self) -> UpdateInstanceAttributeFluentBuilder
pub fn update_instance_attribute(&self) -> UpdateInstanceAttributeFluentBuilder
Constructs a fluent builder for the UpdateInstanceAttribute
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
attribute_type(InstanceAttributeType)
/set_attribute_type(Option<InstanceAttributeType>)
:
required: trueThe type of attribute.
Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.
value(impl Into<String>)
/set_value(Option<String>)
:
required: trueThe value for the attribute. Maximum character limit is 100.
- On success, responds with
UpdateInstanceAttributeOutput
- On failure, responds with
SdkError<UpdateInstanceAttributeError>
Source§impl Client
impl Client
Sourcepub fn update_instance_storage_config(
&self,
) -> UpdateInstanceStorageConfigFluentBuilder
pub fn update_instance_storage_config( &self, ) -> UpdateInstanceStorageConfigFluentBuilder
Constructs a fluent builder for the UpdateInstanceStorageConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
resource_type(InstanceStorageResourceType)
/set_resource_type(Option<InstanceStorageResourceType>)
:
required: trueA valid resource type.
storage_config(InstanceStorageConfig)
/set_storage_config(Option<InstanceStorageConfig>)
:
required: trueThe storage configuration for the instance.
- On success, responds with
UpdateInstanceStorageConfigOutput
- On failure, responds with
SdkError<UpdateInstanceStorageConfigError>
Source§impl Client
impl Client
Sourcepub fn update_participant_authentication(
&self,
) -> UpdateParticipantAuthenticationFluentBuilder
pub fn update_participant_authentication( &self, ) -> UpdateParticipantAuthenticationFluentBuilder
Constructs a fluent builder for the UpdateParticipantAuthentication
operation.
- The fluent builder is configurable:
state(impl Into<String>)
/set_state(Option<String>)
:
required: trueThe
state
query parameter that was provided by Cognito in theredirectUri
. This will also match thestate
parameter provided in theAuthenticationUrl
from the GetAuthenticationUrl response.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
code(impl Into<String>)
/set_code(Option<String>)
:
required: falseThe
code
query parameter provided by Cognito in theredirectUri
.error(impl Into<String>)
/set_error(Option<String>)
:
required: falseThe
error
query parameter provided by Cognito in theredirectUri
.error_description(impl Into<String>)
/set_error_description(Option<String>)
:
required: falseThe
error_description
parameter provided by Cognito in theredirectUri
.
- On success, responds with
UpdateParticipantAuthenticationOutput
- On failure, responds with
SdkError<UpdateParticipantAuthenticationError>
Source§impl Client
impl Client
Sourcepub fn update_participant_role_config(
&self,
) -> UpdateParticipantRoleConfigFluentBuilder
pub fn update_participant_role_config( &self, ) -> UpdateParticipantRoleConfigFluentBuilder
Constructs a fluent builder for the UpdateParticipantRoleConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
contact_id(impl Into<String>)
/set_contact_id(Option<String>)
:
required: trueThe identifier of the contact in this instance of Amazon Connect.
channel_configuration(UpdateParticipantRoleConfigChannelInfo)
/set_channel_configuration(Option<UpdateParticipantRoleConfigChannelInfo>)
:
required: trueThe Amazon Connect channel you want to configure.
- On success, responds with
UpdateParticipantRoleConfigOutput
- On failure, responds with
SdkError<UpdateParticipantRoleConfigError>
Source§impl Client
impl Client
Sourcepub fn update_phone_number(&self) -> UpdatePhoneNumberFluentBuilder
pub fn update_phone_number(&self) -> UpdatePhoneNumberFluentBuilder
Constructs a fluent builder for the UpdatePhoneNumber
operation.
- The fluent builder is configurable:
phone_number_id(impl Into<String>)
/set_phone_number_id(Option<String>)
:
required: trueA unique identifier for the phone number.
target_arn(impl Into<String>)
/set_target_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter
InstanceId
orTargetArn
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter
InstanceId
orTargetArn
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
UpdatePhoneNumberOutput
with field(s):phone_number_id(Option<String>)
:A unique identifier for the phone number.
phone_number_arn(Option<String>)
:The Amazon Resource Name (ARN) of the phone number.
- On failure, responds with
SdkError<UpdatePhoneNumberError>
Source§impl Client
impl Client
Sourcepub fn update_phone_number_metadata(
&self,
) -> UpdatePhoneNumberMetadataFluentBuilder
pub fn update_phone_number_metadata( &self, ) -> UpdatePhoneNumberMetadataFluentBuilder
Constructs a fluent builder for the UpdatePhoneNumberMetadata
operation.
- The fluent builder is configurable:
phone_number_id(impl Into<String>)
/set_phone_number_id(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) or resource ID of the phone number.
phone_number_description(impl Into<String>)
/set_phone_number_description(Option<String>)
:
required: falseThe description of the phone number.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- On success, responds with
UpdatePhoneNumberMetadataOutput
- On failure, responds with
SdkError<UpdatePhoneNumberMetadataError>
Source§impl Client
impl Client
Sourcepub fn update_predefined_attribute(
&self,
) -> UpdatePredefinedAttributeFluentBuilder
pub fn update_predefined_attribute( &self, ) -> UpdatePredefinedAttributeFluentBuilder
Constructs a fluent builder for the UpdatePredefinedAttribute
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the predefined attribute.
values(PredefinedAttributeValues)
/set_values(Option<PredefinedAttributeValues>)
:
required: falseThe values of the predefined attribute.
- On success, responds with
UpdatePredefinedAttributeOutput
- On failure, responds with
SdkError<UpdatePredefinedAttributeError>
Source§impl Client
impl Client
Sourcepub fn update_prompt(&self) -> UpdatePromptFluentBuilder
pub fn update_prompt(&self) -> UpdatePromptFluentBuilder
Constructs a fluent builder for the UpdatePrompt
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
prompt_id(impl Into<String>)
/set_prompt_id(Option<String>)
:
required: trueA unique identifier for the prompt.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the prompt.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the prompt.
s3_uri(impl Into<String>)
/set_s3_uri(Option<String>)
:
required: falseThe URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
- On success, responds with
UpdatePromptOutput
with field(s):prompt_arn(Option<String>)
:The Amazon Resource Name (ARN) of the prompt.
prompt_id(Option<String>)
:A unique identifier for the prompt.
- On failure, responds with
SdkError<UpdatePromptError>
Source§impl Client
impl Client
Sourcepub fn update_queue_hours_of_operation(
&self,
) -> UpdateQueueHoursOfOperationFluentBuilder
pub fn update_queue_hours_of_operation( &self, ) -> UpdateQueueHoursOfOperationFluentBuilder
Constructs a fluent builder for the UpdateQueueHoursOfOperation
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
hours_of_operation_id(impl Into<String>)
/set_hours_of_operation_id(Option<String>)
:
required: trueThe identifier for the hours of operation.
- On success, responds with
UpdateQueueHoursOfOperationOutput
- On failure, responds with
SdkError<UpdateQueueHoursOfOperationError>
Source§impl Client
impl Client
Sourcepub fn update_queue_max_contacts(&self) -> UpdateQueueMaxContactsFluentBuilder
pub fn update_queue_max_contacts(&self) -> UpdateQueueMaxContactsFluentBuilder
Constructs a fluent builder for the UpdateQueueMaxContacts
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
max_contacts(i32)
/set_max_contacts(Option<i32>)
:
required: falseThe maximum number of contacts that can be in the queue before it is considered full.
- On success, responds with
UpdateQueueMaxContactsOutput
- On failure, responds with
SdkError<UpdateQueueMaxContactsError>
Source§impl Client
impl Client
Sourcepub fn update_queue_name(&self) -> UpdateQueueNameFluentBuilder
pub fn update_queue_name(&self) -> UpdateQueueNameFluentBuilder
Constructs a fluent builder for the UpdateQueueName
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the queue.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the queue.
- On success, responds with
UpdateQueueNameOutput
- On failure, responds with
SdkError<UpdateQueueNameError>
Source§impl Client
impl Client
Sourcepub fn update_queue_outbound_caller_config(
&self,
) -> UpdateQueueOutboundCallerConfigFluentBuilder
pub fn update_queue_outbound_caller_config( &self, ) -> UpdateQueueOutboundCallerConfigFluentBuilder
Constructs a fluent builder for the UpdateQueueOutboundCallerConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
outbound_caller_config(OutboundCallerConfig)
/set_outbound_caller_config(Option<OutboundCallerConfig>)
:
required: trueThe outbound caller ID name, number, and outbound whisper flow.
- On success, responds with
UpdateQueueOutboundCallerConfigOutput
- On failure, responds with
SdkError<UpdateQueueOutboundCallerConfigError>
Source§impl Client
impl Client
Sourcepub fn update_queue_outbound_email_config(
&self,
) -> UpdateQueueOutboundEmailConfigFluentBuilder
pub fn update_queue_outbound_email_config( &self, ) -> UpdateQueueOutboundEmailConfigFluentBuilder
Constructs a fluent builder for the UpdateQueueOutboundEmailConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
outbound_email_config(OutboundEmailConfig)
/set_outbound_email_config(Option<OutboundEmailConfig>)
:
required: trueThe outbound email address ID for a specified queue.
- On success, responds with
UpdateQueueOutboundEmailConfigOutput
- On failure, responds with
SdkError<UpdateQueueOutboundEmailConfigError>
Source§impl Client
impl Client
Sourcepub fn update_queue_status(&self) -> UpdateQueueStatusFluentBuilder
pub fn update_queue_status(&self) -> UpdateQueueStatusFluentBuilder
Constructs a fluent builder for the UpdateQueueStatus
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
queue_id(impl Into<String>)
/set_queue_id(Option<String>)
:
required: trueThe identifier for the queue.
status(QueueStatus)
/set_status(Option<QueueStatus>)
:
required: trueThe status of the queue.
- On success, responds with
UpdateQueueStatusOutput
- On failure, responds with
SdkError<UpdateQueueStatusError>
Source§impl Client
impl Client
Sourcepub fn update_quick_connect_config(
&self,
) -> UpdateQuickConnectConfigFluentBuilder
pub fn update_quick_connect_config( &self, ) -> UpdateQuickConnectConfigFluentBuilder
Constructs a fluent builder for the UpdateQuickConnectConfig
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
quick_connect_id(impl Into<String>)
/set_quick_connect_id(Option<String>)
:
required: trueThe identifier for the quick connect.
quick_connect_config(QuickConnectConfig)
/set_quick_connect_config(Option<QuickConnectConfig>)
:
required: trueInformation about the configuration settings for the quick connect.
- On success, responds with
UpdateQuickConnectConfigOutput
- On failure, responds with
SdkError<UpdateQuickConnectConfigError>
Source§impl Client
impl Client
Sourcepub fn update_quick_connect_name(&self) -> UpdateQuickConnectNameFluentBuilder
pub fn update_quick_connect_name(&self) -> UpdateQuickConnectNameFluentBuilder
Constructs a fluent builder for the UpdateQuickConnectName
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
quick_connect_id(impl Into<String>)
/set_quick_connect_id(Option<String>)
:
required: trueThe identifier for the quick connect.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the quick connect.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the quick connect.
- On success, responds with
UpdateQuickConnectNameOutput
- On failure, responds with
SdkError<UpdateQuickConnectNameError>
Source§impl Client
impl Client
Sourcepub fn update_routing_profile_agent_availability_timer(
&self,
) -> UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder
pub fn update_routing_profile_agent_availability_timer( &self, ) -> UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder
Constructs a fluent builder for the UpdateRoutingProfileAgentAvailabilityTimer
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
agent_availability_timer(AgentAvailabilityTimer)
/set_agent_availability_timer(Option<AgentAvailabilityTimer>)
:
required: trueWhether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
- On success, responds with
UpdateRoutingProfileAgentAvailabilityTimerOutput
- On failure, responds with
SdkError<UpdateRoutingProfileAgentAvailabilityTimerError>
Source§impl Client
impl Client
Sourcepub fn update_routing_profile_concurrency(
&self,
) -> UpdateRoutingProfileConcurrencyFluentBuilder
pub fn update_routing_profile_concurrency( &self, ) -> UpdateRoutingProfileConcurrencyFluentBuilder
Constructs a fluent builder for the UpdateRoutingProfileConcurrency
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
media_concurrencies(MediaConcurrency)
/set_media_concurrencies(Option<Vec::<MediaConcurrency>>)
:
required: trueThe channels that agents can handle in the Contact Control Panel (CCP).
- On success, responds with
UpdateRoutingProfileConcurrencyOutput
- On failure, responds with
SdkError<UpdateRoutingProfileConcurrencyError>
Source§impl Client
impl Client
Sourcepub fn update_routing_profile_default_outbound_queue(
&self,
) -> UpdateRoutingProfileDefaultOutboundQueueFluentBuilder
pub fn update_routing_profile_default_outbound_queue( &self, ) -> UpdateRoutingProfileDefaultOutboundQueueFluentBuilder
Constructs a fluent builder for the UpdateRoutingProfileDefaultOutboundQueue
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
default_outbound_queue_id(impl Into<String>)
/set_default_outbound_queue_id(Option<String>)
:
required: trueThe identifier for the default outbound queue.
- On success, responds with
UpdateRoutingProfileDefaultOutboundQueueOutput
- On failure, responds with
SdkError<UpdateRoutingProfileDefaultOutboundQueueError>
Source§impl Client
impl Client
Sourcepub fn update_routing_profile_name(
&self,
) -> UpdateRoutingProfileNameFluentBuilder
pub fn update_routing_profile_name( &self, ) -> UpdateRoutingProfileNameFluentBuilder
Constructs a fluent builder for the UpdateRoutingProfileName
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the routing profile. Must not be more than 127 characters.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the routing profile. Must not be more than 250 characters.
- On success, responds with
UpdateRoutingProfileNameOutput
- On failure, responds with
SdkError<UpdateRoutingProfileNameError>
Source§impl Client
impl Client
Sourcepub fn update_routing_profile_queues(
&self,
) -> UpdateRoutingProfileQueuesFluentBuilder
pub fn update_routing_profile_queues( &self, ) -> UpdateRoutingProfileQueuesFluentBuilder
Constructs a fluent builder for the UpdateRoutingProfileQueues
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile.
queue_configs(RoutingProfileQueueConfig)
/set_queue_configs(Option<Vec::<RoutingProfileQueueConfig>>)
:
required: trueThe queues to be updated for this routing profile. Queues must first be associated to the routing profile. You can do this using AssociateRoutingProfileQueues.
- On success, responds with
UpdateRoutingProfileQueuesOutput
- On failure, responds with
SdkError<UpdateRoutingProfileQueuesError>
Source§impl Client
impl Client
Sourcepub fn update_rule(&self) -> UpdateRuleFluentBuilder
pub fn update_rule(&self) -> UpdateRuleFluentBuilder
Constructs a fluent builder for the UpdateRule
operation.
- The fluent builder is configurable:
rule_id(impl Into<String>)
/set_rule_id(Option<String>)
:
required: trueA unique identifier for the rule.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the rule. You can change the name only if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
function(impl Into<String>)
/set_function(Option<String>)
:
required: trueThe conditions of the rule.
actions(RuleAction)
/set_actions(Option<Vec::<RuleAction>>)
:
required: trueA list of actions to be run when the rule is triggered.
publish_status(RulePublishStatus)
/set_publish_status(Option<RulePublishStatus>)
:
required: trueThe publish status of the rule.
- On success, responds with
UpdateRuleOutput
- On failure, responds with
SdkError<UpdateRuleError>
Source§impl Client
impl Client
Sourcepub fn update_security_profile(&self) -> UpdateSecurityProfileFluentBuilder
pub fn update_security_profile(&self) -> UpdateSecurityProfileFluentBuilder
Constructs a fluent builder for the UpdateSecurityProfile
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the security profile.
permissions(impl Into<String>)
/set_permissions(Option<Vec::<String>>)
:
required: falseThe permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
security_profile_id(impl Into<String>)
/set_security_profile_id(Option<String>)
:
required: trueThe identifier for the security profle.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
allowed_access_control_tags(impl Into<String>, impl Into<String>)
/set_allowed_access_control_tags(Option<HashMap::<String, String>>)
:
required: falseThe list of tags that a security profile uses to restrict access to resources in Amazon Connect.
tag_restricted_resources(impl Into<String>)
/set_tag_restricted_resources(Option<Vec::<String>>)
:
required: falseThe list of resources that a security profile applies tag restrictions to in Amazon Connect.
applications(Application)
/set_applications(Option<Vec::<Application>>)
:
required: falseA list of the third-party application’s metadata.
hierarchy_restricted_resources(impl Into<String>)
/set_hierarchy_restricted_resources(Option<Vec::<String>>)
:
required: falseThe list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
.allowed_access_control_hierarchy_group_id(impl Into<String>)
/set_allowed_access_control_hierarchy_group_id(Option<String>)
:
required: falseThe identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
- On success, responds with
UpdateSecurityProfileOutput
- On failure, responds with
SdkError<UpdateSecurityProfileError>
Source§impl Client
impl Client
Sourcepub fn update_task_template(&self) -> UpdateTaskTemplateFluentBuilder
pub fn update_task_template(&self) -> UpdateTaskTemplateFluentBuilder
Constructs a fluent builder for the UpdateTaskTemplate
operation.
- The fluent builder is configurable:
task_template_id(impl Into<String>)
/set_task_template_id(Option<String>)
:
required: trueA unique identifier for the task template.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the task template.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the task template.
contact_flow_id(impl Into<String>)
/set_contact_flow_id(Option<String>)
:
required: falseThe identifier of the flow that runs by default when a task is created by referencing this template.
self_assign_flow_id(impl Into<String>)
/set_self_assign_flow_id(Option<String>)
:
required: falseThe ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.
constraints(TaskTemplateConstraints)
/set_constraints(Option<TaskTemplateConstraints>)
:
required: falseConstraints that are applicable to the fields listed.
defaults(TaskTemplateDefaults)
/set_defaults(Option<TaskTemplateDefaults>)
:
required: falseThe default values for fields when a task is created by referencing this template.
status(TaskTemplateStatus)
/set_status(Option<TaskTemplateStatus>)
:
required: falseMarks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.fields(TaskTemplateField)
/set_fields(Option<Vec::<TaskTemplateField>>)
:
required: falseFields that are part of the template.
- On success, responds with
UpdateTaskTemplateOutput
with field(s):instance_id(Option<String>)
:The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
id(Option<String>)
:The identifier of the task template resource.
arn(Option<String>)
:The Amazon Resource Name (ARN) for the task template resource.
name(Option<String>)
:The name of the task template.
description(Option<String>)
:The description of the task template.
contact_flow_id(Option<String>)
:The identifier of the flow that runs by default when a task is created by referencing this template.
self_assign_flow_id(Option<String>)
:The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.
constraints(Option<TaskTemplateConstraints>)
:Constraints that are applicable to the fields listed.
defaults(Option<TaskTemplateDefaults>)
:The default values for fields when a task is created by referencing this template.
fields(Option<Vec::<TaskTemplateField>>)
:Fields that are part of the template.
status(Option<TaskTemplateStatus>)
:Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.last_modified_time(Option<DateTime>)
:The timestamp when the task template was last modified.
created_time(Option<DateTime>)
:The timestamp when the task template was created.
- On failure, responds with
SdkError<UpdateTaskTemplateError>
Source§impl Client
impl Client
Sourcepub fn update_traffic_distribution(
&self,
) -> UpdateTrafficDistributionFluentBuilder
pub fn update_traffic_distribution( &self, ) -> UpdateTrafficDistributionFluentBuilder
Constructs a fluent builder for the UpdateTrafficDistribution
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
telephony_config(TelephonyConfig)
/set_telephony_config(Option<TelephonyConfig>)
:
required: falseThe distribution of traffic between the instance and its replica(s).
sign_in_config(SignInConfig)
/set_sign_in_config(Option<SignInConfig>)
:
required: falseThe distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
agent_config(AgentConfig)
/set_agent_config(Option<AgentConfig>)
:
required: falseThe distribution of agents between the instance and its replica(s).
- On success, responds with
UpdateTrafficDistributionOutput
- On failure, responds with
SdkError<UpdateTrafficDistributionError>
Source§impl Client
impl Client
Sourcepub fn update_user_hierarchy(&self) -> UpdateUserHierarchyFluentBuilder
pub fn update_user_hierarchy(&self) -> UpdateUserHierarchyFluentBuilder
Constructs a fluent builder for the UpdateUserHierarchy
operation.
- The fluent builder is configurable:
hierarchy_group_id(impl Into<String>)
/set_hierarchy_group_id(Option<String>)
:
required: falseThe identifier of the hierarchy group.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
UpdateUserHierarchyOutput
- On failure, responds with
SdkError<UpdateUserHierarchyError>
Source§impl Client
impl Client
Sourcepub fn update_user_hierarchy_group_name(
&self,
) -> UpdateUserHierarchyGroupNameFluentBuilder
pub fn update_user_hierarchy_group_name( &self, ) -> UpdateUserHierarchyGroupNameFluentBuilder
Constructs a fluent builder for the UpdateUserHierarchyGroupName
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the hierarchy group. Must not be more than 100 characters.
hierarchy_group_id(impl Into<String>)
/set_hierarchy_group_id(Option<String>)
:
required: trueThe identifier of the hierarchy group.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
UpdateUserHierarchyGroupNameOutput
- On failure, responds with
SdkError<UpdateUserHierarchyGroupNameError>
Source§impl Client
impl Client
Sourcepub fn update_user_hierarchy_structure(
&self,
) -> UpdateUserHierarchyStructureFluentBuilder
pub fn update_user_hierarchy_structure( &self, ) -> UpdateUserHierarchyStructureFluentBuilder
Constructs a fluent builder for the UpdateUserHierarchyStructure
operation.
- The fluent builder is configurable:
hierarchy_structure(HierarchyStructureUpdate)
/set_hierarchy_structure(Option<HierarchyStructureUpdate>)
:
required: trueThe hierarchy levels to update.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
UpdateUserHierarchyStructureOutput
- On failure, responds with
SdkError<UpdateUserHierarchyStructureError>
Source§impl Client
impl Client
Sourcepub fn update_user_identity_info(&self) -> UpdateUserIdentityInfoFluentBuilder
pub fn update_user_identity_info(&self) -> UpdateUserIdentityInfoFluentBuilder
Constructs a fluent builder for the UpdateUserIdentityInfo
operation.
- The fluent builder is configurable:
identity_info(UserIdentityInfo)
/set_identity_info(Option<UserIdentityInfo>)
:
required: trueThe identity information for the user.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
UpdateUserIdentityInfoOutput
- On failure, responds with
SdkError<UpdateUserIdentityInfoError>
Source§impl Client
impl Client
Sourcepub fn update_user_phone_config(&self) -> UpdateUserPhoneConfigFluentBuilder
pub fn update_user_phone_config(&self) -> UpdateUserPhoneConfigFluentBuilder
Constructs a fluent builder for the UpdateUserPhoneConfig
operation.
- The fluent builder is configurable:
phone_config(UserPhoneConfig)
/set_phone_config(Option<UserPhoneConfig>)
:
required: trueInformation about phone configuration settings for the user.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
UpdateUserPhoneConfigOutput
- On failure, responds with
SdkError<UpdateUserPhoneConfigError>
Source§impl Client
impl Client
Sourcepub fn update_user_proficiencies(&self) -> UpdateUserProficienciesFluentBuilder
pub fn update_user_proficiencies(&self) -> UpdateUserProficienciesFluentBuilder
Constructs a fluent builder for the UpdateUserProficiencies
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
user_proficiencies(UserProficiency)
/set_user_proficiencies(Option<Vec::<UserProficiency>>)
:
required: trueThe proficiencies to be updated for the user. Proficiencies must first be associated to the user. You can do this using AssociateUserProficiencies API.
- On success, responds with
UpdateUserProficienciesOutput
- On failure, responds with
SdkError<UpdateUserProficienciesError>
Source§impl Client
impl Client
Sourcepub fn update_user_routing_profile(
&self,
) -> UpdateUserRoutingProfileFluentBuilder
pub fn update_user_routing_profile( &self, ) -> UpdateUserRoutingProfileFluentBuilder
Constructs a fluent builder for the UpdateUserRoutingProfile
operation.
- The fluent builder is configurable:
routing_profile_id(impl Into<String>)
/set_routing_profile_id(Option<String>)
:
required: trueThe identifier of the routing profile for the user.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
UpdateUserRoutingProfileOutput
- On failure, responds with
SdkError<UpdateUserRoutingProfileError>
Source§impl Client
impl Client
Sourcepub fn update_user_security_profiles(
&self,
) -> UpdateUserSecurityProfilesFluentBuilder
pub fn update_user_security_profiles( &self, ) -> UpdateUserSecurityProfilesFluentBuilder
Constructs a fluent builder for the UpdateUserSecurityProfiles
operation.
- The fluent builder is configurable:
security_profile_ids(impl Into<String>)
/set_security_profile_ids(Option<Vec::<String>>)
:
required: trueThe identifiers of the security profiles for the user.
user_id(impl Into<String>)
/set_user_id(Option<String>)
:
required: trueThe identifier of the user account.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- On success, responds with
UpdateUserSecurityProfilesOutput
- On failure, responds with
SdkError<UpdateUserSecurityProfilesError>
Source§impl Client
impl Client
Sourcepub fn update_view_content(&self) -> UpdateViewContentFluentBuilder
pub fn update_view_content(&self) -> UpdateViewContentFluentBuilder
Constructs a fluent builder for the UpdateViewContent
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
view_id(impl Into<String>)
/set_view_id(Option<String>)
:
required: trueThe identifier of the view. Both
ViewArn
andViewId
can be used.status(ViewStatus)
/set_status(Option<ViewStatus>)
:
required: trueIndicates the view status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content.content(ViewInputContent)
/set_content(Option<ViewInputContent>)
:
required: trueView content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
- On success, responds with
UpdateViewContentOutput
with field(s):view(Option<View>)
:A view resource object. Contains metadata and content necessary to render the view.
- On failure, responds with
SdkError<UpdateViewContentError>
Source§impl Client
impl Client
Sourcepub fn update_view_metadata(&self) -> UpdateViewMetadataFluentBuilder
pub fn update_view_metadata(&self) -> UpdateViewMetadataFluentBuilder
Constructs a fluent builder for the UpdateViewMetadata
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
view_id(impl Into<String>)
/set_view_id(Option<String>)
:
required: trueThe identifier of the view. Both
ViewArn
andViewId
can be used.name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the view.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the view.
- On success, responds with
UpdateViewMetadataOutput
- On failure, responds with
SdkError<UpdateViewMetadataError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightBlack
.
§Example
println!("{}", value.bright_black());
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightGreen
.
§Example
println!("{}", value.bright_green());
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightYellow
.
§Example
println!("{}", value.bright_yellow());
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightMagenta
.
§Example
println!("{}", value.bright_magenta());
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Returns self
with the
fg()
set to
Color::BrightWhite
.
§Example
println!("{}", value.bright_white());
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightBlack
.
§Example
println!("{}", value.on_bright_black());
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightGreen
.
§Example
println!("{}", value.on_bright_green());
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightYellow
.
§Example
println!("{}", value.on_bright_yellow());
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightBlue
.
§Example
println!("{}", value.on_bright_blue());
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightMagenta
.
§Example
println!("{}", value.on_bright_magenta());
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightCyan
.
§Example
println!("{}", value.on_bright_cyan());
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Returns self
with the
bg()
set to
Color::BrightWhite
.
§Example
println!("{}", value.on_bright_white());
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn underline(&self) -> Painted<&T>
fn underline(&self) -> Painted<&T>
Returns self
with the
attr()
set to
Attribute::Underline
.
§Example
println!("{}", value.underline());
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Returns self
with the
attr()
set to
Attribute::RapidBlink
.
§Example
println!("{}", value.rapid_blink());
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);