Struct aws_sdk_connect::client::Client

source ·
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 Config 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

source

pub fn activate_evaluation_form(&self) -> ActivateEvaluationFormFluentBuilder

Constructs a fluent builder for the ActivateEvaluationForm operation.

source§

impl Client

source

pub fn associate_analytics_data_set( &self ) -> AssociateAnalyticsDataSetFluentBuilder

Constructs a fluent builder for the AssociateAnalyticsDataSet operation.

source§

impl Client

source

pub fn associate_approved_origin(&self) -> AssociateApprovedOriginFluentBuilder

Constructs a fluent builder for the AssociateApprovedOrigin operation.

source§

impl Client

source

pub fn associate_bot(&self) -> AssociateBotFluentBuilder

Constructs a fluent builder for the AssociateBot operation.

source§

impl Client

source

pub fn associate_default_vocabulary( &self ) -> AssociateDefaultVocabularyFluentBuilder

Constructs a fluent builder for the AssociateDefaultVocabulary operation.

source§

impl Client

source

pub fn associate_flow(&self) -> AssociateFlowFluentBuilder

Constructs a fluent builder for the AssociateFlow operation.

source§

impl Client

source

pub fn associate_instance_storage_config( &self ) -> AssociateInstanceStorageConfigFluentBuilder

Constructs a fluent builder for the AssociateInstanceStorageConfig operation.

source§

impl Client

source

pub fn associate_lambda_function(&self) -> AssociateLambdaFunctionFluentBuilder

Constructs a fluent builder for the AssociateLambdaFunction operation.

source§

impl Client

source

pub fn associate_lex_bot(&self) -> AssociateLexBotFluentBuilder

Constructs a fluent builder for the AssociateLexBot operation.

source§

impl Client

source

pub fn associate_phone_number_contact_flow( &self ) -> AssociatePhoneNumberContactFlowFluentBuilder

Constructs a fluent builder for the AssociatePhoneNumberContactFlow operation.

source§

impl Client

source

pub fn associate_queue_quick_connects( &self ) -> AssociateQueueQuickConnectsFluentBuilder

Constructs a fluent builder for the AssociateQueueQuickConnects operation.

source§

impl Client

source

pub fn associate_routing_profile_queues( &self ) -> AssociateRoutingProfileQueuesFluentBuilder

Constructs a fluent builder for the AssociateRoutingProfileQueues operation.

source§

impl Client

source

pub fn associate_security_key(&self) -> AssociateSecurityKeyFluentBuilder

Constructs a fluent builder for the AssociateSecurityKey operation.

source§

impl Client

source

pub fn associate_traffic_distribution_group_user( &self ) -> AssociateTrafficDistributionGroupUserFluentBuilder

Constructs a fluent builder for the AssociateTrafficDistributionGroupUser operation.

source§

impl Client

source

pub fn associate_user_proficiencies( &self ) -> AssociateUserProficienciesFluentBuilder

Constructs a fluent builder for the AssociateUserProficiencies operation.

source§

impl Client

source

pub fn batch_associate_analytics_data_set( &self ) -> BatchAssociateAnalyticsDataSetFluentBuilder

Constructs a fluent builder for the BatchAssociateAnalyticsDataSet operation.

source§

impl Client

source

pub fn batch_disassociate_analytics_data_set( &self ) -> BatchDisassociateAnalyticsDataSetFluentBuilder

Constructs a fluent builder for the BatchDisassociateAnalyticsDataSet operation.

source§

impl Client

source

pub fn batch_get_attached_file_metadata( &self ) -> BatchGetAttachedFileMetadataFluentBuilder

Constructs a fluent builder for the BatchGetAttachedFileMetadata operation.

source§

impl Client

source

pub fn batch_get_flow_association(&self) -> BatchGetFlowAssociationFluentBuilder

Constructs a fluent builder for the BatchGetFlowAssociation operation.

source§

impl Client

source

pub fn batch_put_contact(&self) -> BatchPutContactFluentBuilder

Constructs a fluent builder for the BatchPutContact operation.

source§

impl Client

source

pub fn claim_phone_number(&self) -> ClaimPhoneNumberFluentBuilder

Constructs a fluent builder for the ClaimPhoneNumber operation.

source§

impl Client

source

pub fn complete_attached_file_upload( &self ) -> CompleteAttachedFileUploadFluentBuilder

Constructs a fluent builder for the CompleteAttachedFileUpload operation.

source§

impl Client

source

pub fn create_agent_status(&self) -> CreateAgentStatusFluentBuilder

Constructs a fluent builder for the CreateAgentStatus operation.

source§

impl Client

source

pub fn create_contact_flow(&self) -> CreateContactFlowFluentBuilder

Constructs a fluent builder for the CreateContactFlow operation.

source§

impl Client

source

pub fn create_contact_flow_module(&self) -> CreateContactFlowModuleFluentBuilder

Constructs a fluent builder for the CreateContactFlowModule operation.

source§

impl Client

source

pub fn create_evaluation_form(&self) -> CreateEvaluationFormFluentBuilder

Constructs a fluent builder for the CreateEvaluationForm operation.

source§

impl Client

source

pub fn create_hours_of_operation(&self) -> CreateHoursOfOperationFluentBuilder

Constructs a fluent builder for the CreateHoursOfOperation operation.

source§

impl Client

source

pub fn create_instance(&self) -> CreateInstanceFluentBuilder

Constructs a fluent builder for the CreateInstance operation.

source§

impl Client

source

pub fn create_integration_association( &self ) -> CreateIntegrationAssociationFluentBuilder

Constructs a fluent builder for the CreateIntegrationAssociation operation.

source§

impl Client

source

pub fn create_participant(&self) -> CreateParticipantFluentBuilder

Constructs a fluent builder for the CreateParticipant operation.

source§

impl Client

source

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: true

      The 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: true

      This is the contactId of the current contact that the CreatePersistentContactAssociation API is being called from.


    • rehydration_type(RehydrationType) / set_rehydration_type(Option<RehydrationType>):
      required: true

      The 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 the initialContactId of the past ended chat session in the sourceContactId 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 the sourceContactId 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: true

      The contactId from which a persistent chat session must be started.


    • client_token(impl Into<String>) / set_client_token(Option<String>):
      required: false

      A 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):
  • On failure, responds with SdkError<CreatePersistentContactAssociationError>
source§

impl Client

source

