ConnectClient

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.

There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas  in the Amazon Connect Administrator Guide.

You can use an endpoint to connect programmatically to an Amazon Web Services service. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints .

Installation

NPM
npm install @aws-sdk/client-connect
Yarn
yarn add @aws-sdk/client-connect
pnpm
pnpm add @aws-sdk/client-connect

ConnectClient Operations

Command
Summary
ActivateEvaluationFormCommand

Activates an evaluation form in the specified Amazon Connect instance. After the evaluation form is activated, it is available to start new evaluations based on the form.

AssociateAnalyticsDataSetCommand

Associates the specified dataset for a Amazon Connect instance with the target account. You can associate only one dataset in a single call.

AssociateApprovedOriginCommand

This API is in preview release for Amazon Connect and is subject to change.

Associates an approved origin to an Amazon Connect instance.

AssociateBotCommand

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot.

AssociateDefaultVocabularyCommand

Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language.

AssociateFlowCommand

Associates a connect resource to a flow.

AssociateInstanceStorageConfigCommand

This API is in preview release for Amazon Connect and is subject to change.

Associates a storage resource type for the first time. You can only associate one type of storage configuration in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing chat transcripts.

This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the resource being specified in the storage configuration, like an S3 bucket, exists when being used for association.

AssociateLambdaFunctionCommand

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Lambda function.

AssociateLexBotCommand

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Amazon Lex V1 bot. This API only supports the association of Amazon Lex V1 bots.

AssociatePhoneNumberContactFlowCommand

Associates a flow with a phone number claimed to your Amazon Connect instance.

If the number is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.

AssociateQueueQuickConnectsCommand

This API is in preview release for Amazon Connect and is subject to change.

Associates a set of quick connects with a queue.

AssociateRoutingProfileQueuesCommand

Associates a set of queues with a routing profile.

AssociateSecurityKeyCommand

This API is in preview release for Amazon Connect and is subject to change.

Associates a security key to the instance.

AssociateTrafficDistributionGroupUserCommand

Associates an agent with a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.

AssociateUserProficienciesCommand

Associates a set of proficiencies with a user.

BatchAssociateAnalyticsDataSetCommand

Associates a list of analytics datasets for a given Amazon Connect instance to a target account. You can associate multiple datasets in a single call.

BatchDisassociateAnalyticsDataSetCommand

Removes a list of analytics datasets associated with a given Amazon Connect instance. You can disassociate multiple datasets in a single call.

BatchGetAttachedFileMetadataCommand

Allows you to retrieve metadata about multiple attached files on an associated resource. Each attached file provided in the input list must be associated with the input AssociatedResourceArn.

BatchGetFlowAssociationCommand

Retrieve the flow associations for the given resources.

BatchPutContactCommand

Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.

Allows you to create a batch of contacts in Amazon Connect. The outbound campaigns capability ingests dial requests via the PutDialRequestBatch  API. It then uses BatchPutContact to create contacts corresponding to those dial requests. If agents are available, the dial requests are dialed out, which results in a voice call. The resulting voice call uses the same contactId that was created by BatchPutContact.

ClaimPhoneNumberCommand

Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created.

For more information about how to use this operation, see Claim a phone number in your country  and Claim phone numbers to traffic distribution groups  in the Amazon Connect Administrator Guide.

You can call the SearchAvailablePhoneNumbers  API for available phone numbers that you can claim. Call the DescribePhoneNumber  API to verify the status of a previous ClaimPhoneNumber  operation.

If you plan to claim and release numbers frequently, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest number released has expired.

By default you can claim and release up to 200% of your maximum number of active phone numbers. If you claim and release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 180 days past the oldest number released has expired.

For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.

CompleteAttachedFileUploadCommand

Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.

CreateAgentStatusCommand

This API is in preview release for Amazon Connect and is subject to change.

Creates an agent status for the specified Amazon Connect instance.

CreateContactCommand

Only the EMAIL channel is supported. The supported initiation methods are: OUTBOUND, AGENT_REPLY, and FLOW.

Creates a new EMAIL contact.

CreateContactFlowCommand

Creates a flow for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language .

CreateContactFlowModuleCommand

Creates a flow module for the specified Amazon Connect instance.

CreateContactFlowVersionCommand

Publishes a new version of the flow provided. Versions are immutable and monotonically increasing. If the FlowContentSha256 provided is different from the FlowContentSha256 of the $LATEST published flow content, then an error is returned. This API only supports creating versions for flows of type Campaign.

CreateEmailAddressCommand

Create new email address in the specified Amazon Connect instance. For more information about email addresses, see Create email addresses  in the Amazon Connect Administrator Guide.

CreateEvaluationFormCommand

Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define questions related to agent performance, and create sections to organize such questions. Question and section identifiers cannot be duplicated within the same evaluation form.

CreateHoursOfOperationCommand

This API is in preview release for Amazon Connect and is subject to change.

Creates hours of operation.

CreateHoursOfOperationOverrideCommand

Creates an hours of operation override in an Amazon Connect hours of operation resource

CreateInstanceCommand

This API is in preview release for Amazon Connect and is subject to change.

Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect.

For more information, see Create an Amazon Connect instance  in the Amazon Connect Administrator Guide.

Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.

CreateIntegrationAssociationCommand

Creates an Amazon Web Services resource association with an Amazon Connect instance.

CreateParticipantCommand

Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants .

CreatePersistentContactAssociationCommand

Enables rehydration of chats for the lifespan of a contact. For more information about chat rehydration, see Enable persistent chat  in the Amazon Connect Administrator Guide.

CreatePredefinedAttributeCommand

Creates a new predefined attribute for the specified Amazon Connect instance. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents .

CreatePromptCommand

