View Source AWS.Connect (aws-elixir v0.13.3)
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 connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
Link to this section Summary
Functions
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Associates an existing vocabulary as the default.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Associates a flow with a phone number claimed to your Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Associates a set of queues with a routing profile.
This API is in preview release for Amazon Connect and is subject to change.
Claims an available phone number to your Amazon Connect instance or traffic distribution group.
This API is in preview release for Amazon Connect and is subject to change.
Creates a flow for the specified Amazon Connect instance.
Creates a flow module for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Creates an Amazon Web Services resource association with an Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Creates a quick connect for the specified Amazon Connect instance.
Creates a new routing profile.
Creates a rule for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Creates a new task template in the specified Amazon Connect instance.
Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
Creates a use case for an integration association.
Creates a user account for the specified Amazon Connect instance.
Creates a new user hierarchy group.
Creates a custom vocabulary associated with your Amazon Connect instance.
Deletes a flow for the specified Amazon Connect instance.
Deletes the specified flow module.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Deletes an Amazon Web Services resource association from an Amazon Connect instance.
Deletes a quick connect.
Deletes a rule for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Deletes the task template.
Deletes a traffic distribution group.
Deletes a use case from an integration association.
Deletes a user account from the specified Amazon Connect instance.
Deletes an existing user hierarchy group.
Deletes the vocabulary that has the given identifier.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified flow.
Describes the specified flow module.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group.
This API is in preview release for Amazon Connect and is subject to change.
Describes the quick connect.
Describes the specified routing profile.
Describes a rule for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Gets details and status of a traffic distribution group.
Describes the specified user account.
Describes the specified hierarchy group.
Describes the hierarchy structure of the specified Amazon Connect instance.
Describes the specified vocabulary.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Removes the flow association from a phone number claimed to your Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Disassociates a set of queues from a routing profile.
This API is in preview release for Amazon Connect and is subject to change.
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.
Retrieves the contact attributes for the specified contact.
Gets the real-time metric data from the specified Amazon Connect instance.
Gets the real-time active user data from the specified Amazon Connect instance.
Retrieves a token for federation.
Gets historical metric data from the specified Amazon Connect instance.
Gets metric data from the specified Amazon Connect instance.
Gets details about a specific task template in the specified Amazon Connect instance.
Retrieves the current traffic distribution for a given traffic distribution group.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Provides information about the flow modules for the specified Amazon Connect instance.
Provides information about the flows for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Lists the default vocabularies for the specified Amazon Connect instance.
Provides information about the hours of operation for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Provides information about the phone numbers for the specified Amazon Connect instance.
Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group.
Provides information about the prompts for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Provides information about the queues for the specified Amazon Connect instance.
Provides information about the quick connects for the specified Amazon Connect instance.
Lists the queues associated with a routing profile.
Provides summary information about the routing profiles for the specified Amazon Connect instance.
List all rules for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Provides summary information about the security profiles for the specified Amazon Connect instance.
Lists the tags for the specified resource.
Lists task templates for the specified Amazon Connect instance.
Lists traffic distribution groups.
Lists the use cases for the integration association.
Provides summary information about the hierarchy groups for the specified Amazon Connect instance.
Provides summary information about the users for the specified Amazon Connect instance.
Initiates silent monitoring of a contact.
Changes the current status of a user or agent in Amazon Connect.
Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group.
Replicates an Amazon Connect instance in the specified Amazon Web Services Region.
When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.
Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Searches users in an Amazon Connect instance, with optional filtering.
Searches for vocabularies within a specific Amazon Connect instance using
State
, NameStartsWith
, and LanguageCode
.
Initiates a flow to start a new chat for the customer.
Starts recording the contact
Initiates real-time message streaming for a new chat contact.
Places an outbound call to a contact, and then initiates the flow.
Initiates a flow to start a new task.
Ends the specified contact.
Stops recording a call when a contact is being recorded.
Ends message streaming on a specified contact.
When a contact is being recorded, this API suspends recording the call.
Adds the specified tags to the specified resource.
Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created.
Removes the specified tags from the specified resource.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Creates or updates user-defined contact attributes associated with the specified contact.
Updates the specified flow.
Updates metadata about specified flow.
Updates specified flow module for the specified Amazon Connect instance.
Updates metadata about specified flow module.
The name of the flow.
Updates the scheduled time of a task contact that is already scheduled.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness.
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.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
This API is in preview release for Amazon Connect and is subject to change.
Updates the configuration settings for the specified quick connect.
Updates the name and description of a quick connect.
Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.
Updates the default outbound queue of a routing profile.
Updates the name and description of a routing profile.
Updates the properties associated with a set of queues for a routing profile.
Updates a rule for the specified Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Updates details about a specific task template in the specified Amazon Connect instance.
Updates the traffic distribution for a given traffic distribution group.
Assigns the specified hierarchy group to the specified user.
Updates the name of the user hierarchy group.
Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.
Updates the identity information for the specified user.
Updates the phone configuration settings for the specified user.
Assigns the specified routing profile to the specified user.
Assigns the specified security profiles to the specified user.
Link to this section Functions
associate_approved_origin(client, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Associates an approved origin to an Amazon Connect instance.
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.
associate_default_vocabulary(client, instance_id, language_code, input, options \\ [])
View SourceAssociates 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.
associate_instance_storage_config(client, instance_id, input, options \\ [])
View SourceThis 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.
associate_lambda_function(client, instance_id, input, options \\ [])
View SourceThis 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.
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.
associate_phone_number_contact_flow(client, phone_number_id, input, options \\ [])
View SourceAssociates 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
.
associate_queue_quick_connects(client, instance_id, queue_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Associates a set of quick connects with a queue.
associate_routing_profile_queues(client, instance_id, routing_profile_id, input, options \\ [])
View SourceAssociates a set of queues with a routing profile.
This API is in preview release for Amazon Connect and is subject to change.
Associates a security key to the instance.
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.
This API is in preview release for Amazon Connect and is subject to change.
Creates an agent status for the specified Amazon Connect instance.
Creates a flow for the specified Amazon Connect instance.
You can also create and update flows using the Amazon Connect Flow language.
create_contact_flow_module(client, instance_id, input, options \\ [])
View SourceCreates a flow module for the specified Amazon Connect instance.
create_hours_of_operation(client, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Creates hours of operation.
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.
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.
create_integration_association(client, instance_id, input, options \\ [])
View SourceCreates an Amazon Web Services resource association with an Amazon Connect instance.
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the number being used in the input 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 OutboundCallerIdNumberId
value of
the
OutboundCallerConfig
request body 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
.
Creates a quick connect for the specified Amazon Connect instance.
Creates a new routing profile.
Creates a rule for the specified Amazon Connect instance.
Use the Rules Function language to code conditions for the rule.
create_security_profile(client, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Creates a security profile.
Creates a new task template in the specified Amazon Connect instance.
Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
create_use_case(client, instance_id, integration_association_id, input, options \\ [])
View SourceCreates a use case for an integration association.
Creates a user account for the specified Amazon Connect instance.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.
create_user_hierarchy_group(client, instance_id, input, options \\ [])
View SourceCreates a new user hierarchy group.
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.
delete_contact_flow(client, contact_flow_id, instance_id, input, options \\ [])
View SourceDeletes a flow for the specified Amazon Connect instance.
delete_contact_flow_module(client, contact_flow_module_id, instance_id, input, options \\ [])
View SourceDeletes the specified flow module.
delete_hours_of_operation(client, hours_of_operation_id, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Deletes an hours of operation.
This API is in preview release for Amazon Connect and is subject to change.
Deletes the Amazon Connect instance.
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.
delete_integration_association(client, instance_id, integration_association_id, input, options \\ [])
View SourceDeletes an Amazon Web Services resource association from an Amazon Connect instance.
The association must not have any use cases associated with it.
delete_quick_connect(client, instance_id, quick_connect_id, input, options \\ [])
View SourceDeletes a quick connect.
Deletes a rule for the specified Amazon Connect instance.
delete_security_profile(client, instance_id, security_profile_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Deletes a security profile.
delete_task_template(client, instance_id, task_template_id, input, options \\ [])
View SourceDeletes the task template.
delete_traffic_distribution_group(client, traffic_distribution_group_id, input, options \\ [])
View SourceDeletes 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.
delete_use_case(client, instance_id, integration_association_id, use_case_id, input, options \\ [])
View SourceDeletes a use case from an integration association.
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.
delete_user_hierarchy_group(client, hierarchy_group_id, instance_id, input, options \\ [])
View SourceDeletes an existing user hierarchy group.
It must not be associated with any agents or have any active child groups.
delete_vocabulary(client, instance_id, vocabulary_id, input, options \\ [])
View SourceDeletes the vocabulary that has the given identifier.
describe_agent_status(client, agent_status_id, instance_id, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Describes an agent status.
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified contact.
Contact information remains available in Amazon Connect for 24 months, and then it is deleted.
Only data from November 12, 2021, and later is returned by this API.
describe_contact_flow(client, contact_flow_id, instance_id, options \\ [])
View SourceDescribes the specified flow.
You can also create and update flows using the Amazon Connect Flow language.
describe_contact_flow_module(client, contact_flow_module_id, instance_id, options \\ [])
View SourceDescribes the specified flow module.
describe_hours_of_operation(client, hours_of_operation_id, instance_id, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Describes the hours of operation.
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.
describe_instance_attribute(client, attribute_type, instance_id, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Describes the specified instance attribute.
describe_instance_storage_config(client, association_id, instance_id, resource_type, options \\ [])
View SourceThis 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.
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 will receive a
ResourceNotFoundException
.
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified queue.
describe_quick_connect(client, instance_id, quick_connect_id, options \\ [])
View SourceDescribes the quick connect.
describe_routing_profile(client, instance_id, routing_profile_id, options \\ [])
View SourceDescribes the specified routing profile.
Describes a rule for the specified Amazon Connect instance.
describe_security_profile(client, instance_id, security_profile_id, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Gets basic information about the security profle.
describe_traffic_distribution_group(client, traffic_distribution_group_id, options \\ [])
View SourceGets details and status of a traffic distribution group.
Describes the specified user account.
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.
describe_user_hierarchy_group(client, hierarchy_group_id, instance_id, options \\ [])
View SourceDescribes the specified hierarchy group.
describe_user_hierarchy_structure(client, instance_id, options \\ [])
View SourceDescribes the hierarchy structure of the specified Amazon Connect instance.
describe_vocabulary(client, instance_id, vocabulary_id, options \\ [])
View SourceDescribes the specified vocabulary.
disassociate_approved_origin(client, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Revokes access to integrated applications from Amazon Connect.
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.
disassociate_instance_storage_config(client, association_id, instance_id, input, options \\ [])
View SourceThis 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.
disassociate_lambda_function(client, instance_id, input, options \\ [])
View SourceThis 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.
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.
disassociate_phone_number_contact_flow(client, phone_number_id, input, options \\ [])
View SourceRemoves 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
.
disassociate_queue_quick_connects(client, instance_id, queue_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Disassociates a set of quick connects from a queue.
disassociate_routing_profile_queues(client, instance_id, routing_profile_id, input, options \\ [])
View SourceDisassociates a set of queues from a routing profile.
disassociate_security_key(client, association_id, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Deletes the specified security key.
dismiss_user_contact(client, instance_id, user_id, input, options \\ [])
View SourceDismisses 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.
get_contact_attributes(client, initial_contact_id, instance_id, options \\ [])
View SourceRetrieves the contact attributes for the specified contact.
get_current_metric_data(client, instance_id, input, options \\ [])
View SourceGets 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.
Gets the real-time active user data from the specified Amazon Connect instance.
Retrieves a token for federation.
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
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.
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 14 days, in 24-hour intervals.
For a description of the historical metrics that are supported by
GetMetricDataV2
and GetMetricData
, see Historical metrics
definitions
in the Amazon Connect Administrator's Guide.
This API is not available in the Amazon Web Services GovCloud (US) Regions.
get_task_template(client, instance_id, task_template_id, snapshot_version \\ nil, options \\ [])
View SourceGets details about a specific task template in the specified Amazon Connect instance.
Retrieves the current traffic distribution for a given traffic distribution group.
list_agent_statuses(client, instance_id, agent_status_types \\ nil, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Lists agent statuses.
list_approved_origins(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis 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.
list_bots(client, instance_id, lex_version, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis 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 returns both Amazon Lex V1 and V2 bots.
list_contact_flow_modules(client, instance_id, contact_flow_module_state \\ nil, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides information about the flow modules for the specified Amazon Connect instance.
list_contact_flows(client, instance_id, contact_flow_types \\ nil, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides 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.
list_contact_references(client, contact_id, instance_id, next_token \\ nil, reference_types, options \\ [])
View SourceThis 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.
list_default_vocabularies(client, instance_id, input, options \\ [])
View SourceLists the default vocabularies for the specified Amazon Connect instance.
list_hours_of_operations(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides 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.
list_instance_attributes(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis 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.
list_instance_storage_configs(client, instance_id, max_results \\ nil, next_token \\ nil, resource_type, options \\ [])
View SourceThis 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.
list_instances(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis 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.
list_integration_associations(client, instance_id, integration_type \\ nil, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.
list_lambda_functions(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis 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.
list_lex_bots(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis 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.
list_phone_numbers(client, instance_id, max_results \\ nil, next_token \\ nil, phone_number_country_codes \\ nil, phone_number_types \\ nil, options \\ [])
View SourceProvides 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.
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.
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.
list_prompts(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides information about the prompts for the specified Amazon Connect instance.
list_queue_quick_connects(client, instance_id, queue_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Lists the quick connects associated with a queue.
list_queues(client, instance_id, max_results \\ nil, next_token \\ nil, queue_types \\ nil, options \\ [])
View SourceProvides 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.
list_quick_connects(client, instance_id, max_results \\ nil, next_token \\ nil, quick_connect_types \\ nil, options \\ [])
View SourceProvides information about the quick connects for the specified Amazon Connect instance.
list_routing_profile_queues(client, instance_id, routing_profile_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the queues associated with a routing profile.
list_routing_profiles(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides 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.
list_rules(client, instance_id, event_source_name \\ nil, max_results \\ nil, next_token \\ nil, publish_status \\ nil, options \\ [])
View SourceList all rules for the specified Amazon Connect instance.
list_security_keys(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis 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.
list_security_profile_permissions(client, instance_id, security_profile_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Lists the permissions granted to a security profile.
list_security_profiles(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides 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.
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.
list_task_templates(client, instance_id, max_results \\ nil, name \\ nil, next_token \\ nil, status \\ nil, options \\ [])
View SourceLists task templates for the specified Amazon Connect instance.
list_traffic_distribution_groups(client, instance_id \\ nil, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists traffic distribution groups.
list_use_cases(client, instance_id, integration_association_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the use cases for the integration association.
list_user_hierarchy_groups(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides 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.
list_users(client, instance_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceProvides summary information about the users for the specified Amazon Connect instance.
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.
put_user_status(client, instance_id, user_id, input, options \\ [])
View SourceChanges 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.
release_phone_number(client, phone_number_id, input, options \\ [])
View SourceReleases 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 console.
After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support.
Replicates an Amazon Connect instance in the specified Amazon Web Services Region.
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.
When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.
Only voice recordings are supported at this time.
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.
This API is in preview release for Amazon Connect and is subject to change.
Searches queues in an Amazon Connect instance, with optional filtering.
This API is in preview release for Amazon Connect and is subject to change.
Searches routing profiles in an Amazon Connect instance, with optional filtering.
This API is in preview release for Amazon Connect and is subject to change.
Searches security profiles in an Amazon Connect instance, with optional filtering.
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Searches for vocabularies within a specific Amazon Connect instance using
State
, NameStartsWith
, and LanguageCode
.
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 Services Support.
For more information about chat, see Chat in the Amazon Connect Administrator Guide.
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.
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.
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.
Initiates a flow to start a new task.
Ends the specified contact.
This call does not work for the following initiation methods:
DISCONNECT
TRANSFER
QUEUE_TRANSFER
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.
Ends message streaming on a specified contact.
To restart message streaming on that contact, call the StartContactStreaming API.
When a contact is being recorded, this API suspends recording the call.
For example, you might suspend the call recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording.
The period of time that the recording is suspended is filled with silence in the final recording.
Only voice recordings are supported at this time.
Adds the specified tags to the specified resource.
Some of the supported resource types are agents, routing profiles, queues, quick connects, contact 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.
Transfers 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
contacts.Do not use both
QueueId
andUserId
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.
Removes the specified tags from the specified resource.
update_agent_status(client, agent_status_id, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
update_contact(client, contact_id, instance_id, input, options \\ [])
View SourceThis 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.
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.
update_contact_flow_content(client, contact_flow_id, instance_id, input, options \\ [])
View SourceUpdates the specified flow.
You can also create and update flows using the Amazon Connect Flow language.
update_contact_flow_metadata(client, contact_flow_id, instance_id, input, options \\ [])
View SourceUpdates metadata about specified flow.
update_contact_flow_module_content(client, contact_flow_module_id, instance_id, input, options \\ [])
View SourceUpdates specified flow module for the specified Amazon Connect instance.
update_contact_flow_module_metadata(client, contact_flow_module_id, instance_id, input, options \\ [])
View SourceUpdates metadata about specified flow module.
update_contact_flow_name(client, contact_flow_id, instance_id, input, options \\ [])
View SourceThe name of the flow.
You can also create and update flows using the Amazon Connect Flow language.
Updates the scheduled time of a task contact that is already scheduled.
update_hours_of_operation(client, hours_of_operation_id, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation.
update_instance_attribute(client, attribute_type, instance_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Updates the value for the specified attribute type.
update_instance_storage_config(client, association_id, instance_id, input, options \\ [])
View SourceThis 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.
update_participant_role_config(client, contact_id, instance_id, input, options \\ [])
View SourceUpdates 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.
update_phone_number(client, phone_number_id, input, options \\ [])
View SourceUpdates 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.
You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.
update_queue_hours_of_operation(client, instance_id, queue_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation for the specified queue.
update_queue_max_contacts(client, instance_id, queue_id, input, options \\ [])
View SourceThis 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.
update_queue_name(client, instance_id, queue_id, input, options \\ [])
View SourceThis 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.
update_queue_outbound_caller_config(client, instance_id, queue_id, input, options \\ [])
View SourceThis 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 number being used in the input 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 OutboundCallerIdNumberId
value of
the
OutboundCallerConfig
request body 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
.
update_queue_status(client, instance_id, queue_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Updates the status of the queue.
update_quick_connect_config(client, instance_id, quick_connect_id, input, options \\ [])
View SourceUpdates the configuration settings for the specified quick connect.
update_quick_connect_name(client, instance_id, quick_connect_id, input, options \\ [])
View SourceUpdates 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.
update_routing_profile_concurrency(client, instance_id, routing_profile_id, input, options \\ [])
View SourceUpdates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.
update_routing_profile_default_outbound_queue(client, instance_id, routing_profile_id, input, options \\ [])
View SourceUpdates the default outbound queue of a routing profile.
update_routing_profile_name(client, instance_id, routing_profile_id, input, options \\ [])
View SourceUpdates 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.
update_routing_profile_queues(client, instance_id, routing_profile_id, input, options \\ [])
View SourceUpdates the properties associated with a set of queues for a routing profile.
Updates a rule for the specified Amazon Connect instance.
Use the Rules Function language to code conditions for the rule.
update_security_profile(client, instance_id, security_profile_id, input, options \\ [])
View SourceThis API is in preview release for Amazon Connect and is subject to change.
Updates a security profile.
update_task_template(client, instance_id, task_template_id, input, options \\ [])
View SourceUpdates 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.
Updates the traffic distribution for a given traffic distribution group.
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.
update_user_hierarchy(client, instance_id, user_id, input, options \\ [])
View SourceAssigns the specified hierarchy group to the specified user.
update_user_hierarchy_group_name(client, hierarchy_group_id, instance_id, input, options \\ [])
View SourceUpdates the name of the user hierarchy group.
update_user_hierarchy_structure(client, instance_id, input, options \\ [])
View SourceUpdates the user hierarchy structure: add, remove, and rename user hierarchy levels.
update_user_identity_info(client, instance_id, user_id, input, options \\ [])
View SourceUpdates 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.
update_user_phone_config(client, instance_id, user_id, input, options \\ [])
View SourceUpdates the phone configuration settings for the specified user.
update_user_routing_profile(client, instance_id, user_id, input, options \\ [])
View SourceAssigns the specified routing profile to the specified user.
update_user_security_profiles(client, instance_id, user_id, input, options \\ [])
View SourceAssigns the specified security profiles to the specified user.