pub fn create_predefined_attribute( &self ) -> CreatePredefinedAttributeFluentBuilder

Constructs a fluent builder for the CreatePredefinedAttribute operation.

source§

impl Client

source

pub fn create_prompt(&self) -> CreatePromptFluentBuilder

Constructs a fluent builder for the CreatePrompt operation.

source§

impl Client

source

pub fn create_queue(&self) -> CreateQueueFluentBuilder

Constructs a fluent builder for the CreateQueue operation.

source§

impl Client

source

pub fn create_quick_connect(&self) -> CreateQuickConnectFluentBuilder

Constructs a fluent builder for the CreateQuickConnect operation.

source§

impl Client

source

pub fn create_routing_profile(&self) -> CreateRoutingProfileFluentBuilder

Constructs a fluent builder for the CreateRoutingProfile operation.

source§

impl Client

source

pub fn create_rule(&self) -> CreateRuleFluentBuilder

Constructs a fluent builder for the CreateRule operation.

source§

impl Client

source

pub fn create_security_profile(&self) -> CreateSecurityProfileFluentBuilder

Constructs a fluent builder for the CreateSecurityProfile operation.

source§

impl Client

source

pub fn create_task_template(&self) -> CreateTaskTemplateFluentBuilder

Constructs a fluent builder for the CreateTaskTemplate operation.

source§

impl Client

source

pub fn create_traffic_distribution_group( &self ) -> CreateTrafficDistributionGroupFluentBuilder

Constructs a fluent builder for the CreateTrafficDistributionGroup operation.

source§

impl Client

source

pub fn create_use_case(&self) -> CreateUseCaseFluentBuilder

Constructs a fluent builder for the CreateUseCase operation.

source§

impl Client

source

pub fn create_user(&self) -> CreateUserFluentBuilder

Constructs a fluent builder for the CreateUser operation.

source§

impl Client

source

pub fn create_user_hierarchy_group( &self ) -> CreateUserHierarchyGroupFluentBuilder

Constructs a fluent builder for the CreateUserHierarchyGroup operation.

source§

impl Client

source

pub fn create_view(&self) -> CreateViewFluentBuilder

Constructs a fluent builder for the CreateView operation.

source§

impl Client

source

pub fn create_view_version(&self) -> CreateViewVersionFluentBuilder

Constructs a fluent builder for the CreateViewVersion operation.

source§

impl Client

source

pub fn create_vocabulary(&self) -> CreateVocabularyFluentBuilder

Constructs a fluent builder for the CreateVocabulary operation.

source§

impl Client

source

pub fn deactivate_evaluation_form( &self ) -> DeactivateEvaluationFormFluentBuilder

Constructs a fluent builder for the DeactivateEvaluationForm operation.

source§

impl Client

source

pub fn delete_attached_file(&self) -> DeleteAttachedFileFluentBuilder

Constructs a fluent builder for the DeleteAttachedFile operation.

source§

impl Client

source

pub fn delete_contact_evaluation(&self) -> DeleteContactEvaluationFluentBuilder

Constructs a fluent builder for the DeleteContactEvaluation operation.

source§

impl Client

source

pub fn delete_contact_flow(&self) -> DeleteContactFlowFluentBuilder

Constructs a fluent builder for the DeleteContactFlow operation.

source§

impl Client

source

pub fn delete_contact_flow_module(&self) -> DeleteContactFlowModuleFluentBuilder

Constructs a fluent builder for the DeleteContactFlowModule operation.

source§

impl Client

source

pub fn delete_evaluation_form(&self) -> DeleteEvaluationFormFluentBuilder

Constructs a fluent builder for the DeleteEvaluationForm operation.

source§

impl Client

source

pub fn delete_hours_of_operation(&self) -> DeleteHoursOfOperationFluentBuilder

Constructs a fluent builder for the DeleteHoursOfOperation operation.

source§

impl Client

source

pub fn delete_instance(&self) -> DeleteInstanceFluentBuilder

Constructs a fluent builder for the DeleteInstance operation.

source§

impl Client

source

pub fn delete_integration_association( &self ) -> DeleteIntegrationAssociationFluentBuilder

Constructs a fluent builder for the DeleteIntegrationAssociation operation.

source§

impl Client

source

pub fn delete_predefined_attribute( &self ) -> DeletePredefinedAttributeFluentBuilder

Constructs a fluent builder for the DeletePredefinedAttribute operation.

source§

impl Client

source

pub fn delete_prompt(&self) -> DeletePromptFluentBuilder

Constructs a fluent builder for the DeletePrompt operation.

source§

impl Client

source

pub fn delete_queue(&self) -> DeleteQueueFluentBuilder

Constructs a fluent builder for the DeleteQueue operation.

source§

impl Client

source

pub fn delete_quick_connect(&self) -> DeleteQuickConnectFluentBuilder

Constructs a fluent builder for the DeleteQuickConnect operation.

source§

impl Client

source

pub fn delete_routing_profile(&self) -> DeleteRoutingProfileFluentBuilder

Constructs a fluent builder for the DeleteRoutingProfile operation.

source§

impl Client

source

pub fn delete_rule(&self) -> DeleteRuleFluentBuilder

Constructs a fluent builder for the DeleteRule operation.

source§

impl Client

source

pub fn delete_security_profile(&self) -> DeleteSecurityProfileFluentBuilder

Constructs a fluent builder for the DeleteSecurityProfile operation.

source§

impl Client

source

pub fn delete_task_template(&self) -> DeleteTaskTemplateFluentBuilder

Constructs a fluent builder for the DeleteTaskTemplate operation.

source§

impl Client

source

pub fn delete_traffic_distribution_group( &self ) -> DeleteTrafficDistributionGroupFluentBuilder

Constructs a fluent builder for the DeleteTrafficDistributionGroup operation.

source§

impl Client

source

pub fn delete_use_case(&self) -> DeleteUseCaseFluentBuilder

Constructs a fluent builder for the DeleteUseCase operation.

source§

impl Client

source

pub fn delete_user(&self) -> DeleteUserFluentBuilder

Constructs a fluent builder for the DeleteUser operation.

source§

impl Client

source

pub fn delete_user_hierarchy_group( &self ) -> DeleteUserHierarchyGroupFluentBuilder

Constructs a fluent builder for the DeleteUserHierarchyGroup operation.

source§

impl Client

source