Creates a prompt. For more information about prompts, such as supported file types and maximum length, see Create prompts  in the Amazon Connect Administrator Guide.

CreatePushNotificationRegistrationCommand

Creates registration for a device token and a chat contact to receive real-time push notifications. For more information about push notifications, see Set up push notifications in Amazon Connect for mobile chat  in the Amazon Connect Administrator Guide.

CreateQueueCommand

Creates a new queue for the specified Amazon Connect instance.

  • If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.

  • Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2  API.

  • If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region .

CreateQuickConnectCommand

Creates a quick connect for the specified Amazon Connect instance.

CreateRoutingProfileCommand

Creates a new routing profile.

CreateRuleCommand

Creates a rule for the specified Amazon Connect instance.

Use the Rules Function language  to code conditions for the rule.

CreateSecurityProfileCommand

Creates a security profile.

For information about security profiles, see Security Profiles  in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions .

CreateTaskTemplateCommand

Creates a new task template in the specified Amazon Connect instance.

CreateTrafficDistributionGroupCommand

Creates a traffic distribution group given an Amazon Connect instance that has been replicated.

The SignInConfig distribution is available only on a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup  data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

For more information about creating traffic distribution groups, see Set up traffic distribution groups  in the Amazon Connect Administrator Guide.

CreateUseCaseCommand

Creates a use case for an integration association.

CreateUserCommand

Creates a user account for the specified Amazon Connect instance.

Certain UserIdentityInfo  parameters are required in some situations. For example, Email is required if you are using SAML for identity management. FirstName and LastName are required if you are using Amazon Connect or SAML for identity management.

For information about how to create users using the Amazon Connect admin website, see Add Users  in the Amazon Connect Administrator Guide.

CreateUserHierarchyGroupCommand

Creates a new user hierarchy group.

CreateViewCommand

Creates a new view with the possible status of SAVED or PUBLISHED.

The views will have a unique name for each connect instance.

It performs basic content validation if the status is SAVED or full content validation if the status is set to PUBLISHED. An error is returned if validation fails. It associates either the $SAVED qualifier or both of the $SAVED and $LATEST qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.

CreateViewVersionCommand

Publishes a new version of the view identifier.

Versions are immutable and monotonically increasing.

It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST alias.

CreateVocabularyCommand

Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in post-call and real-time contact analysis sessions for that language.

DeactivateEvaluationFormCommand

Deactivates an evaluation form in the specified Amazon Connect instance. After a form is deactivated, it is no longer available for users to start new evaluations based on the form.

DeleteAttachedFileCommand

Deletes an attached file along with the underlying S3 Object.

The attached file is permanently deleted if S3 bucket versioning is not enabled.

DeleteContactEvaluationCommand

Deletes a contact evaluation in the specified Amazon Connect instance.

DeleteContactFlowCommand

Deletes a flow for the specified Amazon Connect instance.

DeleteContactFlowModuleCommand

Deletes the specified flow module.

DeleteContactFlowVersionCommand

Deletes the particular version specified in flow version identifier.

DeleteEmailAddressCommand

Deletes email address from the specified Amazon Connect instance.

DeleteEvaluationFormCommand

Deletes an evaluation form in the specified Amazon Connect instance.

  • If the version property is provided, only the specified version of the evaluation form is deleted.

  • If no version is provided, then the full form (all versions) is deleted.

DeleteHoursOfOperationCommand

This API is in preview release for Amazon Connect and is subject to change.

Deletes an hours of operation.

DeleteHoursOfOperationOverrideCommand

Deletes an hours of operation override in an Amazon Connect hours of operation resource

DeleteInstanceCommand

This API is in preview release for Amazon Connect and is subject to change.

Deletes the Amazon Connect instance. For more information, see Delete your Amazon Connect instance  in the Amazon Connect Administrator Guide.

Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.

DeleteIntegrationAssociationCommand

Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have any use cases associated with it.

DeletePredefinedAttributeCommand

Deletes a predefined attribute from the specified Amazon Connect instance.

DeletePromptCommand

Deletes a prompt.

DeletePushNotificationRegistrationCommand

Deletes registration for a device token and a chat contact.

DeleteQueueCommand

Deletes a queue.

DeleteQuickConnectCommand

Deletes a quick connect.

After calling DeleteUser , it's important to call DeleteQuickConnect to delete any records related to the deleted users. This will help you:

  • Avoid dangling resources that impact your service quotas.

  • Remove deleted users so they don't appear to agents as transfer options.

  • Avoid the disruption of other Amazon Connect processes, such as instance replication and syncing if you're using Amazon Connect Global Resiliency .

DeleteRoutingProfileCommand

Deletes a routing profile.

DeleteRuleCommand

Deletes a rule for the specified Amazon Connect instance.

DeleteSecurityProfileCommand

Deletes a security profile.

DeleteTaskTemplateCommand

Deletes the task template.

DeleteTrafficDistributionGroupCommand

Deletes a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.

For more information about deleting traffic distribution groups, see Delete traffic distribution groups  in the Amazon Connect Administrator Guide.

DeleteUseCaseCommand

Deletes a use case from an integration association.

DeleteUserCommand

Deletes a user account from the specified Amazon Connect instance.

For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon Connect Instance  in the Amazon Connect Administrator Guide.

After calling DeleteUser, call DeleteQuickConnect  to delete any records related to the deleted users. This will help you:

  • Avoid dangling resources that impact your service quotas.

  • Remove deleted users so they don't appear to agents as transfer options.

  • Avoid the disruption of other Amazon Connect processes, such as instance replication and syncing if you're using Amazon Connect Global Resiliency .

DeleteUserHierarchyGroupCommand

Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.

DeleteViewCommand

Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).

DeleteViewVersionCommand

Deletes the particular version specified in ViewVersion identifier.