pub fn delete_view(&self) -> DeleteViewFluentBuilder

Constructs a fluent builder for the DeleteView operation.

source§

impl Client

source

pub fn delete_view_version(&self) -> DeleteViewVersionFluentBuilder

Constructs a fluent builder for the DeleteViewVersion operation.

source§

impl Client

source

pub fn delete_vocabulary(&self) -> DeleteVocabularyFluentBuilder

Constructs a fluent builder for the DeleteVocabulary operation.

source§

impl Client

source

pub fn describe_agent_status(&self) -> DescribeAgentStatusFluentBuilder

Constructs a fluent builder for the DescribeAgentStatus operation.

source§

impl Client

source

pub fn describe_contact(&self) -> DescribeContactFluentBuilder

Constructs a fluent builder for the DescribeContact operation.

source§

impl Client

source

pub fn describe_contact_evaluation( &self ) -> DescribeContactEvaluationFluentBuilder

Constructs a fluent builder for the DescribeContactEvaluation operation.

source§

impl Client

source

pub fn describe_contact_flow(&self) -> DescribeContactFlowFluentBuilder

Constructs a fluent builder for the DescribeContactFlow operation.

source§

impl Client

source

pub fn describe_contact_flow_module( &self ) -> DescribeContactFlowModuleFluentBuilder

Constructs a fluent builder for the DescribeContactFlowModule operation.

source§

impl Client

source

pub fn describe_evaluation_form(&self) -> DescribeEvaluationFormFluentBuilder

Constructs a fluent builder for the DescribeEvaluationForm operation.

source§

impl Client

source

pub fn describe_hours_of_operation( &self ) -> DescribeHoursOfOperationFluentBuilder

Constructs a fluent builder for the DescribeHoursOfOperation operation.

source§

impl Client

source

pub fn describe_instance(&self) -> DescribeInstanceFluentBuilder

Constructs a fluent builder for the DescribeInstance operation.

source§

impl Client

source

pub fn describe_instance_attribute( &self ) -> DescribeInstanceAttributeFluentBuilder

Constructs a fluent builder for the DescribeInstanceAttribute operation.

source§

impl Client

source

pub fn describe_instance_storage_config( &self ) -> DescribeInstanceStorageConfigFluentBuilder

Constructs a fluent builder for the DescribeInstanceStorageConfig operation.

source§

impl Client

source

pub fn describe_phone_number(&self) -> DescribePhoneNumberFluentBuilder

Constructs a fluent builder for the DescribePhoneNumber operation.

source§

impl Client

source

pub fn describe_predefined_attribute( &self ) -> DescribePredefinedAttributeFluentBuilder

Constructs a fluent builder for the DescribePredefinedAttribute operation.

source§

impl Client

source

pub fn describe_prompt(&self) -> DescribePromptFluentBuilder

Constructs a fluent builder for the DescribePrompt operation.

source§

impl Client

source

pub fn describe_queue(&self) -> DescribeQueueFluentBuilder

Constructs a fluent builder for the DescribeQueue operation.

source§

impl Client

source

pub fn describe_quick_connect(&self) -> DescribeQuickConnectFluentBuilder

Constructs a fluent builder for the DescribeQuickConnect operation.

source§

impl Client

source

pub fn describe_routing_profile(&self) -> DescribeRoutingProfileFluentBuilder

Constructs a fluent builder for the DescribeRoutingProfile operation.

source§

impl Client

source

pub fn describe_rule(&self) -> DescribeRuleFluentBuilder

Constructs a fluent builder for the DescribeRule operation.

source§

impl Client

source

pub fn describe_security_profile(&self) -> DescribeSecurityProfileFluentBuilder

Constructs a fluent builder for the DescribeSecurityProfile operation.

source§

impl Client

source

pub fn describe_traffic_distribution_group( &self ) -> DescribeTrafficDistributionGroupFluentBuilder

Constructs a fluent builder for the DescribeTrafficDistributionGroup operation.

source§

impl Client

source

pub fn describe_user(&self) -> DescribeUserFluentBuilder

Constructs a fluent builder for the DescribeUser operation.

source§

impl Client

source

pub fn describe_user_hierarchy_group( &self ) -> DescribeUserHierarchyGroupFluentBuilder

Constructs a fluent builder for the DescribeUserHierarchyGroup operation.

source§

impl Client

source

pub fn describe_user_hierarchy_structure( &self ) -> DescribeUserHierarchyStructureFluentBuilder

Constructs a fluent builder for the DescribeUserHierarchyStructure operation.

source§

impl Client

source

pub fn describe_view(&self) -> DescribeViewFluentBuilder

Constructs a fluent builder for the DescribeView operation.

source§

impl Client

source

pub fn describe_vocabulary(&self) -> DescribeVocabularyFluentBuilder

Constructs a fluent builder for the DescribeVocabulary operation.

source§

impl Client

source

pub fn disassociate_analytics_data_set( &self ) -> DisassociateAnalyticsDataSetFluentBuilder

Constructs a fluent builder for the DisassociateAnalyticsDataSet operation.

source§

impl Client

source

pub fn disassociate_approved_origin( &self ) -> DisassociateApprovedOriginFluentBuilder

Constructs a fluent builder for the DisassociateApprovedOrigin operation.

source§

impl Client

source

pub fn disassociate_bot(&self) -> DisassociateBotFluentBuilder

Constructs a fluent builder for the DisassociateBot operation.

source§

impl Client

source

pub fn disassociate_flow(&self) -> DisassociateFlowFluentBuilder

Constructs a fluent builder for the DisassociateFlow operation.

source§

impl Client

source

pub fn disassociate_instance_storage_config( &self ) -> DisassociateInstanceStorageConfigFluentBuilder

Constructs a fluent builder for the DisassociateInstanceStorageConfig operation.

source§

impl Client

source

pub fn disassociate_lambda_function( &self ) -> DisassociateLambdaFunctionFluentBuilder

Constructs a fluent builder for the DisassociateLambdaFunction operation.

source§

impl Client

source

pub fn disassociate_lex_bot(&self) -> DisassociateLexBotFluentBuilder

Constructs a fluent builder for the DisassociateLexBot operation.

source§

impl Client

source

pub fn disassociate_phone_number_contact_flow( &self ) -> DisassociatePhoneNumberContactFlowFluentBuilder

Constructs a fluent builder for the DisassociatePhoneNumberContactFlow operation.

source§

impl Client

source

pub fn disassociate_queue_quick_connects( &self ) -> DisassociateQueueQuickConnectsFluentBuilder

Constructs a fluent builder for the DisassociateQueueQuickConnects operation.

source§

impl Client

source

pub fn disassociate_routing_profile_queues( &self ) -> DisassociateRoutingProfileQueuesFluentBuilder

Constructs a fluent builder for the DisassociateRoutingProfileQueues operation.

source§

impl Client

source

pub fn disassociate_security_key(&self) -> DisassociateSecurityKeyFluentBuilder

Constructs a fluent builder for the DisassociateSecurityKey operation.

source§

impl Client

source

pub fn disassociate_traffic_distribution_group_user( &self ) -> DisassociateTrafficDistributionGroupUserFluentBuilder

Constructs a fluent builder for the DisassociateTrafficDistributionGroupUser operation.

source§

impl Client

source

pub fn disassociate_user_proficiencies( &self ) -> DisassociateUserProficienciesFluentBuilder

Constructs a fluent builder for the DisassociateUserProficiencies operation.

source§

impl Client

source

pub fn dismiss_user_contact(&self) -> DismissUserContactFluentBuilder

Constructs a fluent builder for the DismissUserContact operation.

source§

impl Client

source

pub fn get_attached_file(&self) -> GetAttachedFileFluentBuilder

Constructs a fluent builder for the GetAttachedFile operation.

source§

impl Client

source

pub fn get_contact_attributes(&self) -> GetContactAttributesFluentBuilder

Constructs a fluent builder for the GetContactAttributes operation.

source§

impl Client

source

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: true

      The 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: true

      The 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 one QueueId. The filter is also case sensitive so when using the RoutingStepExpression filter, grouping by ROUTING_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: false

      The 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 metrics CONTACTS_SCHEDULED, CONTACTS_IN_QUEUE, and OLDEST_CONTACT_AGE.

      • If no Grouping is included in the request, a summary of metrics is returned.

      • When using the RoutingStepExpression filter, group by ROUTING_STEP_EXPRESSION is required.


    • current_metrics(CurrentMetric) / set_current_metrics(Option<Vec::<CurrentMetric>>):
      required: true

      The 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, then OLDEST_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: false

      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.

      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: false

      The maximum number of results to return per page.


    • sort_criteria(CurrentMetricSortCriteria) / set_sort_criteria(Option<Vec::<CurrentMetricSortCriteria>>):
      required: false

      The 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 and SLOTS_AVAILABLE is not supported.


  • On success, responds with GetCurrentMetricDataOutput with field(s):
  • On failure, responds with SdkError<GetCurrentMetricDataError>
source§

impl Client

source

pub fn get_current_user_data(&self) -> GetCurrentUserDataFluentBuilder

Constructs a fluent builder for the GetCurrentUserData operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn get_federation_token(&self) -> GetFederationTokenFluentBuilder

Constructs a fluent builder for the GetFederationToken operation.

source§

impl Client

source

pub fn get_flow_association(&self) -> GetFlowAssociationFluentBuilder

Constructs a fluent builder for the GetFlowAssociation operation.

source§

impl Client

source

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: true

      The 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: true

      The 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: true

      The 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: true

      The 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: false

      The 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: true

      The 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. For Comparison, you must enter LT (for “Less than”).


    • next_token(impl Into<String>) / set_next_token(Option<String>):
      required: false

      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.


    • max_results(i32) / set_max_results(Option<i32>):
      required: false

      The 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