DeleteVocabularyCommand

Deletes the vocabulary that has the given identifier.

DescribeAgentStatusCommand

This API is in preview release for Amazon Connect and is subject to change.

Describes an agent status.

DescribeAuthenticationProfileCommand

This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web ServicesSupport.

Describes the target authentication profile.

DescribeContactCommand

This API is in preview release for Amazon Connect and is subject to change.

Describes the specified contact.

  • CustomerEndpoint and SystemEndpoint are only populated for EMAIL contacts.

  • Contact information remains available in Amazon Connect for 24 months from the InitiationTimestamp, and then it is deleted. Only contact information that is available in Amazon Connect is returned by this API.

DescribeContactEvaluationCommand

Describes a contact evaluation in the specified Amazon Connect instance.

DescribeContactFlowCommand

Describes the specified flow.

You can also create and update flows using the Amazon Connect Flow language .

Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

Use arn:aws:.../contact-flow/{id}:{version} to retrieve the content of a specific flow version.

In the response, Status indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. SAVED does not initiate validation of the content. SAVED | PUBLISHED

DescribeContactFlowModuleCommand

Describes the specified flow module.

Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

DescribeEmailAddressCommand

Describe email address form the specified Amazon Connect instance.

DescribeEvaluationFormCommand

Describes an evaluation form in the specified Amazon Connect instance. If the version property is not provided, the latest version of the evaluation form is described.

DescribeHoursOfOperationCommand

This API is in preview release for Amazon Connect and is subject to change.

Describes the hours of operation.

DescribeHoursOfOperationOverrideCommand

Describes the hours of operation override.

DescribeInstanceAttributeCommand

This API is in preview release for Amazon Connect and is subject to change.

Describes the specified instance attribute.

DescribeInstanceCommand

This API is in preview release for Amazon Connect and is subject to change.

Returns the current state of the specified instance identifier. It tracks the instance while it is being created and returns an error status, if applicable.

If an instance is not created successfully, the instance status reason field returns details relevant to the reason. The instance in a failed state is returned only for 24 hours after the CreateInstance API was invoked.

DescribeInstanceStorageConfigCommand

This API is in preview release for Amazon Connect and is subject to change.

Retrieves the current storage configurations for the specified resource type, association ID, and instance ID.

DescribePhoneNumberCommand

Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group.

If the number is claimed to a traffic distribution group, and you are calling in the Amazon Web Services Region where the traffic distribution group was created, you can use either a phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you receive a ResourceNotFoundException.

DescribePredefinedAttributeCommand

Describes a predefined attribute for the specified Amazon Connect instance. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents .

DescribePromptCommand

Describes the prompt.

DescribeQueueCommand

This API is in preview release for Amazon Connect and is subject to change.

Describes the specified queue.

DescribeQuickConnectCommand

Describes the quick connect.

DescribeRoutingProfileCommand

Describes the specified routing profile.

DescribeRuleCommand

Describes a rule for the specified Amazon Connect instance.

DescribeSecurityProfileCommand

Gets basic information about the security profile.

For information about security profiles, see Security Profiles  in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions .

DescribeTrafficDistributionGroupCommand

Gets details and status of a traffic distribution group.

DescribeUserCommand

Describes the specified user. You can find the instance ID in the Amazon Connect console  (it’s the final part of the ARN). The console does not display the user IDs. Instead, list the users and note the IDs provided in the output.

DescribeUserHierarchyGroupCommand

Describes the specified hierarchy group.

DescribeUserHierarchyStructureCommand

Describes the hierarchy structure of the specified Amazon Connect instance.

DescribeViewCommand

Retrieves the view for the specified Amazon Connect instance and view identifier.

The view identifier can be supplied as a ViewId or ARN.

$SAVED needs to be supplied if a view is unpublished.

The view identifier can contain an optional qualifier, for example, :$SAVED, which is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST. If it is not supplied, then $LATEST is assumed for customer managed views and an error is returned if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.

DescribeVocabularyCommand

Describes the specified vocabulary.

DisassociateAnalyticsDataSetCommand

Removes the dataset ID associated with a given Amazon Connect instance.

DisassociateApprovedOriginCommand

This API is in preview release for Amazon Connect and is subject to change.

Revokes access to integrated applications from Amazon Connect.

DisassociateBotCommand

This API is in preview release for Amazon Connect and is subject to change.

Revokes authorization from the specified instance to access the specified Amazon Lex or Amazon Lex V2 bot.

DisassociateFlowCommand

Disassociates a connect resource from a flow.

DisassociateInstanceStorageConfigCommand

This API is in preview release for Amazon Connect and is subject to change.

Removes the storage type configurations for the specified resource type and association ID.

DisassociateLambdaFunctionCommand

This API is in preview release for Amazon Connect and is subject to change.

Remove the Lambda function from the dropdown options available in the relevant flow blocks.

DisassociateLexBotCommand

This API is in preview release for Amazon Connect and is subject to change.

Revokes authorization from the specified instance to access the specified Amazon Lex bot.

DisassociatePhoneNumberContactFlowCommand

Removes the flow association from a phone number claimed to your Amazon Connect instance.

If the number is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.

DisassociateQueueQuickConnectsCommand

This API is in preview release for Amazon Connect and is subject to change.

Disassociates a set of quick connects from a queue.

DisassociateRoutingProfileQueuesCommand

Disassociates a set of queues from a routing profile.

DisassociateSecurityKeyCommand

This API is in preview release for Amazon Connect and is subject to change.

Deletes the specified security key.

DisassociateTrafficDistributionGroupUserCommand

Disassociates an agent from a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.

DisassociateUserProficienciesCommand

Disassociates a set of proficiencies from a user.