source

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: true

      The Amazon Resource Name (ARN) of the resource. This includes the instanceId an Amazon Connect instance.


    • start_time(DateTime) / set_start_time(Option<DateTime>):
      required: true

      The 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: true

      The 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: false

      The interval period and timezone to apply to returned metrics.

      • IntervalPeriod: An aggregated grouping applied to request metrics. Valid IntervalPeriod values are: FIFTEEN_MIN | THIRTY_MIN | HOUR | DAY | WEEK | TOTAL.

        For example, if IntervalPeriod is selected THIRTY_MIN, StartTime and EndTime 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 the TOTAL interval period.

        The following list describes restrictions on StartTime and EndTime based on which IntervalPeriod is requested.

        • FIFTEEN_MIN: The difference between StartTime and EndTime must be less than 3 days.

        • THIRTY_MIN: The difference between StartTime and EndTime must be less than 3 days.

        • HOUR: The difference between StartTime and EndTime must be less than 3 days.

        • DAY: The difference between StartTime and EndTime must be less than 35 days.

        • WEEK: The difference between StartTime and EndTime must be less than 35 days.

        • TOTAL: The difference between StartTime and EndTime must be less than 35 days.

      • TimeZone: The timezone applied to requested metrics.


    • filters(FilterV2) / set_filters(Option<Vec::<FilterV2>>):
      required: true

      The filters to apply to returned metrics. You can filter on the following resources:

      • Queues

      • Routing profiles

      • Agents

      • Channels

      • User hierarchy groups

      • Feature

      • Routing step expression

      At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.

      To filter by phone number, see Create a historical metrics report in the Amazon Connect Administrator’s Guide.

      Note the following limits:

      • Filter keys: A maximum of 5 filter keys are supported in a single request. Valid filter keys: QUEUE | ROUTING_PROFILE | AGENT | CHANNEL | AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO | AGENT_HIERARCHY_LEVEL_THREE | AGENT_HIERARCHY_LEVEL_FOUR | AGENT_HIERARCHY_LEVEL_FIVE | FEATURE | CASE_TEMPLATE_ARN | CASE_STATUS | contact/segmentAttributes/connect:Subtype | ROUTING_STEP_EXPRESSION

      • 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 the FEATURE filter key. It is available only to contacts analyzed by Contact Lens conversational analytics.

        connect:Chat, connect:SMS, connect:Telephony, and connect:WebRTC are valid filterValue examples (not exhaustive) for the contact/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.


    • groupings(impl Into<String>) / set_groupings(Option<Vec::<String>>):
      required: false

      The 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: QUEUE | ROUTING_PROFILE | AGENT | CHANNEL | AGENT_HIERARCHY_LEVEL_ONE | AGENT_HIERARCHY_LEVEL_TWO | AGENT_HIERARCHY_LEVEL_THREE | AGENT_HIERARCHY_LEVEL_FOUR | AGENT_HIERARCHY_LEVEL_FIVE | CASE_TEMPLATE_ARN | CASE_STATUS | contact/segmentAttributes/connect:Subtype | ROUTING_STEP_EXPRESSION


    • metrics(MetricV2) / set_metrics(Option<Vec::<MetricV2>>):
      required: true

      The 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’s Guide.

      ABANDONMENT_RATE

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      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.

      UI name: Agent non-response without customer abandons

      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

      UI name: Average queue abandon time

      AVG_ACTIVE_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      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

      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 as INITIATION_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

      UI name: Average agent pause time

      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

      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

      UI name: Average conversation duration

      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

      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

      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

      UI name: Average customer hold time all contacts

      AVG_HOLDS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      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

      UI name: Average agent interaction and customer hold time

      AVG_INTERACTION_TIME

      Unit: Seconds

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      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

      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

      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

      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

      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

      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

      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

      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

      UI name: Average customer talk time

      CASES_CREATED

      Unit: Count

      Required filter key: CASE_TEMPLATE_ARN

      Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

      UI name: Cases created

      CONTACTS_ABANDONED

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression

      UI name: Contact abandoned

      CONTACTS_CREATED

      Unit: Count

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      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

      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

      UI name: Contacts handled (connected to agent timestamp)

      CONTACTS_HOLD_ABANDONS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      UI name: Contacts hold disconnect

      CONTACTS_ON_HOLD_AGENT_DISCONNECT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      UI name: Contacts hold agent disconnect

      CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      UI name: Contacts hold customer disconnect

      CONTACTS_PUT_ON_HOLD

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      UI name: Contacts put on hold

      CONTACTS_TRANSFERRED_OUT_EXTERNAL

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      UI name: Contacts transferred out external

      CONTACTS_TRANSFERRED_OUT_INTERNAL

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      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

      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_RESOLVED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for “Less than”).

      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

      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

      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

      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

      MAX_QUEUED_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      UI name: Maximum queued time

      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: Not available

      PERCENT_CONTACTS_STEP_JOINED

      Unit: Percent

      Valid groupings and filters: Queue, RoutingStepExpression

      UI name: Not available

      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

      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

      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

      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

      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

      Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for “Less than”).

      UI name: Service level X

      STEP_CONTACTS_QUEUED

      Unit: Count

      Valid groupings and filters: Queue, RoutingStepExpression

      UI name: Not available

      SUM_AFTER_CONTACT_WORK_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      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 as INITIATION_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.

      SUM_CONTACT_FLOW_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      UI name: Contact flow time

      SUM_CONTACT_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      UI name: Agent on contact time

      SUM_CONTACTS_ANSWERED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for “Less than”).

      UI name: Contacts answered in X seconds

      SUM_CONTACTS_ABANDONED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for “Less than”).

      UI name: Contacts abandoned in X seconds

      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

      UI name: Contact disconnected

      SUM_ERROR_STATUS_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, 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

      UI name: Contact handle time

      SUM_HOLD_TIME

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      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

      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

      UI name: Callback attempts


    • next_token(impl Into<String>) / set_next_token(Option<String>):
      required: false

      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.


    • max_results(i32) / set_max_results(Option<i32>):
      required: false

      The maximum number of results to return per page.


  • On success, responds with GetMetricDataV2Output with field(s):
  • On failure, responds with SdkError<GetMetricDataV2Error>
source§

impl Client

source

pub fn get_prompt_file(&self) -> GetPromptFileFluentBuilder

Constructs a fluent builder for the GetPromptFile operation.

source§

impl Client

source

pub fn get_task_template(&self) -> GetTaskTemplateFluentBuilder

Constructs a fluent builder for the GetTaskTemplate operation.

source§

impl Client

source

pub fn get_traffic_distribution(&self) -> GetTrafficDistributionFluentBuilder

Constructs a fluent builder for the GetTrafficDistribution operation.

source§

impl Client

source

pub fn import_phone_number(&self) -> ImportPhoneNumberFluentBuilder

Constructs a fluent builder for the ImportPhoneNumber operation.

source§

impl Client

source

pub fn list_agent_statuses(&self) -> ListAgentStatusesFluentBuilder

Constructs a fluent builder for the ListAgentStatuses operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_analytics_data_associations( &self ) -> ListAnalyticsDataAssociationsFluentBuilder

Constructs a fluent builder for the ListAnalyticsDataAssociations operation.

source§

impl Client

source

pub fn list_approved_origins(&self) -> ListApprovedOriginsFluentBuilder

Constructs a fluent builder for the ListApprovedOrigins operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_bots(&self) -> ListBotsFluentBuilder

Constructs a fluent builder for the ListBots operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_contact_evaluations(&self) -> ListContactEvaluationsFluentBuilder

Constructs a fluent builder for the ListContactEvaluations operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_contact_flow_modules(&self) -> ListContactFlowModulesFluentBuilder

Constructs a fluent builder for the ListContactFlowModules operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_contact_flows(&self) -> ListContactFlowsFluentBuilder

Constructs a fluent builder for the ListContactFlows operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_contact_references(&self) -> ListContactReferencesFluentBuilder

Constructs a fluent builder for the ListContactReferences operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_default_vocabularies(&self) -> ListDefaultVocabulariesFluentBuilder

Constructs a fluent builder for the ListDefaultVocabularies operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_evaluation_form_versions( &self ) -> ListEvaluationFormVersionsFluentBuilder

Constructs a fluent builder for the ListEvaluationFormVersions operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_evaluation_forms(&self) -> ListEvaluationFormsFluentBuilder

Constructs a fluent builder for the ListEvaluationForms operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_flow_associations(&self) -> ListFlowAssociationsFluentBuilder

Constructs a fluent builder for the ListFlowAssociations operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_hours_of_operations(&self) -> ListHoursOfOperationsFluentBuilder

Constructs a fluent builder for the ListHoursOfOperations operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_instance_attributes(&self) -> ListInstanceAttributesFluentBuilder

Constructs a fluent builder for the ListInstanceAttributes operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_instance_storage_configs( &self ) -> ListInstanceStorageConfigsFluentBuilder

Constructs a fluent builder for the ListInstanceStorageConfigs operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_instances(&self) -> ListInstancesFluentBuilder

Constructs a fluent builder for the ListInstances operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_integration_associations( &self ) -> ListIntegrationAssociationsFluentBuilder

Constructs a fluent builder for the ListIntegrationAssociations operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_lambda_functions(&self) -> ListLambdaFunctionsFluentBuilder

Constructs a fluent builder for the ListLambdaFunctions operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_lex_bots(&self) -> ListLexBotsFluentBuilder

Constructs a fluent builder for the ListLexBots operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_phone_numbers(&self) -> ListPhoneNumbersFluentBuilder

Constructs a fluent builder for the ListPhoneNumbers operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_phone_numbers_v2(&self) -> ListPhoneNumbersV2FluentBuilder

Constructs a fluent builder for the ListPhoneNumbersV2 operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_predefined_attributes( &self ) -> ListPredefinedAttributesFluentBuilder

Constructs a fluent builder for the ListPredefinedAttributes operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_prompts(&self) -> ListPromptsFluentBuilder

Constructs a fluent builder for the ListPrompts operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_queue_quick_connects(&self) -> ListQueueQuickConnectsFluentBuilder

Constructs a fluent builder for the ListQueueQuickConnects operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_queues(&self) -> ListQueuesFluentBuilder

Constructs a fluent builder for the ListQueues operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_quick_connects(&self) -> ListQuickConnectsFluentBuilder

Constructs a fluent builder for the ListQuickConnects operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

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().

source§

impl Client

source

pub fn list_routing_profile_queues( &self ) -> ListRoutingProfileQueuesFluentBuilder

Constructs a fluent builder for the ListRoutingProfileQueues operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_routing_profiles(&self) -> ListRoutingProfilesFluentBuilder

Constructs a fluent builder for the ListRoutingProfiles operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_rules(&self) -> ListRulesFluentBuilder

Constructs a fluent builder for the ListRules operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_security_keys(&self) -> ListSecurityKeysFluentBuilder

Constructs a fluent builder for the ListSecurityKeys operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_security_profile_applications( &self ) -> ListSecurityProfileApplicationsFluentBuilder

Constructs a fluent builder for the ListSecurityProfileApplications operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_security_profile_permissions( &self ) -> ListSecurityProfilePermissionsFluentBuilder

Constructs a fluent builder for the ListSecurityProfilePermissions operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_security_profiles(&self) -> ListSecurityProfilesFluentBuilder

Constructs a fluent builder for the ListSecurityProfiles operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_tags_for_resource(&self) -> ListTagsForResourceFluentBuilder

Constructs a fluent builder for the ListTagsForResource operation.

source§

impl Client

source

pub fn list_task_templates(&self) -> ListTaskTemplatesFluentBuilder

Constructs a fluent builder for the ListTaskTemplates operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_traffic_distribution_group_users( &self ) -> ListTrafficDistributionGroupUsersFluentBuilder

Constructs a fluent builder for the ListTrafficDistributionGroupUsers operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_traffic_distribution_groups( &self ) -> ListTrafficDistributionGroupsFluentBuilder

Constructs a fluent builder for the ListTrafficDistributionGroups operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_use_cases(&self) -> ListUseCasesFluentBuilder

Constructs a fluent builder for the ListUseCases operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_user_hierarchy_groups(&self) -> ListUserHierarchyGroupsFluentBuilder

Constructs a fluent builder for the ListUserHierarchyGroups operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_user_proficiencies(&self) -> ListUserProficienciesFluentBuilder

Constructs a fluent builder for the ListUserProficiencies operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_users(&self) -> ListUsersFluentBuilder

Constructs a fluent builder for the ListUsers operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_view_versions(&self) -> ListViewVersionsFluentBuilder

Constructs a fluent builder for the ListViewVersions operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn list_views(&self) -> ListViewsFluentBuilder

Constructs a fluent builder for the ListViews operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn monitor_contact(&self) -> MonitorContactFluentBuilder

Constructs a fluent builder for the MonitorContact operation.

source§

impl Client

source

pub fn pause_contact(&self) -> PauseContactFluentBuilder

Constructs a fluent builder for the PauseContact operation.

source§

impl Client

source

pub fn put_user_status(&self) -> PutUserStatusFluentBuilder

Constructs a fluent builder for the PutUserStatus operation.

source§

impl Client

source

pub fn release_phone_number(&self) -> ReleasePhoneNumberFluentBuilder

Constructs a fluent builder for the ReleasePhoneNumber operation.

source§

impl Client

source

pub fn replicate_instance(&self) -> ReplicateInstanceFluentBuilder

Constructs a fluent builder for the ReplicateInstance operation.

source§

impl Client

source

pub fn resume_contact(&self) -> ResumeContactFluentBuilder

Constructs a fluent builder for the ResumeContact operation.

source§

impl Client

source

pub fn resume_contact_recording(&self) -> ResumeContactRecordingFluentBuilder

Constructs a fluent builder for the ResumeContactRecording operation.

source§

impl Client

source

pub fn search_available_phone_numbers( &self ) -> SearchAvailablePhoneNumbersFluentBuilder

Constructs a fluent builder for the SearchAvailablePhoneNumbers operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_contacts(&self) -> SearchContactsFluentBuilder

Constructs a fluent builder for the SearchContacts operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_hours_of_operations(&self) -> SearchHoursOfOperationsFluentBuilder

Constructs a fluent builder for the SearchHoursOfOperations operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_predefined_attributes( &self ) -> SearchPredefinedAttributesFluentBuilder

Constructs a fluent builder for the SearchPredefinedAttributes operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_prompts(&self) -> SearchPromptsFluentBuilder

Constructs a fluent builder for the SearchPrompts operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_queues(&self) -> SearchQueuesFluentBuilder

Constructs a fluent builder for the SearchQueues operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_quick_connects(&self) -> SearchQuickConnectsFluentBuilder

Constructs a fluent builder for the SearchQuickConnects operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_resource_tags(&self) -> SearchResourceTagsFluentBuilder

Constructs a fluent builder for the SearchResourceTags operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_routing_profiles(&self) -> SearchRoutingProfilesFluentBuilder

Constructs a fluent builder for the SearchRoutingProfiles operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_security_profiles(&self) -> SearchSecurityProfilesFluentBuilder

Constructs a fluent builder for the SearchSecurityProfiles operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_users(&self) -> SearchUsersFluentBuilder