DismissUserContactCommand

Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a MISSED, ERROR, ENDED, or REJECTED state in the Agent Event Stream .

GetAttachedFileCommand

Provides a pre-signed URL for download of an approved attached file. This API also returns metadata about the attached file. It will only return a downloadURL if the status of the attached file is APPROVED.

GetContactAttributesCommand

Retrieves the contact attributes for the specified contact.

GetCurrentMetricDataCommand

Gets the real-time metric data from the specified Amazon Connect instance.

For a description of each metric, see Real-time Metrics Definitions  in the Amazon Connect Administrator Guide.

GetCurrentUserDataCommand

Gets the real-time active user data from the specified Amazon Connect instance.

GetEffectiveHoursOfOperationsCommand

Get the hours of operations with the effective override applied.

GetFederationTokenCommand

Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect user which corresponds to the IAM credentials that were used to invoke this action.

For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for Amazon Connect in the Amazon Connect Administrator Guide. 

This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:

Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect

GetFlowAssociationCommand

Retrieves the flow associated for a given resource.

GetMetricDataCommand

Gets historical metric data from the specified Amazon Connect instance.

For a description of each historical metric, see Historical Metrics Definitions  in the Amazon Connect Administrator Guide.

We recommend using the GetMetricDataV2  API. It provides more flexibility, features, and the ability to query longer time ranges than GetMetricData. Use it to retrieve historical agent and contact metrics for the last 3 months, at varying intervals. You can also use it to build custom dashboards to measure historical queue and agent performance. For example, you can track the number of incoming contacts for the last 7 days, with data split by day, to see how contact volume changed per day of the week.

GetMetricDataV2Command

Gets metric data from the specified Amazon Connect instance.

GetMetricDataV2 offers more features than GetMetricData , the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals. It does not support agent queues.

For a description of the historical metrics that are supported by GetMetricDataV2 and GetMetricData, see Historical metrics definitions  in the Amazon Connect Administrator Guide.

GetPromptFileCommand

Gets the prompt file.

GetTaskTemplateCommand

Gets details about a specific task template in the specified Amazon Connect instance.

GetTrafficDistributionCommand

Retrieves the current traffic distribution for a given traffic distribution group.

ImportPhoneNumberCommand

Imports a claimed phone number from an external service, such as Amazon Web Services End User Messaging, into an Amazon Connect instance. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance was created.

Call the DescribePhoneNumber  API to verify the status of a previous ImportPhoneNumber operation.

If you plan to claim or import numbers and then release numbers frequently, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest number released has expired.

By default you can claim or import and then release up to 200% of your maximum number of active phone numbers. If you claim or import and then release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming or importing any more numbers until 180 days past the oldest number released has expired.

For example, if you already have 99 claimed or imported numbers and a service level quota of 99 phone numbers, and in any 180 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web ServicesSupport ticket.

ListAgentStatusesCommand

This API is in preview release for Amazon Connect and is subject to change.

Lists agent statuses.

ListAnalyticsDataAssociationsCommand

Lists the association status of requested dataset ID for a given Amazon Connect instance.

ListAnalyticsDataLakeDataSetsCommand

Lists the data lake datasets available to associate with for a given Amazon Connect instance.

ListApprovedOriginsCommand

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all approved origins associated with the instance.

ListAssociatedContactsCommand

Provides information about contact tree, a list of associated contacts with a unique identifier.

ListAuthenticationProfilesCommand

This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web ServicesSupport.

Provides summary information about the authentication profiles in a specified Amazon Connect instance.

ListBotsCommand

This API is in preview release for Amazon Connect and is subject to change.

For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance. Use this API to return both Amazon Lex V1 and V2 bots.

ListContactEvaluationsCommand

Lists contact evaluations in the specified Amazon Connect instance.

ListContactFlowModulesCommand

Provides information about the flow modules for the specified Amazon Connect instance.

ListContactFlowVersionsCommand

Returns all the available versions for the specified Amazon Connect instance and flow identifier.

ListContactFlowsCommand

Provides information about the flows for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language .

For more information about flows, see Flows  in the Amazon Connect Administrator Guide.

ListContactReferencesCommand

This API is in preview release for Amazon Connect and is subject to change.

For the specified referenceTypes, returns a list of references associated with the contact. References are links to documents that are related to a contact, such as emails, attachments, or URLs.

ListDefaultVocabulariesCommand

Lists the default vocabularies for the specified Amazon Connect instance.

ListEvaluationFormVersionsCommand

Lists versions of an evaluation form in the specified Amazon Connect instance.

ListEvaluationFormsCommand

Lists evaluation forms in the specified Amazon Connect instance.

ListFlowAssociationsCommand

List the flow association based on the filters.

ListHoursOfOperationOverridesCommand

List the hours of operation overrides.

ListHoursOfOperationsCommand

Provides information about the hours of operation for the specified Amazon Connect instance.

For more information about hours of operation, see Set the Hours of Operation for a Queue  in the Amazon Connect Administrator Guide.

ListInstanceAttributesCommand

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all attribute types for the given instance.

ListInstanceStorageConfigsCommand

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of storage configs for the identified instance and resource type.

ListInstancesCommand

This API is in preview release for Amazon Connect and is subject to change.

Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances that aren't successfully created (they are in a failed state) are returned only for 24 hours after the CreateInstance API was invoked.

ListIntegrationAssociationsCommand

Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.

ListLambdaFunctionsCommand

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant flow blocks.

ListLexBotsCommand

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all the Amazon Lex V1 bots currently associated with the instance. To return both Amazon Lex V1 and V2 bots, use the ListBots  API.

ListPhoneNumbersCommand