Constructs a fluent builder for the SearchUsers operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn search_vocabularies(&self) -> SearchVocabulariesFluentBuilder

Constructs a fluent builder for the SearchVocabularies operation. This operation supports pagination; See into_paginator().

source§

impl Client

source

pub fn send_chat_integration_event( &self ) -> SendChatIntegrationEventFluentBuilder

Constructs a fluent builder for the SendChatIntegrationEvent operation.

source§

impl Client

source

pub fn start_attached_file_upload(&self) -> StartAttachedFileUploadFluentBuilder

Constructs a fluent builder for the StartAttachedFileUpload operation.

source§

impl Client

source

pub fn start_chat_contact(&self) -> StartChatContactFluentBuilder

Constructs a fluent builder for the StartChatContact operation.

source§

impl Client

source

pub fn start_contact_evaluation(&self) -> StartContactEvaluationFluentBuilder

Constructs a fluent builder for the StartContactEvaluation operation.

source§

impl Client

source

pub fn start_contact_recording(&self) -> StartContactRecordingFluentBuilder

Constructs a fluent builder for the StartContactRecording operation.

source§

impl Client

source

pub fn start_contact_streaming(&self) -> StartContactStreamingFluentBuilder

Constructs a fluent builder for the StartContactStreaming operation.

source§

impl Client

source

pub fn start_outbound_voice_contact( &self ) -> StartOutboundVoiceContactFluentBuilder

Constructs a fluent builder for the StartOutboundVoiceContact operation.

source§

impl Client

source

pub fn start_task_contact(&self) -> StartTaskContactFluentBuilder

Constructs a fluent builder for the StartTaskContact operation.

source§

impl Client

source

pub fn start_web_rtc_contact(&self) -> StartWebRTCContactFluentBuilder

Constructs a fluent builder for the StartWebRTCContact operation.

source§

impl Client

source

pub fn stop_contact(&self) -> StopContactFluentBuilder

Constructs a fluent builder for the StopContact operation.

source§

impl Client

source

pub fn stop_contact_recording(&self) -> StopContactRecordingFluentBuilder

Constructs a fluent builder for the StopContactRecording operation.

source§

impl Client

source

pub fn stop_contact_streaming(&self) -> StopContactStreamingFluentBuilder

Constructs a fluent builder for the StopContactStreaming operation.

source§

impl Client

source

pub fn submit_contact_evaluation(&self) -> SubmitContactEvaluationFluentBuilder

Constructs a fluent builder for the SubmitContactEvaluation operation.

source§

impl Client

source

pub fn suspend_contact_recording(&self) -> SuspendContactRecordingFluentBuilder

Constructs a fluent builder for the SuspendContactRecording operation.

source§

impl Client

source

pub fn tag_contact(&self) -> TagContactFluentBuilder

Constructs a fluent builder for the TagContact operation.

source§

impl Client

source

pub fn tag_resource(&self) -> TagResourceFluentBuilder

Constructs a fluent builder for the TagResource operation.

source§

impl Client

source

pub fn transfer_contact(&self) -> TransferContactFluentBuilder

Constructs a fluent builder for the TransferContact operation.

source§

impl Client

source

pub fn untag_contact(&self) -> UntagContactFluentBuilder

Constructs a fluent builder for the UntagContact operation.

source§

impl Client

source

pub fn untag_resource(&self) -> UntagResourceFluentBuilder

Constructs a fluent builder for the UntagResource operation.

source§

impl Client

source

pub fn update_agent_status(&self) -> UpdateAgentStatusFluentBuilder

Constructs a fluent builder for the UpdateAgentStatus operation.

source§

impl Client

source

pub fn update_contact(&self) -> UpdateContactFluentBuilder

Constructs a fluent builder for the UpdateContact operation.

source§

impl Client

source

pub fn update_contact_attributes(&self) -> UpdateContactAttributesFluentBuilder

Constructs a fluent builder for the UpdateContactAttributes operation.

source§

impl Client

source

pub fn update_contact_evaluation(&self) -> UpdateContactEvaluationFluentBuilder

Constructs a fluent builder for the UpdateContactEvaluation operation.

source§

impl Client

source

pub fn update_contact_flow_content( &self ) -> UpdateContactFlowContentFluentBuilder

Constructs a fluent builder for the UpdateContactFlowContent operation.

source§

impl Client

source

pub fn update_contact_flow_metadata( &self ) -> UpdateContactFlowMetadataFluentBuilder

Constructs a fluent builder for the UpdateContactFlowMetadata operation.

source§

impl Client

source

pub fn update_contact_flow_module_content( &self ) -> UpdateContactFlowModuleContentFluentBuilder

Constructs a fluent builder for the UpdateContactFlowModuleContent operation.

source§

impl Client

source

pub fn update_contact_flow_module_metadata( &self ) -> UpdateContactFlowModuleMetadataFluentBuilder

Constructs a fluent builder for the UpdateContactFlowModuleMetadata operation.

source§

impl Client

source

pub fn update_contact_flow_name(&self) -> UpdateContactFlowNameFluentBuilder

Constructs a fluent builder for the UpdateContactFlowName operation.

source§

impl Client

source

pub fn update_contact_routing_data( &self ) -> UpdateContactRoutingDataFluentBuilder

Constructs a fluent builder for the UpdateContactRoutingData operation.

source§

impl Client

source

pub fn update_contact_schedule(&self) -> UpdateContactScheduleFluentBuilder

Constructs a fluent builder for the UpdateContactSchedule operation.

source§

impl Client

source

pub fn update_evaluation_form(&self) -> UpdateEvaluationFormFluentBuilder

Constructs a fluent builder for the UpdateEvaluationForm operation.

source§

impl Client

source

pub fn update_hours_of_operation(&self) -> UpdateHoursOfOperationFluentBuilder

Constructs a fluent builder for the UpdateHoursOfOperation operation.

source§

impl Client

source

pub fn update_instance_attribute(&self) -> UpdateInstanceAttributeFluentBuilder

Constructs a fluent builder for the UpdateInstanceAttribute operation.

source§

impl Client

source

pub fn update_instance_storage_config( &self ) -> UpdateInstanceStorageConfigFluentBuilder

Constructs a fluent builder for the UpdateInstanceStorageConfig operation.

source§

impl Client

source

pub fn update_participant_role_config( &self ) -> UpdateParticipantRoleConfigFluentBuilder

Constructs a fluent builder for the UpdateParticipantRoleConfig operation.