Provides information about the phone numbers for the specified Amazon Connect instance.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center  in the Amazon Connect Administrator Guide.

  • We recommend using ListPhoneNumbersV2  to return phone number types. ListPhoneNumbers doesn't support number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID. While it returns numbers of those types, it incorrectly lists them as TOLL_FREE or DID.

  • The phone number Arn value that is returned from each of the items in the PhoneNumberSummaryList  cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException. Instead, use the ListPhoneNumbersV2  API. It returns the new phone number ARN that can be used to tag phone number resources.

ListPhoneNumbersV2Command

Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center  in the Amazon Connect Administrator Guide.

  • When given an instance ARN, ListPhoneNumbersV2 returns only the phone numbers claimed to the instance.

  • When given a traffic distribution group ARN ListPhoneNumbersV2 returns only the phone numbers claimed to the traffic distribution group.

ListPredefinedAttributesCommand

Lists predefined attributes for the specified Amazon Connect instance. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents .

ListPromptsCommand

Provides information about the prompts for the specified Amazon Connect instance.

ListQueueQuickConnectsCommand

This API is in preview release for Amazon Connect and is subject to change.

Lists the quick connects associated with a queue.

ListQueuesCommand

Provides information about the queues for the specified Amazon Connect instance.

If you do not specify a QueueTypes parameter, both standard and agent queues are returned. This might cause an unexpected truncation of results if you have more than 1000 agents and you limit the number of results of the API call in code.

For more information about queues, see Queues: Standard and Agent  in the Amazon Connect Administrator Guide.

ListQuickConnectsCommand

Provides information about the quick connects for the specified Amazon Connect instance.

ListRealtimeContactAnalysisSegmentsV2Command

Provides a list of analysis segments for a real-time chat analysis session. This API supports CHAT channels only.

This API does not support VOICE. If you attempt to use it for VOICE, an InvalidRequestException occurs.

ListRoutingProfileQueuesCommand

Lists the queues associated with a routing profile.

ListRoutingProfilesCommand

Provides summary information about the routing profiles for the specified Amazon Connect instance.

For more information about routing profiles, see Routing Profiles  and Create a Routing Profile  in the Amazon Connect Administrator Guide.

ListRulesCommand

List all rules for the specified Amazon Connect instance.

ListSecurityKeysCommand

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all security keys associated with the instance.

ListSecurityProfileApplicationsCommand

Returns a list of third-party applications in a specific security profile.

ListSecurityProfilePermissionsCommand

Lists the permissions granted to a security profile.

For information about security profiles, see Security Profiles  in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions .

ListSecurityProfilesCommand

Provides summary information about the security profiles for the specified Amazon Connect instance.

For more information about security profiles, see Security Profiles  in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions .

ListTagsForResourceCommand

Lists the tags for the specified resource.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples  in the Amazon Connect Administrator Guide.

ListTaskTemplatesCommand

Lists task templates for the specified Amazon Connect instance.

ListTrafficDistributionGroupUsersCommand

Lists traffic distribution group users.

ListTrafficDistributionGroupsCommand

Lists traffic distribution groups.

ListUseCasesCommand

Lists the use cases for the integration association.

ListUserHierarchyGroupsCommand

Provides summary information about the hierarchy groups for the specified Amazon Connect instance.

For more information about agent hierarchies, see Set Up Agent Hierarchies  in the Amazon Connect Administrator Guide.

ListUserProficienciesCommand

Lists proficiencies associated with a user.

ListUsersCommand

Provides summary information about the users for the specified Amazon Connect instance.

ListViewVersionsCommand

Returns all the available versions for the specified Amazon Connect instance and view identifier.

Results will be sorted from highest to lowest.

ListViewsCommand

Returns views in the given instance.

Results are sorted primarily by type, and secondarily by name.

MonitorContactCommand

Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.

PauseContactCommand

Allows pausing an ongoing task contact.

PutUserStatusCommand

Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, this sets the agent's next status.

For more information, see Agent status  and Set your next status  in the Amazon Connect Administrator Guide.

ReleasePhoneNumberCommand

Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed.

To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect admin website.

After releasing a phone number, the phone number enters into a cooldown period for up to 180 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web ServicesSupport.

If you plan to claim and release numbers frequently, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest number released has expired.

By default you can claim and release up to 200% of your maximum number of active phone numbers. If you claim and release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 180 days past the oldest number released has expired.

For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.

ReplicateInstanceCommand

Replicates an Amazon Connect instance in the specified Amazon Web Services Region and copies configuration information for Amazon Connect resources across Amazon Web Services Regions.

For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance  in the Amazon Connect Administrator Guide.

ResumeContactCommand

Allows resuming a task contact in a paused state.

ResumeContactRecordingCommand

When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording whatever recording is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would resume.

Voice and screen recordings are supported.

SearchAgentStatusesCommand

Searches AgentStatuses in an Amazon Connect instance, with optional filtering.

SearchAvailablePhoneNumbersCommand

Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.

SearchContactFlowModulesCommand

Searches the flow modules in an Amazon Connect instance, with optional filtering.

SearchContactFlowsCommand

Searches the flows in an Amazon Connect instance, with optional filtering.

SearchContactsCommand

Searches contacts in an Amazon Connect instance.

SearchEmailAddressesCommand

Searches email address in an instance, with optional filtering.

SearchHoursOfOperationOverridesCommand

Searches the hours of operation overrides.

SearchHoursOfOperationsCommand

Searches the hours of operation in an Amazon Connect instance, with optional filtering.

SearchPredefinedAttributesCommand

Searches predefined attributes that meet certain criteria. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents .

SearchPromptsCommand

Searches prompts in an Amazon Connect instance, with optional filtering.

SearchQueuesCommand

Searches queues in an Amazon Connect instance, with optional filtering.

SearchQuickConnectsCommand

Searches quick connects in an Amazon Connect instance, with optional filtering.

SearchResourceTagsCommand

Searches tags used in an Amazon Connect instance using optional search criteria.

SearchRoutingProfilesCommand

Searches routing profiles in an Amazon Connect instance, with optional filtering.

SearchSecurityProfilesCommand

Searches security profiles in an Amazon Connect instance, with optional filtering.

For information about security profiles, see Security Profiles  in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions .

SearchUserHierarchyGroupsCommand

Searches UserHierarchyGroups in an Amazon Connect instance, with optional filtering.

The UserHierarchyGroup with "LevelId": "0" is the foundation for building levels on top of an instance. It is not user-definable, nor is it visible in the UI.

SearchUsersCommand

Searches users in an Amazon Connect instance, with optional filtering.

AfterContactWorkTimeLimit is returned in milliseconds.

SearchVocabulariesCommand

Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode.

SendChatIntegrationEventCommand

Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect. A chat integration event includes:

  • SourceId, DestinationId, and Subtype: a set of identifiers, uniquely representing a chat

  • ChatEvent: details of the chat action to perform such as sending a message, event, or disconnecting from a chat

When a chat integration event is sent with chat identifiers that do not map to an active chat contact, a new chat contact is also created before handling chat action.

Access to this API is currently restricted to Amazon Web Services End User Messaging for supporting SMS integration.

SendOutboundEmailCommand

Send outbound email for outbound campaigns. For more information about outbound campaigns, see Set up Amazon Connect outbound campaigns .

Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.

StartAttachedFileUploadCommand

Provides a pre-signed Amazon S3 URL in response for uploading your content.

You may only use this API to upload attachments to an Amazon Connect Case  or Amazon Connect Email .

StartChatContactCommand

Initiates a flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection  API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection  with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in the following situations:

  • API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception.

  • The quota for concurrent active chats  is exceeded. Active chat throttling returns a LimitExceededException.

If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web ServicesSupport.

For more information about chat, see the following topics in the Amazon Connect Administrator Guide:

StartContactEvaluationCommand

Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact. The evaluation form version used for the contact evaluation corresponds to the currently activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.

Evaluations created through the public API do not contain answer values suggested from automation.

StartContactRecordingCommand

Starts recording the contact:

  • If the API is called before the agent joins the call, recording starts when the agent joins the call.

  • If the API is called after the agent joins the call, recording starts at the time of the API call.

StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior  block.

Only voice recordings are supported at this time.

StartContactStreamingCommand

Initiates real-time message streaming for a new chat contact.

For more information about message streaming, see Enable real-time chat message streaming  in the Amazon Connect Administrator Guide.

For more information about chat, see the following topics in the Amazon Connect Administrator Guide:

StartEmailContactCommand

Creates an inbound email contact and initiates a flow to start the email contact for the customer. Response of this API provides the ContactId of the email contact created.

StartOutboundChatContactCommand

Initiates a new outbound SMS contact to a customer. Response of this API provides the ContactId of the outbound SMS contact created.

SourceEndpoint only supports Endpoints with CONNECT_PHONENUMBER_ARN as Type and DestinationEndpoint only supports Endpoints with TELEPHONE_NUMBER as Type. ContactFlowId initiates the flow to manage the new SMS contact created.

This API can be used to initiate outbound SMS contacts for an agent, or it can also deflect an ongoing contact to an outbound SMS contact by using the StartOutboundChatContact  Flow Action.

For more information about using SMS in Amazon Connect, see the following topics in the Amazon Connect Administrator Guide:

StartOutboundEmailContactCommand

Initiates a flow to send an agent reply or outbound email contact (created from the CreateContact API) to a customer.

StartOutboundVoiceContactCommand

Places an outbound call to a contact, and then initiates the flow. It performs the actions in the flow that's specified (in ContactFlowId).

Agents do not initiate the outbound API, which means that they do not dial the contact. If the flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.

There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.

UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas  in the Amazon Connect Administrator Guide.

Campaign calls are not allowed by default. Before you can make a call with TrafficType = CAMPAIGN, you must submit a service quota increase request to the quota Amazon Connect campaigns .

StartScreenSharingCommand

Starts screen sharing for a contact. For more information about screen sharing, see Set up in-app, web, video calling, and screen sharing capabilities  in the Amazon Connect Administrator Guide.

StartTaskContactCommand

Initiates a flow to start a new task contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect  in the Amazon Connect Administrator Guide.

When using PreviousContactId and RelatedContactId input parameters, note the following:

  • PreviousContactId

    • Any updates to user-defined task contact attributes on any contact linked through the same PreviousContactId will affect every contact in the chain.

    • There can be a maximum of 12 linked task contacts in a chain. That is, 12 task contacts can be created that share the same PreviousContactId.

  • RelatedContactId

    • Copies contact attributes from the related task contact to the new contact.

    • Any update on attributes in a new task contact does not update attributes on previous contact.

    • There’s no limit on the number of task contacts that can be created that use the same RelatedContactId.

In addition, when calling StartTaskContact include only one of these parameters: ContactFlowID, QuickConnectID, or TaskTemplateID. Only one parameter is required as long as the task template has a flow configured to run it. If more than one parameter is specified, or only the TaskTemplateID is specified but it does not have a flow configured, the request returns an error because Amazon Connect cannot identify the unique flow to run when the task is created.

A ServiceQuotaExceededException occurs when the number of open tasks exceeds the active tasks quota or there are already 12 tasks referencing the same PreviousContactId. For more information about service quotas for task contacts, see Amazon Connect service quotas  in the Amazon Connect Administrator Guide.

StartWebRTCContactCommand