source§

impl Client

source

pub fn update_phone_number(&self) -> UpdatePhoneNumberFluentBuilder

Constructs a fluent builder for the UpdatePhoneNumber operation.

source§

impl Client

source

pub fn update_phone_number_metadata( &self ) -> UpdatePhoneNumberMetadataFluentBuilder

Constructs a fluent builder for the UpdatePhoneNumberMetadata operation.

source§

impl Client

source

pub fn update_predefined_attribute( &self ) -> UpdatePredefinedAttributeFluentBuilder

Constructs a fluent builder for the UpdatePredefinedAttribute operation.

source§

impl Client

source

pub fn update_prompt(&self) -> UpdatePromptFluentBuilder

Constructs a fluent builder for the UpdatePrompt operation.

source§

impl Client

source

pub fn update_queue_hours_of_operation( &self ) -> UpdateQueueHoursOfOperationFluentBuilder

Constructs a fluent builder for the UpdateQueueHoursOfOperation operation.

source§

impl Client

source

pub fn update_queue_max_contacts(&self) -> UpdateQueueMaxContactsFluentBuilder

Constructs a fluent builder for the UpdateQueueMaxContacts operation.

source§

impl Client

source

pub fn update_queue_name(&self) -> UpdateQueueNameFluentBuilder

Constructs a fluent builder for the UpdateQueueName operation.

source§

impl Client

source

pub fn update_queue_outbound_caller_config( &self ) -> UpdateQueueOutboundCallerConfigFluentBuilder

Constructs a fluent builder for the UpdateQueueOutboundCallerConfig operation.

source§

impl Client

source

pub fn update_queue_status(&self) -> UpdateQueueStatusFluentBuilder

Constructs a fluent builder for the UpdateQueueStatus operation.

source§

impl Client

source

pub fn update_quick_connect_config( &self ) -> UpdateQuickConnectConfigFluentBuilder

Constructs a fluent builder for the UpdateQuickConnectConfig operation.

source§

impl Client

source

pub fn update_quick_connect_name(&self) -> UpdateQuickConnectNameFluentBuilder

Constructs a fluent builder for the UpdateQuickConnectName operation.

source§

impl Client

source

pub fn update_routing_profile_agent_availability_timer( &self ) -> UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder

Constructs a fluent builder for the UpdateRoutingProfileAgentAvailabilityTimer operation.

source§

impl Client

source

pub fn update_routing_profile_concurrency( &self ) -> UpdateRoutingProfileConcurrencyFluentBuilder

Constructs a fluent builder for the UpdateRoutingProfileConcurrency operation.

source§

impl Client

source

pub fn update_routing_profile_default_outbound_queue( &self ) -> UpdateRoutingProfileDefaultOutboundQueueFluentBuilder

Constructs a fluent builder for the UpdateRoutingProfileDefaultOutboundQueue operation.

source§

impl Client

source

pub fn update_routing_profile_name( &self ) -> UpdateRoutingProfileNameFluentBuilder

Constructs a fluent builder for the UpdateRoutingProfileName operation.

source§

impl Client

source

pub fn update_routing_profile_queues( &self ) -> UpdateRoutingProfileQueuesFluentBuilder

Constructs a fluent builder for the UpdateRoutingProfileQueues operation.

source§

impl Client

source

pub fn update_rule(&self) -> UpdateRuleFluentBuilder

Constructs a fluent builder for the UpdateRule operation.

source§

impl Client

source

pub fn update_security_profile(&self) -> UpdateSecurityProfileFluentBuilder

Constructs a fluent builder for the UpdateSecurityProfile operation.

source§

impl Client

source

pub fn update_task_template(&self) -> UpdateTaskTemplateFluentBuilder

Constructs a fluent builder for the UpdateTaskTemplate operation.

source§

impl Client

source

pub fn update_traffic_distribution( &self ) -> UpdateTrafficDistributionFluentBuilder

Constructs a fluent builder for the UpdateTrafficDistribution operation.

source§

impl Client

source

pub fn update_user_hierarchy(&self) -> UpdateUserHierarchyFluentBuilder

Constructs a fluent builder for the UpdateUserHierarchy operation.

source§

impl Client

source

pub fn update_user_hierarchy_group_name( &self ) -> UpdateUserHierarchyGroupNameFluentBuilder

Constructs a fluent builder for the UpdateUserHierarchyGroupName operation.

source§

impl Client

source

pub fn update_user_hierarchy_structure( &self ) -> UpdateUserHierarchyStructureFluentBuilder

Constructs a fluent builder for the UpdateUserHierarchyStructure operation.

source§

impl Client

source

pub fn update_user_identity_info(&self) -> UpdateUserIdentityInfoFluentBuilder

Constructs a fluent builder for the UpdateUserIdentityInfo operation.

source§

impl Client

source

pub fn update_user_phone_config(&self) -> UpdateUserPhoneConfigFluentBuilder

Constructs a fluent builder for the UpdateUserPhoneConfig operation.

source§

impl Client

source

pub fn update_user_proficiencies(&self) -> UpdateUserProficienciesFluentBuilder

Constructs a fluent builder for the UpdateUserProficiencies operation.

source§

impl Client

source

pub fn update_user_routing_profile( &self ) -> UpdateUserRoutingProfileFluentBuilder

Constructs a fluent builder for the UpdateUserRoutingProfile operation.

source§

impl Client

source

pub fn update_user_security_profiles( &self ) -> UpdateUserSecurityProfilesFluentBuilder

Constructs a fluent builder for the UpdateUserSecurityProfiles operation.

source§

impl Client

source

pub fn update_view_content(&self) -> UpdateViewContentFluentBuilder

Constructs a fluent builder for the UpdateViewContent operation.

source§

impl Client

source

pub fn update_view_metadata(&self) -> UpdateViewMetadataFluentBuilder

Constructs a fluent builder for the UpdateViewMetadata operation.

source§

impl Client

source

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 and time_source configured.
  • No behavior_version is provided.

The panic message for each of these will have instructions on how to resolve them.

source

pub fn config(&self) -> &Config

Returns the client’s configuration.

source§

impl Client

source

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 the sleep_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 the http_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, set behavior_version on the Config or enable the behavior-version-latest Cargo feature.

Trait Implementations§

source§

impl Clone for Client

source§

fn clone(&self) -> Client

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Client

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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 more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more