Places an inbound in-app, web, or video call to a contact, and then initiates the flow. It performs the actions in the flow that are specified (in ContactFlowId) and present in the Amazon Connect instance (specified as InstanceId).

StopContactCommand

Ends the specified contact. Use this API to stop queued callbacks. It does not work for voice contacts that use the following initiation methods:

  • DISCONNECT

  • TRANSFER

  • QUEUE_TRANSFER

  • EXTERNAL_OUTBOUND

  • MONITOR

Chat and task contacts can be terminated in any state, regardless of initiation method.

StopContactRecordingCommand

Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.

Only voice recordings are supported at this time.

StopContactStreamingCommand

Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming  API.

SubmitContactEvaluationCommand

Submits a contact evaluation in the specified Amazon Connect instance. Answers included in the request are merged with existing answers for the given evaluation. If no answers or notes are passed, the evaluation is submitted with the existing answers and notes. You can delete an answer or note by passing an empty object ({}) to the question identifier.

If a contact evaluation is already in submitted state, this operation will trigger a resubmission.

SuspendContactRecordingCommand

When a contact is being recorded, this API suspends recording whatever is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would be suspended. For example, you might suspend the screen recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording the screen.

The period of time that the recording is suspended is filled with silence in the final recording.

Voice and screen recordings are supported.

TagContactCommand

Adds the specified tags to the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage .

TagResourceCommand

Adds the specified tags to the specified resource.

Some of the supported resource types are agents, routing profiles, queues, quick connects, flows, agent statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon Connect .

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples  in the Amazon Connect Administrator Guide.

TransferContactCommand

Transfers TASK or EMAIL contacts from one agent or queue to another agent or queue at any point after a contact is created. You can transfer a contact to another queue by providing the flow which orchestrates the contact to the destination queue. This gives you more control over contact handling and helps you adhere to the service level agreement (SLA) guaranteed to your customers.

Note the following requirements:

  • Transfer is supported for only TASK and EMAIL contacts.

  • Do not use both QueueId and UserId in the same call.

  • The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer to queue flow.

  • The TransferContact API can be called only on active contacts.

  • A contact cannot be transferred more than 11 times.

UntagContactCommand

Removes the specified tags from the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage .

UntagResourceCommand

Removes the specified tags from the specified resource.

UpdateAgentStatusCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates agent status.

UpdateAuthenticationProfileCommand

This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web ServicesSupport.

Updates the selected authentication profile.

UpdateContactAttributesCommand

Creates or updates user-defined contact attributes associated with the specified contact.

You can create or update user-defined attributes for both ongoing and completed contacts. For example, while the call is active, you can update the customer's name or the reason the customer called. You can add notes about steps that the agent took during the call that display to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or to identify abusive callers.

Contact attributes are available in Amazon Connect for 24 months, and are then deleted. For information about contact record retention and the maximum size of the contact record attributes section, see Feature specifications  in the Amazon Connect Administrator Guide.

UpdateContactCommand

This API is in preview release for Amazon Connect and is subject to change.

Adds or updates user-defined contact information associated with the specified contact. At least one field to be updated must be present in the request.

You can add or update user-defined contact information for both ongoing and completed contacts.

UpdateContactEvaluationCommand

Updates details about a contact evaluation in the specified Amazon Connect instance. A contact evaluation must be in draft state. Answers included in the request are merged with existing answers for the given evaluation. An answer or note can be deleted by passing an empty object ({}) to the question identifier.

UpdateContactFlowContentCommand

Updates the specified flow.

You can also create and update flows using the Amazon Connect Flow language .

Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

UpdateContactFlowMetadataCommand

Updates metadata about specified flow.

UpdateContactFlowModuleContentCommand

Updates specified flow module for the specified Amazon Connect instance.

Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.

UpdateContactFlowModuleMetadataCommand

Updates metadata about specified flow module.

UpdateContactFlowNameCommand

The name of the flow.

You can also create and update flows using the Amazon Connect Flow language .

UpdateContactRoutingDataCommand

Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). These properties can be used to change a customer's position in the queue. For example, you can move a contact to the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a contact to the front of the queue by increasing the routing age which will make the contact look artificially older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These properties can also be updated by using the Set routing priority / age flow block .

Either QueuePriority or QueueTimeAdjustmentInSeconds should be provided within the request body, but not both.

UpdateContactScheduleCommand

Updates the scheduled time of a task contact that is already scheduled.

UpdateEmailAddressMetadataCommand

Updates an email address metadata. For more information about email addresses, see Create email addresses  in the Amazon Connect Administrator Guide.

UpdateEvaluationFormCommand

Updates details about a specific evaluation form version in the specified Amazon Connect instance. Question and section identifiers cannot be duplicated within the same evaluation form.

This operation does not support partial updates. Instead it does a full update of evaluation form content.

UpdateHoursOfOperationCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates the hours of operation.

UpdateHoursOfOperationOverrideCommand

Update the hours of operation override.

UpdateInstanceAttributeCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates the value for the specified attribute type.

UpdateInstanceStorageConfigCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates an existing configuration for a resource type. This API is idempotent.

UpdateParticipantAuthenticationCommand

Instructs Amazon Connect to resume the authentication process. The subsequent actions depend on the request body contents:

  • If a code is provided: Connect retrieves the identity information from Amazon Cognito and imports it into Connect Customer Profiles.

  • If an error is provided: The error branch of the Authenticate Customer block is executed.

The API returns a success response to acknowledge the request. However, the interaction and exchange of identity information occur asynchronously after the response is returned.

UpdateParticipantRoleConfigCommand

Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness. You can set four timers:

  • Customer idle timeout

  • Customer auto-disconnect timeout

  • Agent idle timeout

  • Agent auto-disconnect timeout

For more information about how chat timeouts work, see Set up chat timeouts for human participants .

UpdatePhoneNumberCommand

Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.

After using this API, you must verify that the phone number is attached to the correct flow in the target instance or traffic distribution group. You need to do this because the API switches only the phone number to a new instance or traffic distribution group. It doesn't migrate the flow configuration of the phone number, too.

You can call DescribePhoneNumber  API to verify the status of a previous UpdatePhoneNumber  operation.

UpdatePhoneNumberMetadataCommand

Updates a phone number’s metadata.

To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber  API.

UpdatePredefinedAttributeCommand

Updates a predefined attribute for the specified Amazon Connect instance. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents .

UpdatePromptCommand

Updates a prompt.

UpdateQueueHoursOfOperationCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates the hours of operation for the specified queue.

UpdateQueueMaxContactsCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates the maximum number of contacts allowed in a queue before it is considered full.

UpdateQueueNameCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates the name and description of a queue. At least Name or Description must be provided.

UpdateQueueOutboundCallerConfigCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.

  • If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.

  • Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2  API.

  • If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region .

UpdateQueueOutboundEmailConfigCommand

Updates the outbound email address Id for a specified queue.

UpdateQueueStatusCommand

This API is in preview release for Amazon Connect and is subject to change.

Updates the status of the queue.

UpdateQuickConnectConfigCommand

Updates the configuration settings for the specified quick connect.

UpdateQuickConnectNameCommand

Updates the name and description of a quick connect. The request accepts the following data in JSON format. At least Name or Description must be provided.

UpdateRoutingProfileAgentAvailabilityTimerCommand

Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.

UpdateRoutingProfileConcurrencyCommand

Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.

UpdateRoutingProfileDefaultOutboundQueueCommand

Updates the default outbound queue of a routing profile.

UpdateRoutingProfileNameCommand

Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least Name or Description must be provided.

UpdateRoutingProfileQueuesCommand

Updates the properties associated with a set of queues for a routing profile.

UpdateRuleCommand

Updates a rule for the specified Amazon Connect instance.

Use the Rules Function language  to code conditions for the rule.

UpdateSecurityProfileCommand

Updates a security profile.

For information about security profiles, see Security Profiles  in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions .

UpdateTaskTemplateCommand

Updates details about a specific task template in the specified Amazon Connect instance. This operation does not support partial updates. Instead it does a full update of template content.

UpdateTrafficDistributionCommand

Updates the traffic distribution for a given traffic distribution group.

When you shift telephony traffic, also shift agents and/or agent sign-ins to ensure they can handle the calls in the other Region. If you don't shift the agents, voice calls will go to the shifted Region but there won't be any agents available to receive the calls.

The SignInConfig distribution is available only on a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup  data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions   in the Amazon Connect Administrator Guide.

UpdateUserHierarchyCommand

Assigns the specified hierarchy group to the specified user.

UpdateUserHierarchyGroupNameCommand

Updates the name of the user hierarchy group.

UpdateUserHierarchyStructureCommand

Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.

UpdateUserIdentityInfoCommand

Updates the identity information for the specified user.

We strongly recommend limiting who has the ability to invoke UpdateUserIdentityInfo. Someone with that ability can change the login credentials of other users by changing their email address. This poses a security risk to your organization. They can change the email address of a user to the attacker's email address, and then reset the password through email. For more information, see Best Practices for Security Profiles  in the Amazon Connect Administrator Guide.

UpdateUserPhoneConfigCommand

Updates the phone configuration settings for the specified user.

UpdateUserProficienciesCommand

Updates the properties associated with the proficiencies of a user.

UpdateUserRoutingProfileCommand

Assigns the specified routing profile to the specified user.

UpdateUserSecurityProfilesCommand

Assigns the specified security profiles to the specified user.

UpdateViewContentCommand

Updates the view content of the given view identifier in the specified Amazon Connect instance.

It performs content validation if Status is set to SAVED and performs full content validation if Status is PUBLISHED. Note that the $SAVED alias' content will always be updated, but the $LATEST alias' content will only be updated if Status is PUBLISHED.

UpdateViewMetadataCommand

Updates the view metadata. Note that either Name or Description must be provided.

ConnectClient Configuration

Parameter
Type
Description
defaultsMode
Optional
DefaultsMode | Provider<DefaultsMode>
The @smithy/smithy-client#DefaultsMode that will be used to determine how certain default configuration options are resolved in the SDK.
disableHostPrefix
Optional
boolean
Disable dynamically changing the endpoint of the client based on the hostPrefix trait of an operation.
extensions
Optional
RuntimeExtension[]
Optional extensions
logger
Optional
Logger
Optional logger for logging debug/info/warn/error.
maxAttempts
Optional
number | Provider<number>
Value for how many times a request will be made at most in case of retry.
profile
Optional
string
Setting a client profile is similar to setting a value for the AWS_PROFILE environment variable. Setting a profile on a client in code only affects the single client instance, unlike AWS_PROFILE.When set, and only for environments where an AWS configuration file exists, fields configurable by this file will be retrieved from the specified profile within that file. Conflicting code configuration and environment variables will still have higher priority.For client credential resolution that involves checking the AWS configuration file, the client's profile (this value) will be used unless a different profile is set in the credential provider options.
region
Optional
string | Provider<string>
The AWS region to which this client will send requests
requestHandler
Optional
__HttpHandlerUserInput
The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
retryMode
Optional
string | Provider<string>
Specifies which retry algorithm to use.
useDualstackEndpoint
Optional
boolean | Provider<boolean>
Enables IPv6/IPv4 dualstack endpoint.
useFipsEndpoint
Optional
boolean | Provider<boolean>
Enables FIPS compatible endpoints.
Additional config fields are described in the full configuration type: ConnectClientConfig