Amazon Connect Service 2017-08-08
- Client: Aws\Connect\ConnectClient
- Service ID: connect
- Version: 2017-08-08
This page describes the parameters and results for the operations of the Amazon Connect Service (2017-08-08), and shows how to use the Aws\Connect\ConnectClient object to call the described operations. This documentation is specific to the 2017-08-08 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName')
, where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */)
.
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */)
.
- ActivateEvaluationForm ( array $params = [] )
- Activates an evaluation form in the specified Amazon Connect instance.
- AssociateAnalyticsDataSet ( array $params = [] )
- Associates the specified dataset for a Amazon Connect instance with the target account.
- AssociateApprovedOrigin ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- AssociateBot ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- AssociateDefaultVocabulary ( array $params = [] )
- Associates an existing vocabulary as the default.
- AssociateFlow ( array $params = [] )
- Associates a connect resource to a flow.
- AssociateInstanceStorageConfig ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- AssociateLambdaFunction ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- AssociateLexBot ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- AssociatePhoneNumberContactFlow ( array $params = [] )
- Associates a flow with a phone number claimed to your Amazon Connect instance.
- AssociateQueueQuickConnects ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- AssociateRoutingProfileQueues ( array $params = [] )
- Associates a set of queues with a routing profile.
- AssociateSecurityKey ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- AssociateTrafficDistributionGroupUser ( array $params = [] )
- Associates an agent with a traffic distribution group.
- AssociateUserProficiencies ( array $params = [] )
- >Associates a set of proficiencies with a user.
- BatchAssociateAnalyticsDataSet ( array $params = [] )
- Associates a list of analytics datasets for a given Amazon Connect instance to a target account.
- BatchDisassociateAnalyticsDataSet ( array $params = [] )
- Removes a list of analytics datasets associated with a given Amazon Connect instance.
- BatchGetAttachedFileMetadata ( array $params = [] )
- Allows you to retrieve metadata about multiple attached files on an associated resource.
- BatchGetFlowAssociation ( array $params = [] )
- Retrieve the flow associations for the given resources.
- BatchPutContact ( array $params = [] )
- Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.
- ClaimPhoneNumber ( array $params = [] )
- Claims an available phone number to your Amazon Connect instance or traffic distribution group.
- CompleteAttachedFileUpload ( array $params = [] )
- Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.
- CreateAgentStatus ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- CreateContactFlow ( array $params = [] )
- Creates a flow for the specified Amazon Connect instance.
- CreateContactFlowModule ( array $params = [] )
- Creates a flow module for the specified Amazon Connect instance.
- CreateEvaluationForm ( array $params = [] )
- Creates an evaluation form in the specified Amazon Connect instance.
- CreateHoursOfOperation ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- CreateInstance ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- CreateIntegrationAssociation ( array $params = [] )
- Creates an Amazon Web Services resource association with an Amazon Connect instance.
- CreateParticipant ( array $params = [] )
- Adds a new participant into an on-going chat contact.
- CreatePersistentContactAssociation ( array $params = [] )
- Enables rehydration of chats for the lifespan of a contact.
- CreatePredefinedAttribute ( array $params = [] )
- Creates a new predefined attribute for the specified Amazon Connect instance.
- CreatePrompt ( array $params = [] )
- Creates a prompt.
- CreateQueue ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- CreateQuickConnect ( array $params = [] )
- Creates a quick connect for the specified Amazon Connect instance.
- CreateRoutingProfile ( array $params = [] )
- Creates a new routing profile.
- CreateRule ( array $params = [] )
- Creates a rule for the specified Amazon Connect instance.
- CreateSecurityProfile ( array $params = [] )
- Creates a security profile.
- CreateTaskTemplate ( array $params = [] )
- Creates a new task template in the specified Amazon Connect instance.
- CreateTrafficDistributionGroup ( array $params = [] )
- Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
- CreateUseCase ( array $params = [] )
- Creates a use case for an integration association.
- CreateUser ( array $params = [] )
- Creates a user account for the specified Amazon Connect instance.
- CreateUserHierarchyGroup ( array $params = [] )
- Creates a new user hierarchy group.
- CreateView ( array $params = [] )
- Creates a new view with the possible status of SAVED or PUBLISHED.
- CreateViewVersion ( array $params = [] )
- Publishes a new version of the view identifier.
- CreateVocabulary ( array $params = [] )
- Creates a custom vocabulary associated with your Amazon Connect instance.
- DeactivateEvaluationForm ( array $params = [] )
- Deactivates an evaluation form in the specified Amazon Connect instance.
- DeleteAttachedFile ( array $params = [] )
- Deletes an attached file along with the underlying S3 Object.
- DeleteContactEvaluation ( array $params = [] )
- Deletes a contact evaluation in the specified Amazon Connect instance.
- DeleteContactFlow ( array $params = [] )
- Deletes a flow for the specified Amazon Connect instance.
- DeleteContactFlowModule ( array $params = [] )
- Deletes the specified flow module.
- DeleteEvaluationForm ( array $params = [] )
- Deletes an evaluation form in the specified Amazon Connect instance.
- DeleteHoursOfOperation ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DeleteInstance ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DeleteIntegrationAssociation ( array $params = [] )
- Deletes an Amazon Web Services resource association from an Amazon Connect instance.
- DeletePredefinedAttribute ( array $params = [] )
- Deletes a predefined attribute from the specified Amazon Connect instance.
- DeletePrompt ( array $params = [] )
- Deletes a prompt.
- DeleteQueue ( array $params = [] )
- Deletes a queue.
- DeleteQuickConnect ( array $params = [] )
- Deletes a quick connect.
- DeleteRoutingProfile ( array $params = [] )
- Deletes a routing profile.
- DeleteRule ( array $params = [] )
- Deletes a rule for the specified Amazon Connect instance.
- DeleteSecurityProfile ( array $params = [] )
- Deletes a security profile.
- DeleteTaskTemplate ( array $params = [] )
- Deletes the task template.
- DeleteTrafficDistributionGroup ( array $params = [] )
- Deletes a traffic distribution group.
- DeleteUseCase ( array $params = [] )
- Deletes a use case from an integration association.
- DeleteUser ( array $params = [] )
- Deletes a user account from the specified Amazon Connect instance.
- DeleteUserHierarchyGroup ( array $params = [] )
- Deletes an existing user hierarchy group.
- DeleteView ( array $params = [] )
- Deletes the view entirely.
- DeleteViewVersion ( array $params = [] )
- Deletes the particular version specified in ViewVersion identifier.
- DeleteVocabulary ( array $params = [] )
- Deletes the vocabulary that has the given identifier.
- DescribeAgentStatus ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribeAuthenticationProfile ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribeContact ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribeContactEvaluation ( array $params = [] )
- Describes a contact evaluation in the specified Amazon Connect instance.
- DescribeContactFlow ( array $params = [] )
- Describes the specified flow.
- DescribeContactFlowModule ( array $params = [] )
- Describes the specified flow module.
- DescribeEvaluationForm ( array $params = [] )
- Describes an evaluation form in the specified Amazon Connect instance.
- DescribeHoursOfOperation ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribeInstance ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribeInstanceAttribute ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribeInstanceStorageConfig ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribePhoneNumber ( array $params = [] )
- Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group.
- DescribePredefinedAttribute ( array $params = [] )
- Describes a predefined attribute for the specified Amazon Connect instance.
- DescribePrompt ( array $params = [] )
- Describes the prompt.
- DescribeQueue ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DescribeQuickConnect ( array $params = [] )
- Describes the quick connect.
- DescribeRoutingProfile ( array $params = [] )
- Describes the specified routing profile.
- DescribeRule ( array $params = [] )
- Describes a rule for the specified Amazon Connect instance.
- DescribeSecurityProfile ( array $params = [] )
- Gets basic information about the security profile.
- DescribeTrafficDistributionGroup ( array $params = [] )
- Gets details and status of a traffic distribution group.
- DescribeUser ( array $params = [] )
- Describes the specified user.
- DescribeUserHierarchyGroup ( array $params = [] )
- Describes the specified hierarchy group.
- DescribeUserHierarchyStructure ( array $params = [] )
- Describes the hierarchy structure of the specified Amazon Connect instance.
- DescribeView ( array $params = [] )
- Retrieves the view for the specified Amazon Connect instance and view identifier.
- DescribeVocabulary ( array $params = [] )
- Describes the specified vocabulary.
- DisassociateAnalyticsDataSet ( array $params = [] )
- Removes the dataset ID associated with a given Amazon Connect instance.
- DisassociateApprovedOrigin ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DisassociateBot ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DisassociateFlow ( array $params = [] )
- Disassociates a connect resource from a flow.
- DisassociateInstanceStorageConfig ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DisassociateLambdaFunction ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DisassociateLexBot ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DisassociatePhoneNumberContactFlow ( array $params = [] )
- Removes the flow association from a phone number claimed to your Amazon Connect instance.
- DisassociateQueueQuickConnects ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DisassociateRoutingProfileQueues ( array $params = [] )
- Disassociates a set of queues from a routing profile.
- DisassociateSecurityKey ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- DisassociateTrafficDistributionGroupUser ( array $params = [] )
- Disassociates an agent from a traffic distribution group.
- DisassociateUserProficiencies ( array $params = [] )
- Disassociates a set of proficiencies from a user.
- DismissUserContact ( array $params = [] )
- 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.
- GetAttachedFile ( array $params = [] )
- Provides a pre-signed URL for download of an approved attached file.
- GetContactAttributes ( array $params = [] )
- Retrieves the contact attributes for the specified contact.
- GetCurrentMetricData ( array $params = [] )
- Gets the real-time metric data from the specified Amazon Connect instance.
- GetCurrentUserData ( array $params = [] )
- Gets the real-time active user data from the specified Amazon Connect instance.
- GetFederationToken ( array $params = [] )
- Supports SAML sign-in for Amazon Connect.
- GetFlowAssociation ( array $params = [] )
- Retrieves the flow associated for a given resource.
- GetMetricData ( array $params = [] )
- Gets historical metric data from the specified Amazon Connect instance.
- GetMetricDataV2 ( array $params = [] )
- Gets metric data from the specified Amazon Connect instance.
- GetPromptFile ( array $params = [] )
- Gets the prompt file.
- GetTaskTemplate ( array $params = [] )
- Gets details about a specific task template in the specified Amazon Connect instance.
- GetTrafficDistribution ( array $params = [] )
- Retrieves the current traffic distribution for a given traffic distribution group.
- ImportPhoneNumber ( array $params = [] )
- Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect instance.
- ListAgentStatuses ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListAnalyticsDataAssociations ( array $params = [] )
- Lists the association status of requested dataset ID for a given Amazon Connect instance.
- ListApprovedOrigins ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListAuthenticationProfiles ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListBots ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListContactEvaluations ( array $params = [] )
- Lists contact evaluations in the specified Amazon Connect instance.
- ListContactFlowModules ( array $params = [] )
- Provides information about the flow modules for the specified Amazon Connect instance.
- ListContactFlows ( array $params = [] )
- Provides information about the flows for the specified Amazon Connect instance.
- ListContactReferences ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListDefaultVocabularies ( array $params = [] )
- Lists the default vocabularies for the specified Amazon Connect instance.
- ListEvaluationFormVersions ( array $params = [] )
- Lists versions of an evaluation form in the specified Amazon Connect instance.
- ListEvaluationForms ( array $params = [] )
- Lists evaluation forms in the specified Amazon Connect instance.
- ListFlowAssociations ( array $params = [] )
- List the flow association based on the filters.
- ListHoursOfOperations ( array $params = [] )
- Provides information about the hours of operation for the specified Amazon Connect instance.
- ListInstanceAttributes ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListInstanceStorageConfigs ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListInstances ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListIntegrationAssociations ( array $params = [] )
- Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.
- ListLambdaFunctions ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListLexBots ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListPhoneNumbers ( array $params = [] )
- Provides information about the phone numbers for the specified Amazon Connect instance.
- ListPhoneNumbersV2 ( array $params = [] )
- Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group.
- ListPredefinedAttributes ( array $params = [] )
- Lists predefined attributes for the specified Amazon Connect instance.
- ListPrompts ( array $params = [] )
- Provides information about the prompts for the specified Amazon Connect instance.
- ListQueueQuickConnects ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListQueues ( array $params = [] )
- Provides information about the queues for the specified Amazon Connect instance.
- ListQuickConnects ( array $params = [] )
- Provides information about the quick connects for the specified Amazon Connect instance.
- ListRealtimeContactAnalysisSegmentsV2 ( array $params = [] )
- Provides a list of analysis segments for a real-time analysis session.
- ListRoutingProfileQueues ( array $params = [] )
- Lists the queues associated with a routing profile.
- ListRoutingProfiles ( array $params = [] )
- Provides summary information about the routing profiles for the specified Amazon Connect instance.
- ListRules ( array $params = [] )
- List all rules for the specified Amazon Connect instance.
- ListSecurityKeys ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- ListSecurityProfileApplications ( array $params = [] )
- Returns a list of third-party applications in a specific security profile.
- ListSecurityProfilePermissions ( array $params = [] )
- Lists the permissions granted to a security profile.
- ListSecurityProfiles ( array $params = [] )
- Provides summary information about the security profiles for the specified Amazon Connect instance.
- ListTagsForResource ( array $params = [] )
- Lists the tags for the specified resource.
- ListTaskTemplates ( array $params = [] )
- Lists task templates for the specified Amazon Connect instance.
- ListTrafficDistributionGroupUsers ( array $params = [] )
- Lists traffic distribution group users.
- ListTrafficDistributionGroups ( array $params = [] )
- Lists traffic distribution groups.
- ListUseCases ( array $params = [] )
- Lists the use cases for the integration association.
- ListUserHierarchyGroups ( array $params = [] )
- Provides summary information about the hierarchy groups for the specified Amazon Connect instance.
- ListUserProficiencies ( array $params = [] )
- Lists proficiencies associated with a user.
- ListUsers ( array $params = [] )
- Provides summary information about the users for the specified Amazon Connect instance.
- ListViewVersions ( array $params = [] )
- Returns all the available versions for the specified Amazon Connect instance and view identifier.
- ListViews ( array $params = [] )
- Returns views in the given instance.
- MonitorContact ( array $params = [] )
- Initiates silent monitoring of a contact.
- PauseContact ( array $params = [] )
- Allows pausing an ongoing task contact.
- PutUserStatus ( array $params = [] )
- Changes the current status of a user or agent in Amazon Connect.
- ReleasePhoneNumber ( array $params = [] )
- Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group.
- ReplicateInstance ( array $params = [] )
- 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.
- ResumeContact ( array $params = [] )
- Allows resuming a task contact in a paused state.
- ResumeContactRecording ( array $params = [] )
- 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.
- SearchAgentStatuses ( array $params = [] )
- Searches AgentStatuses in an Amazon Connect instance, with optional filtering.
- SearchAvailablePhoneNumbers ( array $params = [] )
- Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
- SearchContactFlowModules ( array $params = [] )
- Searches the flow modules in an Amazon Connect instance, with optional filtering.
- SearchContactFlows ( array $params = [] )
- Searches the contact flows in an Amazon Connect instance, with optional filtering.
- SearchContacts ( array $params = [] )
- Searches contacts in an Amazon Connect instance.
- SearchHoursOfOperations ( array $params = [] )
- Searches the hours of operation in an Amazon Connect instance, with optional filtering.
- SearchPredefinedAttributes ( array $params = [] )
- Searches predefined attributes that meet certain criteria.
- SearchPrompts ( array $params = [] )
- Searches prompts in an Amazon Connect instance, with optional filtering.
- SearchQueues ( array $params = [] )
- Searches queues in an Amazon Connect instance, with optional filtering.
- SearchQuickConnects ( array $params = [] )
- Searches quick connects in an Amazon Connect instance, with optional filtering.
- SearchResourceTags ( array $params = [] )
- Searches tags used in an Amazon Connect instance using optional search criteria.
- SearchRoutingProfiles ( array $params = [] )
- Searches routing profiles in an Amazon Connect instance, with optional filtering.
- SearchSecurityProfiles ( array $params = [] )
- Searches security profiles in an Amazon Connect instance, with optional filtering.
- SearchUserHierarchyGroups ( array $params = [] )
- Searches UserHierarchyGroups in an Amazon Connect instance, with optional filtering.
- SearchUsers ( array $params = [] )
- Searches users in an Amazon Connect instance, with optional filtering.
- SearchVocabularies ( array $params = [] )
- Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode.
- SendChatIntegrationEvent ( array $params = [] )
- Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect.
- StartAttachedFileUpload ( array $params = [] )
- Provides a pre-signed Amazon S3 URL in response for uploading your content.
- StartChatContact ( array $params = [] )
- Initiates a flow to start a new chat for the customer.
- StartContactEvaluation ( array $params = [] )
- Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact.
- StartContactRecording ( array $params = [] )
- Starts recording the contact: If the API is called before the agent joins the call, recording starts when the agent joins the call.
- StartContactStreaming ( array $params = [] )
- Initiates real-time message streaming for a new chat contact.
- StartOutboundChatContact ( array $params = [] )
- Initiates a new outbound SMS contact to a customer.
- StartOutboundVoiceContact ( array $params = [] )
- Places an outbound call to a contact, and then initiates the flow.
- StartScreenSharing ( array $params = [] )
- Starts screen sharing for a contact.
- StartTaskContact ( array $params = [] )
- Initiates a flow to start a new task contact.
- StartWebRTCContact ( array $params = [] )
- Places an inbound in-app, web, or video call to a contact, and then initiates the flow.
- StopContact ( array $params = [] )
- Ends the specified contact.
- StopContactRecording ( array $params = [] )
- Stops recording a call when a contact is being recorded.
- StopContactStreaming ( array $params = [] )
- Ends message streaming on a specified contact.
- SubmitContactEvaluation ( array $params = [] )
- Submits a contact evaluation in the specified Amazon Connect instance.
- SuspendContactRecording ( array $params = [] )
- When a contact is being recorded, this API suspends recording whatever is selected in the flow configuration: call, screen, or both.
- TagContact ( array $params = [] )
- Adds the specified tags to the contact resource.
- TagResource ( array $params = [] )
- Adds the specified tags to the specified resource.
- TransferContact ( array $params = [] )
- Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created.
- UntagContact ( array $params = [] )
- Removes the specified tags from the contact resource.
- UntagResource ( array $params = [] )
- Removes the specified tags from the specified resource.
- UpdateAgentStatus ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateAuthenticationProfile ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateContact ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateContactAttributes ( array $params = [] )
- Creates or updates user-defined contact attributes associated with the specified contact.
- UpdateContactEvaluation ( array $params = [] )
- Updates details about a contact evaluation in the specified Amazon Connect instance.
- UpdateContactFlowContent ( array $params = [] )
- Updates the specified flow.
- UpdateContactFlowMetadata ( array $params = [] )
- Updates metadata about specified flow.
- UpdateContactFlowModuleContent ( array $params = [] )
- Updates specified flow module for the specified Amazon Connect instance.
- UpdateContactFlowModuleMetadata ( array $params = [] )
- Updates metadata about specified flow module.
- UpdateContactFlowName ( array $params = [] )
- The name of the flow.
- UpdateContactRoutingData ( array $params = [] )
- Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds).
- UpdateContactSchedule ( array $params = [] )
- Updates the scheduled time of a task contact that is already scheduled.
- UpdateEvaluationForm ( array $params = [] )
- Updates details about a specific evaluation form version in the specified Amazon Connect instance.
- UpdateHoursOfOperation ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateInstanceAttribute ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateInstanceStorageConfig ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateParticipantRoleConfig ( array $params = [] )
- Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness.
- UpdatePhoneNumber ( array $params = [] )
- 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.
- UpdatePhoneNumberMetadata ( array $params = [] )
- Updates a phone number’s metadata.
- UpdatePredefinedAttribute ( array $params = [] )
- Updates a predefined attribute for the specified Amazon Connect instance.
- UpdatePrompt ( array $params = [] )
- Updates a prompt.
- UpdateQueueHoursOfOperation ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateQueueMaxContacts ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateQueueName ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateQueueOutboundCallerConfig ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateQueueStatus ( array $params = [] )
- This API is in preview release for Amazon Connect and is subject to change.
- UpdateQuickConnectConfig ( array $params = [] )
- Updates the configuration settings for the specified quick connect.
- UpdateQuickConnectName ( array $params = [] )
- Updates the name and description of a quick connect.
- UpdateRoutingProfileAgentAvailabilityTimer ( array $params = [] )
- Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
- UpdateRoutingProfileConcurrency ( array $params = [] )
- Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.
- UpdateRoutingProfileDefaultOutboundQueue ( array $params = [] )
- Updates the default outbound queue of a routing profile.
- UpdateRoutingProfileName ( array $params = [] )
- Updates the name and description of a routing profile.
- UpdateRoutingProfileQueues ( array $params = [] )
- Updates the properties associated with a set of queues for a routing profile.
- UpdateRule ( array $params = [] )
- Updates a rule for the specified Amazon Connect instance.
- UpdateSecurityProfile ( array $params = [] )
- Updates a security profile.
- UpdateTaskTemplate ( array $params = [] )
- Updates details about a specific task template in the specified Amazon Connect instance.
- UpdateTrafficDistribution ( array $params = [] )
- Updates the traffic distribution for a given traffic distribution group.
- UpdateUserHierarchy ( array $params = [] )
- Assigns the specified hierarchy group to the specified user.
- UpdateUserHierarchyGroupName ( array $params = [] )
- Updates the name of the user hierarchy group.
- UpdateUserHierarchyStructure ( array $params = [] )
- Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.
- UpdateUserIdentityInfo ( array $params = [] )
- Updates the identity information for the specified user.
- UpdateUserPhoneConfig ( array $params = [] )
- Updates the phone configuration settings for the specified user.
- UpdateUserProficiencies ( array $params = [] )
- Updates the properties associated with the proficiencies of a user.
- UpdateUserRoutingProfile ( array $params = [] )
- Assigns the specified routing profile to the specified user.
- UpdateUserSecurityProfiles ( array $params = [] )
- Assigns the specified security profiles to the specified user.
- UpdateViewContent ( array $params = [] )
- Updates the view content of the given view identifier in the specified Amazon Connect instance.
- UpdateViewMetadata ( array $params = [] )
- Updates the view metadata.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
- GetCurrentMetricData
- GetCurrentUserData
- GetMetricData
- GetMetricDataV2
- ListAgentStatuses
- ListApprovedOrigins
- ListAuthenticationProfiles
- ListBots
- ListContactEvaluations
- ListContactFlowModules
- ListContactFlows
- ListContactReferences
- ListDefaultVocabularies
- ListEvaluationFormVersions
- ListEvaluationForms
- ListFlowAssociations
- ListHoursOfOperations
- ListInstanceAttributes
- ListInstanceStorageConfigs
- ListInstances
- ListIntegrationAssociations
- ListLambdaFunctions
- ListLexBots
- ListPhoneNumbers
- ListPhoneNumbersV2
- ListPredefinedAttributes
- ListPrompts
- ListQueueQuickConnects
- ListQueues
- ListQuickConnects
- ListRealtimeContactAnalysisSegmentsV2
- ListRoutingProfileQueues
- ListRoutingProfiles
- ListRules
- ListSecurityKeys
- ListSecurityProfileApplications
- ListSecurityProfilePermissions
- ListSecurityProfiles
- ListTaskTemplates
- ListTrafficDistributionGroupUsers
- ListTrafficDistributionGroups
- ListUseCases
- ListUserHierarchyGroups
- ListUserProficiencies
- ListUsers
- ListViewVersions
- ListViews
- SearchAgentStatuses
- SearchAvailablePhoneNumbers
- SearchContactFlowModules
- SearchContactFlows
- SearchContacts
- SearchHoursOfOperations
- SearchPredefinedAttributes
- SearchPrompts
- SearchQueues
- SearchQuickConnects
- SearchResourceTags
- SearchRoutingProfiles
- SearchSecurityProfiles
- SearchUserHierarchyGroups
- SearchUsers
- SearchVocabularies
Operations
ActivateEvaluationForm
$result = $client->activateEvaluationForm
([/* ... */]); $promise = $client->activateEvaluationFormAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->activateEvaluationForm([ 'EvaluationFormId' => '<string>', // REQUIRED 'EvaluationFormVersion' => <integer>, // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
The version of the evaluation form to activate. If the version property is not provided, the latest version of the evaluation form is activated.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', 'EvaluationFormVersion' => <integer>, ]
Result Details
Members
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the evaluation form resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
A version of the evaluation form.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceConflictException:
A resource already has that name.
AssociateAnalyticsDataSet
$result = $client->associateAnalyticsDataSet
([/* ... */]); $promise = $client->associateAnalyticsDataSetAsync
([/* ... */]);
Associates the specified dataset for a Amazon Connect instance with the target account. You can associate only one dataset in a single call.
Parameter Syntax
$result = $client->associateAnalyticsDataSet([ 'DataSetId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'TargetAccountId' => '<string>', ]);
Parameter Details
Members
- DataSetId
-
- Required: Yes
- Type: string
The identifier of the dataset to associate with the target account.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TargetAccountId
-
- Type: string
The identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
Result Syntax
[ 'DataSetId' => '<string>', 'ResourceShareArn' => '<string>', 'ResourceShareId' => '<string>', 'TargetAccountId' => '<string>', ]
Result Details
Members
- DataSetId
-
- Type: string
The identifier of the dataset that was associated.
- ResourceShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the Resource Access Manager share.
- ResourceShareId
-
- Type: string
The Resource Access Manager share ID that is generated.
- TargetAccountId
-
- Type: string
The identifier of the target account.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
AssociateApprovedOrigin
$result = $client->associateApprovedOrigin
([/* ... */]); $promise = $client->associateApprovedOriginAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Associates an approved origin to an Amazon Connect instance.
Parameter Syntax
$result = $client->associateApprovedOrigin([ 'InstanceId' => '<string>', // REQUIRED 'Origin' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Origin
-
- Required: Yes
- Type: string
The domain to add to your allow list.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
AssociateBot
$result = $client->associateBot
([/* ... */]); $promise = $client->associateBotAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->associateBot([ 'InstanceId' => '<string>', // REQUIRED 'LexBot' => [ 'LexRegion' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED ], 'LexV2Bot' => [ 'AliasArn' => '<string>', ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LexBot
-
- Type: LexBot structure
Configuration information of an Amazon Lex bot.
- LexV2Bot
-
- Type: LexV2Bot structure
The Amazon Lex V2 bot to associate with the instance.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
AssociateDefaultVocabulary
$result = $client->associateDefaultVocabulary
([/* ... */]); $promise = $client->associateDefaultVocabularyAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->associateDefaultVocabulary([ 'InstanceId' => '<string>', // REQUIRED 'LanguageCode' => 'ar-AE|de-CH|de-DE|en-AB|en-AU|en-GB|en-IE|en-IN|en-US|en-WL|es-ES|es-US|fr-CA|fr-FR|hi-IN|it-IT|ja-JP|ko-KR|pt-BR|pt-PT|zh-CN|en-NZ|en-ZA|ca-ES|da-DK|fi-FI|id-ID|ms-MY|nl-NL|no-NO|pl-PL|sv-SE|tl-PH', // REQUIRED 'VocabularyId' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LanguageCode
-
- Required: Yes
- Type: string
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- VocabularyId
-
- Type: string
The identifier of the custom vocabulary. If this is empty, the default is set to none.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
AssociateFlow
$result = $client->associateFlow
([/* ... */]); $promise = $client->associateFlowAsync
([/* ... */]);
Associates a connect resource to a flow.
Parameter Syntax
$result = $client->associateFlow([ 'FlowId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'ResourceId' => '<string>', // REQUIRED 'ResourceType' => 'SMS_PHONE_NUMBER', // REQUIRED ]);
Parameter Details
Members
- FlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceId
-
- Required: Yes
- Type: string
The identifier of the resource.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
AssociateInstanceStorageConfig
$result = $client->associateInstanceStorageConfig
([/* ... */]); $promise = $client->associateInstanceStorageConfigAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->associateInstanceStorageConfig([ 'InstanceId' => '<string>', // REQUIRED 'ResourceType' => 'CHAT_TRANSCRIPTS|CALL_RECORDINGS|SCHEDULED_REPORTS|MEDIA_STREAMS|CONTACT_TRACE_RECORDS|AGENT_EVENTS|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS|ATTACHMENTS|CONTACT_EVALUATIONS|SCREEN_RECORDINGS|REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS|REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS', // REQUIRED 'StorageConfig' => [ // REQUIRED 'AssociationId' => '<string>', 'KinesisFirehoseConfig' => [ 'FirehoseArn' => '<string>', // REQUIRED ], 'KinesisStreamConfig' => [ 'StreamArn' => '<string>', // REQUIRED ], 'KinesisVideoStreamConfig' => [ 'EncryptionConfig' => [ // REQUIRED 'EncryptionType' => 'KMS', // REQUIRED 'KeyId' => '<string>', // REQUIRED ], 'Prefix' => '<string>', // REQUIRED 'RetentionPeriodHours' => <integer>, // REQUIRED ], 'S3Config' => [ 'BucketName' => '<string>', // REQUIRED 'BucketPrefix' => '<string>', // REQUIRED 'EncryptionConfig' => [ 'EncryptionType' => 'KMS', // REQUIRED 'KeyId' => '<string>', // REQUIRED ], ], 'StorageType' => 'S3|KINESIS_VIDEO_STREAM|KINESIS_STREAM|KINESIS_FIREHOSE', // REQUIRED ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type. To enable streaming for real-time analysis of contacts, use the following types:
-
For chat contacts, use
REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS
. -
For voice contacts, use
REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.
REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
is deprecated, but it is still supported and will apply only to VOICE channel contacts. UseREAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
for voice contacts moving forward.If you have previously associated a stream with
REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
, no action is needed to update the stream toREAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
. - StorageConfig
-
- Required: Yes
- Type: InstanceStorageConfig structure
A valid storage type.
Result Syntax
[ 'AssociationId' => '<string>', ]
Result Details
Members
- AssociationId
-
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
AssociateLambdaFunction
$result = $client->associateLambdaFunction
([/* ... */]); $promise = $client->associateLambdaFunctionAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->associateLambdaFunction([ 'FunctionArn' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- FunctionArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
AssociateLexBot
$result = $client->associateLexBot
([/* ... */]); $promise = $client->associateLexBotAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->associateLexBot([ 'InstanceId' => '<string>', // REQUIRED 'LexBot' => [ // REQUIRED 'LexRegion' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LexBot
-
- Required: Yes
- Type: LexBot structure
The Amazon Lex bot to associate with the instance.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
AssociatePhoneNumberContactFlow
$result = $client->associatePhoneNumberContactFlow
([/* ... */]); $promise = $client->associatePhoneNumberContactFlowAsync
([/* ... */]);
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
.
Parameter Syntax
$result = $client->associatePhoneNumberContactFlow([ 'ContactFlowId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'PhoneNumberId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PhoneNumberId
-
- Required: Yes
- Type: string
A unique identifier for the phone number.
Result Syntax
[]
Result Details
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
AssociateQueueQuickConnects
$result = $client->associateQueueQuickConnects
([/* ... */]); $promise = $client->associateQueueQuickConnectsAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Associates a set of quick connects with a queue.
Parameter Syntax
$result = $client->associateQueueQuickConnects([ 'InstanceId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED 'QuickConnectIds' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
- QuickConnectIds
-
- Required: Yes
- Type: Array of strings
The quick connects to associate with this queue.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
AssociateRoutingProfileQueues
$result = $client->associateRoutingProfileQueues
([/* ... */]); $promise = $client->associateRoutingProfileQueuesAsync
([/* ... */]);
Associates a set of queues with a routing profile.
Parameter Syntax
$result = $client->associateRoutingProfileQueues([ 'InstanceId' => '<string>', // REQUIRED 'QueueConfigs' => [ // REQUIRED [ 'Delay' => <integer>, // REQUIRED 'Priority' => <integer>, // REQUIRED 'QueueReference' => [ // REQUIRED 'Channel' => 'VOICE|CHAT|TASK', // REQUIRED 'QueueId' => '<string>', // REQUIRED ], ], // ... ], 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueConfigs
-
- Required: Yes
- Type: Array of RoutingProfileQueueConfig structures
The queues to associate with this routing profile.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
AssociateSecurityKey
$result = $client->associateSecurityKey
([/* ... */]); $promise = $client->associateSecurityKeyAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Associates a security key to the instance.
Parameter Syntax
$result = $client->associateSecurityKey([ 'InstanceId' => '<string>', // REQUIRED 'Key' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Key
-
- Required: Yes
- Type: string
A valid security key in PEM format as a String.
Result Syntax
[ 'AssociationId' => '<string>', ]
Result Details
Members
- AssociationId
-
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
AssociateTrafficDistributionGroupUser
$result = $client->associateTrafficDistributionGroupUser
([/* ... */]); $promise = $client->associateTrafficDistributionGroupUserAsync
([/* ... */]);
Associates an agent with a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.
Parameter Syntax
$result = $client->associateTrafficDistributionGroupUser([ 'InstanceId' => '<string>', // REQUIRED 'TrafficDistributionGroupId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TrafficDistributionGroupId
-
- Required: Yes
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account. This can be the ID or the ARN of the user.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
AssociateUserProficiencies
$result = $client->associateUserProficiencies
([/* ... */]); $promise = $client->associateUserProficienciesAsync
([/* ... */]);
>Associates a set of proficiencies with a user.
Parameter Syntax
$result = $client->associateUserProficiencies([ 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED 'UserProficiencies' => [ // REQUIRED [ 'AttributeName' => '<string>', // REQUIRED 'AttributeValue' => '<string>', // REQUIRED 'Level' => <float>, // REQUIRED ], // ... ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN of the instance).
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
- UserProficiencies
-
- Required: Yes
- Type: Array of UserProficiency structures
The proficiencies to associate with the user.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
BatchAssociateAnalyticsDataSet
$result = $client->batchAssociateAnalyticsDataSet
([/* ... */]); $promise = $client->batchAssociateAnalyticsDataSetAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->batchAssociateAnalyticsDataSet([ 'DataSetIds' => ['<string>', ...], // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'TargetAccountId' => '<string>', ]);
Parameter Details
Members
- DataSetIds
-
- Required: Yes
- Type: Array of strings
An array of dataset identifiers to associate.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TargetAccountId
-
- Type: string
The identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
Result Syntax
[ 'Created' => [ [ 'DataSetId' => '<string>', 'ResourceShareArn' => '<string>', 'ResourceShareId' => '<string>', 'TargetAccountId' => '<string>', ], // ... ], 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', ], // ... ], ]
Result Details
Members
- Created
-
- Type: Array of AnalyticsDataAssociationResult structures
Information about associations that are successfully created:
DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
. - Errors
-
- Type: Array of ErrorResult structures
A list of errors for datasets that aren't successfully associated with the target account.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
BatchDisassociateAnalyticsDataSet
$result = $client->batchDisassociateAnalyticsDataSet
([/* ... */]); $promise = $client->batchDisassociateAnalyticsDataSetAsync
([/* ... */]);
Removes a list of analytics datasets associated with a given Amazon Connect instance. You can disassociate multiple datasets in a single call.
Parameter Syntax
$result = $client->batchDisassociateAnalyticsDataSet([ 'DataSetIds' => ['<string>', ...], // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'TargetAccountId' => '<string>', ]);
Parameter Details
Members
- DataSetIds
-
- Required: Yes
- Type: Array of strings
An array of associated dataset identifiers to remove.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TargetAccountId
-
- Type: string
The identifier of the target account. Use to disassociate a dataset from a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
Result Syntax
[ 'Deleted' => ['<string>', ...], 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', ], // ... ], ]
Result Details
Members
- Deleted
-
- Type: Array of strings
An array of successfully disassociated dataset identifiers.
- Errors
-
- Type: Array of ErrorResult structures
A list of errors for any datasets not successfully removed.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
BatchGetAttachedFileMetadata
$result = $client->batchGetAttachedFileMetadata
([/* ... */]); $promise = $client->batchGetAttachedFileMetadataAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->batchGetAttachedFileMetadata([ 'AssociatedResourceArn' => '<string>', // REQUIRED 'FileIds' => ['<string>', ...], // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AssociatedResourceArn
-
- Required: Yes
- Type: string
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- FileIds
-
- Required: Yes
- Type: Array of strings
The unique identifiers of the attached file resource.
- InstanceId
-
- Required: Yes
- Type: string
The unique identifier of the Connect instance.
Result Syntax
[ 'Errors' => [ [ 'ErrorCode' => '<string>', 'ErrorMessage' => '<string>', 'FileId' => '<string>', ], // ... ], 'Files' => [ [ 'AssociatedResourceArn' => '<string>', 'CreatedBy' => [ 'AWSIdentityArn' => '<string>', 'ConnectUserArn' => '<string>', ], 'CreationTime' => '<string>', 'FileArn' => '<string>', 'FileId' => '<string>', 'FileName' => '<string>', 'FileSizeInBytes' => <integer>, 'FileStatus' => 'APPROVED|REJECTED|PROCESSING|FAILED', 'FileUseCaseType' => 'ATTACHMENT', 'Tags' => ['<string>', ...], ], // ... ], ]
Result Details
Members
- Errors
-
- Type: Array of AttachedFileError structures
List of errors of attached files that could not be retrieved.
- Files
-
- Type: Array of AttachedFile structures
List of attached files that were successfully retrieved.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
BatchGetFlowAssociation
$result = $client->batchGetFlowAssociation
([/* ... */]); $promise = $client->batchGetFlowAssociationAsync
([/* ... */]);
Retrieve the flow associations for the given resources.
Parameter Syntax
$result = $client->batchGetFlowAssociation([ 'InstanceId' => '<string>', // REQUIRED 'ResourceIds' => ['<string>', ...], // REQUIRED 'ResourceType' => 'VOICE_PHONE_NUMBER', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceIds
-
- Required: Yes
- Type: Array of strings
A list of resource identifiers to retrieve flow associations.
- ResourceType
-
- Type: string
The type of resource association.
Result Syntax
[ 'FlowAssociationSummaryList' => [ [ 'FlowId' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'VOICE_PHONE_NUMBER', ], // ... ], ]
Result Details
Members
- FlowAssociationSummaryList
-
- Type: Array of FlowAssociationSummary structures
Information about flow associations.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
BatchPutContact
$result = $client->batchPutContact
([/* ... */]); $promise = $client->batchPutContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->batchPutContact([ 'ClientToken' => '<string>', 'ContactDataRequestList' => [ // REQUIRED [ 'Attributes' => ['<string>', ...], 'Campaign' => [ 'CampaignId' => '<string>', ], 'CustomerEndpoint' => [ 'Address' => '<string>', 'Type' => 'TELEPHONE_NUMBER|VOIP|CONTACT_FLOW|CONNECT_PHONENUMBER_ARN', ], 'QueueId' => '<string>', 'RequestIdentifier' => '<string>', 'SystemEndpoint' => [ 'Address' => '<string>', 'Type' => 'TELEPHONE_NUMBER|VOIP|CONTACT_FLOW|CONNECT_PHONENUMBER_ARN', ], ], // ... ], 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactDataRequestList
-
- Required: Yes
- Type: Array of ContactDataRequest structures
List of individual contact requests.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'FailedRequestList' => [ [ 'FailureReasonCode' => 'INVALID_ATTRIBUTE_KEY|INVALID_CUSTOMER_ENDPOINT|INVALID_SYSTEM_ENDPOINT|INVALID_QUEUE|MISSING_CAMPAIGN|MISSING_CUSTOMER_ENDPOINT|MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT|REQUEST_THROTTLED|IDEMPOTENCY_EXCEPTION|INTERNAL_ERROR', 'FailureReasonMessage' => '<string>', 'RequestIdentifier' => '<string>', ], // ... ], 'SuccessfulRequestList' => [ [ 'ContactId' => '<string>', 'RequestIdentifier' => '<string>', ], // ... ], ]
Result Details
Members
- FailedRequestList
-
- Type: Array of FailedRequest structures
List of requests for which contact creation failed.
- SuccessfulRequestList
-
- Type: Array of SuccessfulRequest structures
List of requests for which contact was successfully created.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- IdempotencyException:
An entity with the same name already exists.
ClaimPhoneNumber
$result = $client->claimPhoneNumber
([/* ... */]); $promise = $client->claimPhoneNumberAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->claimPhoneNumber([ 'ClientToken' => '<string>', 'InstanceId' => '<string>', 'PhoneNumber' => '<string>', // REQUIRED 'PhoneNumberDescription' => '<string>', 'Tags' => ['<string>', ...], 'TargetArn' => '<string>', ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Pattern:
^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter
InstanceId
orTargetArn
. - PhoneNumber
-
- Required: Yes
- Type: string
The phone number you want to claim. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
. - PhoneNumberDescription
-
- Type: string
The description of the phone number.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter
InstanceId
orTargetArn
.
Result Syntax
[ 'PhoneNumberArn' => '<string>', 'PhoneNumberId' => '<string>', ]
Result Details
Members
- PhoneNumberArn
-
- Type: string
The Amazon Resource Name (ARN) of the phone number.
- PhoneNumberId
-
- Type: string
A unique identifier for the phone number.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- IdempotencyException:
An entity with the same name already exists.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
CompleteAttachedFileUpload
$result = $client->completeAttachedFileUpload
([/* ... */]); $promise = $client->completeAttachedFileUploadAsync
([/* ... */]);
Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.
Parameter Syntax
$result = $client->completeAttachedFileUpload([ 'AssociatedResourceArn' => '<string>', // REQUIRED 'FileId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AssociatedResourceArn
-
- Required: Yes
- Type: string
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- FileId
-
- Required: Yes
- Type: string
The unique identifier of the attached file resource.
- InstanceId
-
- Required: Yes
- Type: string
The unique identifier of the Amazon Connect instance.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
CreateAgentStatus
$result = $client->createAgentStatus
([/* ... */]); $promise = $client->createAgentStatusAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Creates an agent status for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->createAgentStatus([ 'Description' => '<string>', 'DisplayOrder' => <integer>, 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'State' => 'ENABLED|DISABLED', // REQUIRED 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the status.
- DisplayOrder
-
- Type: int
The display order of the status.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the status.
- State
-
- Required: Yes
- Type: string
The state of the status.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'AgentStatusARN' => '<string>', 'AgentStatusId' => '<string>', ]
Result Details
Members
- AgentStatusARN
-
- Type: string
The Amazon Resource Name (ARN) of the agent status.
- AgentStatusId
-
- Type: string
The identifier of the agent status.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateContactFlow
$result = $client->createContactFlow
([/* ... */]); $promise = $client->createContactFlowAsync
([/* ... */]);
Creates a flow for the specified Amazon Connect instance.
You can also create and update flows using the Amazon Connect Flow language.
Parameter Syntax
$result = $client->createContactFlow([ 'Content' => '<string>', // REQUIRED 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], 'Type' => 'CONTACT_FLOW|CUSTOMER_QUEUE|CUSTOMER_HOLD|CUSTOMER_WHISPER|AGENT_HOLD|AGENT_WHISPER|OUTBOUND_WHISPER|AGENT_TRANSFER|QUEUE_TRANSFER', // REQUIRED ]);
Parameter Details
Members
- Content
-
- Required: Yes
- Type: string
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
- Description
-
- Type: string
The description of the flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance.
- Name
-
- Required: Yes
- Type: string
The name of the flow.
- Status
-
- Type: string
Indicates the flow status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content. theSAVED
status does not initiate validation of the content.SAVED
|PUBLISHED
. - Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Type
-
- Required: Yes
- Type: string
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
Result Syntax
[ 'ContactFlowArn' => '<string>', 'ContactFlowId' => '<string>', ]
Result Details
Members
- ContactFlowArn
-
- Type: string
The Amazon Resource Name (ARN) of the flow.
- ContactFlowId
-
- Type: string
The identifier of the flow.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidContactFlowException:
The flow is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateContactFlowModule
$result = $client->createContactFlowModule
([/* ... */]); $promise = $client->createContactFlowModuleAsync
([/* ... */]);
Creates a flow module for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->createContactFlowModule([ 'ClientToken' => '<string>', 'Content' => '<string>', // REQUIRED 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Content
-
- Required: Yes
- Type: string
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
- Description
-
- Type: string
The description of the flow module.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the flow module.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'Arn' => '<string>', 'Id' => '<string>', ]
Result Details
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the flow module.
- Id
-
- Type: string
The identifier of the flow module.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidContactFlowModuleException:
The problems with the module. Please fix before trying again.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- IdempotencyException:
An entity with the same name already exists.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateEvaluationForm
$result = $client->createEvaluationForm
([/* ... */]); $promise = $client->createEvaluationFormAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createEvaluationForm([ 'ClientToken' => '<string>', 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Items' => [ // REQUIRED [ 'Question' => [ 'Instructions' => '<string>', 'NotApplicableEnabled' => true || false, 'QuestionType' => 'TEXT|SINGLESELECT|NUMERIC', // REQUIRED 'QuestionTypeProperties' => [ 'Numeric' => [ 'Automation' => [ 'PropertyValue' => [ 'Label' => 'OVERALL_CUSTOMER_SENTIMENT_SCORE|OVERALL_AGENT_SENTIMENT_SCORE|NON_TALK_TIME|NON_TALK_TIME_PERCENTAGE|NUMBER_OF_INTERRUPTIONS|CONTACT_DURATION|AGENT_INTERACTION_DURATION|CUSTOMER_HOLD_TIME', // REQUIRED ], ], 'MaxValue' => <integer>, // REQUIRED 'MinValue' => <integer>, // REQUIRED 'Options' => [ [ 'AutomaticFail' => true || false, 'MaxValue' => <integer>, // REQUIRED 'MinValue' => <integer>, // REQUIRED 'Score' => <integer>, ], // ... ], ], 'SingleSelect' => [ 'Automation' => [ 'DefaultOptionRefId' => '<string>', 'Options' => [ // REQUIRED [ 'RuleCategory' => [ 'Category' => '<string>', // REQUIRED 'Condition' => 'PRESENT|NOT_PRESENT', // REQUIRED 'OptionRefId' => '<string>', // REQUIRED ], ], // ... ], ], 'DisplayAs' => 'DROPDOWN|RADIO', 'Options' => [ // REQUIRED [ 'AutomaticFail' => true || false, 'RefId' => '<string>', // REQUIRED 'Score' => <integer>, 'Text' => '<string>', // REQUIRED ], // ... ], ], ], 'RefId' => '<string>', // REQUIRED 'Title' => '<string>', // REQUIRED 'Weight' => <float>, ], 'Section' => [ 'Instructions' => '<string>', 'Items' => [...], // REQUIRED, RECURSIVE 'RefId' => '<string>', // REQUIRED 'Title' => '<string>', // REQUIRED 'Weight' => <float>, ], ], // ... ], 'ScoringStrategy' => [ 'Mode' => 'QUESTION_ONLY|SECTION_ONLY', // REQUIRED 'Status' => 'ENABLED|DISABLED', // REQUIRED ], 'Title' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Description
-
- Type: string
The description of the evaluation form.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Items
-
- Required: Yes
- Type: Array of EvaluationFormItem structures
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- ScoringStrategy
-
- Type: EvaluationFormScoringStrategy structure
A scoring strategy of the evaluation form.
- Title
-
- Required: Yes
- Type: string
A title of the evaluation form.
Result Syntax
[ 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', ]
Result Details
Members
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the evaluation form resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
Errors
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ResourceConflictException:
A resource already has that name.
CreateHoursOfOperation
$result = $client->createHoursOfOperation
([/* ... */]); $promise = $client->createHoursOfOperationAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Creates hours of operation.
Parameter Syntax
$result = $client->createHoursOfOperation([ 'Config' => [ // REQUIRED [ 'Day' => 'SUNDAY|MONDAY|TUESDAY|WEDNESDAY|THURSDAY|FRIDAY|SATURDAY', // REQUIRED 'EndTime' => [ // REQUIRED 'Hours' => <integer>, // REQUIRED 'Minutes' => <integer>, // REQUIRED ], 'StartTime' => [ // REQUIRED 'Hours' => <integer>, // REQUIRED 'Minutes' => <integer>, // REQUIRED ], ], // ... ], 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], 'TimeZone' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Config
-
- Required: Yes
- Type: Array of HoursOfOperationConfig structures
Configuration information for the hours of operation: day, start time, and end time.
- Description
-
- Type: string
The description of the hours of operation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the hours of operation.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- TimeZone
-
- Required: Yes
- Type: string
The time zone of the hours of operation.
Result Syntax
[ 'HoursOfOperationArn' => '<string>', 'HoursOfOperationId' => '<string>', ]
Result Details
Members
- HoursOfOperationArn
-
- Type: string
The Amazon Resource Name (ARN) for the hours of operation.
- HoursOfOperationId
-
- Type: string
The identifier for the hours of operation.
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateInstance
$result = $client->createInstance
([/* ... */]); $promise = $client->createInstanceAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createInstance([ 'ClientToken' => '<string>', 'DirectoryId' => '<string>', 'IdentityManagementType' => 'SAML|CONNECT_MANAGED|EXISTING_DIRECTORY', // REQUIRED 'InboundCallsEnabled' => true || false, // REQUIRED 'InstanceAlias' => '<string>', 'OutboundCallsEnabled' => true || false, // REQUIRED 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- ClientToken
-
- Type: string
The idempotency token.
- DirectoryId
-
- Type: string
The identifier for the directory.
- IdentityManagementType
-
- Required: Yes
- Type: string
The type of identity management for your Amazon Connect users.
- InboundCallsEnabled
-
- Required: Yes
- Type: boolean
Your contact center handles incoming contacts.
- InstanceAlias
-
- Type: string
The name for your instance.
- OutboundCallsEnabled
-
- Required: Yes
- Type: boolean
Your contact center allows outbound calls.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example,
{ "tags": {"key1":"value1", "key2":"value2"} }
.
Result Syntax
[ 'Arn' => '<string>', 'Id' => '<string>', ]
Result Details
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the instance.
- Id
-
- Type: string
The identifier for the instance.
Errors
- InvalidRequestException:
The request is not valid.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateIntegrationAssociation
$result = $client->createIntegrationAssociation
([/* ... */]); $promise = $client->createIntegrationAssociationAsync
([/* ... */]);
Creates an Amazon Web Services resource association with an Amazon Connect instance.
Parameter Syntax
$result = $client->createIntegrationAssociation([ 'InstanceId' => '<string>', // REQUIRED 'IntegrationArn' => '<string>', // REQUIRED 'IntegrationType' => 'EVENT|VOICE_ID|PINPOINT_APP|WISDOM_ASSISTANT|WISDOM_KNOWLEDGE_BASE|WISDOM_QUICK_RESPONSES|CASES_DOMAIN|APPLICATION|FILE_SCANNER', // REQUIRED 'SourceApplicationName' => '<string>', 'SourceApplicationUrl' => '<string>', 'SourceType' => 'SALESFORCE|ZENDESK|CASES', 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IntegrationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
- IntegrationType
-
- Required: Yes
- Type: string
The type of information to be ingested.
- SourceApplicationName
-
- Type: string
The name of the external application. This field is only required for the EVENT integration type.
- SourceApplicationUrl
-
- Type: string
The URL for the external application. This field is only required for the EVENT integration type.
- SourceType
-
- Type: string
The type of the data source. This field is only required for the EVENT integration type.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'IntegrationAssociationArn' => '<string>', 'IntegrationAssociationId' => '<string>', ]
Result Details
Members
- IntegrationAssociationArn
-
- Type: string
The Amazon Resource Name (ARN) for the association.
- IntegrationAssociationId
-
- Type: string
The identifier for the integration association.
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
CreateParticipant
$result = $client->createParticipant
([/* ... */]); $promise = $client->createParticipantAsync
([/* ... */]);
Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants.
Parameter Syntax
$result = $client->createParticipant([ 'ClientToken' => '<string>', 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'ParticipantDetails' => [ // REQUIRED 'DisplayName' => '<string>', 'ParticipantRole' => 'AGENT|CUSTOMER|SYSTEM|CUSTOM_BOT|SUPERVISOR', ], ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ParticipantDetails
-
- Required: Yes
- Type: ParticipantDetailsToAdd structure
Information identifying the participant.
The only Valid value for
ParticipantRole
isCUSTOM_BOT
.DisplayName
is Required.
Result Syntax
[ 'ParticipantCredentials' => [ 'Expiry' => '<string>', 'ParticipantToken' => '<string>', ], 'ParticipantId' => '<string>', ]
Result Details
Members
- ParticipantCredentials
-
- Type: ParticipantTokenCredentials structure
The token used by the chat participant to call
CreateParticipantConnection
. The participant token is valid for the lifetime of a chat participant. - ParticipantId
-
- Type: string
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
CreatePersistentContactAssociation
$result = $client->createPersistentContactAssociation
([/* ... */]); $promise = $client->createPersistentContactAssociationAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createPersistentContactAssociation([ 'ClientToken' => '<string>', 'InitialContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'RehydrationType' => 'ENTIRE_PAST_SESSION|FROM_SEGMENT', // REQUIRED 'SourceContactId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- InitialContactId
-
- Required: Yes
- Type: string
This is the contactId of the current contact that the
CreatePersistentContactAssociation
API is being called from. - InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RehydrationType
-
- Required: Yes
- Type: string
The contactId chosen for rehydration depends on the type chosen.
-
ENTIRE_PAST_SESSION
: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactId
of the past ended chat session in thesourceContactId
field. In this type, Amazon Connect determines what the most recent chat contact on the past ended chat session and uses it to start a persistent chat. -
FROM_SEGMENT
: Rehydrates a chat from the specified past chat contact provided in thesourceContactId
field.
The actual contactId used for rehydration is provided in the response of this API.
To illustrate how to use rehydration type, consider the following example: A customer starts a chat session. Agent a1 accepts the chat and a conversation starts between the customer and Agent a1. This first contact creates a contact ID C1. Agent a1 then transfers the chat to Agent a2. This creates another contact ID C2. At this point Agent a2 ends the chat. The customer is forwarded to the disconnect flow for a post chat survey that creates another contact ID C3. After the chat survey, the chat session ends. Later, the customer returns and wants to resume their past chat session. At this point, the customer can have following use cases:
-
Use Case 1: The customer wants to continue the past chat session but they want to hide the post chat survey. For this they will use the following configuration:
-
Configuration
-
SourceContactId = "C2"
-
RehydrationType = "FROM_SEGMENT"
-
-
Expected behavior
-
This starts a persistent chat session from the specified past ended contact (C2). Transcripts of past chat sessions C2 and C1 are accessible in the current persistent chat session. Note that chat segment C3 is dropped from the persistent chat session.
-
-
-
Use Case 2: The customer wants to continue the past chat session and see the transcript of the entire past engagement, including the post chat survey. For this they will use the following configuration:
-
Configuration
-
SourceContactId = "C1"
-
RehydrationType = "ENTIRE_PAST_SESSION"
-
-
Expected behavior
-
This starts a persistent chat session from the most recently ended chat contact (C3). Transcripts of past chat sessions C3, C2 and C1 are accessible in the current persistent chat session.
-
-
- SourceContactId
-
- Required: Yes
- Type: string
The contactId from which a persistent chat session must be started.
Result Syntax
[ 'ContinuedFromContactId' => '<string>', ]
Result Details
Members
- ContinuedFromContactId
-
- Type: string
The contactId from which a persistent chat session is started. This field is populated only for persistent chat.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreatePredefinedAttribute
$result = $client->createPredefinedAttribute
([/* ... */]); $promise = $client->createPredefinedAttributeAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createPredefinedAttribute([ 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Values' => [ // REQUIRED 'StringList' => ['<string>', ...], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the predefined attribute.
- Values
-
- Required: Yes
- Type: PredefinedAttributeValues structure
The values of the predefined attribute.
Result Syntax
[]
Result Details
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreatePrompt
$result = $client->createPrompt
([/* ... */]); $promise = $client->createPromptAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createPrompt([ 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'S3Uri' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the prompt.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the prompt.
- S3Uri
-
- Required: Yes
- Type: string
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'PromptARN' => '<string>', 'PromptId' => '<string>', ]
Result Details
Members
- PromptARN
-
- Type: string
The Amazon Resource Name (ARN) of the prompt.
- PromptId
-
- Type: string
A unique identifier for the prompt.
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateQueue
$result = $client->createQueue
([/* ... */]); $promise = $client->createQueueAsync
([/* ... */]);
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 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 aResourceNotFoundException
. -
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.
Parameter Syntax
$result = $client->createQueue([ 'Description' => '<string>', 'HoursOfOperationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'MaxContacts' => <integer>, 'Name' => '<string>', // REQUIRED 'OutboundCallerConfig' => [ 'OutboundCallerIdName' => '<string>', 'OutboundCallerIdNumberId' => '<string>', 'OutboundFlowId' => '<string>', ], 'QuickConnectIds' => ['<string>', ...], 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the queue.
- HoursOfOperationId
-
- Required: Yes
- Type: string
The identifier for the hours of operation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxContacts
-
- Type: int
The maximum number of contacts that can be in the queue before it is considered full.
- Name
-
- Required: Yes
- Type: string
The name of the queue.
- OutboundCallerConfig
-
- Type: OutboundCallerConfig structure
The outbound caller ID name, number, and outbound whisper flow.
- QuickConnectIds
-
- Type: Array of strings
The quick connects available to agents who are working the queue.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'QueueArn' => '<string>', 'QueueId' => '<string>', ]
Result Details
Members
- QueueArn
-
- Type: string
The Amazon Resource Name (ARN) of the queue.
- QueueId
-
- Type: string
The identifier for the queue.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateQuickConnect
$result = $client->createQuickConnect
([/* ... */]); $promise = $client->createQuickConnectAsync
([/* ... */]);
Creates a quick connect for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->createQuickConnect([ 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'QuickConnectConfig' => [ // REQUIRED 'PhoneConfig' => [ 'PhoneNumber' => '<string>', // REQUIRED ], 'QueueConfig' => [ 'ContactFlowId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED ], 'QuickConnectType' => 'USER|QUEUE|PHONE_NUMBER', // REQUIRED 'UserConfig' => [ 'ContactFlowId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ], ], 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the quick connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
A unique name of the quick connect.
- QuickConnectConfig
-
- Required: Yes
- Type: QuickConnectConfig structure
Configuration settings for the quick connect.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'QuickConnectARN' => '<string>', 'QuickConnectId' => '<string>', ]
Result Details
Members
- QuickConnectARN
-
- Type: string
The Amazon Resource Name (ARN) for the quick connect.
- QuickConnectId
-
- Type: string
The identifier for the quick connect.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateRoutingProfile
$result = $client->createRoutingProfile
([/* ... */]); $promise = $client->createRoutingProfileAsync
([/* ... */]);
Creates a new routing profile.
Parameter Syntax
$result = $client->createRoutingProfile([ 'AgentAvailabilityTimer' => 'TIME_SINCE_LAST_ACTIVITY|TIME_SINCE_LAST_INBOUND', 'DefaultOutboundQueueId' => '<string>', // REQUIRED 'Description' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'MediaConcurrencies' => [ // REQUIRED [ 'Channel' => 'VOICE|CHAT|TASK', // REQUIRED 'Concurrency' => <integer>, // REQUIRED 'CrossChannelBehavior' => [ 'BehaviorType' => 'ROUTE_CURRENT_CHANNEL_ONLY|ROUTE_ANY_CHANNEL', // REQUIRED ], ], // ... ], 'Name' => '<string>', // REQUIRED 'QueueConfigs' => [ [ 'Delay' => <integer>, // REQUIRED 'Priority' => <integer>, // REQUIRED 'QueueReference' => [ // REQUIRED 'Channel' => 'VOICE|CHAT|TASK', // REQUIRED 'QueueId' => '<string>', // REQUIRED ], ], // ... ], 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- AgentAvailabilityTimer
-
- Type: string
Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
- DefaultOutboundQueueId
-
- Required: Yes
- Type: string
The default outbound queue for the routing profile.
- Description
-
- Required: Yes
- Type: string
Description of the routing profile. Must not be more than 250 characters.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MediaConcurrencies
-
- Required: Yes
- Type: Array of MediaConcurrency structures
The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
- Name
-
- Required: Yes
- Type: string
The name of the routing profile. Must not be more than 127 characters.
- QueueConfigs
-
- Type: Array of RoutingProfileQueueConfig structures
The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
The limit of 10 array members applies to the maximum number of
RoutingProfileQueueConfig
objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per routing profile per instance that is listed in Amazon Connect service quotas. - Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'RoutingProfileArn' => '<string>', 'RoutingProfileId' => '<string>', ]
Result Details
Members
- RoutingProfileArn
-
- Type: string
The Amazon Resource Name (ARN) of the routing profile.
- RoutingProfileId
-
- Type: string
The identifier of the routing profile.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateRule
$result = $client->createRule
([/* ... */]); $promise = $client->createRuleAsync
([/* ... */]);
Creates a rule for the specified Amazon Connect instance.
Use the Rules Function language to code conditions for the rule.
Parameter Syntax
$result = $client->createRule([ 'Actions' => [ // REQUIRED [ 'ActionType' => 'CREATE_TASK|ASSIGN_CONTACT_CATEGORY|GENERATE_EVENTBRIDGE_EVENT|SEND_NOTIFICATION|CREATE_CASE|UPDATE_CASE|END_ASSOCIATED_TASKS|SUBMIT_AUTO_EVALUATION', // REQUIRED 'AssignContactCategoryAction' => [ ], 'CreateCaseAction' => [ 'Fields' => [ // REQUIRED [ 'Id' => '<string>', // REQUIRED 'Value' => [ // REQUIRED 'BooleanValue' => true || false, 'DoubleValue' => <float>, 'EmptyValue' => [ ], 'StringValue' => '<string>', ], ], // ... ], 'TemplateId' => '<string>', // REQUIRED ], 'EndAssociatedTasksAction' => [ ], 'EventBridgeAction' => [ 'Name' => '<string>', // REQUIRED ], 'SendNotificationAction' => [ 'Content' => '<string>', // REQUIRED 'ContentType' => 'PLAIN_TEXT', // REQUIRED 'DeliveryMethod' => 'EMAIL', // REQUIRED 'Recipient' => [ // REQUIRED 'UserIds' => ['<string>', ...], 'UserTags' => ['<string>', ...], ], 'Subject' => '<string>', ], 'SubmitAutoEvaluationAction' => [ 'EvaluationFormId' => '<string>', // REQUIRED ], 'TaskAction' => [ 'ContactFlowId' => '<string>', // REQUIRED 'Description' => '<string>', 'Name' => '<string>', // REQUIRED 'References' => [ '<ReferenceKey>' => [ 'Type' => 'URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], ], 'UpdateCaseAction' => [ 'Fields' => [ // REQUIRED [ 'Id' => '<string>', // REQUIRED 'Value' => [ // REQUIRED 'BooleanValue' => true || false, 'DoubleValue' => <float>, 'EmptyValue' => [ ], 'StringValue' => '<string>', ], ], // ... ], ], ], // ... ], 'ClientToken' => '<string>', 'Function' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'PublishStatus' => 'DRAFT|PUBLISHED', // REQUIRED 'TriggerEventSource' => [ // REQUIRED 'EventSourceName' => 'OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate|OnContactEvaluationSubmit|OnMetricDataUpdate|OnCaseCreate|OnCaseUpdate', // REQUIRED 'IntegrationAssociationId' => '<string>', ], ]);
Parameter Details
Members
- Actions
-
- Required: Yes
- Type: Array of RuleAction structures
A list of actions to be run when the rule is triggered.
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Function
-
- Required: Yes
- Type: string
The conditions of the rule.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
A unique name for the rule.
- PublishStatus
-
- Required: Yes
- Type: string
The publish status of the rule.
- TriggerEventSource
-
- Required: Yes
- Type: RuleTriggerEventSource structure
The event source to trigger the rule.
Result Syntax
[ 'RuleArn' => '<string>', 'RuleId' => '<string>', ]
Result Details
Members
- RuleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the rule.
- RuleId
-
- Required: Yes
- Type: string
A unique identifier for the rule.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceConflictException:
A resource already has that name.
- ServiceQuotaExceededException:
The service quota has been exceeded.
CreateSecurityProfile
$result = $client->createSecurityProfile
([/* ... */]); $promise = $client->createSecurityProfileAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createSecurityProfile([ 'AllowedAccessControlHierarchyGroupId' => '<string>', 'AllowedAccessControlTags' => ['<string>', ...], 'Applications' => [ [ 'ApplicationPermissions' => ['<string>', ...], 'Namespace' => '<string>', ], // ... ], 'Description' => '<string>', 'HierarchyRestrictedResources' => ['<string>', ...], 'InstanceId' => '<string>', // REQUIRED 'Permissions' => ['<string>', ...], 'SecurityProfileName' => '<string>', // REQUIRED 'TagRestrictedResources' => ['<string>', ...], 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- AllowedAccessControlHierarchyGroupId
-
- Type: string
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
- AllowedAccessControlTags
-
- Type: Associative array of custom strings keys (SecurityProfilePolicyKey) to strings
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
- Applications
-
- Type: Array of Application structures
A list of third-party applications that the security profile will give access to.
- Description
-
- Type: string
The description of the security profile.
- HierarchyRestrictedResources
-
- Type: Array of strings
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
. - InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Permissions
-
- Type: Array of strings
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
- SecurityProfileName
-
- Required: Yes
- Type: string
The name of the security profile.
- TagRestrictedResources
-
- Type: Array of strings
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
|SecurityProfile
|Queue
|RoutingProfile
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'SecurityProfileArn' => '<string>', 'SecurityProfileId' => '<string>', ]
Result Details
Members
- SecurityProfileArn
-
- Type: string
The Amazon Resource Name (ARN) for the security profile.
- SecurityProfileId
-
- Type: string
The identifier for the security profle.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateTaskTemplate
$result = $client->createTaskTemplate
([/* ... */]); $promise = $client->createTaskTemplateAsync
([/* ... */]);
Creates a new task template in the specified Amazon Connect instance.
Parameter Syntax
$result = $client->createTaskTemplate([ 'ClientToken' => '<string>', 'Constraints' => [ 'InvisibleFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'ReadOnlyFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'RequiredFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'ContactFlowId' => '<string>', 'Defaults' => [ 'DefaultFieldValues' => [ [ 'DefaultValue' => '<string>', 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'Description' => '<string>', 'Fields' => [ // REQUIRED [ 'Description' => '<string>', 'Id' => [ // REQUIRED 'Name' => '<string>', ], 'SingleSelectOptions' => ['<string>', ...], 'Type' => 'NAME|DESCRIPTION|SCHEDULED_TIME|QUICK_CONNECT|URL|NUMBER|TEXT|TEXT_AREA|DATE_TIME|BOOLEAN|SINGLE_SELECT|EMAIL', ], // ... ], 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Status' => 'ACTIVE|INACTIVE', ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Constraints
-
- Type: TaskTemplateConstraints structure
Constraints that are applicable to the fields listed.
- ContactFlowId
-
- Type: string
The identifier of the flow that runs by default when a task is created by referencing this template.
- Defaults
-
- Type: TaskTemplateDefaults structure
The default values for fields when a task is created by referencing this template.
- Description
-
- Type: string
The description of the task template.
- Fields
-
- Required: Yes
- Type: Array of TaskTemplateField structures
Fields that are part of the template.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the task template.
- Status
-
- Type: string
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.
Result Syntax
[ 'Arn' => '<string>', 'Id' => '<string>', ]
Result Details
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the task template resource.
- Id
-
- Required: Yes
- Type: string
The identifier of the task template resource.
Errors
- PropertyValidationException:
The property is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateTrafficDistributionGroup
$result = $client->createTrafficDistributionGroup
([/* ... */]); $promise = $client->createTrafficDistributionGroupAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createTrafficDistributionGroup([ 'ClientToken' => '<string>', 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Description
-
- Type: string
A description for the traffic distribution group.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance that has been replicated. You can find the
instanceId
in the ARN of the instance. - Name
-
- Required: Yes
- Type: string
The name for the traffic distribution group.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'Arn' => '<string>', 'Id' => '<string>', ]
Result Details
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the traffic distribution group.
- Id
-
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceConflictException:
A resource already has that name.
- ResourceNotReadyException:
The resource is not ready.
CreateUseCase
$result = $client->createUseCase
([/* ... */]); $promise = $client->createUseCaseAsync
([/* ... */]);
Creates a use case for an integration association.
Parameter Syntax
$result = $client->createUseCase([ 'InstanceId' => '<string>', // REQUIRED 'IntegrationAssociationId' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], 'UseCaseType' => 'RULES_EVALUATION|CONNECT_CAMPAIGNS', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IntegrationAssociationId
-
- Required: Yes
- Type: string
The identifier for the integration association.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- UseCaseType
-
- Required: Yes
- Type: string
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
Result Syntax
[ 'UseCaseArn' => '<string>', 'UseCaseId' => '<string>', ]
Result Details
Members
- UseCaseArn
-
- Type: string
The Amazon Resource Name (ARN) for the use case.
- UseCaseId
-
- Type: string
The identifier of the use case.
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
CreateUser
$result = $client->createUser
([/* ... */]); $promise = $client->createUserAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createUser([ 'DirectoryUserId' => '<string>', 'HierarchyGroupId' => '<string>', 'IdentityInfo' => [ 'Email' => '<string>', 'FirstName' => '<string>', 'LastName' => '<string>', 'Mobile' => '<string>', 'SecondaryEmail' => '<string>', ], 'InstanceId' => '<string>', // REQUIRED 'Password' => '<string>', 'PhoneConfig' => [ // REQUIRED 'AfterContactWorkTimeLimit' => <integer>, 'AutoAccept' => true || false, 'DeskPhoneNumber' => '<string>', 'PhoneType' => 'SOFT_PHONE|DESK_PHONE', // REQUIRED ], 'RoutingProfileId' => '<string>', // REQUIRED 'SecurityProfileIds' => ['<string>', ...], // REQUIRED 'Tags' => ['<string>', ...], 'Username' => '<string>', // REQUIRED ]);
Parameter Details
Members
- DirectoryUserId
-
- Type: string
The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.
This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.
- HierarchyGroupId
-
- Type: string
The identifier of the hierarchy group for the user.
- IdentityInfo
-
- Type: UserIdentityInfo structure
The information about the identity of the user.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Password
-
- Type: string
The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
- PhoneConfig
-
- Required: Yes
- Type: UserPhoneConfig structure
The phone settings for the user.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile for the user.
- SecurityProfileIds
-
- Required: Yes
- Type: Array of strings
The identifier of the security profile for the user.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Username
-
- Required: Yes
- Type: string
The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\@]+.
Username can include @ only if used in an email format. For example:
-
Correct: testuser
-
Correct: testuser@example.com
-
Incorrect: testuser@example
Result Syntax
[ 'UserArn' => '<string>', 'UserId' => '<string>', ]
Result Details
Members
- UserArn
-
- Type: string
The Amazon Resource Name (ARN) of the user account.
- UserId
-
- Type: string
The identifier of the user account.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateUserHierarchyGroup
$result = $client->createUserHierarchyGroup
([/* ... */]); $promise = $client->createUserHierarchyGroupAsync
([/* ... */]);
Creates a new user hierarchy group.
Parameter Syntax
$result = $client->createUserHierarchyGroup([ 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'ParentGroupId' => '<string>', 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the user hierarchy group. Must not be more than 100 characters.
- ParentGroupId
-
- Type: string
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'HierarchyGroupArn' => '<string>', 'HierarchyGroupId' => '<string>', ]
Result Details
Members
- HierarchyGroupArn
-
- Type: string
The Amazon Resource Name (ARN) of the hierarchy group.
- HierarchyGroupId
-
- Type: string
The identifier of the hierarchy group.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
CreateView
$result = $client->createView
([/* ... */]); $promise = $client->createViewAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createView([ 'ClientToken' => '<string>', 'Content' => [ // REQUIRED 'Actions' => ['<string>', ...], 'Template' => '<string>', ], 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Status' => 'PUBLISHED|SAVED', // REQUIRED 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
- Content
-
- Required: Yes
- Type: ViewInputContent structure
View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
- Description
-
- Type: string
The description of the view.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the view.
- Status
-
- Required: Yes
- Type: string
Indicates the view status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content. - Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'View' => [ 'Arn' => '<string>', 'Content' => [ 'Actions' => ['<string>', ...], 'InputSchema' => '<string>', 'Template' => '<string>', ], 'CreatedTime' => <DateTime>, 'Description' => '<string>', 'Id' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], 'Type' => 'CUSTOMER_MANAGED|AWS_MANAGED', 'Version' => <integer>, 'VersionDescription' => '<string>', 'ViewContentSha256' => '<string>', ], ]
Result Details
Members
- View
-
- Type: View structure
A view resource object. Contains metadata and content necessary to render the view.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- DuplicateResourceException:
A resource with the specified name already exists.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
- ResourceInUseException:
That resource is already in use. Please try another.
CreateViewVersion
$result = $client->createViewVersion
([/* ... */]); $promise = $client->createViewVersionAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createViewVersion([ 'InstanceId' => '<string>', // REQUIRED 'VersionDescription' => '<string>', 'ViewContentSha256' => '<string>', 'ViewId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- VersionDescription
-
- Type: string
The description for the version being published.
- ViewContentSha256
-
- Type: string
Indicates the checksum value of the latest published view content.
- ViewId
-
- Required: Yes
- Type: string
The identifier of the view. Both
ViewArn
andViewId
can be used.
Result Syntax
[ 'View' => [ 'Arn' => '<string>', 'Content' => [ 'Actions' => ['<string>', ...], 'InputSchema' => '<string>', 'Template' => '<string>', ], 'CreatedTime' => <DateTime>, 'Description' => '<string>', 'Id' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], 'Type' => 'CUSTOMER_MANAGED|AWS_MANAGED', 'Version' => <integer>, 'VersionDescription' => '<string>', 'ViewContentSha256' => '<string>', ], ]
Result Details
Members
- View
-
- Type: View structure
All view data is contained within the View object.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ResourceInUseException:
That resource is already in use. Please try another.
CreateVocabulary
$result = $client->createVocabulary
([/* ... */]); $promise = $client->createVocabularyAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->createVocabulary([ 'ClientToken' => '<string>', 'Content' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'LanguageCode' => 'ar-AE|de-CH|de-DE|en-AB|en-AU|en-GB|en-IE|en-IN|en-US|en-WL|es-ES|es-US|fr-CA|fr-FR|hi-IN|it-IT|ja-JP|ko-KR|pt-BR|pt-PT|zh-CN|en-NZ|en-ZA|ca-ES|da-DK|fi-FI|id-ID|ms-MY|nl-NL|no-NO|pl-PL|sv-SE|tl-PH', // REQUIRED 'Tags' => ['<string>', ...], 'VocabularyName' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
- Content
-
- Required: Yes
- Type: string
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with
Phrase
,IPA
,SoundsLike
, andDisplayAs
fields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table. - InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LanguageCode
-
- Required: Yes
- Type: string
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- VocabularyName
-
- Required: Yes
- Type: string
A unique name of the custom vocabulary.
Result Syntax
[ 'State' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED|DELETE_IN_PROGRESS', 'VocabularyArn' => '<string>', 'VocabularyId' => '<string>', ]
Result Details
Members
- State
-
- Required: Yes
- Type: string
The current state of the custom vocabulary.
- VocabularyArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the custom vocabulary.
- VocabularyId
-
- Required: Yes
- Type: string
The identifier of the custom vocabulary.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceConflictException:
A resource already has that name.
- ServiceQuotaExceededException:
The service quota has been exceeded.
DeactivateEvaluationForm
$result = $client->deactivateEvaluationForm
([/* ... */]); $promise = $client->deactivateEvaluationFormAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->deactivateEvaluationForm([ 'EvaluationFormId' => '<string>', // REQUIRED 'EvaluationFormVersion' => <integer>, // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
A version of the evaluation form. If the version property is not provided, the latest version of the evaluation form is deactivated.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', 'EvaluationFormVersion' => <integer>, ]
Result Details
Members
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the evaluation form resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
The version of the deactivated evaluation form resource.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceConflictException:
A resource already has that name.
DeleteAttachedFile
$result = $client->deleteAttachedFile
([/* ... */]); $promise = $client->deleteAttachedFileAsync
([/* ... */]);
Deletes an attached file along with the underlying S3 Object.
The attached file is permanently deleted if S3 bucket versioning is not enabled.
Parameter Syntax
$result = $client->deleteAttachedFile([ 'AssociatedResourceArn' => '<string>', // REQUIRED 'FileId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AssociatedResourceArn
-
- Required: Yes
- Type: string
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- FileId
-
- Required: Yes
- Type: string
The unique identifier of the attached file resource.
- InstanceId
-
- Required: Yes
- Type: string
The unique identifier of the Connect instance.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
DeleteContactEvaluation
$result = $client->deleteContactEvaluation
([/* ... */]); $promise = $client->deleteContactEvaluationAsync
([/* ... */]);
Deletes a contact evaluation in the specified Amazon Connect instance.
Parameter Syntax
$result = $client->deleteContactEvaluation([ 'EvaluationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceConflictException:
A resource already has that name.
DeleteContactFlow
$result = $client->deleteContactFlow
([/* ... */]); $promise = $client->deleteContactFlowAsync
([/* ... */]);
Deletes a flow for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->deleteContactFlow([ 'ContactFlowId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
DeleteContactFlowModule
$result = $client->deleteContactFlowModule
([/* ... */]); $promise = $client->deleteContactFlowModuleAsync
([/* ... */]);
Deletes the specified flow module.
Parameter Syntax
$result = $client->deleteContactFlowModule([ 'ContactFlowModuleId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowModuleId
-
- Required: Yes
- Type: string
The identifier of the flow module.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteEvaluationForm
$result = $client->deleteEvaluationForm
([/* ... */]); $promise = $client->deleteEvaluationFormAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->deleteEvaluationForm([ 'EvaluationFormId' => '<string>', // REQUIRED 'EvaluationFormVersion' => <integer>, 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Type: int
The unique identifier for the evaluation form.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceConflictException:
A resource already has that name.
DeleteHoursOfOperation
$result = $client->deleteHoursOfOperation
([/* ... */]); $promise = $client->deleteHoursOfOperationAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Deletes an hours of operation.
Parameter Syntax
$result = $client->deleteHoursOfOperation([ 'HoursOfOperationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HoursOfOperationId
-
- Required: Yes
- Type: string
The identifier for the hours of operation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteInstance
$result = $client->deleteInstance
([/* ... */]); $promise = $client->deleteInstanceAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->deleteInstance([ 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
DeleteIntegrationAssociation
$result = $client->deleteIntegrationAssociation
([/* ... */]); $promise = $client->deleteIntegrationAssociationAsync
([/* ... */]);
Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have any use cases associated with it.
Parameter Syntax
$result = $client->deleteIntegrationAssociation([ 'InstanceId' => '<string>', // REQUIRED 'IntegrationAssociationId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IntegrationAssociationId
-
- Required: Yes
- Type: string
The identifier for the integration association.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DeletePredefinedAttribute
$result = $client->deletePredefinedAttribute
([/* ... */]); $promise = $client->deletePredefinedAttributeAsync
([/* ... */]);
Deletes a predefined attribute from the specified Amazon Connect instance.
Parameter Syntax
$result = $client->deletePredefinedAttribute([ 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the predefined attribute.
Result Syntax
[]
Result Details
Errors
- ResourceInUseException:
That resource is already in use. Please try another.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeletePrompt
$result = $client->deletePrompt
([/* ... */]); $promise = $client->deletePromptAsync
([/* ... */]);
Deletes a prompt.
Parameter Syntax
$result = $client->deletePrompt([ 'InstanceId' => '<string>', // REQUIRED 'PromptId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PromptId
-
- Required: Yes
- Type: string
A unique identifier for the prompt.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteQueue
$result = $client->deleteQueue
([/* ... */]); $promise = $client->deleteQueueAsync
([/* ... */]);
Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website.
Parameter Syntax
$result = $client->deleteQueue([ 'InstanceId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceInUseException:
That resource is already in use. Please try another.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteQuickConnect
$result = $client->deleteQuickConnect
([/* ... */]); $promise = $client->deleteQuickConnectAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->deleteQuickConnect([ 'InstanceId' => '<string>', // REQUIRED 'QuickConnectId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QuickConnectId
-
- Required: Yes
- Type: string
The identifier for the quick connect.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteRoutingProfile
$result = $client->deleteRoutingProfile
([/* ... */]); $promise = $client->deleteRoutingProfileAsync
([/* ... */]);
Deletes a routing profile.
Parameter Syntax
$result = $client->deleteRoutingProfile([ 'InstanceId' => '<string>', // REQUIRED 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceInUseException:
That resource is already in use. Please try another.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteRule
$result = $client->deleteRule
([/* ... */]); $promise = $client->deleteRuleAsync
([/* ... */]);
Deletes a rule for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->deleteRule([ 'InstanceId' => '<string>', // REQUIRED 'RuleId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RuleId
-
- Required: Yes
- Type: string
A unique identifier for the rule.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
DeleteSecurityProfile
$result = $client->deleteSecurityProfile
([/* ... */]); $promise = $client->deleteSecurityProfileAsync
([/* ... */]);
Deletes a security profile.
Parameter Syntax
$result = $client->deleteSecurityProfile([ 'InstanceId' => '<string>', // REQUIRED 'SecurityProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- SecurityProfileId
-
- Required: Yes
- Type: string
The identifier for the security profle.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceInUseException:
That resource is already in use. Please try another.
DeleteTaskTemplate
$result = $client->deleteTaskTemplate
([/* ... */]); $promise = $client->deleteTaskTemplateAsync
([/* ... */]);
Deletes the task template.
Parameter Syntax
$result = $client->deleteTaskTemplate([ 'InstanceId' => '<string>', // REQUIRED 'TaskTemplateId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TaskTemplateId
-
- Required: Yes
- Type: string
A unique identifier for the task template.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteTrafficDistributionGroup
$result = $client->deleteTrafficDistributionGroup
([/* ... */]); $promise = $client->deleteTrafficDistributionGroupAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->deleteTrafficDistributionGroup([ 'TrafficDistributionGroupId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TrafficDistributionGroupId
-
- Required: Yes
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceInUseException:
That resource is already in use. Please try another.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteUseCase
$result = $client->deleteUseCase
([/* ... */]); $promise = $client->deleteUseCaseAsync
([/* ... */]);
Deletes a use case from an integration association.
Parameter Syntax
$result = $client->deleteUseCase([ 'InstanceId' => '<string>', // REQUIRED 'IntegrationAssociationId' => '<string>', // REQUIRED 'UseCaseId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IntegrationAssociationId
-
- Required: Yes
- Type: string
The identifier for the integration association.
- UseCaseId
-
- Required: Yes
- Type: string
The identifier for the use case.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DeleteUser
$result = $client->deleteUser
([/* ... */]); $promise = $client->deleteUserAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->deleteUser([ 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteUserHierarchyGroup
$result = $client->deleteUserHierarchyGroup
([/* ... */]); $promise = $client->deleteUserHierarchyGroupAsync
([/* ... */]);
Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.
Parameter Syntax
$result = $client->deleteUserHierarchyGroup([ 'HierarchyGroupId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HierarchyGroupId
-
- Required: Yes
- Type: string
The identifier of the hierarchy group.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceInUseException:
That resource is already in use. Please try another.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DeleteView
$result = $client->deleteView
([/* ... */]); $promise = $client->deleteViewAsync
([/* ... */]);
Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
Parameter Syntax
$result = $client->deleteView([ 'InstanceId' => '<string>', // REQUIRED 'ViewId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- ViewId
-
- Required: Yes
- Type: string
The identifier of the view. Both
ViewArn
andViewId
can be used.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
- ResourceInUseException:
That resource is already in use. Please try another.
DeleteViewVersion
$result = $client->deleteViewVersion
([/* ... */]); $promise = $client->deleteViewVersionAsync
([/* ... */]);
Deletes the particular version specified in ViewVersion
identifier.
Parameter Syntax
$result = $client->deleteViewVersion([ 'InstanceId' => '<string>', // REQUIRED 'ViewId' => '<string>', // REQUIRED 'ViewVersion' => <integer>, // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- ViewId
-
- Required: Yes
- Type: string
The identifier of the view. Both
ViewArn
andViewId
can be used. - ViewVersion
-
- Required: Yes
- Type: int
The version number of the view.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
- ResourceInUseException:
That resource is already in use. Please try another.
DeleteVocabulary
$result = $client->deleteVocabulary
([/* ... */]); $promise = $client->deleteVocabularyAsync
([/* ... */]);
Deletes the vocabulary that has the given identifier.
Parameter Syntax
$result = $client->deleteVocabulary([ 'InstanceId' => '<string>', // REQUIRED 'VocabularyId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- VocabularyId
-
- Required: Yes
- Type: string
The identifier of the custom vocabulary.
Result Syntax
[ 'State' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED|DELETE_IN_PROGRESS', 'VocabularyArn' => '<string>', 'VocabularyId' => '<string>', ]
Result Details
Members
- State
-
- Required: Yes
- Type: string
The current state of the custom vocabulary.
- VocabularyArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the custom vocabulary.
- VocabularyId
-
- Required: Yes
- Type: string
The identifier of the custom vocabulary.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceInUseException:
That resource is already in use. Please try another.
DescribeAgentStatus
$result = $client->describeAgentStatus
([/* ... */]); $promise = $client->describeAgentStatusAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Describes an agent status.
Parameter Syntax
$result = $client->describeAgentStatus([ 'AgentStatusId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AgentStatusId
-
- Required: Yes
- Type: string
The identifier for the agent status.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'AgentStatus' => [ 'AgentStatusARN' => '<string>', 'AgentStatusId' => '<string>', 'Description' => '<string>', 'DisplayOrder' => <integer>, 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'State' => 'ENABLED|DISABLED', 'Tags' => ['<string>', ...], 'Type' => 'ROUTABLE|CUSTOM|OFFLINE', ], ]
Result Details
Members
- AgentStatus
-
- Type: AgentStatus structure
The agent status.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeAuthenticationProfile
$result = $client->describeAuthenticationProfile
([/* ... */]); $promise = $client->describeAuthenticationProfileAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Describes the target authentication profile.
Parameter Syntax
$result = $client->describeAuthenticationProfile([ 'AuthenticationProfileId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AuthenticationProfileId
-
- Required: Yes
- Type: string
A unique identifier for the authentication profile.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'AuthenticationProfile' => [ 'AllowedIps' => ['<string>', ...], 'Arn' => '<string>', 'BlockedIps' => ['<string>', ...], 'CreatedTime' => <DateTime>, 'Description' => '<string>', 'Id' => '<string>', 'IsDefault' => true || false, 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'MaxSessionDuration' => <integer>, 'Name' => '<string>', 'PeriodicSessionDuration' => <integer>, ], ]
Result Details
Members
- AuthenticationProfile
-
- Type: AuthenticationProfile structure
The authentication profile object being described.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeContact
$result = $client->describeContact
([/* ... */]); $promise = $client->describeContactAsync
([/* ... */]);
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 from the InitiationTimestamp, and then it is deleted. Only contact information that is available in Amazon Connect is returned by this API
Parameter Syntax
$result = $client->describeContact([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'Contact' => [ 'AgentInfo' => [ 'AgentPauseDurationInSeconds' => <integer>, 'Capabilities' => [ 'ScreenShare' => 'SEND', 'Video' => 'SEND', ], 'ConnectedToAgentTimestamp' => <DateTime>, 'DeviceInfo' => [ 'OperatingSystem' => '<string>', 'PlatformName' => '<string>', 'PlatformVersion' => '<string>', ], 'HierarchyGroups' => [ 'Level1' => [ 'Arn' => '<string>', ], 'Level2' => [ 'Arn' => '<string>', ], 'Level3' => [ 'Arn' => '<string>', ], 'Level4' => [ 'Arn' => '<string>', ], 'Level5' => [ 'Arn' => '<string>', ], ], 'Id' => '<string>', ], 'AnsweringMachineDetectionStatus' => 'ANSWERED|UNDETECTED|ERROR|HUMAN_ANSWERED|SIT_TONE_DETECTED|SIT_TONE_BUSY|SIT_TONE_INVALID_NUMBER|FAX_MACHINE_DETECTED|VOICEMAIL_BEEP|VOICEMAIL_NO_BEEP|AMD_UNRESOLVED|AMD_UNANSWERED|AMD_ERROR|AMD_NOT_APPLICABLE', 'Arn' => '<string>', 'Campaign' => [ 'CampaignId' => '<string>', ], 'Channel' => 'VOICE|CHAT|TASK', 'ConnectedToSystemTimestamp' => <DateTime>, 'Customer' => [ 'Capabilities' => [ 'ScreenShare' => 'SEND', 'Video' => 'SEND', ], 'DeviceInfo' => [ 'OperatingSystem' => '<string>', 'PlatformName' => '<string>', 'PlatformVersion' => '<string>', ], ], 'CustomerVoiceActivity' => [ 'GreetingEndTimestamp' => <DateTime>, 'GreetingStartTimestamp' => <DateTime>, ], 'Description' => '<string>', 'DisconnectDetails' => [ 'PotentialDisconnectIssue' => '<string>', ], 'DisconnectTimestamp' => <DateTime>, 'Id' => '<string>', 'InitialContactId' => '<string>', 'InitiationMethod' => 'INBOUND|OUTBOUND|TRANSFER|QUEUE_TRANSFER|CALLBACK|API|DISCONNECT|MONITOR|EXTERNAL_OUTBOUND', 'InitiationTimestamp' => <DateTime>, 'LastPausedTimestamp' => <DateTime>, 'LastResumedTimestamp' => <DateTime>, 'LastUpdateTimestamp' => <DateTime>, 'Name' => '<string>', 'PreviousContactId' => '<string>', 'QualityMetrics' => [ 'Agent' => [ 'Audio' => [ 'PotentialQualityIssues' => ['<string>', ...], 'QualityScore' => <float>, ], ], 'Customer' => [ 'Audio' => [ 'PotentialQualityIssues' => ['<string>', ...], 'QualityScore' => <float>, ], ], ], 'QueueInfo' => [ 'EnqueueTimestamp' => <DateTime>, 'Id' => '<string>', ], 'QueuePriority' => <integer>, 'QueueTimeAdjustmentSeconds' => <integer>, 'RelatedContactId' => '<string>', 'RoutingCriteria' => [ 'ActivationTimestamp' => <DateTime>, 'Index' => <integer>, 'Steps' => [ [ 'Expiry' => [ 'DurationInSeconds' => <integer>, 'ExpiryTimestamp' => <DateTime>, ], 'Expression' => [ 'AndExpression' => [ [...], // RECURSIVE // ... ], 'AttributeCondition' => [ 'ComparisonOperator' => '<string>', 'MatchCriteria' => [ 'AgentsCriteria' => [ 'AgentIds' => ['<string>', ...], ], ], 'Name' => '<string>', 'ProficiencyLevel' => <float>, 'Value' => '<string>', ], 'OrExpression' => [ [...], // RECURSIVE // ... ], ], 'Status' => 'ACTIVE|INACTIVE|JOINED|EXPIRED', ], // ... ], ], 'ScheduledTimestamp' => <DateTime>, 'SegmentAttributes' => [ '<SegmentAttributeName>' => [ 'ValueString' => '<string>', ], // ... ], 'Tags' => ['<string>', ...], 'TotalPauseCount' => <integer>, 'TotalPauseDurationInSeconds' => <integer>, 'WisdomInfo' => [ 'SessionArn' => '<string>', ], ], ]
Result Details
Members
- Contact
-
- Type: Contact structure
Information about the contact.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
DescribeContactEvaluation
$result = $client->describeContactEvaluation
([/* ... */]); $promise = $client->describeContactEvaluationAsync
([/* ... */]);
Describes a contact evaluation in the specified Amazon Connect instance.
Parameter Syntax
$result = $client->describeContactEvaluation([ 'EvaluationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'Evaluation' => [ 'Answers' => [ '<ResourceId>' => [ 'SystemSuggestedValue' => [ 'NotApplicable' => true || false, 'NumericValue' => <float>, 'StringValue' => '<string>', ], 'Value' => [ 'NotApplicable' => true || false, 'NumericValue' => <float>, 'StringValue' => '<string>', ], ], // ... ], 'CreatedTime' => <DateTime>, 'EvaluationArn' => '<string>', 'EvaluationId' => '<string>', 'LastModifiedTime' => <DateTime>, 'Metadata' => [ 'ContactAgentId' => '<string>', 'ContactId' => '<string>', 'EvaluatorArn' => '<string>', 'Score' => [ 'AutomaticFail' => true || false, 'NotApplicable' => true || false, 'Percentage' => <float>, ], ], 'Notes' => [ '<ResourceId>' => [ 'Value' => '<string>', ], // ... ], 'Scores' => [ '<ResourceId>' => [ 'AutomaticFail' => true || false, 'NotApplicable' => true || false, 'Percentage' => <float>, ], // ... ], 'Status' => 'DRAFT|SUBMITTED', 'Tags' => ['<string>', ...], ], 'EvaluationForm' => [ 'Description' => '<string>', 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', 'EvaluationFormVersion' => <integer>, 'Items' => [ [ 'Question' => [ 'Instructions' => '<string>', 'NotApplicableEnabled' => true || false, 'QuestionType' => 'TEXT|SINGLESELECT|NUMERIC', 'QuestionTypeProperties' => [ 'Numeric' => [ 'Automation' => [ 'PropertyValue' => [ 'Label' => 'OVERALL_CUSTOMER_SENTIMENT_SCORE|OVERALL_AGENT_SENTIMENT_SCORE|NON_TALK_TIME|NON_TALK_TIME_PERCENTAGE|NUMBER_OF_INTERRUPTIONS|CONTACT_DURATION|AGENT_INTERACTION_DURATION|CUSTOMER_HOLD_TIME', ], ], 'MaxValue' => <integer>, 'MinValue' => <integer>, 'Options' => [ [ 'AutomaticFail' => true || false, 'MaxValue' => <integer>, 'MinValue' => <integer>, 'Score' => <integer>, ], // ... ], ], 'SingleSelect' => [ 'Automation' => [ 'DefaultOptionRefId' => '<string>', 'Options' => [ [ 'RuleCategory' => [ 'Category' => '<string>', 'Condition' => 'PRESENT|NOT_PRESENT', 'OptionRefId' => '<string>', ], ], // ... ], ], 'DisplayAs' => 'DROPDOWN|RADIO', 'Options' => [ [ 'AutomaticFail' => true || false, 'RefId' => '<string>', 'Score' => <integer>, 'Text' => '<string>', ], // ... ], ], ], 'RefId' => '<string>', 'Title' => '<string>', 'Weight' => <float>, ], 'Section' => [ 'Instructions' => '<string>', 'Items' => [...], // RECURSIVE 'RefId' => '<string>', 'Title' => '<string>', 'Weight' => <float>, ], ], // ... ], 'ScoringStrategy' => [ 'Mode' => 'QUESTION_ONLY|SECTION_ONLY', 'Status' => 'ENABLED|DISABLED', ], 'Title' => '<string>', ], ]
Result Details
Members
- Evaluation
-
- Required: Yes
- Type: Evaluation structure
Information about the evaluation form completed for a specific contact.
- EvaluationForm
-
- Required: Yes
- Type: EvaluationFormContent structure
Information about the evaluation form.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeContactFlow
$result = $client->describeContactFlow
([/* ... */]); $promise = $client->describeContactFlowAsync
([/* ... */]);
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
. Once a contact flow is published, $SAVED
needs to be supplied to view saved content that has not been published.
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
Parameter Syntax
$result = $client->describeContactFlow([ 'ContactFlowId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance.
Result Syntax
[ 'ContactFlow' => [ 'Arn' => '<string>', 'Content' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'Name' => '<string>', 'State' => 'ACTIVE|ARCHIVED', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], 'Type' => 'CONTACT_FLOW|CUSTOMER_QUEUE|CUSTOMER_HOLD|CUSTOMER_WHISPER|AGENT_HOLD|AGENT_WHISPER|OUTBOUND_WHISPER|AGENT_TRANSFER|QUEUE_TRANSFER', ], ]
Result Details
Members
- ContactFlow
-
- Type: ContactFlow structure
Information about the flow.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ContactFlowNotPublishedException:
The flow has not been published.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeContactFlowModule
$result = $client->describeContactFlowModule
([/* ... */]); $promise = $client->describeContactFlowModuleAsync
([/* ... */]);
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
. Once a contact flow is published, $SAVED
needs to be supplied to view saved content that has not been published.
Parameter Syntax
$result = $client->describeContactFlowModule([ 'ContactFlowModuleId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowModuleId
-
- Required: Yes
- Type: string
The identifier of the flow module.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'ContactFlowModule' => [ 'Arn' => '<string>', 'Content' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'Name' => '<string>', 'State' => 'ACTIVE|ARCHIVED', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- ContactFlowModule
-
- Type: ContactFlowModule structure
Information about the flow module.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeEvaluationForm
$result = $client->describeEvaluationForm
([/* ... */]); $promise = $client->describeEvaluationFormAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->describeEvaluationForm([ 'EvaluationFormId' => '<string>', // REQUIRED 'EvaluationFormVersion' => <integer>, 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- EvaluationFormId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
- EvaluationFormVersion
-
- Type: int
A version of the evaluation form.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'EvaluationForm' => [ 'CreatedBy' => '<string>', 'CreatedTime' => <DateTime>, 'Description' => '<string>', 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', 'EvaluationFormVersion' => <integer>, 'Items' => [ [ 'Question' => [ 'Instructions' => '<string>', 'NotApplicableEnabled' => true || false, 'QuestionType' => 'TEXT|SINGLESELECT|NUMERIC', 'QuestionTypeProperties' => [ 'Numeric' => [ 'Automation' => [ 'PropertyValue' => [ 'Label' => 'OVERALL_CUSTOMER_SENTIMENT_SCORE|OVERALL_AGENT_SENTIMENT_SCORE|NON_TALK_TIME|NON_TALK_TIME_PERCENTAGE|NUMBER_OF_INTERRUPTIONS|CONTACT_DURATION|AGENT_INTERACTION_DURATION|CUSTOMER_HOLD_TIME', ], ], 'MaxValue' => <integer>, 'MinValue' => <integer>, 'Options' => [ [ 'AutomaticFail' => true || false, 'MaxValue' => <integer>, 'MinValue' => <integer>, 'Score' => <integer>, ], // ... ], ], 'SingleSelect' => [ 'Automation' => [ 'DefaultOptionRefId' => '<string>', 'Options' => [ [ 'RuleCategory' => [ 'Category' => '<string>', 'Condition' => 'PRESENT|NOT_PRESENT', 'OptionRefId' => '<string>', ], ], // ... ], ], 'DisplayAs' => 'DROPDOWN|RADIO', 'Options' => [ [ 'AutomaticFail' => true || false, 'RefId' => '<string>', 'Score' => <integer>, 'Text' => '<string>', ], // ... ], ], ], 'RefId' => '<string>', 'Title' => '<string>', 'Weight' => <float>, ], 'Section' => [ 'Instructions' => '<string>', 'Items' => [...], // RECURSIVE 'RefId' => '<string>', 'Title' => '<string>', 'Weight' => <float>, ], ], // ... ], 'LastModifiedBy' => '<string>', 'LastModifiedTime' => <DateTime>, 'Locked' => true || false, 'ScoringStrategy' => [ 'Mode' => 'QUESTION_ONLY|SECTION_ONLY', 'Status' => 'ENABLED|DISABLED', ], 'Status' => 'DRAFT|ACTIVE', 'Tags' => ['<string>', ...], 'Title' => '<string>', ], ]
Result Details
Members
- EvaluationForm
-
- Required: Yes
- Type: EvaluationForm structure
Information about the evaluation form.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeHoursOfOperation
$result = $client->describeHoursOfOperation
([/* ... */]); $promise = $client->describeHoursOfOperationAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Describes the hours of operation.
Parameter Syntax
$result = $client->describeHoursOfOperation([ 'HoursOfOperationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HoursOfOperationId
-
- Required: Yes
- Type: string
The identifier for the hours of operation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'HoursOfOperation' => [ 'Config' => [ [ 'Day' => 'SUNDAY|MONDAY|TUESDAY|WEDNESDAY|THURSDAY|FRIDAY|SATURDAY', 'EndTime' => [ 'Hours' => <integer>, 'Minutes' => <integer>, ], 'StartTime' => [ 'Hours' => <integer>, 'Minutes' => <integer>, ], ], // ... ], 'Description' => '<string>', 'HoursOfOperationArn' => '<string>', 'HoursOfOperationId' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Tags' => ['<string>', ...], 'TimeZone' => '<string>', ], ]
Result Details
Members
- HoursOfOperation
-
- Type: HoursOfOperation structure
The hours of operation.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeInstance
$result = $client->describeInstance
([/* ... */]); $promise = $client->describeInstanceAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->describeInstance([ 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'Instance' => [ 'Arn' => '<string>', 'CreatedTime' => <DateTime>, 'Id' => '<string>', 'IdentityManagementType' => 'SAML|CONNECT_MANAGED|EXISTING_DIRECTORY', 'InboundCallsEnabled' => true || false, 'InstanceAccessUrl' => '<string>', 'InstanceAlias' => '<string>', 'InstanceStatus' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED', 'OutboundCallsEnabled' => true || false, 'ServiceRole' => '<string>', 'StatusReason' => [ 'Message' => '<string>', ], 'Tags' => ['<string>', ...], ], 'ReplicationConfiguration' => [ 'GlobalSignInEndpoint' => '<string>', 'ReplicationStatusSummaryList' => [ [ 'Region' => '<string>', 'ReplicationStatus' => 'INSTANCE_REPLICATION_COMPLETE|INSTANCE_REPLICATION_IN_PROGRESS|INSTANCE_REPLICATION_FAILED|INSTANCE_REPLICA_DELETING|INSTANCE_REPLICATION_DELETION_FAILED|RESOURCE_REPLICATION_NOT_STARTED', 'ReplicationStatusReason' => '<string>', ], // ... ], 'SourceRegion' => '<string>', ], ]
Result Details
Members
- Instance
-
- Type: Instance structure
The name of the instance.
- ReplicationConfiguration
-
- Type: ReplicationConfiguration structure
Status information about the replication process. This field is included only when you are using the ReplicateInstance API to replicate an Amazon Connect instance across Amazon Web Services Regions. For information about replicating Amazon Connect instances, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeInstanceAttribute
$result = $client->describeInstanceAttribute
([/* ... */]); $promise = $client->describeInstanceAttributeAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified instance attribute.
Parameter Syntax
$result = $client->describeInstanceAttribute([ 'AttributeType' => 'INBOUND_CALLS|OUTBOUND_CALLS|CONTACTFLOW_LOGS|CONTACT_LENS|AUTO_RESOLVE_BEST_VOICES|USE_CUSTOM_TTS_VOICES|EARLY_MEDIA|MULTI_PARTY_CONFERENCE|HIGH_VOLUME_OUTBOUND|ENHANCED_CONTACT_MONITORING|ENHANCED_CHAT_MONITORING', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AttributeType
-
- Required: Yes
- Type: string
The type of attribute.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'Attribute' => [ 'AttributeType' => 'INBOUND_CALLS|OUTBOUND_CALLS|CONTACTFLOW_LOGS|CONTACT_LENS|AUTO_RESOLVE_BEST_VOICES|USE_CUSTOM_TTS_VOICES|EARLY_MEDIA|MULTI_PARTY_CONFERENCE|HIGH_VOLUME_OUTBOUND|ENHANCED_CONTACT_MONITORING|ENHANCED_CHAT_MONITORING', 'Value' => '<string>', ], ]
Result Details
Members
- Attribute
-
- Type: Attribute structure
The type of attribute.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DescribeInstanceStorageConfig
$result = $client->describeInstanceStorageConfig
([/* ... */]); $promise = $client->describeInstanceStorageConfigAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->describeInstanceStorageConfig([ 'AssociationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'ResourceType' => 'CHAT_TRANSCRIPTS|CALL_RECORDINGS|SCHEDULED_REPORTS|MEDIA_STREAMS|CONTACT_TRACE_RECORDS|AGENT_EVENTS|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS|ATTACHMENTS|CONTACT_EVALUATIONS|SCREEN_RECORDINGS|REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS|REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS', // REQUIRED ]);
Parameter Details
Members
- AssociationId
-
- Required: Yes
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type.
Result Syntax
[ 'StorageConfig' => [ 'AssociationId' => '<string>', 'KinesisFirehoseConfig' => [ 'FirehoseArn' => '<string>', ], 'KinesisStreamConfig' => [ 'StreamArn' => '<string>', ], 'KinesisVideoStreamConfig' => [ 'EncryptionConfig' => [ 'EncryptionType' => 'KMS', 'KeyId' => '<string>', ], 'Prefix' => '<string>', 'RetentionPeriodHours' => <integer>, ], 'S3Config' => [ 'BucketName' => '<string>', 'BucketPrefix' => '<string>', 'EncryptionConfig' => [ 'EncryptionType' => 'KMS', 'KeyId' => '<string>', ], ], 'StorageType' => 'S3|KINESIS_VIDEO_STREAM|KINESIS_STREAM|KINESIS_FIREHOSE', ], ]
Result Details
Members
- StorageConfig
-
- Type: InstanceStorageConfig structure
A valid storage type.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DescribePhoneNumber
$result = $client->describePhoneNumber
([/* ... */]); $promise = $client->describePhoneNumberAsync
([/* ... */]);
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
.
Parameter Syntax
$result = $client->describePhoneNumber([ 'PhoneNumberId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- PhoneNumberId
-
- Required: Yes
- Type: string
A unique identifier for the phone number.
Result Syntax
[ 'ClaimedPhoneNumberSummary' => [ 'InstanceId' => '<string>', 'PhoneNumber' => '<string>', 'PhoneNumberArn' => '<string>', 'PhoneNumberCountryCode' => 'AF|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BA|BW|BR|IO|VG|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CK|CR|HR|CU|CW|CY|CZ|CD|DK|DJ|DM|DO|TL|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|PF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GU|GT|GG|GN|GW|GY|HT|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|CI|JM|JP|JE|JO|KZ|KE|KI|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|AN|NC|NZ|NI|NE|NG|NU|KP|MP|NO|OM|PK|PW|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|CG|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|KR|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TG|TK|TO|TT|TN|TR|TM|TC|TV|VI|UG|UA|AE|GB|US|UY|UZ|VU|VA|VE|VN|WF|EH|YE|ZM|ZW', 'PhoneNumberDescription' => '<string>', 'PhoneNumberId' => '<string>', 'PhoneNumberStatus' => [ 'Message' => '<string>', 'Status' => 'CLAIMED|IN_PROGRESS|FAILED', ], 'PhoneNumberType' => 'TOLL_FREE|DID|UIFN|SHARED|THIRD_PARTY_TF|THIRD_PARTY_DID|SHORT_CODE', 'SourcePhoneNumberArn' => '<string>', 'Tags' => ['<string>', ...], 'TargetArn' => '<string>', ], ]
Result Details
Members
- ClaimedPhoneNumberSummary
-
- Type: ClaimedPhoneNumberSummary structure
Information about a phone number that's been claimed to your Amazon Connect instance or traffic distribution group.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
DescribePredefinedAttribute
$result = $client->describePredefinedAttribute
([/* ... */]); $promise = $client->describePredefinedAttributeAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->describePredefinedAttribute([ 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the predefined attribute.
Result Syntax
[ 'PredefinedAttribute' => [ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Values' => [ 'StringList' => ['<string>', ...], ], ], ]
Result Details
Members
- PredefinedAttribute
-
- Type: PredefinedAttribute structure
Information about the predefined attribute.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribePrompt
$result = $client->describePrompt
([/* ... */]); $promise = $client->describePromptAsync
([/* ... */]);
Describes the prompt.
Parameter Syntax
$result = $client->describePrompt([ 'InstanceId' => '<string>', // REQUIRED 'PromptId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PromptId
-
- Required: Yes
- Type: string
A unique identifier for the prompt.
Result Syntax
[ 'Prompt' => [ 'Description' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'PromptARN' => '<string>', 'PromptId' => '<string>', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- Prompt
-
- Type: Prompt structure
Information about the prompt.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeQueue
$result = $client->describeQueue
([/* ... */]); $promise = $client->describeQueueAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified queue.
Parameter Syntax
$result = $client->describeQueue([ 'InstanceId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
Result Syntax
[ 'Queue' => [ 'Description' => '<string>', 'HoursOfOperationId' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'MaxContacts' => <integer>, 'Name' => '<string>', 'OutboundCallerConfig' => [ 'OutboundCallerIdName' => '<string>', 'OutboundCallerIdNumberId' => '<string>', 'OutboundFlowId' => '<string>', ], 'QueueArn' => '<string>', 'QueueId' => '<string>', 'Status' => 'ENABLED|DISABLED', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- Queue
-
- Type: Queue structure
The name of the queue.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeQuickConnect
$result = $client->describeQuickConnect
([/* ... */]); $promise = $client->describeQuickConnectAsync
([/* ... */]);
Describes the quick connect.
Parameter Syntax
$result = $client->describeQuickConnect([ 'InstanceId' => '<string>', // REQUIRED 'QuickConnectId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QuickConnectId
-
- Required: Yes
- Type: string
The identifier for the quick connect.
Result Syntax
[ 'QuickConnect' => [ 'Description' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'QuickConnectARN' => '<string>', 'QuickConnectConfig' => [ 'PhoneConfig' => [ 'PhoneNumber' => '<string>', ], 'QueueConfig' => [ 'ContactFlowId' => '<string>', 'QueueId' => '<string>', ], 'QuickConnectType' => 'USER|QUEUE|PHONE_NUMBER', 'UserConfig' => [ 'ContactFlowId' => '<string>', 'UserId' => '<string>', ], ], 'QuickConnectId' => '<string>', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- QuickConnect
-
- Type: QuickConnect structure
Information about the quick connect.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeRoutingProfile
$result = $client->describeRoutingProfile
([/* ... */]); $promise = $client->describeRoutingProfileAsync
([/* ... */]);
Describes the specified routing profile.
Parameter Syntax
$result = $client->describeRoutingProfile([ 'InstanceId' => '<string>', // REQUIRED 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[ 'RoutingProfile' => [ 'AgentAvailabilityTimer' => 'TIME_SINCE_LAST_ACTIVITY|TIME_SINCE_LAST_INBOUND', 'AssociatedQueueIds' => ['<string>', ...], 'DefaultOutboundQueueId' => '<string>', 'Description' => '<string>', 'InstanceId' => '<string>', 'IsDefault' => true || false, 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'MediaConcurrencies' => [ [ 'Channel' => 'VOICE|CHAT|TASK', 'Concurrency' => <integer>, 'CrossChannelBehavior' => [ 'BehaviorType' => 'ROUTE_CURRENT_CHANNEL_ONLY|ROUTE_ANY_CHANNEL', ], ], // ... ], 'Name' => '<string>', 'NumberOfAssociatedQueues' => <integer>, 'NumberOfAssociatedUsers' => <integer>, 'RoutingProfileArn' => '<string>', 'RoutingProfileId' => '<string>', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- RoutingProfile
-
- Type: RoutingProfile structure
The routing profile.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeRule
$result = $client->describeRule
([/* ... */]); $promise = $client->describeRuleAsync
([/* ... */]);
Describes a rule for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->describeRule([ 'InstanceId' => '<string>', // REQUIRED 'RuleId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RuleId
-
- Required: Yes
- Type: string
A unique identifier for the rule.
Result Syntax
[ 'Rule' => [ 'Actions' => [ [ 'ActionType' => 'CREATE_TASK|ASSIGN_CONTACT_CATEGORY|GENERATE_EVENTBRIDGE_EVENT|SEND_NOTIFICATION|CREATE_CASE|UPDATE_CASE|END_ASSOCIATED_TASKS|SUBMIT_AUTO_EVALUATION', 'AssignContactCategoryAction' => [ ], 'CreateCaseAction' => [ 'Fields' => [ [ 'Id' => '<string>', 'Value' => [ 'BooleanValue' => true || false, 'DoubleValue' => <float>, 'EmptyValue' => [ ], 'StringValue' => '<string>', ], ], // ... ], 'TemplateId' => '<string>', ], 'EndAssociatedTasksAction' => [ ], 'EventBridgeAction' => [ 'Name' => '<string>', ], 'SendNotificationAction' => [ 'Content' => '<string>', 'ContentType' => 'PLAIN_TEXT', 'DeliveryMethod' => 'EMAIL', 'Recipient' => [ 'UserIds' => ['<string>', ...], 'UserTags' => ['<string>', ...], ], 'Subject' => '<string>', ], 'SubmitAutoEvaluationAction' => [ 'EvaluationFormId' => '<string>', ], 'TaskAction' => [ 'ContactFlowId' => '<string>', 'Description' => '<string>', 'Name' => '<string>', 'References' => [ '<ReferenceKey>' => [ 'Type' => 'URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL', 'Value' => '<string>', ], // ... ], ], 'UpdateCaseAction' => [ 'Fields' => [ [ 'Id' => '<string>', 'Value' => [ 'BooleanValue' => true || false, 'DoubleValue' => <float>, 'EmptyValue' => [ ], 'StringValue' => '<string>', ], ], // ... ], ], ], // ... ], 'CreatedTime' => <DateTime>, 'Function' => '<string>', 'LastUpdatedBy' => '<string>', 'LastUpdatedTime' => <DateTime>, 'Name' => '<string>', 'PublishStatus' => 'DRAFT|PUBLISHED', 'RuleArn' => '<string>', 'RuleId' => '<string>', 'Tags' => ['<string>', ...], 'TriggerEventSource' => [ 'EventSourceName' => 'OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate|OnContactEvaluationSubmit|OnMetricDataUpdate|OnCaseCreate|OnCaseUpdate', 'IntegrationAssociationId' => '<string>', ], ], ]
Result Details
Members
- Rule
-
- Required: Yes
- Type: Rule structure
Information about the rule.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
DescribeSecurityProfile
$result = $client->describeSecurityProfile
([/* ... */]); $promise = $client->describeSecurityProfileAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->describeSecurityProfile([ 'InstanceId' => '<string>', // REQUIRED 'SecurityProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- SecurityProfileId
-
- Required: Yes
- Type: string
The identifier for the security profle.
Result Syntax
[ 'SecurityProfile' => [ 'AllowedAccessControlHierarchyGroupId' => '<string>', 'AllowedAccessControlTags' => ['<string>', ...], 'Arn' => '<string>', 'Description' => '<string>', 'HierarchyRestrictedResources' => ['<string>', ...], 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'OrganizationResourceId' => '<string>', 'SecurityProfileName' => '<string>', 'TagRestrictedResources' => ['<string>', ...], 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- SecurityProfile
-
- Type: SecurityProfile structure
The security profile.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeTrafficDistributionGroup
$result = $client->describeTrafficDistributionGroup
([/* ... */]); $promise = $client->describeTrafficDistributionGroupAsync
([/* ... */]);
Gets details and status of a traffic distribution group.
Parameter Syntax
$result = $client->describeTrafficDistributionGroup([ 'TrafficDistributionGroupId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- TrafficDistributionGroupId
-
- Required: Yes
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
Result Syntax
[ 'TrafficDistributionGroup' => [ 'Arn' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'InstanceArn' => '<string>', 'IsDefault' => true || false, 'Name' => '<string>', 'Status' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED|PENDING_DELETION|DELETION_FAILED|UPDATE_IN_PROGRESS', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- TrafficDistributionGroup
-
- Type: TrafficDistributionGroup structure
Information about the traffic distribution group.
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
DescribeUser
$result = $client->describeUser
([/* ... */]); $promise = $client->describeUserAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->describeUser([ 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[ 'User' => [ 'Arn' => '<string>', 'DirectoryUserId' => '<string>', 'HierarchyGroupId' => '<string>', 'Id' => '<string>', 'IdentityInfo' => [ 'Email' => '<string>', 'FirstName' => '<string>', 'LastName' => '<string>', 'Mobile' => '<string>', 'SecondaryEmail' => '<string>', ], 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'PhoneConfig' => [ 'AfterContactWorkTimeLimit' => <integer>, 'AutoAccept' => true || false, 'DeskPhoneNumber' => '<string>', 'PhoneType' => 'SOFT_PHONE|DESK_PHONE', ], 'RoutingProfileId' => '<string>', 'SecurityProfileIds' => ['<string>', ...], 'Tags' => ['<string>', ...], 'Username' => '<string>', ], ]
Result Details
Members
- User
-
- Type: User structure
Information about the user account and configuration settings.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeUserHierarchyGroup
$result = $client->describeUserHierarchyGroup
([/* ... */]); $promise = $client->describeUserHierarchyGroupAsync
([/* ... */]);
Describes the specified hierarchy group.
Parameter Syntax
$result = $client->describeUserHierarchyGroup([ 'HierarchyGroupId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HierarchyGroupId
-
- Required: Yes
- Type: string
The identifier of the hierarchy group.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'HierarchyGroup' => [ 'Arn' => '<string>', 'HierarchyPath' => [ 'LevelFive' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelFour' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelOne' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelThree' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelTwo' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], ], 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'LevelId' => '<string>', 'Name' => '<string>', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- HierarchyGroup
-
- Type: HierarchyGroup structure
Information about the hierarchy group.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeUserHierarchyStructure
$result = $client->describeUserHierarchyStructure
([/* ... */]); $promise = $client->describeUserHierarchyStructureAsync
([/* ... */]);
Describes the hierarchy structure of the specified Amazon Connect instance.
Parameter Syntax
$result = $client->describeUserHierarchyStructure([ 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'HierarchyStructure' => [ 'LevelFive' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelFour' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelOne' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelThree' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelTwo' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], ], ]
Result Details
Members
- HierarchyStructure
-
- Type: HierarchyStructure structure
Information about the hierarchy structure.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DescribeView
$result = $client->describeView
([/* ... */]); $promise = $client->describeViewAsync
([/* ... */]);
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, <view-id>:$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.
Parameter Syntax
$result = $client->describeView([ 'InstanceId' => '<string>', // REQUIRED 'ViewId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- ViewId
-
- Required: Yes
- Type: string
The ViewId of the view. This must be an ARN for Amazon Web Services managed views.
Result Syntax
[ 'View' => [ 'Arn' => '<string>', 'Content' => [ 'Actions' => ['<string>', ...], 'InputSchema' => '<string>', 'Template' => '<string>', ], 'CreatedTime' => <DateTime>, 'Description' => '<string>', 'Id' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], 'Type' => 'CUSTOMER_MANAGED|AWS_MANAGED', 'Version' => <integer>, 'VersionDescription' => '<string>', 'ViewContentSha256' => '<string>', ], ]
Result Details
Members
- View
-
- Type: View structure
All view data is contained within the View object.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
DescribeVocabulary
$result = $client->describeVocabulary
([/* ... */]); $promise = $client->describeVocabularyAsync
([/* ... */]);
Describes the specified vocabulary.
Parameter Syntax
$result = $client->describeVocabulary([ 'InstanceId' => '<string>', // REQUIRED 'VocabularyId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- VocabularyId
-
- Required: Yes
- Type: string
The identifier of the custom vocabulary.
Result Syntax
[ 'Vocabulary' => [ 'Arn' => '<string>', 'Content' => '<string>', 'FailureReason' => '<string>', 'Id' => '<string>', 'LanguageCode' => 'ar-AE|de-CH|de-DE|en-AB|en-AU|en-GB|en-IE|en-IN|en-US|en-WL|es-ES|es-US|fr-CA|fr-FR|hi-IN|it-IT|ja-JP|ko-KR|pt-BR|pt-PT|zh-CN|en-NZ|en-ZA|ca-ES|da-DK|fi-FI|id-ID|ms-MY|nl-NL|no-NO|pl-PL|sv-SE|tl-PH', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'State' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED|DELETE_IN_PROGRESS', 'Tags' => ['<string>', ...], ], ]
Result Details
Members
- Vocabulary
-
- Required: Yes
- Type: Vocabulary structure
A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
DisassociateAnalyticsDataSet
$result = $client->disassociateAnalyticsDataSet
([/* ... */]); $promise = $client->disassociateAnalyticsDataSetAsync
([/* ... */]);
Removes the dataset ID associated with a given Amazon Connect instance.
Parameter Syntax
$result = $client->disassociateAnalyticsDataSet([ 'DataSetId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'TargetAccountId' => '<string>', ]);
Parameter Details
Members
- DataSetId
-
- Required: Yes
- Type: string
The identifier of the dataset to remove.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TargetAccountId
-
- Type: string
The identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DisassociateApprovedOrigin
$result = $client->disassociateApprovedOrigin
([/* ... */]); $promise = $client->disassociateApprovedOriginAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Revokes access to integrated applications from Amazon Connect.
Parameter Syntax
$result = $client->disassociateApprovedOrigin([ 'InstanceId' => '<string>', // REQUIRED 'Origin' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Origin
-
- Required: Yes
- Type: string
The domain URL of the integrated application.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DisassociateBot
$result = $client->disassociateBot
([/* ... */]); $promise = $client->disassociateBotAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->disassociateBot([ 'InstanceId' => '<string>', // REQUIRED 'LexBot' => [ 'LexRegion' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED ], 'LexV2Bot' => [ 'AliasArn' => '<string>', ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LexBot
-
- Type: LexBot structure
Configuration information of an Amazon Lex bot.
- LexV2Bot
-
- Type: LexV2Bot structure
The Amazon Lex V2 bot to disassociate from the instance.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DisassociateFlow
$result = $client->disassociateFlow
([/* ... */]); $promise = $client->disassociateFlowAsync
([/* ... */]);
Disassociates a connect resource from a flow.
Parameter Syntax
$result = $client->disassociateFlow([ 'InstanceId' => '<string>', // REQUIRED 'ResourceId' => '<string>', // REQUIRED 'ResourceType' => 'SMS_PHONE_NUMBER', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceId
-
- Required: Yes
- Type: string
The identifier of the resource.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DisassociateInstanceStorageConfig
$result = $client->disassociateInstanceStorageConfig
([/* ... */]); $promise = $client->disassociateInstanceStorageConfigAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->disassociateInstanceStorageConfig([ 'AssociationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'ResourceType' => 'CHAT_TRANSCRIPTS|CALL_RECORDINGS|SCHEDULED_REPORTS|MEDIA_STREAMS|CONTACT_TRACE_RECORDS|AGENT_EVENTS|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS|ATTACHMENTS|CONTACT_EVALUATIONS|SCREEN_RECORDINGS|REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS|REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS', // REQUIRED ]);
Parameter Details
Members
- AssociationId
-
- Required: Yes
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DisassociateLambdaFunction
$result = $client->disassociateLambdaFunction
([/* ... */]); $promise = $client->disassociateLambdaFunctionAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->disassociateLambdaFunction([ 'FunctionArn' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- FunctionArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Lambda function being disassociated.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance..
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DisassociateLexBot
$result = $client->disassociateLexBot
([/* ... */]); $promise = $client->disassociateLexBotAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->disassociateLexBot([ 'BotName' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'LexRegion' => '<string>', // REQUIRED ]);
Parameter Details
Members
- BotName
-
- Required: Yes
- Type: string
The name of the Amazon Lex bot. Maximum character limit of 50.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LexRegion
-
- Required: Yes
- Type: string
The Amazon Web Services Region in which the Amazon Lex bot has been created.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DisassociatePhoneNumberContactFlow
$result = $client->disassociatePhoneNumberContactFlow
([/* ... */]); $promise = $client->disassociatePhoneNumberContactFlowAsync
([/* ... */]);
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
.
Parameter Syntax
$result = $client->disassociatePhoneNumberContactFlow([ 'InstanceId' => '<string>', // REQUIRED 'PhoneNumberId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PhoneNumberId
-
- Required: Yes
- Type: string
A unique identifier for the phone number.
Result Syntax
[]
Result Details
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
DisassociateQueueQuickConnects
$result = $client->disassociateQueueQuickConnects
([/* ... */]); $promise = $client->disassociateQueueQuickConnectsAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Disassociates a set of quick connects from a queue.
Parameter Syntax
$result = $client->disassociateQueueQuickConnects([ 'InstanceId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED 'QuickConnectIds' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
- QuickConnectIds
-
- Required: Yes
- Type: Array of strings
The quick connects to disassociate from the queue.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DisassociateRoutingProfileQueues
$result = $client->disassociateRoutingProfileQueues
([/* ... */]); $promise = $client->disassociateRoutingProfileQueuesAsync
([/* ... */]);
Disassociates a set of queues from a routing profile.
Parameter Syntax
$result = $client->disassociateRoutingProfileQueues([ 'InstanceId' => '<string>', // REQUIRED 'QueueReferences' => [ // REQUIRED [ 'Channel' => 'VOICE|CHAT|TASK', // REQUIRED 'QueueId' => '<string>', // REQUIRED ], // ... ], 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueReferences
-
- Required: Yes
- Type: Array of RoutingProfileQueueReference structures
The queues to disassociate from this routing profile.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DisassociateSecurityKey
$result = $client->disassociateSecurityKey
([/* ... */]); $promise = $client->disassociateSecurityKeyAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Deletes the specified security key.
Parameter Syntax
$result = $client->disassociateSecurityKey([ 'AssociationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AssociationId
-
- Required: Yes
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
DisassociateTrafficDistributionGroupUser
$result = $client->disassociateTrafficDistributionGroupUser
([/* ... */]); $promise = $client->disassociateTrafficDistributionGroupUserAsync
([/* ... */]);
Disassociates an agent from a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.
Parameter Syntax
$result = $client->disassociateTrafficDistributionGroupUser([ 'InstanceId' => '<string>', // REQUIRED 'TrafficDistributionGroupId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TrafficDistributionGroupId
-
- Required: Yes
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN of the traffic distribution group.
- UserId
-
- Required: Yes
- Type: string
The identifier for the user. This can be the ID or the ARN of the user.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DisassociateUserProficiencies
$result = $client->disassociateUserProficiencies
([/* ... */]); $promise = $client->disassociateUserProficienciesAsync
([/* ... */]);
Disassociates a set of proficiencies from a user.
Parameter Syntax
$result = $client->disassociateUserProficiencies([ 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED 'UserProficiencies' => [ // REQUIRED [ 'AttributeName' => '<string>', // REQUIRED 'AttributeValue' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
- UserProficiencies
-
- Required: Yes
- Type: Array of UserProficiencyDisassociate structures
The proficiencies to disassociate from the user.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
DismissUserContact
$result = $client->dismissUserContact
([/* ... */]); $promise = $client->dismissUserContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->dismissUserContact([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
GetAttachedFile
$result = $client->getAttachedFile
([/* ... */]); $promise = $client->getAttachedFileAsync
([/* ... */]);
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
.
Parameter Syntax
$result = $client->getAttachedFile([ 'AssociatedResourceArn' => '<string>', // REQUIRED 'FileId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'UrlExpiryInSeconds' => <integer>, ]);
Parameter Details
Members
- AssociatedResourceArn
-
- Required: Yes
- Type: string
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- FileId
-
- Required: Yes
- Type: string
The unique identifier of the attached file resource.
- InstanceId
-
- Required: Yes
- Type: string
The unique identifier of the Connect instance.
- UrlExpiryInSeconds
-
- Type: int
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
Result Syntax
[ 'AssociatedResourceArn' => '<string>', 'CreatedBy' => [ 'AWSIdentityArn' => '<string>', 'ConnectUserArn' => '<string>', ], 'CreationTime' => '<string>', 'DownloadUrlMetadata' => [ 'Url' => '<string>', 'UrlExpiry' => '<string>', ], 'FileArn' => '<string>', 'FileId' => '<string>', 'FileName' => '<string>', 'FileSizeInBytes' => <integer>, 'FileStatus' => 'APPROVED|REJECTED|PROCESSING|FAILED', 'FileUseCaseType' => 'ATTACHMENT', 'Tags' => ['<string>', ...], ]
Result Details
Members
- AssociatedResourceArn
-
- Type: string
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
- CreatedBy
-
- Type: CreatedByInfo structure
Represents the identity that created the file.
- CreationTime
-
- Type: string
The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2024-05-03T02:41:28.172Z
. - DownloadUrlMetadata
-
- Type: DownloadUrlMetadata structure
URL and expiry to be used when downloading the attached file.
- FileArn
-
- Type: string
The unique identifier of the attached file resource (ARN).
- FileId
-
- Type: string
The unique identifier of the attached file resource.
- FileName
-
- Type: string
A case-sensitive name of the attached file being uploaded.
- FileSizeInBytes
-
- Required: Yes
- Type: long (int|float)
The size of the attached file in bytes.
- FileStatus
-
- Type: string
The current status of the attached file.
- FileUseCaseType
-
- Type: string
The use case for the file.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
GetContactAttributes
$result = $client->getContactAttributes
([/* ... */]); $promise = $client->getContactAttributesAsync
([/* ... */]);
Retrieves the contact attributes for the specified contact.
Parameter Syntax
$result = $client->getContactAttributes([ 'InitialContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InitialContactId
-
- Required: Yes
- Type: string
The identifier of the initial contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance.
Result Syntax
[ 'Attributes' => ['<string>', ...], ]
Result Details
Members
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
Information about the attributes.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
GetCurrentMetricData
$result = $client->getCurrentMetricData
([/* ... */]); $promise = $client->getCurrentMetricDataAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->getCurrentMetricData([ 'CurrentMetrics' => [ // REQUIRED [ 'Name' => 'AGENTS_ONLINE|AGENTS_AVAILABLE|AGENTS_ON_CALL|AGENTS_NON_PRODUCTIVE|AGENTS_AFTER_CONTACT_WORK|AGENTS_ERROR|AGENTS_STAFFED|CONTACTS_IN_QUEUE|OLDEST_CONTACT_AGE|CONTACTS_SCHEDULED|AGENTS_ON_CONTACT|SLOTS_ACTIVE|SLOTS_AVAILABLE', 'Unit' => 'SECONDS|COUNT|PERCENT', ], // ... ], 'Filters' => [ // REQUIRED 'Channels' => ['<string>', ...], 'Queues' => ['<string>', ...], 'RoutingProfiles' => ['<string>', ...], 'RoutingStepExpressions' => ['<string>', ...], ], 'Groupings' => ['<string>', ...], 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SortCriteria' => [ [ 'SortByMetric' => 'AGENTS_ONLINE|AGENTS_AVAILABLE|AGENTS_ON_CALL|AGENTS_NON_PRODUCTIVE|AGENTS_AFTER_CONTACT_WORK|AGENTS_ERROR|AGENTS_STAFFED|CONTACTS_IN_QUEUE|OLDEST_CONTACT_AGE|CONTACTS_SCHEDULED|AGENTS_ON_CONTACT|SLOTS_ACTIVE|SLOTS_AVAILABLE', 'SortOrder' => 'ASCENDING|DESCENDING', ], // ... ], ]);
Parameter Details
Members
- CurrentMetrics
-
- Required: Yes
- Type: Array of CurrentMetric structures
The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available. For a description of all the metrics, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.
- AGENTS_AFTER_CONTACT_WORK
-
Unit: COUNT
Name in real-time metrics report: ACW
- AGENTS_AVAILABLE
-
Unit: COUNT
Name in real-time metrics report: Available
- AGENTS_ERROR
-
Unit: COUNT
Name in real-time metrics report: Error
- AGENTS_NON_PRODUCTIVE
-
Unit: COUNT
Name in real-time metrics report: NPT (Non-Productive Time)
- AGENTS_ON_CALL
-
Unit: COUNT
Name in real-time metrics report: On contact
- AGENTS_ON_CONTACT
-
Unit: COUNT
Name in real-time metrics report: On contact
- AGENTS_ONLINE
-
Unit: COUNT
Name in real-time metrics report: Online
- AGENTS_STAFFED
-
Unit: COUNT
Name in real-time metrics report: Staffed
- CONTACTS_IN_QUEUE
-
Unit: COUNT
Name in real-time metrics report: In queue
- CONTACTS_SCHEDULED
-
Unit: COUNT
Name in real-time metrics report: Scheduled
- OLDEST_CONTACT_AGE
-
Unit: SECONDS
When you use groupings, Unit says SECONDS and the Value is returned in SECONDS.
When you do not use groupings, Unit says SECONDS but the Value is returned in MILLISECONDS. For example, if you get a response like this:
{ "Metric": { "Name": "OLDEST_CONTACT_AGE", "Unit": "SECONDS" }, "Value": 24113.0
}The actual OLDEST_CONTACT_AGE is 24 seconds.
When the filter
RoutingStepExpression
is used, this metric is still calculated from enqueue time. For example, if a contact that has been queued under<Expression 1>
for 10 seconds has expired and<Expression 2>
becomes active, thenOLDEST_CONTACT_AGE
for this queue will be counted starting from 10, not 0.Name in real-time metrics report: Oldest
- SLOTS_ACTIVE
-
Unit: COUNT
Name in real-time metrics report: Active
- SLOTS_AVAILABLE
-
Unit: COUNT
Name in real-time metrics report: Availability
- Filters
-
- Required: Yes
- Type: Filters structure
The filters to apply to returned metrics. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Channels: 3 (VOICE, CHAT, and TASK channels are supported.)
-
RoutingStepExpressions: 50
Metric data is retrieved only for the resources associated with the queues or routing profiles, and by any channels included in the filter. (You cannot filter by both queue AND routing profile.) You can include both resource IDs and resource ARNs in the same request.
When using the
RoutingStepExpression
filter, you need to pass exactly oneQueueId
. The filter is also case sensitive so when using theRoutingStepExpression
filter, grouping byROUTING_STEP_EXPRESSION
is required.Currently tagging is only supported on the resources that are passed in the filter.
- Groupings
-
- Type: Array of strings
The grouping applied to the metrics returned. For example, when grouped by
QUEUE
, the metrics returned apply to each queue rather than aggregated for all queues.-
If you group by
CHANNEL
, you should include a Channels filter. VOICE, CHAT, and TASK channels are supported. -
If you group by
ROUTING_PROFILE
, you must include either a queue or routing profile filter. In addition, a routing profile filter is required for metricsCONTACTS_SCHEDULED
,CONTACTS_IN_QUEUE
, andOLDEST_CONTACT_AGE
. -
If no
Grouping
is included in the request, a summary of metrics is returned. -
When using the
RoutingStepExpression
filter, group byROUTING_STEP_EXPRESSION
is required.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
- SortCriteria
-
- Type: Array of CurrentMetricSortCriteria structures
The way to sort the resulting response based on metrics. You can enter one sort criteria. By default resources are sorted based on
AGENTS_ONLINE
,DESCENDING
. The metric collection is sorted based on the input metrics.Note the following:
-
Sorting on
SLOTS_ACTIVE
andSLOTS_AVAILABLE
is not supported.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'DataSnapshotTime' => <DateTime>, 'MetricResults' => [ [ 'Collections' => [ [ 'Metric' => [ 'Name' => 'AGENTS_ONLINE|AGENTS_AVAILABLE|AGENTS_ON_CALL|AGENTS_NON_PRODUCTIVE|AGENTS_AFTER_CONTACT_WORK|AGENTS_ERROR|AGENTS_STAFFED|CONTACTS_IN_QUEUE|OLDEST_CONTACT_AGE|CONTACTS_SCHEDULED|AGENTS_ON_CONTACT|SLOTS_ACTIVE|SLOTS_AVAILABLE', 'Unit' => 'SECONDS|COUNT|PERCENT', ], 'Value' => <float>, ], // ... ], 'Dimensions' => [ 'Channel' => 'VOICE|CHAT|TASK', 'Queue' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'RoutingProfile' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'RoutingStepExpression' => '<string>', ], ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total count of the result, regardless of the current page size.
- DataSnapshotTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time at which the metrics were retrieved and cached for pagination.
- MetricResults
-
- Type: Array of CurrentMetricResult structures
Information about the real-time metrics.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
GetCurrentUserData
$result = $client->getCurrentUserData
([/* ... */]); $promise = $client->getCurrentUserDataAsync
([/* ... */]);
Gets the real-time active user data from the specified Amazon Connect instance.
Parameter Syntax
$result = $client->getCurrentUserData([ 'Filters' => [ // REQUIRED 'Agents' => ['<string>', ...], 'ContactFilter' => [ 'ContactStates' => ['<string>', ...], ], 'Queues' => ['<string>', ...], 'RoutingProfiles' => ['<string>', ...], 'UserHierarchyGroups' => ['<string>', ...], ], 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- Filters
-
- Required: Yes
- Type: UserDataFilters structure
The filters to apply to returned user data. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'UserDataList' => [ [ 'ActiveSlotsByChannel' => [<integer>, ...], 'AvailableSlotsByChannel' => [<integer>, ...], 'Contacts' => [ [ 'AgentContactState' => 'INCOMING|PENDING|CONNECTING|CONNECTED|CONNECTED_ONHOLD|MISSED|ERROR|ENDED|REJECTED', 'Channel' => 'VOICE|CHAT|TASK', 'ConnectedToAgentTimestamp' => <DateTime>, 'ContactId' => '<string>', 'InitiationMethod' => 'INBOUND|OUTBOUND|TRANSFER|QUEUE_TRANSFER|CALLBACK|API|DISCONNECT|MONITOR|EXTERNAL_OUTBOUND', 'Queue' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'StateStartTimestamp' => <DateTime>, ], // ... ], 'HierarchyPath' => [ 'LevelFive' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'LevelFour' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'LevelOne' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'LevelThree' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'LevelTwo' => [ 'Arn' => '<string>', 'Id' => '<string>', ], ], 'MaxSlotsByChannel' => [<integer>, ...], 'NextStatus' => '<string>', 'RoutingProfile' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'Status' => [ 'StatusArn' => '<string>', 'StatusName' => '<string>', 'StatusStartTimestamp' => <DateTime>, ], 'User' => [ 'Arn' => '<string>', 'Id' => '<string>', ], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total count of the result, regardless of the current page size.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- UserDataList
-
- Type: Array of UserData structures
A list of the user data that is returned.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
GetFederationToken
$result = $client->getFederationToken
([/* ... */]); $promise = $client->getFederationTokenAsync
([/* ... */]);
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
Parameter Syntax
$result = $client->getFederationToken([ 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'Credentials' => [ 'AccessToken' => '<string>', 'AccessTokenExpiration' => <DateTime>, 'RefreshToken' => '<string>', 'RefreshTokenExpiration' => <DateTime>, ], 'SignInUrl' => '<string>', 'UserArn' => '<string>', 'UserId' => '<string>', ]
Result Details
Members
- Credentials
-
- Type: Credentials structure
The credentials to use for federation.
- SignInUrl
-
- Type: string
The URL to sign into the user's instance.
- UserArn
-
- Type: string
The Amazon Resource Name (ARN) of the user.
- UserId
-
- Type: string
The identifier for the user. This can be the ID or the ARN of the user.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- UserNotFoundException:
No user with the specified credentials was found in the Amazon Connect instance.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- DuplicateResourceException:
A resource with the specified name already exists.
GetFlowAssociation
$result = $client->getFlowAssociation
([/* ... */]); $promise = $client->getFlowAssociationAsync
([/* ... */]);
Retrieves the flow associated for a given resource.
Parameter Syntax
$result = $client->getFlowAssociation([ 'InstanceId' => '<string>', // REQUIRED 'ResourceId' => '<string>', // REQUIRED 'ResourceType' => 'SMS_PHONE_NUMBER', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceId
-
- Required: Yes
- Type: string
The identifier of the resource.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type.
Result Syntax
[ 'FlowId' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'SMS_PHONE_NUMBER', ]
Result Details
Members
- FlowId
-
- Type: string
The identifier of the flow.
- ResourceId
-
- Type: string
The identifier of the resource.
- ResourceType
-
- Type: string
A valid resource type.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
GetMetricData
$result = $client->getMetricData
([/* ... */]); $promise = $client->getMetricDataAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->getMetricData([ 'EndTime' => <integer || string || DateTime>, // REQUIRED 'Filters' => [ // REQUIRED 'Channels' => ['<string>', ...], 'Queues' => ['<string>', ...], 'RoutingProfiles' => ['<string>', ...], 'RoutingStepExpressions' => ['<string>', ...], ], 'Groupings' => ['<string>', ...], 'HistoricalMetrics' => [ // REQUIRED [ 'Name' => 'CONTACTS_QUEUED|CONTACTS_HANDLED|CONTACTS_ABANDONED|CONTACTS_CONSULTED|CONTACTS_AGENT_HUNG_UP_FIRST|CONTACTS_HANDLED_INCOMING|CONTACTS_HANDLED_OUTBOUND|CONTACTS_HOLD_ABANDONS|CONTACTS_TRANSFERRED_IN|CONTACTS_TRANSFERRED_OUT|CONTACTS_TRANSFERRED_IN_FROM_QUEUE|CONTACTS_TRANSFERRED_OUT_FROM_QUEUE|CONTACTS_MISSED|CALLBACK_CONTACTS_HANDLED|API_CONTACTS_HANDLED|OCCUPANCY|HANDLE_TIME|AFTER_CONTACT_WORK_TIME|QUEUED_TIME|ABANDON_TIME|QUEUE_ANSWER_TIME|HOLD_TIME|INTERACTION_TIME|INTERACTION_AND_HOLD_TIME|SERVICE_LEVEL', 'Statistic' => 'SUM|MAX|AVG', 'Threshold' => [ 'Comparison' => 'LT', 'ThresholdValue' => <float>, ], 'Unit' => 'SECONDS|COUNT|PERCENT', ], // ... ], 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'StartTime' => <integer || string || DateTime>, // REQUIRED ]);
Parameter Details
Members
- EndTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be specified using an interval of 5 minutes, such as 11:00, 11:05, 11:10, and must be later than the start time timestamp.
The time range between the start and end time must be less than 24 hours.
- Filters
-
- Required: Yes
- Type: Filters structure
The queues, up to 100, or channels, to use to filter the metrics returned. Metric data is retrieved only for the resources associated with the queues or channels included in the filter. You can include both queue IDs and queue ARNs in the same request. VOICE, CHAT, and TASK channels are supported.
RoutingStepExpression is not a valid filter for GetMetricData and we recommend switching to GetMetricDataV2 for more up-to-date features.
To filter by
Queues
, enter the queue ID/ARN, not the name of the queue. - Groupings
-
- Type: Array of strings
The grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
If no grouping is specified, a summary of metrics for all queues is returned.
RoutingStepExpression is not a valid filter for GetMetricData and we recommend switching to GetMetricDataV2 for more up-to-date features.
- HistoricalMetrics
-
- Required: Yes
- Type: Array of HistoricalMetric structures
The metrics to retrieve. Specify the name, unit, and statistic for each metric. The following historical metrics are available. For a description of each metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
This API does not support a contacts incoming metric (there's no CONTACTS_INCOMING metric missing from the documented list).
- ABANDON_TIME
-
Unit: SECONDS
Statistic: AVG
- AFTER_CONTACT_WORK_TIME
-
Unit: SECONDS
Statistic: AVG
- API_CONTACTS_HANDLED
-
Unit: COUNT
Statistic: SUM
- CALLBACK_CONTACTS_HANDLED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_ABANDONED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_AGENT_HUNG_UP_FIRST
-
Unit: COUNT
Statistic: SUM
- CONTACTS_CONSULTED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HANDLED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HANDLED_INCOMING
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HANDLED_OUTBOUND
-
Unit: COUNT
Statistic: SUM
- CONTACTS_HOLD_ABANDONS
-
Unit: COUNT
Statistic: SUM
- CONTACTS_MISSED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_QUEUED
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_IN
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_IN_FROM_QUEUE
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_OUT
-
Unit: COUNT
Statistic: SUM
- CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
-
Unit: COUNT
Statistic: SUM
- HANDLE_TIME
-
Unit: SECONDS
Statistic: AVG
- HOLD_TIME
-
Unit: SECONDS
Statistic: AVG
- INTERACTION_AND_HOLD_TIME
-
Unit: SECONDS
Statistic: AVG
- INTERACTION_TIME
-
Unit: SECONDS
Statistic: AVG
- OCCUPANCY
-
Unit: PERCENT
Statistic: AVG
- QUEUE_ANSWER_TIME
-
Unit: SECONDS
Statistic: AVG
- QUEUED_TIME
-
Unit: SECONDS
Statistic: MAX
- SERVICE_LEVEL
-
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: PERCENT
Statistic: AVG
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you must enterLT
(for "Less than").
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- StartTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be specified using a multiple of 5 minutes, such as 10:05, 10:10, 10:15.
The start time cannot be earlier than 24 hours before the time of the request. Historical metrics are available only for 24 hours.
Result Syntax
[ 'MetricResults' => [ [ 'Collections' => [ [ 'Metric' => [ 'Name' => 'CONTACTS_QUEUED|CONTACTS_HANDLED|CONTACTS_ABANDONED|CONTACTS_CONSULTED|CONTACTS_AGENT_HUNG_UP_FIRST|CONTACTS_HANDLED_INCOMING|CONTACTS_HANDLED_OUTBOUND|CONTACTS_HOLD_ABANDONS|CONTACTS_TRANSFERRED_IN|CONTACTS_TRANSFERRED_OUT|CONTACTS_TRANSFERRED_IN_FROM_QUEUE|CONTACTS_TRANSFERRED_OUT_FROM_QUEUE|CONTACTS_MISSED|CALLBACK_CONTACTS_HANDLED|API_CONTACTS_HANDLED|OCCUPANCY|HANDLE_TIME|AFTER_CONTACT_WORK_TIME|QUEUED_TIME|ABANDON_TIME|QUEUE_ANSWER_TIME|HOLD_TIME|INTERACTION_TIME|INTERACTION_AND_HOLD_TIME|SERVICE_LEVEL', 'Statistic' => 'SUM|MAX|AVG', 'Threshold' => [ 'Comparison' => 'LT', 'ThresholdValue' => <float>, ], 'Unit' => 'SECONDS|COUNT|PERCENT', ], 'Value' => <float>, ], // ... ], 'Dimensions' => [ 'Channel' => 'VOICE|CHAT|TASK', 'Queue' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'RoutingProfile' => [ 'Arn' => '<string>', 'Id' => '<string>', ], 'RoutingStepExpression' => '<string>', ], ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- MetricResults
-
- Type: Array of HistoricalMetricResult structures
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
GetMetricDataV2
$result = $client->getMetricDataV2
([/* ... */]); $promise = $client->getMetricDataV2Async
([/* ... */]);
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.
Parameter Syntax
$result = $client->getMetricDataV2([ 'EndTime' => <integer || string || DateTime>, // REQUIRED 'Filters' => [ // REQUIRED [ 'FilterKey' => '<string>', 'FilterValues' => ['<string>', ...], ], // ... ], 'Groupings' => ['<string>', ...], 'Interval' => [ 'IntervalPeriod' => 'FIFTEEN_MIN|THIRTY_MIN|HOUR|DAY|WEEK|TOTAL', 'TimeZone' => '<string>', ], 'MaxResults' => <integer>, 'Metrics' => [ // REQUIRED [ 'MetricFilters' => [ [ 'MetricFilterKey' => '<string>', 'MetricFilterValues' => ['<string>', ...], 'Negate' => true || false, ], // ... ], 'Name' => '<string>', 'Threshold' => [ [ 'Comparison' => '<string>', 'ThresholdValue' => <float>, ], // ... ], ], // ... ], 'NextToken' => '<string>', 'ResourceArn' => '<string>', // REQUIRED 'StartTime' => <integer || string || DateTime>, // REQUIRED ]);
Parameter Details
Members
- EndTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.
- Filters
-
- Required: Yes
- Type: Array of FilterV2 structures
The filters to apply to returned metrics. You can filter on the following resources:
-
Agents
-
Campaigns
-
Channels
-
Feature
-
Queues
-
Routing profiles
-
Routing step expression
-
User hierarchy groups
At least one filter must be passed from queues, routing profiles, agents, or user hierarchy groups.
For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least one filter requirement.
To filter by phone number, see Create a historical metrics report in the Amazon Connect Administrator Guide.
Note the following limits:
-
Filter keys: A maximum of 5 filter keys are supported in a single request. Valid filter keys:
AGENT
|AGENT_HIERARCHY_LEVEL_ONE
|AGENT_HIERARCHY_LEVEL_TWO
|AGENT_HIERARCHY_LEVEL_THREE
|AGENT_HIERARCHY_LEVEL_FOUR
|AGENT_HIERARCHY_LEVEL_FIVE
|ANSWERING_MACHINE_DETECTION_STATUS
|CAMPAIGN
|CASE_TEMPLATE_ARN
|CASE_STATUS
|CHANNEL
|contact/segmentAttributes/connect:Subtype
|DISCONNECT_REASON
|FEATURE
|FLOW_TYPE
|FLOWS_NEXT_RESOURCE_ID
|FLOWS_NEXT_RESOURCE_QUEUE_ID
|FLOWS_OUTCOME_TYPE
|FLOWS_RESOURCE_ID
|INITIATION_METHOD
|RESOURCE_PUBLISHED_TIMESTAMP
|ROUTING_PROFILE
|ROUTING_STEP_EXPRESSION
|QUEUE
|Q_CONNECT_ENABLED
| -
Filter values: A maximum of 100 filter values are supported in a single request. VOICE, CHAT, and TASK are valid
filterValue
for the CHANNEL filter key. They do not count towards limitation of 100 filter values. For example, a GetMetricDataV2 request can filter by 50 queues, 35 agents, and 15 routing profiles for a total of 100 filter values, along with 3 channel filters.contact_lens_conversational_analytics
is a valid filterValue for theFEATURE
filter key. It is available only to contacts analyzed by Contact Lens conversational analytics.connect:Chat
,connect:SMS
,connect:Telephony
, andconnect:WebRTC
are validfilterValue
examples (not exhaustive) for thecontact/segmentAttributes/connect:Subtype filter
key.ROUTING_STEP_EXPRESSION
is a valid filter key with a filter value up to 3000 length. This filter is case and order sensitive. JSON string fields must be sorted in ascending order and JSON array order should be kept as is.Q_CONNECT_ENABLED
. TRUE and FALSE are the only valid filterValues for theQ_CONNECT_ENABLED
filter key.-
TRUE includes all contacts that had Amazon Q in Connect enabled as part of the flow.
-
FALSE includes all contacts that did not have Amazon Q in Connect enabled as part of the flow
This filter is available only for contact record-driven metrics.
Campaign ARNs are valid
filterValues
for theCAMPAIGN
filter key. -
- Groupings
-
- Type: Array of strings
The grouping applied to the metrics that are returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values that are returned apply to the metrics for each queue. They are not aggregated for all queues.
If no grouping is specified, a summary of all metrics is returned.
Valid grouping keys:
AGENT
|AGENT_HIERARCHY_LEVEL_ONE
|AGENT_HIERARCHY_LEVEL_TWO
|AGENT_HIERARCHY_LEVEL_THREE
|AGENT_HIERARCHY_LEVEL_FOUR
|AGENT_HIERARCHY_LEVEL_FIVE
|ANSWERING_MACHINE_DETECTION_STATUS
|CAMPAIGN
|CASE_TEMPLATE_ARN
|CASE_STATUS
|CHANNEL
|contact/segmentAttributes/connect:Subtype
|DISCONNECT_REASON
|FLOWS_RESOURCE_ID
|FLOWS_MODULE_RESOURCE_ID
|FLOW_TYPE
|FLOWS_OUTCOME_TYPE
|INITIATION_METHOD
|Q_CONNECT_ENABLED
|QUEUE
|RESOURCE_PUBLISHED_TIMESTAMP
|ROUTING_PROFILE
|ROUTING_STEP_EXPRESSION
- Interval
-
- Type: IntervalDetails structure
The interval period and timezone to apply to returned metrics.
-
IntervalPeriod
: An aggregated grouping applied to request metrics. ValidIntervalPeriod
values are:FIFTEEN_MIN
|THIRTY_MIN
|HOUR
|DAY
|WEEK
|TOTAL
.For example, if
IntervalPeriod
is selectedTHIRTY_MIN
,StartTime
andEndTime
differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on theTOTAL
interval period.The following list describes restrictions on
StartTime
andEndTime
based on whichIntervalPeriod
is requested.-
FIFTEEN_MIN
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
THIRTY_MIN
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
HOUR
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
DAY
: The difference betweenStartTime
andEndTime
must be less than 35 days. -
WEEK
: The difference betweenStartTime
andEndTime
must be less than 35 days. -
TOTAL
: The difference betweenStartTime
andEndTime
must be less than 35 days.
-
-
TimeZone
: The timezone applied to requested metrics.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- Metrics
-
- Required: Yes
- Type: Array of MetricV2 structures
The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.
- ABANDONMENT_RATE
-
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Abandonment rate
- AGENT_ADHERENT_TIME
-
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Adherent time
- AGENT_ANSWER_RATE
-
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent answer rate
- AGENT_NON_ADHERENT_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Non-adherent time
- AGENT_NON_RESPONSE
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent non-response
- AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Data for this metric is available starting from October 1, 2023 0:00:00 GMT.
- AGENT_OCCUPANCY
-
Unit: Percentage
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Occupancy
- AGENT_SCHEDULE_ADHERENCE
-
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Adherence
- AGENT_SCHEDULED_TIME
-
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Scheduled time
- AVG_ABANDON_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average queue abandon time
- AVG_ACTIVE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Average active time
- AVG_AFTER_CONTACT_WORK_TIME
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average after contact work time
Feature is a valid filter but not a valid grouping.
- AVG_AGENT_CONNECTING_TIME
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
. For now, this metric only supports the following asINITIATION_METHOD
:INBOUND
|OUTBOUND
|CALLBACK
|API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Average agent API connecting time
The
Negate
key in metric-level filters is not applicable for this metric. - AVG_AGENT_PAUSE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Average agent pause time
- AVG_CASE_RELATED_CONTACTS
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Average contacts per case
- AVG_CASE_RESOLUTION_TIME
-
Unit: Seconds
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Average case resolution time
- AVG_CONTACT_DURATION
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average contact duration
Feature is a valid filter but not a valid grouping.
- AVG_CONVERSATION_DURATION
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average conversation duration
- AVG_DIALS_PER_MINUTE
-
This metric is available only for contacts analyzed by outbound campaigns analytics.
Unit: Count
Valid groupings and filters: Campaign, Agent, Queue, Routing Profile
UI name: Average dials per minute
- AVG_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Average flow time
- AVG_GREETING_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent greeting time
- AVG_HANDLE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression
UI name: Average handle time
Feature is a valid filter but not a valid grouping.
- AVG_HOLD_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average customer hold time
Feature is a valid filter but not a valid grouping.
- AVG_HOLD_TIME_ALL_CONTACTS
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
- AVG_HOLDS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average holds
Feature is a valid filter but not a valid grouping.
- AVG_INTERACTION_AND_HOLD_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
- AVG_INTERACTION_TIME
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent interaction time
Feature is a valid filter but not a valid grouping.
- AVG_INTERRUPTIONS_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent interruptions
- AVG_INTERRUPTION_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent interruption time
- AVG_NON_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average non-talk time
- AVG_QUEUE_ANSWER_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average queue answer time
Feature is a valid filter but not a valid grouping.
- AVG_RESOLUTION_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average resolution time
- AVG_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average talk time
- AVG_TALK_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average agent talk time
- AVG_TALK_TIME_CUSTOMER
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Average customer talk time
- AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION
-
This metric is available only for contacts analyzed by outbound campaigns analytics.
Unit: Seconds
Valid groupings and filters: Campaign
- CAMPAIGN_CONTACTS_ABANDONED_AFTER_X
-
This metric is available only for contacts analyzed by outbound campaigns analytics.
Unit: Count
Valid groupings and filters: Campaign, Agent
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you must enterGT
(for Greater than).UI name: Campaign contacts abandoned after X
- CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE
-
This metric is available only for contacts analyzed by outbound campaigns analytics.
Unit: Percent
Valid groupings and filters: Campaign, Agent
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you must enterGT
(for Greater than). - CASES_CREATED
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases created
- CONTACTS_CREATED
-
Unit: Count
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts created
Feature is a valid filter but not a valid grouping.
- CONTACTS_HANDLED
-
Unit: Count
Valid metric filter key:
INITIATION_METHOD
,DISCONNECT_REASON
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect
UI name: API contacts handled
Feature is a valid filter but not a valid grouping.
- CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT
-
Unit: Count
Valid metric filter key:
INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
- CONTACTS_HOLD_ABANDONS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts hold disconnect
- CONTACTS_ON_HOLD_AGENT_DISCONNECT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts hold agent disconnect
- CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts hold customer disconnect
- CONTACTS_PUT_ON_HOLD
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts put on hold
- CONTACTS_TRANSFERRED_OUT_EXTERNAL
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts transferred out external
- CONTACTS_TRANSFERRED_OUT_INTERNAL
-
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contacts transferred out internal
- CONTACTS_QUEUED
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts queued
- CONTACTS_QUEUED_BY_ENQUEUE
-
Unit: Count
Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype
UI name: Contacts queued (enqueue timestamp)
- CONTACTS_REMOVED_FROM_QUEUE_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for "Less than") orLTE
(for "Less than equal"). - CONTACTS_RESOLVED_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for "Less than") orLTE
(for "Less than equal").UI name: Contacts resolved in X
- CONTACTS_TRANSFERRED_OUT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts transferred out
Feature is a valid filter but not a valid grouping.
- CONTACTS_TRANSFERRED_OUT_BY_AGENT
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts transferred out by agent
- CONTACTS_TRANSFERRED_OUT_FROM_QUEUE
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contacts transferred out queue
- CURRENT_CASES
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Current cases
- DELIVERY_ATTEMPTS
-
This metric is available only for contacts analyzed by outbound campaigns analytics.
Unit: Count
Valid metric filter key:
ANSWERING_MACHINE_DETECTION_STATUS
,DISCONNECT_REASON
Valid groupings and filters: Campaign, Agent, Queue, Routing Profile, Answering Machine Detection Status, Disconnect Reason
UI name: Delivery attempts
- DELIVERY_ATTEMPT_DISPOSITION_RATE
-
This metric is available only for contacts analyzed by outbound campaigns analytics, and with the answering machine detection enabled.
Unit: Percent
Valid metric filter key:
ANSWERING_MACHINE_DETECTION_STATUS
,DISCONNECT_REASON
Valid groupings and filters: Campaign, Agent, Answering Machine Detection Status, Disconnect Reason
Answering Machine Detection Status and Disconnect Reason are valid filters but not valid groupings.
UI name: Delivery attempt disposition rate
- FLOWS_OUTCOME
-
Unit: Count
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Flows outcome
- FLOWS_STARTED
-
Unit: Count
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp
UI name: Flows started
- HUMAN_ANSWERED_CALLS
-
This metric is available only for contacts analyzed by outbound campaigns analytics, and with the answering machine detection enabled.
Unit: Count
Valid groupings and filters: Campaign, Agent
UI name: Human answered
- MAX_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Maximum flow time
- MAX_QUEUED_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Maximum queued time
- MIN_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Minimum flow time
- PERCENT_CASES_FIRST_CONTACT_RESOLVED
-
Unit: Percent
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases resolved on first contact
- PERCENT_CONTACTS_STEP_EXPIRED
-
Unit: Percent
Valid groupings and filters: Queue, RoutingStepExpression
UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.
- PERCENT_CONTACTS_STEP_JOINED
-
Unit: Percent
Valid groupings and filters: Queue, RoutingStepExpression
UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.
- PERCENT_FLOWS_OUTCOME
-
Unit: Percent
Valid metric filter key:
FLOWS_OUTCOME_TYPE
Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp
UI name: Flows outcome percentage.
The
FLOWS_OUTCOME_TYPE
is not a valid grouping. - PERCENT_NON_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Non-talk time percent
- PERCENT_TALK_TIME
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Talk time percent
- PERCENT_TALK_TIME_AGENT
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Agent talk time percent
- PERCENT_TALK_TIME_CUSTOMER
-
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Percentage
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Customer talk time percent
- REOPENED_CASE_ACTIONS
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases reopened
- RESOLVED_CASE_ACTIONS
-
Unit: Count
Required filter key: CASE_TEMPLATE_ARN
Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
UI name: Cases resolved
- SERVICE_LEVEL
-
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for "Less than") orLTE
(for "Less than equal").UI name: Service level X
- STEP_CONTACTS_QUEUED
-
Unit: Count
Valid groupings and filters: Queue, RoutingStepExpression
UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.
- SUM_AFTER_CONTACT_WORK_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: After contact work time
- SUM_CONNECTING_TIME_AGENT
-
Unit: Seconds
Valid metric filter key:
INITIATION_METHOD
. This metric only supports the following filter keys asINITIATION_METHOD
:INBOUND
|OUTBOUND
|CALLBACK
|API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent API connecting time
The
Negate
key in metric-level filters is not applicable for this metric. - CONTACTS_ABANDONED
-
Unit: Count
Metric filter:
-
Valid values:
API
|Incoming
|Outbound
|Transfer
|Callback
|Queue_Transfer
|Disconnect
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect
UI name: Contact abandoned
-
- SUM_CONTACTS_ABANDONED_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for "Less than") orLTE
(for "Less than equal").UI name: Contacts abandoned in X seconds
- SUM_CONTACTS_ANSWERED_IN_X
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
Threshold: For
ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. ForComparison
, you can useLT
(for "Less than") orLTE
(for "Less than equal").UI name: Contacts answered in X seconds
- SUM_CONTACT_FLOW_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contact flow time
- SUM_CONTACT_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Agent on contact time
- SUM_CONTACTS_DISCONNECTED
-
Valid metric filter key:
DISCONNECT_REASON
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Contact disconnected
- SUM_ERROR_STATUS_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Error status time
- SUM_HANDLE_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Contact handle time
- SUM_HOLD_TIME
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Customer hold time
- SUM_IDLE_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Agent idle time
- SUM_INTERACTION_AND_HOLD_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect
UI name: Agent interaction and hold time
- SUM_INTERACTION_TIME
-
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
UI name: Agent interaction time
- SUM_NON_PRODUCTIVE_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Non-Productive Time
- SUM_ONLINE_TIME_AGENT
-
Unit: Seconds
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
UI name: Online time
- SUM_RETRY_CALLBACK_ATTEMPTS
-
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
UI name: Callback attempts
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- ResourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource. This includes the
instanceId
an Amazon Connect instance. - StartTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The start and end time depends on the
IntervalPeriod
selected. By default the time range between start and end time is 35 days. Historical metrics are available for 3 months.
Result Syntax
[ 'MetricResults' => [ [ 'Collections' => [ [ 'Metric' => [ 'MetricFilters' => [ [ 'MetricFilterKey' => '<string>', 'MetricFilterValues' => ['<string>', ...], 'Negate' => true || false, ], // ... ], 'Name' => '<string>', 'Threshold' => [ [ 'Comparison' => '<string>', 'ThresholdValue' => <float>, ], // ... ], ], 'Value' => <float>, ], // ... ], 'Dimensions' => ['<string>', ...], 'MetricInterval' => [ 'EndTime' => <DateTime>, 'Interval' => 'FIFTEEN_MIN|THIRTY_MIN|HOUR|DAY|WEEK|TOTAL', 'StartTime' => <DateTime>, ], ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- MetricResults
-
- Type: Array of MetricResultV2 structures
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
GetPromptFile
$result = $client->getPromptFile
([/* ... */]); $promise = $client->getPromptFileAsync
([/* ... */]);
Gets the prompt file.
Parameter Syntax
$result = $client->getPromptFile([ 'InstanceId' => '<string>', // REQUIRED 'PromptId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PromptId
-
- Required: Yes
- Type: string
A unique identifier for the prompt.
Result Syntax
[ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'PromptPresignedUrl' => '<string>', ]
Result Details
Members
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- PromptPresignedUrl
-
- Type: string
A generated URL to the prompt that can be given to an unauthorized user so they can access the prompt in S3.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
GetTaskTemplate
$result = $client->getTaskTemplate
([/* ... */]); $promise = $client->getTaskTemplateAsync
([/* ... */]);
Gets details about a specific task template in the specified Amazon Connect instance.
Parameter Syntax
$result = $client->getTaskTemplate([ 'InstanceId' => '<string>', // REQUIRED 'SnapshotVersion' => '<string>', 'TaskTemplateId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- SnapshotVersion
-
- Type: string
The system generated version of a task template that is associated with a task, when the task is created.
- TaskTemplateId
-
- Required: Yes
- Type: string
A unique identifier for the task template.
Result Syntax
[ 'Arn' => '<string>', 'Constraints' => [ 'InvisibleFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'ReadOnlyFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'RequiredFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'ContactFlowId' => '<string>', 'CreatedTime' => <DateTime>, 'Defaults' => [ 'DefaultFieldValues' => [ [ 'DefaultValue' => '<string>', 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'Description' => '<string>', 'Fields' => [ [ 'Description' => '<string>', 'Id' => [ 'Name' => '<string>', ], 'SingleSelectOptions' => ['<string>', ...], 'Type' => 'NAME|DESCRIPTION|SCHEDULED_TIME|QUICK_CONNECT|URL|NUMBER|TEXT|TEXT_AREA|DATE_TIME|BOOLEAN|SINGLE_SELECT|EMAIL', ], // ... ], 'Id' => '<string>', 'InstanceId' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Status' => 'ACTIVE|INACTIVE', 'Tags' => ['<string>', ...], ]
Result Details
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN).
- Constraints
-
- Type: TaskTemplateConstraints structure
Constraints that are applicable to the fields listed.
- ContactFlowId
-
- Type: string
The identifier of the flow that runs by default when a task is created by referencing this template.
- CreatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the task template was created.
- Defaults
-
- Type: TaskTemplateDefaults structure
The default values for fields when a task is created by referencing this template.
- Description
-
- Type: string
The description of the task template.
- Fields
-
- Type: Array of TaskTemplateField structures
Fields that are part of the template.
- Id
-
- Required: Yes
- Type: string
A unique identifier for the task template.
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the task template was last modified.
- Name
-
- Required: Yes
- Type: string
The name of the task template.
- Status
-
- Type: string
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created. - Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
GetTrafficDistribution
$result = $client->getTrafficDistribution
([/* ... */]); $promise = $client->getTrafficDistributionAsync
([/* ... */]);
Retrieves the current traffic distribution for a given traffic distribution group.
Parameter Syntax
$result = $client->getTrafficDistribution([ 'Id' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Id
-
- Required: Yes
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
Result Syntax
[ 'AgentConfig' => [ 'Distributions' => [ [ 'Percentage' => <integer>, 'Region' => '<string>', ], // ... ], ], 'Arn' => '<string>', 'Id' => '<string>', 'SignInConfig' => [ 'Distributions' => [ [ 'Enabled' => true || false, 'Region' => '<string>', ], // ... ], ], 'TelephonyConfig' => [ 'Distributions' => [ [ 'Percentage' => <integer>, 'Region' => '<string>', ], // ... ], ], ]
Result Details
Members
- AgentConfig
-
- Type: AgentConfig structure
The distribution of agents between the instance and its replica(s).
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the traffic distribution group.
- Id
-
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
- SignInConfig
-
- Type: SignInConfig structure
The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
- TelephonyConfig
-
- Type: TelephonyConfig structure
The distribution of traffic between the instance and its replicas.
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
ImportPhoneNumber
$result = $client->importPhoneNumber
([/* ... */]); $promise = $client->importPhoneNumberAsync
([/* ... */]);
Imports a claimed phone number from an external service, such as Amazon Pinpoint, 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 Services Support ticket.
Parameter Syntax
$result = $client->importPhoneNumber([ 'ClientToken' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'PhoneNumberDescription' => '<string>', 'SourcePhoneNumberArn' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PhoneNumberDescription
-
- Type: string
The description of the phone number.
- SourcePhoneNumberArn
-
- Required: Yes
- Type: string
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[ 'PhoneNumberArn' => '<string>', 'PhoneNumberId' => '<string>', ]
Result Details
Members
- PhoneNumberArn
-
- Type: string
The Amazon Resource Name (ARN) of the phone number.
- PhoneNumberId
-
- Type: string
A unique identifier for the phone number.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- IdempotencyException:
An entity with the same name already exists.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
ListAgentStatuses
$result = $client->listAgentStatuses
([/* ... */]); $promise = $client->listAgentStatusesAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Lists agent statuses.
Parameter Syntax
$result = $client->listAgentStatuses([ 'AgentStatusTypes' => ['<string>', ...], 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- AgentStatusTypes
-
- Type: Array of strings
Available agent status types.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'AgentStatusSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Type' => 'ROUTABLE|CUSTOM|OFFLINE', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- AgentStatusSummaryList
-
- Type: Array of AgentStatusSummary structures
A summary of agent statuses.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListAnalyticsDataAssociations
$result = $client->listAnalyticsDataAssociations
([/* ... */]); $promise = $client->listAnalyticsDataAssociationsAsync
([/* ... */]);
Lists the association status of requested dataset ID for a given Amazon Connect instance.
Parameter Syntax
$result = $client->listAnalyticsDataAssociations([ 'DataSetId' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- DataSetId
-
- Type: string
The identifier of the dataset to get the association status.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'Results' => [ [ 'DataSetId' => '<string>', 'ResourceShareArn' => '<string>', 'ResourceShareId' => '<string>', 'TargetAccountId' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Results
-
- Type: Array of AnalyticsDataAssociationResult structures
An array of successful results:
DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
. This is a paginated API, sonextToken
is given if there are more results to be returned.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListApprovedOrigins
$result = $client->listApprovedOrigins
([/* ... */]); $promise = $client->listApprovedOriginsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listApprovedOrigins([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'Origins' => ['<string>', ...], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Origins
-
- Type: Array of strings
The approved origins.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListAuthenticationProfiles
$result = $client->listAuthenticationProfiles
([/* ... */]); $promise = $client->listAuthenticationProfilesAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Provides summary information about the authentication profiles in a specified Amazon Connect instance.
Parameter Syntax
$result = $client->listAuthenticationProfiles([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'AuthenticationProfileSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'IsDefault' => true || false, 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- AuthenticationProfileSummaryList
-
- Type: Array of AuthenticationProfileSummary structures
A summary of a given authentication profile.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListBots
$result = $client->listBots
([/* ... */]); $promise = $client->listBotsAsync
([/* ... */]);
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 returns both Amazon Lex V1 and V2 bots.
Parameter Syntax
$result = $client->listBots([ 'InstanceId' => '<string>', // REQUIRED 'LexVersion' => 'V1|V2', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LexVersion
-
- Required: Yes
- Type: string
The version of Amazon Lex or Amazon Lex V2.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'LexBots' => [ [ 'LexBot' => [ 'LexRegion' => '<string>', 'Name' => '<string>', ], 'LexV2Bot' => [ 'AliasArn' => '<string>', ], ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- LexBots
-
- Type: Array of LexBotConfig structures
The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListContactEvaluations
$result = $client->listContactEvaluations
([/* ... */]); $promise = $client->listContactEvaluationsAsync
([/* ... */]);
Lists contact evaluations in the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listContactEvaluations([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'NextToken' => '<string>', ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set because the value returned in the previous response is always null.
Result Syntax
[ 'EvaluationSummaryList' => [ [ 'CreatedTime' => <DateTime>, 'EvaluationArn' => '<string>', 'EvaluationFormId' => '<string>', 'EvaluationFormTitle' => '<string>', 'EvaluationId' => '<string>', 'EvaluatorArn' => '<string>', 'LastModifiedTime' => <DateTime>, 'Score' => [ 'AutomaticFail' => true || false, 'NotApplicable' => true || false, 'Percentage' => <float>, ], 'Status' => 'DRAFT|SUBMITTED', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- EvaluationSummaryList
-
- Required: Yes
- Type: Array of EvaluationSummary structures
Provides details about a list of contact evaluations belonging to an instance.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
This is always returned as null in the response.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListContactFlowModules
$result = $client->listContactFlowModules
([/* ... */]); $promise = $client->listContactFlowModulesAsync
([/* ... */]);
Provides information about the flow modules for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listContactFlowModules([ 'ContactFlowModuleState' => 'ACTIVE|ARCHIVED', 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- ContactFlowModuleState
-
- Type: string
The state of the flow module.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'ContactFlowModulesSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'Name' => '<string>', 'State' => 'ACTIVE|ARCHIVED', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ContactFlowModulesSummaryList
-
- Type: Array of ContactFlowModuleSummary structures
Information about the flow module.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListContactFlows
$result = $client->listContactFlows
([/* ... */]); $promise = $client->listContactFlowsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listContactFlows([ 'ContactFlowTypes' => ['<string>', ...], 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- ContactFlowTypes
-
- Type: Array of strings
The type of flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'ContactFlowSummaryList' => [ [ 'Arn' => '<string>', 'ContactFlowState' => 'ACTIVE|ARCHIVED', 'ContactFlowStatus' => 'PUBLISHED|SAVED', 'ContactFlowType' => 'CONTACT_FLOW|CUSTOMER_QUEUE|CUSTOMER_HOLD|CUSTOMER_WHISPER|AGENT_HOLD|AGENT_WHISPER|OUTBOUND_WHISPER|AGENT_TRANSFER|QUEUE_TRANSFER', 'Id' => '<string>', 'Name' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ContactFlowSummaryList
-
- Type: Array of ContactFlowSummary structures
Information about the flows.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListContactReferences
$result = $client->listContactReferences
([/* ... */]); $promise = $client->listContactReferencesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listContactReferences([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'NextToken' => '<string>', 'ReferenceTypes' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the initial contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set, because the value returned in the previous response is always null.
- ReferenceTypes
-
- Required: Yes
- Type: Array of strings
The type of reference.
Result Syntax
[ 'NextToken' => '<string>', 'ReferenceSummaryList' => [ [ 'Attachment' => [ 'Name' => '<string>', 'Status' => 'APPROVED|REJECTED', 'Value' => '<string>', ], 'Date' => [ 'Name' => '<string>', 'Value' => '<string>', ], 'Email' => [ 'Name' => '<string>', 'Value' => '<string>', ], 'Number' => [ 'Name' => '<string>', 'Value' => '<string>', ], 'String' => [ 'Name' => '<string>', 'Value' => '<string>', ], 'Url' => [ 'Name' => '<string>', 'Value' => '<string>', ], ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
This is always returned as null in the response.
- ReferenceSummaryList
-
- Type: Array of ReferenceSummary structures
Information about the flows.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
ListDefaultVocabularies
$result = $client->listDefaultVocabularies
([/* ... */]); $promise = $client->listDefaultVocabulariesAsync
([/* ... */]);
Lists the default vocabularies for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listDefaultVocabularies([ 'InstanceId' => '<string>', // REQUIRED 'LanguageCode' => 'ar-AE|de-CH|de-DE|en-AB|en-AU|en-GB|en-IE|en-IN|en-US|en-WL|es-ES|es-US|fr-CA|fr-FR|hi-IN|it-IT|ja-JP|ko-KR|pt-BR|pt-PT|zh-CN|en-NZ|en-ZA|ca-ES|da-DK|fi-FI|id-ID|ms-MY|nl-NL|no-NO|pl-PL|sv-SE|tl-PH', 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LanguageCode
-
- Type: string
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'DefaultVocabularyList' => [ [ 'InstanceId' => '<string>', 'LanguageCode' => 'ar-AE|de-CH|de-DE|en-AB|en-AU|en-GB|en-IE|en-IN|en-US|en-WL|es-ES|es-US|fr-CA|fr-FR|hi-IN|it-IT|ja-JP|ko-KR|pt-BR|pt-PT|zh-CN|en-NZ|en-ZA|ca-ES|da-DK|fi-FI|id-ID|ms-MY|nl-NL|no-NO|pl-PL|sv-SE|tl-PH', 'VocabularyId' => '<string>', 'VocabularyName' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- DefaultVocabularyList
-
- Required: Yes
- Type: Array of DefaultVocabulary structures
A list of default vocabularies.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
ListEvaluationFormVersions
$result = $client->listEvaluationFormVersions
([/* ... */]); $promise = $client->listEvaluationFormVersionsAsync
([/* ... */]);
Lists versions of an evaluation form in the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listEvaluationFormVersions([ 'EvaluationFormId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'EvaluationFormVersionSummaryList' => [ [ 'CreatedBy' => '<string>', 'CreatedTime' => <DateTime>, 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', 'EvaluationFormVersion' => <integer>, 'LastModifiedBy' => '<string>', 'LastModifiedTime' => <DateTime>, 'Locked' => true || false, 'Status' => 'DRAFT|ACTIVE', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- EvaluationFormVersionSummaryList
-
- Required: Yes
- Type: Array of EvaluationFormVersionSummary structures
Provides details about a list of evaluation forms belonging to an instance.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListEvaluationForms
$result = $client->listEvaluationForms
([/* ... */]); $promise = $client->listEvaluationFormsAsync
([/* ... */]);
Lists evaluation forms in the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listEvaluationForms([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'EvaluationFormSummaryList' => [ [ 'ActiveVersion' => <integer>, 'CreatedBy' => '<string>', 'CreatedTime' => <DateTime>, 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', 'LastActivatedBy' => '<string>', 'LastActivatedTime' => <DateTime>, 'LastModifiedBy' => '<string>', 'LastModifiedTime' => <DateTime>, 'LatestVersion' => <integer>, 'Title' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- EvaluationFormSummaryList
-
- Required: Yes
- Type: Array of EvaluationFormSummary structures
Provides details about a list of evaluation forms belonging to an instance.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListFlowAssociations
$result = $client->listFlowAssociations
([/* ... */]); $promise = $client->listFlowAssociationsAsync
([/* ... */]);
List the flow association based on the filters.
Parameter Syntax
$result = $client->listFlowAssociations([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'ResourceType' => 'VOICE_PHONE_NUMBER', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- ResourceType
-
- Type: string
A valid resource type.
Result Syntax
[ 'FlowAssociationSummaryList' => [ [ 'FlowId' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'VOICE_PHONE_NUMBER', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- FlowAssociationSummaryList
-
- Type: Array of FlowAssociationSummary structures
Summary of flow associations.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListHoursOfOperations
$result = $client->listHoursOfOperations
([/* ... */]); $promise = $client->listHoursOfOperationsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listHoursOfOperations([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'HoursOfOperationSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- HoursOfOperationSummaryList
-
- Type: Array of HoursOfOperationSummary structures
Information about the hours of operation.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListInstanceAttributes
$result = $client->listInstanceAttributes
([/* ... */]); $promise = $client->listInstanceAttributesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listInstanceAttributes([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'Attributes' => [ [ 'AttributeType' => 'INBOUND_CALLS|OUTBOUND_CALLS|CONTACTFLOW_LOGS|CONTACT_LENS|AUTO_RESOLVE_BEST_VOICES|USE_CUSTOM_TTS_VOICES|EARLY_MEDIA|MULTI_PARTY_CONFERENCE|HIGH_VOLUME_OUTBOUND|ENHANCED_CONTACT_MONITORING|ENHANCED_CHAT_MONITORING', 'Value' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- Attributes
-
- Type: Array of Attribute structures
The attribute types.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListInstanceStorageConfigs
$result = $client->listInstanceStorageConfigs
([/* ... */]); $promise = $client->listInstanceStorageConfigsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listInstanceStorageConfigs([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'ResourceType' => 'CHAT_TRANSCRIPTS|CALL_RECORDINGS|SCHEDULED_REPORTS|MEDIA_STREAMS|CONTACT_TRACE_RECORDS|AGENT_EVENTS|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS|ATTACHMENTS|CONTACT_EVALUATIONS|SCREEN_RECORDINGS|REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS|REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type.
Result Syntax
[ 'NextToken' => '<string>', 'StorageConfigs' => [ [ 'AssociationId' => '<string>', 'KinesisFirehoseConfig' => [ 'FirehoseArn' => '<string>', ], 'KinesisStreamConfig' => [ 'StreamArn' => '<string>', ], 'KinesisVideoStreamConfig' => [ 'EncryptionConfig' => [ 'EncryptionType' => 'KMS', 'KeyId' => '<string>', ], 'Prefix' => '<string>', 'RetentionPeriodHours' => <integer>, ], 'S3Config' => [ 'BucketName' => '<string>', 'BucketPrefix' => '<string>', 'EncryptionConfig' => [ 'EncryptionType' => 'KMS', 'KeyId' => '<string>', ], ], 'StorageType' => 'S3|KINESIS_VIDEO_STREAM|KINESIS_STREAM|KINESIS_FIREHOSE', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- StorageConfigs
-
- Type: Array of InstanceStorageConfig structures
A valid storage type.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListInstances
$result = $client->listInstances
([/* ... */]); $promise = $client->listInstancesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listInstances([ 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'InstanceSummaryList' => [ [ 'Arn' => '<string>', 'CreatedTime' => <DateTime>, 'Id' => '<string>', 'IdentityManagementType' => 'SAML|CONNECT_MANAGED|EXISTING_DIRECTORY', 'InboundCallsEnabled' => true || false, 'InstanceAccessUrl' => '<string>', 'InstanceAlias' => '<string>', 'InstanceStatus' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED', 'OutboundCallsEnabled' => true || false, 'ServiceRole' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- InstanceSummaryList
-
- Type: Array of InstanceSummary structures
Information about the instances.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListIntegrationAssociations
$result = $client->listIntegrationAssociations
([/* ... */]); $promise = $client->listIntegrationAssociationsAsync
([/* ... */]);
Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listIntegrationAssociations([ 'InstanceId' => '<string>', // REQUIRED 'IntegrationArn' => '<string>', 'IntegrationType' => 'EVENT|VOICE_ID|PINPOINT_APP|WISDOM_ASSISTANT|WISDOM_KNOWLEDGE_BASE|WISDOM_QUICK_RESPONSES|CASES_DOMAIN|APPLICATION|FILE_SCANNER', 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) of the integration.
- IntegrationType
-
- Type: string
The integration type.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'IntegrationAssociationSummaryList' => [ [ 'InstanceId' => '<string>', 'IntegrationArn' => '<string>', 'IntegrationAssociationArn' => '<string>', 'IntegrationAssociationId' => '<string>', 'IntegrationType' => 'EVENT|VOICE_ID|PINPOINT_APP|WISDOM_ASSISTANT|WISDOM_KNOWLEDGE_BASE|WISDOM_QUICK_RESPONSES|CASES_DOMAIN|APPLICATION|FILE_SCANNER', 'SourceApplicationName' => '<string>', 'SourceApplicationUrl' => '<string>', 'SourceType' => 'SALESFORCE|ZENDESK|CASES', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- IntegrationAssociationSummaryList
-
- Type: Array of IntegrationAssociationSummary structures
The associations.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListLambdaFunctions
$result = $client->listLambdaFunctions
([/* ... */]); $promise = $client->listLambdaFunctionsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listLambdaFunctions([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'LambdaFunctions' => ['<string>', ...], 'NextToken' => '<string>', ]
Result Details
Members
- LambdaFunctions
-
- Type: Array of strings
The Lambdafunction ARNs associated with the specified instance.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListLexBots
$result = $client->listLexBots
([/* ... */]); $promise = $client->listLexBotsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listLexBots([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. If no value is specified, the default is 10.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'LexBots' => [ [ 'LexRegion' => '<string>', 'Name' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- LexBots
-
- Type: Array of LexBot structures
The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListPhoneNumbers
$result = $client->listPhoneNumbers
([/* ... */]); $promise = $client->listPhoneNumbersAsync
([/* ... */]);
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
, andTHIRD_PARTY_DID
. While it returns numbers of those types, it incorrectly lists them asTOLL_FREE
orDID
. -
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 aResourceNotFoundException
. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
Parameter Syntax
$result = $client->listPhoneNumbers([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'PhoneNumberCountryCodes' => ['<string>', ...], 'PhoneNumberTypes' => ['<string>', ...], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- PhoneNumberCountryCodes
-
- Type: Array of strings
The ISO country code.
- PhoneNumberTypes
-
- Type: Array of strings
The type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.
Result Syntax
[ 'NextToken' => '<string>', 'PhoneNumberSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'PhoneNumber' => '<string>', 'PhoneNumberCountryCode' => 'AF|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BA|BW|BR|IO|VG|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CK|CR|HR|CU|CW|CY|CZ|CD|DK|DJ|DM|DO|TL|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|PF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GU|GT|GG|GN|GW|GY|HT|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|CI|JM|JP|JE|JO|KZ|KE|KI|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|AN|NC|NZ|NI|NE|NG|NU|KP|MP|NO|OM|PK|PW|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|CG|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|KR|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TG|TK|TO|TT|TN|TR|TM|TC|TV|VI|UG|UA|AE|GB|US|UY|UZ|VU|VA|VE|VN|WF|EH|YE|ZM|ZW', 'PhoneNumberType' => 'TOLL_FREE|DID|UIFN|SHARED|THIRD_PARTY_TF|THIRD_PARTY_DID|SHORT_CODE', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- PhoneNumberSummaryList
-
- Type: Array of PhoneNumberSummary structures
Information about the phone numbers.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListPhoneNumbersV2
$result = $client->listPhoneNumbersV2
([/* ... */]); $promise = $client->listPhoneNumbersV2Async
([/* ... */]);
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.
Parameter Syntax
$result = $client->listPhoneNumbersV2([ 'InstanceId' => '<string>', 'MaxResults' => <integer>, 'NextToken' => '<string>', 'PhoneNumberCountryCodes' => ['<string>', ...], 'PhoneNumberPrefix' => '<string>', 'PhoneNumberTypes' => ['<string>', ...], 'TargetArn' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. If both
TargetArn
andInstanceId
are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same AWS Region as the request. - MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- PhoneNumberCountryCodes
-
- Type: Array of strings
The ISO country code.
- PhoneNumberPrefix
-
- Type: string
The prefix of the phone number. If provided, it must contain
+
as part of the country code. - PhoneNumberTypes
-
- Type: Array of strings
The type of phone number.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. If both
TargetArn
andInstanceId
input are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.
Result Syntax
[ 'ListPhoneNumbersSummaryList' => [ [ 'InstanceId' => '<string>', 'PhoneNumber' => '<string>', 'PhoneNumberArn' => '<string>', 'PhoneNumberCountryCode' => 'AF|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BA|BW|BR|IO|VG|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CK|CR|HR|CU|CW|CY|CZ|CD|DK|DJ|DM|DO|TL|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|PF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GU|GT|GG|GN|GW|GY|HT|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|CI|JM|JP|JE|JO|KZ|KE|KI|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|AN|NC|NZ|NI|NE|NG|NU|KP|MP|NO|OM|PK|PW|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|CG|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|KR|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TG|TK|TO|TT|TN|TR|TM|TC|TV|VI|UG|UA|AE|GB|US|UY|UZ|VU|VA|VE|VN|WF|EH|YE|ZM|ZW', 'PhoneNumberDescription' => '<string>', 'PhoneNumberId' => '<string>', 'PhoneNumberType' => 'TOLL_FREE|DID|UIFN|SHARED|THIRD_PARTY_TF|THIRD_PARTY_DID|SHORT_CODE', 'SourcePhoneNumberArn' => '<string>', 'TargetArn' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ListPhoneNumbersSummaryList
-
- Type: Array of ListPhoneNumbersSummary structures
Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
ListPredefinedAttributes
$result = $client->listPredefinedAttributes
([/* ... */]); $promise = $client->listPredefinedAttributesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listPredefinedAttributes([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'PredefinedAttributeSummaryList' => [ [ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- PredefinedAttributeSummaryList
-
- Type: Array of PredefinedAttributeSummary structures
Summary of the predefined attributes.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListPrompts
$result = $client->listPrompts
([/* ... */]); $promise = $client->listPromptsAsync
([/* ... */]);
Provides information about the prompts for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listPrompts([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'PromptSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- PromptSummaryList
-
- Type: Array of PromptSummary structures
Information about the prompts.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListQueueQuickConnects
$result = $client->listQueueQuickConnects
([/* ... */]); $promise = $client->listQueueQuickConnectsAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Lists the quick connects associated with a queue.
Parameter Syntax
$result = $client->listQueueQuickConnects([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'QueueId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
Result Syntax
[ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'NextToken' => '<string>', 'QuickConnectSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'QuickConnectType' => 'USER|QUEUE|PHONE_NUMBER', ], // ... ], ]
Result Details
Members
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- QuickConnectSummaryList
-
- Type: Array of QuickConnectSummary structures
Information about the quick connects.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListQueues
$result = $client->listQueues
([/* ... */]); $promise = $client->listQueuesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listQueues([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'QueueTypes' => ['<string>', ...], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- QueueTypes
-
- Type: Array of strings
The type of queue.
Result Syntax
[ 'NextToken' => '<string>', 'QueueSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'QueueType' => 'STANDARD|AGENT', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- QueueSummaryList
-
- Type: Array of QueueSummary structures
Information about the queues.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListQuickConnects
$result = $client->listQuickConnects
([/* ... */]); $promise = $client->listQuickConnectsAsync
([/* ... */]);
Provides information about the quick connects for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listQuickConnects([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'QuickConnectTypes' => ['<string>', ...], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- QuickConnectTypes
-
- Type: Array of strings
The type of quick connect. In the Amazon Connect admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
Result Syntax
[ 'NextToken' => '<string>', 'QuickConnectSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'QuickConnectType' => 'USER|QUEUE|PHONE_NUMBER', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- QuickConnectSummaryList
-
- Type: Array of QuickConnectSummary structures
Information about the quick connects.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListRealtimeContactAnalysisSegmentsV2
$result = $client->listRealtimeContactAnalysisSegmentsV2
([/* ... */]); $promise = $client->listRealtimeContactAnalysisSegmentsV2Async
([/* ... */]);
Provides a list of analysis segments for a real-time analysis session.
Parameter Syntax
$result = $client->listRealtimeContactAnalysisSegmentsV2([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'OutputType' => 'Raw|Redacted', // REQUIRED 'SegmentTypes' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- OutputType
-
- Required: Yes
- Type: string
The Contact Lens output type to be returned.
- SegmentTypes
-
- Required: Yes
- Type: Array of strings
Enum with segment types . Each value corresponds to a segment type returned in the segments list of the API. Each segment type has its own structure. Different channels may have different sets of supported segment types.
Result Syntax
[ 'Channel' => 'VOICE|CHAT', 'NextToken' => '<string>', 'Segments' => [ [ 'Attachments' => [ 'Attachments' => [ [ 'AttachmentId' => '<string>', 'AttachmentName' => '<string>', 'ContentType' => '<string>', 'Status' => 'APPROVED|REJECTED|IN_PROGRESS', ], // ... ], 'DisplayName' => '<string>', 'Id' => '<string>', 'ParticipantId' => '<string>', 'ParticipantRole' => 'AGENT|CUSTOMER|SYSTEM|CUSTOM_BOT|SUPERVISOR', 'Time' => [ 'AbsoluteTime' => <DateTime>, ], ], 'Categories' => [ 'MatchedDetails' => [ '<RealTimeContactAnalysisCategoryName>' => [ 'PointsOfInterest' => [ [ 'TranscriptItems' => [ [ 'CharacterOffsets' => [ 'BeginOffsetChar' => <integer>, 'EndOffsetChar' => <integer>, ], 'Id' => '<string>', ], // ... ], ], // ... ], ], // ... ], ], 'Event' => [ 'DisplayName' => '<string>', 'EventType' => '<string>', 'Id' => '<string>', 'ParticipantId' => '<string>', 'ParticipantRole' => 'AGENT|CUSTOMER|SYSTEM|CUSTOM_BOT|SUPERVISOR', 'Time' => [ 'AbsoluteTime' => <DateTime>, ], ], 'Issues' => [ 'IssuesDetected' => [ [ 'TranscriptItems' => [ [ 'CharacterOffsets' => [ 'BeginOffsetChar' => <integer>, 'EndOffsetChar' => <integer>, ], 'Content' => '<string>', 'Id' => '<string>', ], // ... ], ], // ... ], ], 'PostContactSummary' => [ 'Content' => '<string>', 'FailureCode' => 'QUOTA_EXCEEDED|INSUFFICIENT_CONVERSATION_CONTENT|FAILED_SAFETY_GUIDELINES|INVALID_ANALYSIS_CONFIGURATION|INTERNAL_ERROR', 'Status' => 'FAILED|COMPLETED', ], 'Transcript' => [ 'Content' => '<string>', 'ContentType' => '<string>', 'DisplayName' => '<string>', 'Id' => '<string>', 'ParticipantId' => '<string>', 'ParticipantRole' => 'AGENT|CUSTOMER|SYSTEM|CUSTOM_BOT|SUPERVISOR', 'Redaction' => [ 'CharacterOffsets' => [ [ 'BeginOffsetChar' => <integer>, 'EndOffsetChar' => <integer>, ], // ... ], ], 'Sentiment' => 'POSITIVE|NEGATIVE|NEUTRAL', 'Time' => [ 'AbsoluteTime' => <DateTime>, ], ], ], // ... ], 'Status' => 'IN_PROGRESS|FAILED|COMPLETED', ]
Result Details
Members
- Channel
-
- Required: Yes
- Type: string
The channel of the contact.
Voice
will not be returned. - NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Segments
-
- Required: Yes
- Type: Array of RealtimeContactAnalysisSegment structures
An analyzed transcript or category.
- Status
-
- Required: Yes
- Type: string
Status of real-time contact analysis.
Errors
- OutputTypeNotFoundException:
Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact flow.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
ListRoutingProfileQueues
$result = $client->listRoutingProfileQueues
([/* ... */]); $promise = $client->listRoutingProfileQueuesAsync
([/* ... */]);
Lists the queues associated with a routing profile.
Parameter Syntax
$result = $client->listRoutingProfileQueues([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'NextToken' => '<string>', 'RoutingProfileQueueConfigSummaryList' => [ [ 'Channel' => 'VOICE|CHAT|TASK', 'Delay' => <integer>, 'Priority' => <integer>, 'QueueArn' => '<string>', 'QueueId' => '<string>', 'QueueName' => '<string>', ], // ... ], ]
Result Details
Members
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- RoutingProfileQueueConfigSummaryList
-
- Type: Array of RoutingProfileQueueConfigSummary structures
Information about the routing profiles.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListRoutingProfiles
$result = $client->listRoutingProfiles
([/* ... */]); $promise = $client->listRoutingProfilesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listRoutingProfiles([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'RoutingProfileSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- RoutingProfileSummaryList
-
- Type: Array of RoutingProfileSummary structures
Information about the routing profiles.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListRules
$result = $client->listRules
([/* ... */]); $promise = $client->listRulesAsync
([/* ... */]);
List all rules for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listRules([ 'EventSourceName' => 'OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate|OnContactEvaluationSubmit|OnMetricDataUpdate|OnCaseCreate|OnCaseUpdate', 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'PublishStatus' => 'DRAFT|PUBLISHED', ]);
Parameter Details
Members
- EventSourceName
-
- Type: string
The name of the event source.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- PublishStatus
-
- Type: string
The publish status of the rule.
Result Syntax
[ 'NextToken' => '<string>', 'RuleSummaryList' => [ [ 'ActionSummaries' => [ [ 'ActionType' => 'CREATE_TASK|ASSIGN_CONTACT_CATEGORY|GENERATE_EVENTBRIDGE_EVENT|SEND_NOTIFICATION|CREATE_CASE|UPDATE_CASE|END_ASSOCIATED_TASKS|SUBMIT_AUTO_EVALUATION', ], // ... ], 'CreatedTime' => <DateTime>, 'EventSourceName' => 'OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate|OnContactEvaluationSubmit|OnMetricDataUpdate|OnCaseCreate|OnCaseUpdate', 'LastUpdatedTime' => <DateTime>, 'Name' => '<string>', 'PublishStatus' => 'DRAFT|PUBLISHED', 'RuleArn' => '<string>', 'RuleId' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- RuleSummaryList
-
- Required: Yes
- Type: Array of RuleSummary structures
Summary information about a rule.
Errors
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
ListSecurityKeys
$result = $client->listSecurityKeys
([/* ... */]); $promise = $client->listSecurityKeysAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listSecurityKeys([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'SecurityKeys' => [ [ 'AssociationId' => '<string>', 'CreationTime' => <DateTime>, 'Key' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- SecurityKeys
-
- Type: Array of SecurityKey structures
The security keys.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListSecurityProfileApplications
$result = $client->listSecurityProfileApplications
([/* ... */]); $promise = $client->listSecurityProfileApplicationsAsync
([/* ... */]);
Returns a list of third-party applications in a specific security profile.
Parameter Syntax
$result = $client->listSecurityProfileApplications([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SecurityProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SecurityProfileId
-
- Required: Yes
- Type: string
The identifier for the security profle.
Result Syntax
[ 'Applications' => [ [ 'ApplicationPermissions' => ['<string>', ...], 'Namespace' => '<string>', ], // ... ], 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'NextToken' => '<string>', ]
Result Details
Members
- Applications
-
- Type: Array of Application structures
A list of the third-party application's metadata.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListSecurityProfilePermissions
$result = $client->listSecurityProfilePermissions
([/* ... */]); $promise = $client->listSecurityProfilePermissionsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listSecurityProfilePermissions([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SecurityProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SecurityProfileId
-
- Required: Yes
- Type: string
The identifier for the security profle.
Result Syntax
[ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'NextToken' => '<string>', 'Permissions' => ['<string>', ...], ]
Result Details
Members
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Permissions
-
- Type: Array of strings
The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListSecurityProfiles
$result = $client->listSecurityProfiles
([/* ... */]); $promise = $client->listSecurityProfilesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listSecurityProfiles([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'SecurityProfileSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- SecurityProfileSummaryList
-
- Type: Array of SecurityProfileSummary structures
Information about the security profiles.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListTagsForResource
$result = $client->listTagsForResource
([/* ... */]); $promise = $client->listTagsForResourceAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listTagsForResource([ 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource. All Amazon Connect resources (instances, queues, flows, routing profiles, etc) have an ARN. To locate the ARN for an instance, for example, see Find your Amazon Connect instance ID/ARN.
Result Syntax
[ 'tags' => ['<string>', ...], ]
Result Details
Members
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
Information about the tags.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
ListTaskTemplates
$result = $client->listTaskTemplates
([/* ... */]); $promise = $client->listTaskTemplatesAsync
([/* ... */]);
Lists task templates for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listTaskTemplates([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'Name' => '<string>', 'NextToken' => '<string>', 'Status' => 'ACTIVE|INACTIVE', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
It is not expected that you set this.
- Name
-
- Type: string
The name of the task template.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
- Status
-
- Type: string
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.
Result Syntax
[ 'NextToken' => '<string>', 'TaskTemplates' => [ [ 'Arn' => '<string>', 'CreatedTime' => <DateTime>, 'Description' => '<string>', 'Id' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Status' => 'ACTIVE|INACTIVE', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
- TaskTemplates
-
- Type: Array of TaskTemplateMetadata structures
Provides details about a list of task templates belonging to an instance.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListTrafficDistributionGroupUsers
$result = $client->listTrafficDistributionGroupUsers
([/* ... */]); $promise = $client->listTrafficDistributionGroupUsersAsync
([/* ... */]);
Lists traffic distribution group users.
Parameter Syntax
$result = $client->listTrafficDistributionGroupUsers([ 'MaxResults' => <integer>, 'NextToken' => '<string>', 'TrafficDistributionGroupId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- TrafficDistributionGroupId
-
- Required: Yes
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
Result Syntax
[ 'NextToken' => '<string>', 'TrafficDistributionGroupUserSummaryList' => [ [ 'UserId' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- TrafficDistributionGroupUserSummaryList
-
- Type: Array of TrafficDistributionGroupUserSummary structures
A list of traffic distribution group users.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListTrafficDistributionGroups
$result = $client->listTrafficDistributionGroups
([/* ... */]); $promise = $client->listTrafficDistributionGroupsAsync
([/* ... */]);
Lists traffic distribution groups.
Parameter Syntax
$result = $client->listTrafficDistributionGroups([ 'InstanceId' => '<string>', 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'TrafficDistributionGroupSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'InstanceArn' => '<string>', 'IsDefault' => true || false, 'Name' => '<string>', 'Status' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED|PENDING_DELETION|DELETION_FAILED|UPDATE_IN_PROGRESS', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- TrafficDistributionGroupSummaryList
-
- Type: Array of TrafficDistributionGroupSummary structures
A list of traffic distribution groups.
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListUseCases
$result = $client->listUseCases
([/* ... */]); $promise = $client->listUseCasesAsync
([/* ... */]);
Lists the use cases for the integration association.
Parameter Syntax
$result = $client->listUseCases([ 'InstanceId' => '<string>', // REQUIRED 'IntegrationAssociationId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IntegrationAssociationId
-
- Required: Yes
- Type: string
The identifier for the integration association.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'UseCaseSummaryList' => [ [ 'UseCaseArn' => '<string>', 'UseCaseId' => '<string>', 'UseCaseType' => 'RULES_EVALUATION|CONNECT_CAMPAIGNS', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- UseCaseSummaryList
-
- Type: Array of UseCase structures
The use cases.
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- ThrottlingException:
The throttling limit has been exceeded.
ListUserHierarchyGroups
$result = $client->listUserHierarchyGroups
([/* ... */]); $promise = $client->listUserHierarchyGroupsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->listUserHierarchyGroups([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'UserHierarchyGroupSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- UserHierarchyGroupSummaryList
-
- Type: Array of HierarchyGroupSummary structures
Information about the hierarchy groups.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListUserProficiencies
$result = $client->listUserProficiencies
([/* ... */]); $promise = $client->listUserProficienciesAsync
([/* ... */]);
Lists proficiencies associated with a user.
Parameter Syntax
$result = $client->listUserProficiencies([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'NextToken' => '<string>', 'UserProficiencyList' => [ [ 'AttributeName' => '<string>', 'AttributeValue' => '<string>', 'Level' => <float>, ], // ... ], ]
Result Details
Members
- LastModifiedRegion
-
- Type: string
The region in which a user's proficiencies were last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The last time that the user's proficiencies are were modified.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- UserProficiencyList
-
- Type: Array of UserProficiency structures
Information about the user proficiencies.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListUsers
$result = $client->listUsers
([/* ... */]); $promise = $client->listUsersAsync
([/* ... */]);
Provides summary information about the users for the specified Amazon Connect instance.
Parameter Syntax
$result = $client->listUsers([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Result Syntax
[ 'NextToken' => '<string>', 'UserSummaryList' => [ [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Username' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- UserSummaryList
-
- Type: Array of UserSummary structures
Information about the users.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ListViewVersions
$result = $client->listViewVersions
([/* ... */]); $promise = $client->listViewVersionsAsync
([/* ... */]);
Returns all the available versions for the specified Amazon Connect instance and view identifier.
Results will be sorted from highest to lowest.
Parameter Syntax
$result = $client->listViewVersions([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'ViewId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- ViewId
-
- Required: Yes
- Type: string
The identifier of the view. Both
ViewArn
andViewId
can be used.
Result Syntax
[ 'NextToken' => '<string>', 'ViewVersionSummaryList' => [ [ 'Arn' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'Name' => '<string>', 'Type' => 'CUSTOMER_MANAGED|AWS_MANAGED', 'Version' => <integer>, 'VersionDescription' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- ViewVersionSummaryList
-
- Type: Array of ViewVersionSummary structures
A list of view version summaries.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
ListViews
$result = $client->listViews
([/* ... */]); $promise = $client->listViewsAsync
([/* ... */]);
Returns views in the given instance.
Results are sorted primarily by type, and secondarily by name.
Parameter Syntax
$result = $client->listViews([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'Type' => 'CUSTOMER_MANAGED|AWS_MANAGED', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page. The default MaxResult size is 100.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Type
-
- Type: string
The type of the view.
Result Syntax
[ 'NextToken' => '<string>', 'ViewsSummaryList' => [ [ 'Arn' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'Name' => '<string>', 'Status' => 'PUBLISHED|SAVED', 'Type' => 'CUSTOMER_MANAGED|AWS_MANAGED', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- ViewsSummaryList
-
- Type: Array of ViewSummary structures
A list of view summaries.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
MonitorContact
$result = $client->monitorContact
([/* ... */]); $promise = $client->monitorContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->monitorContact([ 'AllowedMonitorCapabilities' => ['<string>', ...], 'ClientToken' => '<string>', 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AllowedMonitorCapabilities
-
- Type: Array of strings
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge. AllowedMonitorCapabilities is required if barge is enabled.
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[ 'ContactArn' => '<string>', 'ContactId' => '<string>', ]
Result Details
Members
- ContactArn
-
- Type: string
The ARN of the contact.
- ContactId
-
- Type: string
The identifier of the contact.
Errors
- InvalidRequestException:
The request is not valid.
- IdempotencyException:
An entity with the same name already exists.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
PauseContact
$result = $client->pauseContact
([/* ... */]); $promise = $client->pauseContactAsync
([/* ... */]);
Allows pausing an ongoing task contact.
Parameter Syntax
$result = $client->pauseContact([ 'ContactFlowId' => '<string>', 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowId
-
- Type: string
The identifier of the flow.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the
instanceId
in the ARN of the instance.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ConflictException:
Operation cannot be performed at this time as there is a conflict with another operation or contact state.
PutUserStatus
$result = $client->putUserStatus
([/* ... */]); $promise = $client->putUserStatusAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->putUserStatus([ 'AgentStatusId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AgentStatusId
-
- Required: Yes
- Type: string
The identifier of the agent status.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
ReleasePhoneNumber
$result = $client->releasePhoneNumber
([/* ... */]); $promise = $client->releasePhoneNumberAsync
([/* ... */]);
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 Services Support.
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.
Parameter Syntax
$result = $client->releasePhoneNumber([ 'ClientToken' => '<string>', 'PhoneNumberId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- PhoneNumberId
-
- Required: Yes
- Type: string
A unique identifier for the phone number.
Result Syntax
[]
Result Details
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceInUseException:
That resource is already in use. Please try another.
- IdempotencyException:
An entity with the same name already exists.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
ReplicateInstance
$result = $client->replicateInstance
([/* ... */]); $promise = $client->replicateInstanceAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->replicateInstance([ 'ClientToken' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'ReplicaAlias' => '<string>', // REQUIRED 'ReplicaRegion' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You can provide the
InstanceId
, or the entire ARN. - ReplicaAlias
-
- Required: Yes
- Type: string
The alias for the replicated instance. The
ReplicaAlias
must be unique. - ReplicaRegion
-
- Required: Yes
- Type: string
The Amazon Web Services Region where to replicate the Amazon Connect instance.
Result Syntax
[ 'Arn' => '<string>', 'Id' => '<string>', ]
Result Details
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the replicated instance.
- Id
-
- Type: string
The identifier of the replicated instance. You can find the
instanceId
in the ARN of the instance. The replicated instance has the same identifier as the instance it was replicated from.
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotReadyException:
The resource is not ready.
- ResourceConflictException:
A resource already has that name.
ResumeContact
$result = $client->resumeContact
([/* ... */]); $promise = $client->resumeContactAsync
([/* ... */]);
Allows resuming a task contact in a paused state.
Parameter Syntax
$result = $client->resumeContact([ 'ContactFlowId' => '<string>', 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowId
-
- Type: string
The identifier of the flow.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the
instanceId
in the ARN of the instance.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- ConflictException:
Operation cannot be performed at this time as there is a conflict with another operation or contact state.
ResumeContactRecording
$result = $client->resumeContactRecording
([/* ... */]); $promise = $client->resumeContactRecordingAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->resumeContactRecording([ 'ContactId' => '<string>', // REQUIRED 'InitialContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InitialContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchAgentStatuses
$result = $client->searchAgentStatuses
([/* ... */]); $promise = $client->searchAgentStatusesAsync
([/* ... */]);
Searches AgentStatuses in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchAgentStatuses([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'AttributeFilter' => [ 'AndCondition' => [ 'TagConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], ], 'OrConditions' => [ [ 'TagConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: AgentStatusSearchCriteria structure
The search criteria to be used to return agent statuses.
- SearchFilter
-
- Type: AgentStatusSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'AgentStatuses' => [ [ 'AgentStatusARN' => '<string>', 'AgentStatusId' => '<string>', 'Description' => '<string>', 'DisplayOrder' => <integer>, 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'State' => 'ENABLED|DISABLED', 'Tags' => ['<string>', ...], 'Type' => 'ROUTABLE|CUSTOM|OFFLINE', ], // ... ], 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', ]
Result Details
Members
- AgentStatuses
-
- Type: Array of AgentStatus structures
The search criteria to be used to return agent statuses.
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of agent statuses which matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchAvailablePhoneNumbers
$result = $client->searchAvailablePhoneNumbers
([/* ... */]); $promise = $client->searchAvailablePhoneNumbersAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->searchAvailablePhoneNumbers([ 'InstanceId' => '<string>', 'MaxResults' => <integer>, 'NextToken' => '<string>', 'PhoneNumberCountryCode' => 'AF|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BA|BW|BR|IO|VG|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CK|CR|HR|CU|CW|CY|CZ|CD|DK|DJ|DM|DO|TL|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|PF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GU|GT|GG|GN|GW|GY|HT|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|CI|JM|JP|JE|JO|KZ|KE|KI|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|AN|NC|NZ|NI|NE|NG|NU|KP|MP|NO|OM|PK|PW|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|CG|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|KR|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TG|TK|TO|TT|TN|TR|TM|TC|TV|VI|UG|UA|AE|GB|US|UY|UZ|VU|VA|VE|VN|WF|EH|YE|ZM|ZW', // REQUIRED 'PhoneNumberPrefix' => '<string>', 'PhoneNumberType' => 'TOLL_FREE|DID|UIFN|SHARED|THIRD_PARTY_TF|THIRD_PARTY_DID|SHORT_CODE', // REQUIRED 'TargetArn' => '<string>', ]);
Parameter Details
Members
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter
InstanceId
orTargetArn
. - MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- PhoneNumberCountryCode
-
- Required: Yes
- Type: string
The ISO country code.
- PhoneNumberPrefix
-
- Type: string
The prefix of the phone number. If provided, it must contain
+
as part of the country code. - PhoneNumberType
-
- Required: Yes
- Type: string
The type of phone number.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter
InstanceId
orTargetArn
.
Result Syntax
[ 'AvailableNumbersList' => [ [ 'PhoneNumber' => '<string>', 'PhoneNumberCountryCode' => 'AF|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BA|BW|BR|IO|VG|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CK|CR|HR|CU|CW|CY|CZ|CD|DK|DJ|DM|DO|TL|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|PF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GU|GT|GG|GN|GW|GY|HT|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|CI|JM|JP|JE|JO|KZ|KE|KI|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|AN|NC|NZ|NI|NE|NG|NU|KP|MP|NO|OM|PK|PW|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|CG|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|KR|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TG|TK|TO|TT|TN|TR|TM|TC|TV|VI|UG|UA|AE|GB|US|UY|UZ|VU|VA|VE|VN|WF|EH|YE|ZM|ZW', 'PhoneNumberType' => 'TOLL_FREE|DID|UIFN|SHARED|THIRD_PARTY_TF|THIRD_PARTY_DID|SHORT_CODE', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- AvailableNumbersList
-
- Type: Array of AvailableNumberSummary structures
A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
SearchContactFlowModules
$result = $client->searchContactFlowModules
([/* ... */]); $promise = $client->searchContactFlowModulesAsync
([/* ... */]);
Searches the flow modules in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchContactFlowModules([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: ContactFlowModuleSearchCriteria structure
The search criteria to be used to return contact flow modules.
The
name
anddescription
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results. - SearchFilter
-
- Type: ContactFlowModuleSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'ContactFlowModules' => [ [ 'Arn' => '<string>', 'Content' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'Name' => '<string>', 'State' => 'ACTIVE|ARCHIVED', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of contact flows which matched your search query.
- ContactFlowModules
-
- Type: Array of ContactFlowModule structures
The search criteria to be used to return contact flow modules.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchContactFlows
$result = $client->searchContactFlows
([/* ... */]); $promise = $client->searchContactFlowsAsync
([/* ... */]);
Searches the contact flows in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchContactFlows([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StateCondition' => 'ACTIVE|ARCHIVED', 'StatusCondition' => 'PUBLISHED|SAVED', 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], 'TypeCondition' => 'CONTACT_FLOW|CUSTOMER_QUEUE|CUSTOMER_HOLD|CUSTOMER_WHISPER|AGENT_HOLD|AGENT_WHISPER|OUTBOUND_WHISPER|AGENT_TRANSFER|QUEUE_TRANSFER', ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: ContactFlowSearchCriteria structure
The search criteria to be used to return flows.
The
name
anddescription
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results. - SearchFilter
-
- Type: ContactFlowSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'ContactFlows' => [ [ 'Arn' => '<string>', 'Content' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'Name' => '<string>', 'State' => 'ACTIVE|ARCHIVED', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], 'Type' => 'CONTACT_FLOW|CUSTOMER_QUEUE|CUSTOMER_HOLD|CUSTOMER_WHISPER|AGENT_HOLD|AGENT_WHISPER|OUTBOUND_WHISPER|AGENT_TRANSFER|QUEUE_TRANSFER', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of contact flows which matched your search query.
- ContactFlows
-
- Type: Array of ContactFlow structures
Information about the flows.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchContacts
$result = $client->searchContacts
([/* ... */]); $promise = $client->searchContactsAsync
([/* ... */]);
Searches contacts in an Amazon Connect instance.
Parameter Syntax
$result = $client->searchContacts([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AgentHierarchyGroups' => [ 'L1Ids' => ['<string>', ...], 'L2Ids' => ['<string>', ...], 'L3Ids' => ['<string>', ...], 'L4Ids' => ['<string>', ...], 'L5Ids' => ['<string>', ...], ], 'AgentIds' => ['<string>', ...], 'Channels' => ['<string>', ...], 'ContactAnalysis' => [ 'Transcript' => [ 'Criteria' => [ // REQUIRED [ 'MatchType' => 'MATCH_ALL|MATCH_ANY', // REQUIRED 'ParticipantRole' => 'AGENT|CUSTOMER|SYSTEM|CUSTOM_BOT|SUPERVISOR', // REQUIRED 'SearchText' => ['<string>', ...], // REQUIRED ], // ... ], 'MatchType' => 'MATCH_ALL|MATCH_ANY', ], ], 'InitiationMethods' => ['<string>', ...], 'QueueIds' => ['<string>', ...], 'SearchableContactAttributes' => [ 'Criteria' => [ // REQUIRED [ 'Key' => '<string>', // REQUIRED 'Values' => ['<string>', ...], // REQUIRED ], // ... ], 'MatchType' => 'MATCH_ALL|MATCH_ANY', ], ], 'Sort' => [ 'FieldName' => 'INITIATION_TIMESTAMP|SCHEDULED_TIMESTAMP|CONNECTED_TO_AGENT_TIMESTAMP|DISCONNECT_TIMESTAMP|INITIATION_METHOD|CHANNEL', // REQUIRED 'Order' => 'ASCENDING|DESCENDING', // REQUIRED ], 'TimeRange' => [ // REQUIRED 'EndTime' => <integer || string || DateTime>, // REQUIRED 'StartTime' => <integer || string || DateTime>, // REQUIRED 'Type' => 'INITIATION_TIMESTAMP|SCHEDULED_TIMESTAMP|CONNECTED_TO_AGENT_TIMESTAMP|DISCONNECT_TIMESTAMP', // REQUIRED ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: SearchCriteria structure
The search criteria to be used to return contacts.
- Sort
-
- Type: Sort structure
Specifies a field to sort by and a sort order.
- TimeRange
-
- Required: Yes
- Type: SearchContactsTimeRange structure
Time range that you want to search results.
Result Syntax
[ 'Contacts' => [ [ 'AgentInfo' => [ 'ConnectedToAgentTimestamp' => <DateTime>, 'Id' => '<string>', ], 'Arn' => '<string>', 'Channel' => 'VOICE|CHAT|TASK', 'DisconnectTimestamp' => <DateTime>, 'Id' => '<string>', 'InitialContactId' => '<string>', 'InitiationMethod' => 'INBOUND|OUTBOUND|TRANSFER|QUEUE_TRANSFER|CALLBACK|API|DISCONNECT|MONITOR|EXTERNAL_OUTBOUND', 'InitiationTimestamp' => <DateTime>, 'PreviousContactId' => '<string>', 'QueueInfo' => [ 'EnqueueTimestamp' => <DateTime>, 'Id' => '<string>', ], 'ScheduledTimestamp' => <DateTime>, ], // ... ], 'NextToken' => '<string>', 'TotalCount' => <integer>, ]
Result Details
Members
- Contacts
-
- Required: Yes
- Type: Array of ContactSearchSummary structures
Information about the contacts.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- TotalCount
-
- Type: long (int|float)
The total number of contacts which matched your search query.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
SearchHoursOfOperations
$result = $client->searchHoursOfOperations
([/* ... */]); $promise = $client->searchHoursOfOperationsAsync
([/* ... */]);
Searches the hours of operation in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchHoursOfOperations([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: HoursOfOperationSearchCriteria structure
The search criteria to be used to return hours of operations.
- SearchFilter
-
- Type: HoursOfOperationSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'HoursOfOperations' => [ [ 'Config' => [ [ 'Day' => 'SUNDAY|MONDAY|TUESDAY|WEDNESDAY|THURSDAY|FRIDAY|SATURDAY', 'EndTime' => [ 'Hours' => <integer>, 'Minutes' => <integer>, ], 'StartTime' => [ 'Hours' => <integer>, 'Minutes' => <integer>, ], ], // ... ], 'Description' => '<string>', 'HoursOfOperationArn' => '<string>', 'HoursOfOperationId' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Tags' => ['<string>', ...], 'TimeZone' => '<string>', ], // ... ], 'NextToken' => '<string>', ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of hours of operations which matched your search query.
- HoursOfOperations
-
- Type: Array of HoursOfOperation structures
Information about the hours of operations.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchPredefinedAttributes
$result = $client->searchPredefinedAttributes
([/* ... */]); $promise = $client->searchPredefinedAttributesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->searchPredefinedAttributes([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: PredefinedAttributeSearchCriteria structure
The search criteria to be used to return predefined attributes.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'PredefinedAttributes' => [ [ 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Values' => [ 'StringList' => ['<string>', ...], ], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The approximate number of predefined attributes which matched your search query.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- PredefinedAttributes
-
- Type: Array of PredefinedAttribute structures
Predefined attributes matched by the search criteria.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchPrompts
$result = $client->searchPrompts
([/* ... */]); $promise = $client->searchPromptsAsync
([/* ... */]);
Searches prompts in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchPrompts([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: PromptSearchCriteria structure
The search criteria to be used to return prompts.
- SearchFilter
-
- Type: PromptSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'Prompts' => [ [ 'Description' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'PromptARN' => '<string>', 'PromptId' => '<string>', 'Tags' => ['<string>', ...], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of quick connects which matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Prompts
-
- Type: Array of Prompt structures
Information about the prompts.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchQueues
$result = $client->searchQueues
([/* ... */]); $promise = $client->searchQueuesAsync
([/* ... */]);
Searches queues in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchQueues([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'QueueTypeCondition' => 'STANDARD', 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: QueueSearchCriteria structure
The search criteria to be used to return queues.
The
name
anddescription
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results. - SearchFilter
-
- Type: QueueSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'Queues' => [ [ 'Description' => '<string>', 'HoursOfOperationId' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'MaxContacts' => <integer>, 'Name' => '<string>', 'OutboundCallerConfig' => [ 'OutboundCallerIdName' => '<string>', 'OutboundCallerIdNumberId' => '<string>', 'OutboundFlowId' => '<string>', ], 'QueueArn' => '<string>', 'QueueId' => '<string>', 'Status' => 'ENABLED|DISABLED', 'Tags' => ['<string>', ...], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of queues which matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Queues
-
- Type: Array of Queue structures
Information about the queues.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchQuickConnects
$result = $client->searchQuickConnects
([/* ... */]); $promise = $client->searchQuickConnectsAsync
([/* ... */]);
Searches quick connects in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchQuickConnects([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: QuickConnectSearchCriteria structure
The search criteria to be used to return quick connects.
- SearchFilter
-
- Type: QuickConnectSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'QuickConnects' => [ [ 'Description' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'QuickConnectARN' => '<string>', 'QuickConnectConfig' => [ 'PhoneConfig' => [ 'PhoneNumber' => '<string>', ], 'QueueConfig' => [ 'ContactFlowId' => '<string>', 'QueueId' => '<string>', ], 'QuickConnectType' => 'USER|QUEUE|PHONE_NUMBER', 'UserConfig' => [ 'ContactFlowId' => '<string>', 'UserId' => '<string>', ], ], 'QuickConnectId' => '<string>', 'Tags' => ['<string>', ...], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of quick connects which matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- QuickConnects
-
- Type: Array of QuickConnect structures
Information about the quick connects.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchResourceTags
$result = $client->searchResourceTags
([/* ... */]); $promise = $client->searchResourceTagsAsync
([/* ... */]);
Searches tags used in an Amazon Connect instance using optional search criteria.
Parameter Syntax
$result = $client->searchResourceTags([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'ResourceTypes' => ['<string>', ...], 'SearchCriteria' => [ 'TagSearchCondition' => [ 'tagKey' => '<string>', 'tagKeyComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'tagValue' => '<string>', 'tagValueComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- ResourceTypes
-
- Type: Array of strings
The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
Supported resource types
-
AGENT
-
ROUTING_PROFILE
-
STANDARD_QUEUE
-
SECURITY_PROFILE
-
OPERATING_HOURS
-
PROMPT
-
CONTACT_FLOW
-
FLOW_MODULE
- SearchCriteria
-
- Type: ResourceTagsSearchCriteria structure
The search criteria to be used to return tags.
Result Syntax
[ 'NextToken' => '<string>', 'Tags' => [ [ 'key' => '<string>', 'value' => '<string>', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Tags
-
- Type: Array of TagSet structures
A list of tags used in the Amazon Connect instance.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- MaximumResultReturnedException:
Maximum number (1000) of tags have been returned with current request. Consider changing request parameters to get more tags.
SearchRoutingProfiles
$result = $client->searchRoutingProfiles
([/* ... */]); $promise = $client->searchRoutingProfilesAsync
([/* ... */]);
Searches routing profiles in an Amazon Connect instance, with optional filtering.
Parameter Syntax
$result = $client->searchRoutingProfiles([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: RoutingProfileSearchCriteria structure
The search criteria to be used to return routing profiles.
The
name
anddescription
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results. - SearchFilter
-
- Type: RoutingProfileSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'RoutingProfiles' => [ [ 'AgentAvailabilityTimer' => 'TIME_SINCE_LAST_ACTIVITY|TIME_SINCE_LAST_INBOUND', 'AssociatedQueueIds' => ['<string>', ...], 'DefaultOutboundQueueId' => '<string>', 'Description' => '<string>', 'InstanceId' => '<string>', 'IsDefault' => true || false, 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'MediaConcurrencies' => [ [ 'Channel' => 'VOICE|CHAT|TASK', 'Concurrency' => <integer>, 'CrossChannelBehavior' => [ 'BehaviorType' => 'ROUTE_CURRENT_CHANNEL_ONLY|ROUTE_ANY_CHANNEL', ], ], // ... ], 'Name' => '<string>', 'NumberOfAssociatedQueues' => <integer>, 'NumberOfAssociatedUsers' => <integer>, 'RoutingProfileArn' => '<string>', 'RoutingProfileId' => '<string>', 'Tags' => ['<string>', ...], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of routing profiles which matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- RoutingProfiles
-
- Type: Array of RoutingProfile structures
Information about the routing profiles.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchSecurityProfiles
$result = $client->searchSecurityProfiles
([/* ... */]); $promise = $client->searchSecurityProfilesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->searchSecurityProfiles([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: SecurityProfileSearchCriteria structure
The search criteria to be used to return security profiles.
The
name
field support "contains" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.The currently supported value for
FieldName
:name
- SearchFilter
-
- Type: SecurityProfilesSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'SecurityProfiles' => [ [ 'Arn' => '<string>', 'Description' => '<string>', 'Id' => '<string>', 'OrganizationResourceId' => '<string>', 'SecurityProfileName' => '<string>', 'Tags' => ['<string>', ...], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of security profiles which matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- SecurityProfiles
-
- Type: Array of SecurityProfileSearchSummary structures
Information about the security profiles.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchUserHierarchyGroups
$result = $client->searchUserHierarchyGroups
([/* ... */]); $promise = $client->searchUserHierarchyGroupsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->searchUserHierarchyGroups([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'AttributeFilter' => [ 'AndCondition' => [ 'TagConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], ], 'OrConditions' => [ [ 'TagConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: UserHierarchyGroupSearchCriteria structure
The search criteria to be used to return UserHierarchyGroups.
- SearchFilter
-
- Type: UserHierarchyGroupSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'UserHierarchyGroups' => [ [ 'Arn' => '<string>', 'HierarchyPath' => [ 'LevelFive' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelFour' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelOne' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelThree' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], 'LevelTwo' => [ 'Arn' => '<string>', 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', ], ], 'Id' => '<string>', 'LastModifiedRegion' => '<string>', 'LastModifiedTime' => <DateTime>, 'LevelId' => '<string>', 'Name' => '<string>', 'Tags' => ['<string>', ...], ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of userHierarchyGroups which matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- UserHierarchyGroups
-
- Type: Array of HierarchyGroup structures
Information about the userHierarchyGroups.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchUsers
$result = $client->searchUsers
([/* ... */]); $promise = $client->searchUsersAsync
([/* ... */]);
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Parameter Syntax
$result = $client->searchUsers([ 'InstanceId' => '<string>', // REQUIRED 'MaxResults' => <integer>, 'NextToken' => '<string>', 'SearchCriteria' => [ 'AndConditions' => [ [...], // RECURSIVE // ... ], 'HierarchyGroupCondition' => [ 'HierarchyGroupMatchType' => 'EXACT|WITH_CHILD_GROUPS', 'Value' => '<string>', ], 'ListCondition' => [ 'Conditions' => [ [ 'NumberCondition' => [ 'ComparisonType' => 'GREATER_OR_EQUAL|GREATER|LESSER_OR_EQUAL|LESSER|EQUAL|NOT_EQUAL|RANGE', 'FieldName' => '<string>', 'MaxValue' => <integer>, 'MinValue' => <integer>, ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], // ... ], 'TargetListType' => 'PROFICIENCIES', ], 'OrConditions' => [ [...], // RECURSIVE // ... ], 'StringCondition' => [ 'ComparisonType' => 'STARTS_WITH|CONTAINS|EXACT', 'FieldName' => '<string>', 'Value' => '<string>', ], ], 'SearchFilter' => [ 'TagFilter' => [ 'AndConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], 'OrConditions' => [ [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], 'UserAttributeFilter' => [ 'AndCondition' => [ 'HierarchyGroupCondition' => [ 'HierarchyGroupMatchType' => 'EXACT|WITH_CHILD_GROUPS', 'Value' => '<string>', ], 'TagConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], ], 'HierarchyGroupCondition' => [ 'HierarchyGroupMatchType' => 'EXACT|WITH_CHILD_GROUPS', 'Value' => '<string>', ], 'OrConditions' => [ [ 'HierarchyGroupCondition' => [ 'HierarchyGroupMatchType' => 'EXACT|WITH_CHILD_GROUPS', 'Value' => '<string>', ], 'TagConditions' => [ [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], // ... ], ], // ... ], 'TagCondition' => [ 'TagKey' => '<string>', 'TagValue' => '<string>', ], ], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
InstanceID is a required field. The "Required: No" below is incorrect.
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- SearchCriteria
-
- Type: UserSearchCriteria structure
The search criteria to be used to return users.
The
name
anddescription
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results. - SearchFilter
-
- Type: UserSearchFilter structure
Filters to be applied to search results.
Result Syntax
[ 'ApproximateTotalCount' => <integer>, 'NextToken' => '<string>', 'Users' => [ [ 'Arn' => '<string>', 'DirectoryUserId' => '<string>', 'HierarchyGroupId' => '<string>', 'Id' => '<string>', 'IdentityInfo' => [ 'FirstName' => '<string>', 'LastName' => '<string>', ], 'PhoneConfig' => [ 'AfterContactWorkTimeLimit' => <integer>, 'AutoAccept' => true || false, 'DeskPhoneNumber' => '<string>', 'PhoneType' => 'SOFT_PHONE|DESK_PHONE', ], 'RoutingProfileId' => '<string>', 'SecurityProfileIds' => ['<string>', ...], 'Tags' => ['<string>', ...], 'Username' => '<string>', ], // ... ], ]
Result Details
Members
- ApproximateTotalCount
-
- Type: long (int|float)
The total number of users who matched your search query.
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- Users
-
- Type: Array of UserSearchSummary structures
Information about the users.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SearchVocabularies
$result = $client->searchVocabularies
([/* ... */]); $promise = $client->searchVocabulariesAsync
([/* ... */]);
Searches for vocabularies within a specific Amazon Connect instance using State
, NameStartsWith
, and LanguageCode
.
Parameter Syntax
$result = $client->searchVocabularies([ 'InstanceId' => '<string>', // REQUIRED 'LanguageCode' => 'ar-AE|de-CH|de-DE|en-AB|en-AU|en-GB|en-IE|en-IN|en-US|en-WL|es-ES|es-US|fr-CA|fr-FR|hi-IN|it-IT|ja-JP|ko-KR|pt-BR|pt-PT|zh-CN|en-NZ|en-ZA|ca-ES|da-DK|fi-FI|id-ID|ms-MY|nl-NL|no-NO|pl-PL|sv-SE|tl-PH', 'MaxResults' => <integer>, 'NameStartsWith' => '<string>', 'NextToken' => '<string>', 'State' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED|DELETE_IN_PROGRESS', ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LanguageCode
-
- Type: string
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- MaxResults
-
- Type: int
The maximum number of results to return per page.
- NameStartsWith
-
- Type: string
The starting pattern of the name of the vocabulary.
- NextToken
-
- Type: string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- State
-
- Type: string
The current state of the custom vocabulary.
Result Syntax
[ 'NextToken' => '<string>', 'VocabularySummaryList' => [ [ 'Arn' => '<string>', 'FailureReason' => '<string>', 'Id' => '<string>', 'LanguageCode' => 'ar-AE|de-CH|de-DE|en-AB|en-AU|en-GB|en-IE|en-IN|en-US|en-WL|es-ES|es-US|fr-CA|fr-FR|hi-IN|it-IT|ja-JP|ko-KR|pt-BR|pt-PT|zh-CN|en-NZ|en-ZA|ca-ES|da-DK|fi-FI|id-ID|ms-MY|nl-NL|no-NO|pl-PL|sv-SE|tl-PH', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'State' => 'CREATION_IN_PROGRESS|ACTIVE|CREATION_FAILED|DELETE_IN_PROGRESS', ], // ... ], ]
Result Details
Members
- NextToken
-
- Type: string
If there are additional results, this is the token for the next set of results.
- VocabularySummaryList
-
- Type: Array of VocabularySummary structures
The list of the available custom vocabularies.
Errors
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
SendChatIntegrationEvent
$result = $client->sendChatIntegrationEvent
([/* ... */]); $promise = $client->sendChatIntegrationEventAsync
([/* ... */]);
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 Pinpoint for supporting SMS integration.
Parameter Syntax
$result = $client->sendChatIntegrationEvent([ 'DestinationId' => '<string>', // REQUIRED 'Event' => [ // REQUIRED 'Content' => '<string>', 'ContentType' => '<string>', 'Type' => 'DISCONNECT|MESSAGE|EVENT', // REQUIRED ], 'NewSessionDetails' => [ 'Attributes' => ['<string>', ...], 'ParticipantDetails' => [ 'DisplayName' => '<string>', // REQUIRED ], 'StreamingConfiguration' => [ 'StreamingEndpointArn' => '<string>', // REQUIRED ], 'SupportedMessagingContentTypes' => ['<string>', ...], ], 'SourceId' => '<string>', // REQUIRED 'Subtype' => '<string>', ]);
Parameter Details
Members
- DestinationId
-
- Required: Yes
- Type: string
Chat system identifier, used in part to uniquely identify chat. This is associated with the Amazon Connect instance and flow to be used to start chats. For SMS, this is the phone number destination of inbound SMS messages represented by an Amazon Pinpoint phone number ARN.
- Event
-
- Required: Yes
- Type: ChatEvent structure
Chat integration event payload
- NewSessionDetails
-
- Type: NewSessionDetails structure
Contact properties to apply when starting a new chat. If the integration event is handled with an existing chat, this is ignored.
- SourceId
-
- Required: Yes
- Type: string
External identifier of chat customer participant, used in part to uniquely identify a chat. For SMS, this is the E164 phone number of the chat customer participant.
- Subtype
-
- Type: string
Classification of a channel. This is used in part to uniquely identify chat.
Valid value:
["connect:sms"]
Result Syntax
[ 'InitialContactId' => '<string>', 'NewChatCreated' => true || false, ]
Result Details
Members
- InitialContactId
-
- Type: string
Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
- NewChatCreated
-
- Type: boolean
Whether handling the integration event resulted in creating a new chat or acting on existing chat.
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
StartAttachedFileUpload
$result = $client->startAttachedFileUpload
([/* ... */]); $promise = $client->startAttachedFileUploadAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->startAttachedFileUpload([ 'AssociatedResourceArn' => '<string>', // REQUIRED 'ClientToken' => '<string>', 'CreatedBy' => [ 'AWSIdentityArn' => '<string>', 'ConnectUserArn' => '<string>', ], 'FileName' => '<string>', // REQUIRED 'FileSizeInBytes' => <integer>, // REQUIRED 'FileUseCaseType' => 'ATTACHMENT', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], 'UrlExpiryInSeconds' => <integer>, ]);
Parameter Details
Members
- AssociatedResourceArn
-
- Required: Yes
- Type: string
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- CreatedBy
-
- Type: CreatedByInfo structure
Represents the identity that created the file.
- FileName
-
- Required: Yes
- Type: string
A case-sensitive name of the attached file being uploaded.
- FileSizeInBytes
-
- Required: Yes
- Type: long (int|float)
The size of the attached file in bytes.
- FileUseCaseType
-
- Required: Yes
- Type: string
The use case for the file.
- InstanceId
-
- Required: Yes
- Type: string
The unique identifier of the Amazon Connect instance.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
. - UrlExpiryInSeconds
-
- Type: int
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
Result Syntax
[ 'CreatedBy' => [ 'AWSIdentityArn' => '<string>', 'ConnectUserArn' => '<string>', ], 'CreationTime' => '<string>', 'FileArn' => '<string>', 'FileId' => '<string>', 'FileStatus' => 'APPROVED|REJECTED|PROCESSING|FAILED', 'UploadUrlMetadata' => [ 'HeadersToInclude' => ['<string>', ...], 'Url' => '<string>', 'UrlExpiry' => '<string>', ], ]
Result Details
Members
- CreatedBy
-
- Type: CreatedByInfo structure
Represents the identity that created the file.
- CreationTime
-
- Type: string
The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2024-05-03T02:41:28.172Z
. - FileArn
-
- Type: string
The unique identifier of the attached file resource (ARN).
- FileId
-
- Type: string
The unique identifier of the attached file resource.
- FileStatus
-
- Type: string
The current status of the attached file.
- UploadUrlMetadata
-
- Type: UploadUrlMetadata structure
Information to be used while uploading the attached file.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceConflictException:
A resource already has that name.
- ServiceQuotaExceededException:
The service quota has been exceeded.
StartChatContact
$result = $client->startChatContact
([/* ... */]); $promise = $client->startChatContactAsync
([/* ... */]);
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 the following topics in the Amazon Connect Administrator Guide:
Parameter Syntax
$result = $client->startChatContact([ 'Attributes' => ['<string>', ...], 'ChatDurationInMinutes' => <integer>, 'ClientToken' => '<string>', 'ContactFlowId' => '<string>', // REQUIRED 'InitialMessage' => [ 'Content' => '<string>', // REQUIRED 'ContentType' => '<string>', // REQUIRED ], 'InstanceId' => '<string>', // REQUIRED 'ParticipantDetails' => [ // REQUIRED 'DisplayName' => '<string>', // REQUIRED ], 'PersistentChat' => [ 'RehydrationType' => 'ENTIRE_PAST_SESSION|FROM_SEGMENT', 'SourceContactId' => '<string>', ], 'RelatedContactId' => '<string>', 'SegmentAttributes' => [ '<SegmentAttributeName>' => [ 'ValueString' => '<string>', ], // ... ], 'SupportedMessagingContentTypes' => ['<string>', ...], ]);
Parameter Details
Members
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
- ChatDurationInMinutes
-
- Type: int
The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minimum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow for initiating the chat. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
- InitialMessage
-
- Type: ChatMessage structure
The initial message to be sent to the newly created chat. If you have a Lex bot in your flow, the initial message is not delivered to the Lex bot.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ParticipantDetails
-
- Required: Yes
- Type: ParticipantDetails structure
Information identifying the participant.
- PersistentChat
-
- Type: PersistentChat structure
Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how to configure for them, see Enable persistent chat.
- RelatedContactId
-
- Type: string
The unique identifier for an Amazon Connect contact. This identifier is related to the chat starting.
You cannot provide data for both RelatedContactId and PersistentChat.
- SegmentAttributes
-
- Type: Associative array of custom strings keys (SegmentAttributeName) to SegmentAttributeValue structures
A set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
Attribute keys can include only alphanumeric, -, and _.
This field can be used to show channel subtype, such as
connect:Guide
.The types
application/vnd.amazonaws.connect.message.interactive
andapplication/vnd.amazonaws.connect.message.interactive.response
must be present in the SupportedMessagingContentTypes field of this API in order to setSegmentAttributes
as {"connect:Subtype": {"valueString" : "connect:Guide" }}
. - SupportedMessagingContentTypes
-
- Type: Array of strings
The supported chat message content types. Supported types are
text/plain
,text/markdown
,application/json
,application/vnd.amazonaws.connect.message.interactive
, andapplication/vnd.amazonaws.connect.message.interactive.response
.Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:[text/plain, text/markdown, application/json]
,[text/markdown, text/plain]
,[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.The type
application/vnd.amazonaws.connect.message.interactive
is required to use the Show view flow block.
Result Syntax
[ 'ContactId' => '<string>', 'ContinuedFromContactId' => '<string>', 'ParticipantId' => '<string>', 'ParticipantToken' => '<string>', ]
Result Details
Members
- ContactId
-
- Type: string
The identifier of this contact within the Amazon Connect instance.
- ContinuedFromContactId
-
- Type: string
The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
- ParticipantId
-
- Type: string
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
- ParticipantToken
-
- Type: string
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
StartContactEvaluation
$result = $client->startContactEvaluation
([/* ... */]); $promise = $client->startContactEvaluationAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->startContactEvaluation([ 'ClientToken' => '<string>', 'ContactId' => '<string>', // REQUIRED 'EvaluationFormId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'EvaluationArn' => '<string>', 'EvaluationId' => '<string>', ]
Result Details
Members
- EvaluationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the contact evaluation resource.
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
Errors
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ResourceConflictException:
A resource already has that name.
StartContactRecording
$result = $client->startContactRecording
([/* ... */]); $promise = $client->startContactRecordingAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->startContactRecording([ 'ContactId' => '<string>', // REQUIRED 'InitialContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'VoiceRecordingConfiguration' => [ // REQUIRED 'VoiceRecordingTrack' => 'FROM_AGENT|TO_AGENT|ALL', ], ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InitialContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- VoiceRecordingConfiguration
-
- Required: Yes
- Type: VoiceRecordingConfiguration structure
The person being recorded.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
StartContactStreaming
$result = $client->startContactStreaming
([/* ... */]); $promise = $client->startContactStreamingAsync
([/* ... */]);
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:
Parameter Syntax
$result = $client->startContactStreaming([ 'ChatStreamingConfiguration' => [ // REQUIRED 'StreamingEndpointArn' => '<string>', // REQUIRED ], 'ClientToken' => '<string>', // REQUIRED 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ChatStreamingConfiguration
-
- Required: Yes
- Type: ChatStreamingConfiguration structure
The streaming configuration, such as the Amazon SNS streaming endpoint.
- ClientToken
-
- Required: Yes
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[ 'StreamingId' => '<string>', ]
Result Details
Members
- StreamingId
-
- Required: Yes
- Type: string
The identifier of the streaming configuration enabled.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
StartOutboundChatContact
$result = $client->startOutboundChatContact
([/* ... */]); $promise = $client->startOutboundChatContactAsync
([/* ... */]);
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:
Parameter Syntax
$result = $client->startOutboundChatContact([ 'Attributes' => ['<string>', ...], 'ChatDurationInMinutes' => <integer>, 'ClientToken' => '<string>', 'ContactFlowId' => '<string>', // REQUIRED 'DestinationEndpoint' => [ // REQUIRED 'Address' => '<string>', 'Type' => 'TELEPHONE_NUMBER|VOIP|CONTACT_FLOW|CONNECT_PHONENUMBER_ARN', ], 'InitialSystemMessage' => [ 'Content' => '<string>', // REQUIRED 'ContentType' => '<string>', // REQUIRED ], 'InstanceId' => '<string>', // REQUIRED 'ParticipantDetails' => [ 'DisplayName' => '<string>', // REQUIRED ], 'RelatedContactId' => '<string>', 'SegmentAttributes' => [ // REQUIRED '<SegmentAttributeName>' => [ 'ValueString' => '<string>', ], // ... ], 'SourceEndpoint' => [ // REQUIRED 'Address' => '<string>', 'Type' => 'TELEPHONE_NUMBER|VOIP|CONTACT_FLOW|CONNECT_PHONENUMBER_ARN', ], 'SupportedMessagingContentTypes' => ['<string>', ...], ]);
Parameter Details
Members
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
- ChatDurationInMinutes
-
- Type: int
The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minimum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
-
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/123ec456-a007-89c0-1234-xxxxxxxxxxxx
- DestinationEndpoint
-
- Required: Yes
- Type: Endpoint structure
Information about the endpoint.
- InitialSystemMessage
-
- Type: ChatMessage structure
A chat message.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ParticipantDetails
-
- Type: ParticipantDetails structure
The customer's details.
- RelatedContactId
-
- Type: string
The unique identifier for an Amazon Connect contact. This identifier is related to the contact starting.
- SegmentAttributes
-
- Required: Yes
- Type: Associative array of custom strings keys (SegmentAttributeName) to SegmentAttributeValue structures
A set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.
-
Attribute keys can include only alphanumeric,
-
, and_
. -
This field can be used to show channel subtype, such as
connect:Guide
andconnect:SMS
.
- SourceEndpoint
-
- Required: Yes
- Type: Endpoint structure
Information about the endpoint.
- SupportedMessagingContentTypes
-
- Type: Array of strings
The supported chat message content types. Supported types are:
-
text/plain
-
text/markdown
-
application/json, application/vnd.amazonaws.connect.message.interactive
-
application/vnd.amazonaws.connect.message.interactive.response
Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:-
[text/plain, text/markdown, application/json]
-
[text/markdown, text/plain]
-
[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
Result Syntax
[ 'ContactId' => '<string>', ]
Result Details
Members
- ContactId
-
- Type: string
The identifier of this contact within the Amazon Connect instance.
Errors
- InvalidRequestException:
The request is not valid.
- ConflictException:
Operation cannot be performed at this time as there is a conflict with another operation or contact state.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
StartOutboundVoiceContact
$result = $client->startOutboundVoiceContact
([/* ... */]); $promise = $client->startOutboundVoiceContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->startOutboundVoiceContact([ 'AnswerMachineDetectionConfig' => [ 'AwaitAnswerMachinePrompt' => true || false, 'EnableAnswerMachineDetection' => true || false, ], 'Attributes' => ['<string>', ...], 'CampaignId' => '<string>', 'ClientToken' => '<string>', 'ContactFlowId' => '<string>', // REQUIRED 'Description' => '<string>', 'DestinationPhoneNumber' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'QueueId' => '<string>', 'References' => [ '<ReferenceKey>' => [ 'Type' => 'URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'RelatedContactId' => '<string>', 'SourcePhoneNumber' => '<string>', 'TrafficType' => 'GENERAL|CAMPAIGN', ]);
Parameter Details
Members
- AnswerMachineDetectionConfig
-
- Type: AnswerMachineDetectionConfig structure
Configuration of the answering machine detection for this outbound call.
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
- CampaignId
-
- Type: string
The campaign identifier of the outbound communication.
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow for the outbound call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
- Description
-
- Type: string
A description of the voice contact that is shown to an agent in the Contact Control Panel (CCP).
- DestinationPhoneNumber
-
- Required: Yes
- Type: string
The phone number of the customer, in E.164 format.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of a voice contact that is shown to an agent in the Contact Control Panel (CCP).
- QueueId
-
- Type: string
The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the flow is used. If you do not specify a queue, you must specify a source phone number.
- References
-
- Type: Associative array of custom strings keys (ReferenceKey) to Reference structures
A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Contacts can have the following reference types at the time of creation:
URL
|NUMBER
|STRING
|DATE
|EMAIL
.ATTACHMENT
is not a supported reference type during voice contact creation. - RelatedContactId
-
- Type: string
The
contactId
that is related to this contact. Linking voice, task, or chat by usingRelatedContactID
copies over contact attributes from the related contact to the new contact. All updates to user-defined attributes in the new contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by usingRelatedContactId
. - SourcePhoneNumber
-
- Type: string
The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
- TrafficType
-
- Type: string
Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The default value is
GENERAL
. UseCAMPAIGN
ifEnableAnswerMachineDetection
is set totrue
. For all other cases, useGENERAL
.
Result Syntax
[ 'ContactId' => '<string>', ]
Result Details
Members
- ContactId
-
- Type: string
The identifier of this contact within the Amazon Connect instance.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- DestinationNotAllowedException:
Outbound calls to the destination number are not allowed.
- OutboundContactNotPermittedException:
The contact is not permitted.
StartScreenSharing
$result = $client->startScreenSharing
([/* ... */]); $promise = $client->startScreenSharingAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->startScreenSharing([ 'ClientToken' => '<string>', 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
StartTaskContact
$result = $client->startTaskContact
([/* ... */]); $promise = $client->startTaskContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->startTaskContact([ 'Attributes' => ['<string>', ...], 'ClientToken' => '<string>', 'ContactFlowId' => '<string>', 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'PreviousContactId' => '<string>', 'QuickConnectId' => '<string>', 'References' => [ '<ReferenceKey>' => [ 'Type' => 'URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'RelatedContactId' => '<string>', 'ScheduledTime' => <integer || string || DateTime>, 'TaskTemplateId' => '<string>', ]);
Parameter Details
Members
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactFlowId
-
- Type: string
The identifier of the flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
- Description
-
- Type: string
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
- PreviousContactId
-
- Type: string
The identifier of the previous chat, voice, or task contact. Any updates to user-defined attributes to task contacts linked using the same
PreviousContactID
will affect every contact in the chain. There can be a maximum of 12 linked task contacts in a chain. - QuickConnectId
-
- Type: string
The identifier for the quick connect. Tasks that are created by using
QuickConnectId
will use the flow that is defined on agent or queue quick connect. For more information about quick connects, see Create quick connects. - References
-
- Type: Associative array of custom strings keys (ReferenceKey) to Reference structures
A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation:
URL
|NUMBER
|STRING
|DATE
|EMAIL
.ATTACHMENT
is not a supported reference type during task creation. - RelatedContactId
-
- Type: string
The contactId that is related to this contact. Linking tasks together by using
RelatedContactID
copies over contact attributes from the related task contact to the new task contact. All updates to user-defined attributes in the new task contact are limited to the individual contact ID, unlike what happens when tasks are linked by usingPreviousContactID
. There are no limits to the number of contacts that can be linked by usingRelatedContactId
. - ScheduledTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
- TaskTemplateId
-
- Type: string
A unique identifier for the task template. For more information about task templates, see Create task templates in the Amazon Connect Administrator Guide.
Result Syntax
[ 'ContactId' => '<string>', ]
Result Details
Members
- ContactId
-
- Type: string
The identifier of this contact within the Amazon Connect instance.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
StartWebRTCContact
$result = $client->startWebRTCContact
([/* ... */]); $promise = $client->startWebRTCContactAsync
([/* ... */]);
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).
Parameter Syntax
$result = $client->startWebRTCContact([ 'AllowedCapabilities' => [ 'Agent' => [ 'ScreenShare' => 'SEND', 'Video' => 'SEND', ], 'Customer' => [ 'ScreenShare' => 'SEND', 'Video' => 'SEND', ], ], 'Attributes' => ['<string>', ...], 'ClientToken' => '<string>', 'ContactFlowId' => '<string>', // REQUIRED 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'ParticipantDetails' => [ // REQUIRED 'DisplayName' => '<string>', // REQUIRED ], 'References' => [ '<ReferenceKey>' => [ 'Type' => 'URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], 'RelatedContactId' => '<string>', ]);
Parameter Details
Members
- AllowedCapabilities
-
- Type: AllowedCapabilities structure
Information about the video sharing capabilities of the participants (customer, agent).
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, -, and _ characters.
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
- Description
-
- Type: string
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ParticipantDetails
-
- Required: Yes
- Type: ParticipantDetails structure
The customer's details.
- References
-
- Type: Associative array of custom strings keys (ReferenceKey) to Reference structures
A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation:
URL
|NUMBER
|STRING
|DATE
|EMAIL
.ATTACHMENT
is not a supported reference type during task creation. - RelatedContactId
-
- Type: string
The unique identifier for an Amazon Connect contact. This identifier is related to the contact starting.
Result Syntax
[ 'ConnectionData' => [ 'Attendee' => [ 'AttendeeId' => '<string>', 'JoinToken' => '<string>', ], 'Meeting' => [ 'MediaPlacement' => [ 'AudioFallbackUrl' => '<string>', 'AudioHostUrl' => '<string>', 'EventIngestionUrl' => '<string>', 'SignalingUrl' => '<string>', 'TurnControlUrl' => '<string>', ], 'MediaRegion' => '<string>', 'MeetingFeatures' => [ 'Audio' => [ 'EchoReduction' => 'AVAILABLE|UNAVAILABLE', ], ], 'MeetingId' => '<string>', ], ], 'ContactId' => '<string>', 'ParticipantId' => '<string>', 'ParticipantToken' => '<string>', ]
Result Details
Members
- ConnectionData
-
- Type: ConnectionData structure
Information required for the client application (mobile application or website) to connect to the call.
- ContactId
-
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- ParticipantId
-
- Type: string
The identifier for a contact participant. The
ParticipantId
for a contact participant is the same throughout the contact lifecycle. - ParticipantToken
-
- Type: string
The token used by the contact participant to call the CreateParticipantConnection API. The participant token is valid for the lifetime of a contact participant.
Errors
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ResourceNotFoundException:
The specified resource was not found.
StopContact
$result = $client->stopContact
([/* ... */]); $promise = $client->stopContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->stopContact([ 'ContactId' => '<string>', // REQUIRED 'DisconnectReason' => [ 'Code' => '<string>', ], 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The ID of the contact.
- DisconnectReason
-
- Type: DisconnectReason structure
The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ContactNotFoundException:
The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat or Task contacts.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
StopContactRecording
$result = $client->stopContactRecording
([/* ... */]); $promise = $client->stopContactRecordingAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->stopContactRecording([ 'ContactId' => '<string>', // REQUIRED 'InitialContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InitialContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
StopContactStreaming
$result = $client->stopContactStreaming
([/* ... */]); $promise = $client->stopContactStreamingAsync
([/* ... */]);
Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.
Parameter Syntax
$result = $client->stopContactStreaming([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'StreamingId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- StreamingId
-
- Required: Yes
- Type: string
The identifier of the streaming configuration enabled.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
SubmitContactEvaluation
$result = $client->submitContactEvaluation
([/* ... */]); $promise = $client->submitContactEvaluationAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->submitContactEvaluation([ 'Answers' => [ '<ResourceId>' => [ 'Value' => [ 'NotApplicable' => true || false, 'NumericValue' => <float>, 'StringValue' => '<string>', ], ], // ... ], 'EvaluationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Notes' => [ '<ResourceId>' => [ 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- Answers
-
- Type: Associative array of custom strings keys (ResourceId) to EvaluationAnswerInput structures
A map of question identifiers to answer value.
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Notes
-
- Type: Associative array of custom strings keys (ResourceId) to EvaluationNote structures
A map of question identifiers to note value.
Result Syntax
[ 'EvaluationArn' => '<string>', 'EvaluationId' => '<string>', ]
Result Details
Members
- EvaluationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the contact evaluation resource.
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceConflictException:
A resource already has that name.
SuspendContactRecording
$result = $client->suspendContactRecording
([/* ... */]); $promise = $client->suspendContactRecordingAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->suspendContactRecording([ 'ContactId' => '<string>', // REQUIRED 'InitialContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InitialContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
TagContact
$result = $client->tagContact
([/* ... */]); $promise = $client->tagContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->tagContact([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Tags' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Tags
-
- Required: Yes
- Type: Associative array of custom strings keys (ContactTagKey) to strings
The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Authorization is not supported by this tag.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
TagResource
$result = $client->tagResource
([/* ... */]); $promise = $client->tagResourceAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->tagResource([ 'resourceArn' => '<string>', // REQUIRED 'tags' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
- tags
-
- Required: Yes
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
TransferContact
$result = $client->transferContact
([/* ... */]); $promise = $client->transferContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->transferContact([ 'ClientToken' => '<string>', 'ContactFlowId' => '<string>', // REQUIRED 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'QueueId' => '<string>', 'UserId' => '<string>', ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueId
-
- Type: string
The identifier for the queue.
- UserId
-
- Type: string
The identifier for the user. This can be the ID or the ARN of the user.
Result Syntax
[ 'ContactArn' => '<string>', 'ContactId' => '<string>', ]
Result Details
Members
- ContactArn
-
- Type: string
The Amazon Resource Name (ARN) of the contact.
- ContactId
-
- Type: string
The identifier of the contact in this instance of Amazon Connect.
Errors
- InvalidRequestException:
The request is not valid.
- IdempotencyException:
An entity with the same name already exists.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UntagContact
$result = $client->untagContact
([/* ... */]); $promise = $client->untagContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->untagContact([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'TagKeys' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- TagKeys
-
- Required: Yes
- Type: Array of strings
A list of tag keys. Existing tags on the contact whose keys are members of this list will be removed.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
UntagResource
$result = $client->untagResource
([/* ... */]); $promise = $client->untagResourceAsync
([/* ... */]);
Removes the specified tags from the specified resource.
Parameter Syntax
$result = $client->untagResource([ 'resourceArn' => '<string>', // REQUIRED 'tagKeys' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
- resourceArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resource.
- tagKeys
-
- Required: Yes
- Type: Array of strings
The tag keys.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
UpdateAgentStatus
$result = $client->updateAgentStatus
([/* ... */]); $promise = $client->updateAgentStatusAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
Parameter Syntax
$result = $client->updateAgentStatus([ 'AgentStatusId' => '<string>', // REQUIRED 'Description' => '<string>', 'DisplayOrder' => <integer>, 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'ResetOrderNumber' => true || false, 'State' => 'ENABLED|DISABLED', ]);
Parameter Details
Members
- AgentStatusId
-
- Required: Yes
- Type: string
The identifier of the agent status.
- Description
-
- Type: string
The description of the agent status.
- DisplayOrder
-
- Type: int
The display order of the agent status.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the agent status.
- ResetOrderNumber
-
- Type: boolean
A number indicating the reset order of the agent status.
- State
-
- Type: string
The state of the agent status.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateAuthenticationProfile
$result = $client->updateAuthenticationProfile
([/* ... */]); $promise = $client->updateAuthenticationProfileAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Updates the selected authentication profile.
Parameter Syntax
$result = $client->updateAuthenticationProfile([ 'AllowedIps' => ['<string>', ...], 'AuthenticationProfileId' => '<string>', // REQUIRED 'BlockedIps' => ['<string>', ...], 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'PeriodicSessionDuration' => <integer>, ]);
Parameter Details
Members
- AllowedIps
-
- Type: Array of strings
A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
- AuthenticationProfileId
-
- Required: Yes
- Type: string
A unique identifier for the authentication profile.
- BlockedIps
-
- Type: Array of strings
A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
- Description
-
- Type: string
The description for the authentication profile.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name for the authentication profile.
- PeriodicSessionDuration
-
- Type: int
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateContact
$result = $client->updateContact
([/* ... */]); $promise = $client->updateContactAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateContact([ 'ContactId' => '<string>', // REQUIRED 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'References' => [ '<ReferenceKey>' => [ 'Type' => 'URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
- Description
-
- Type: string
The description of the contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the contact.
- References
-
- Type: Associative array of custom strings keys (ReferenceKey) to Reference structures
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
UpdateContactAttributes
$result = $client->updateContactAttributes
([/* ... */]); $promise = $client->updateContactAttributesAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateContactAttributes([ 'Attributes' => ['<string>', ...], // REQUIRED 'InitialContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Attributes
-
- Required: Yes
- Type: Associative array of custom strings keys (AttributeName) to strings
The Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.
You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
When the attributes for a contact exceed 32 KB, the contact is routed down the Error branch of the flow. As a mitigation, consider the following options:
-
Remove unnecessary attributes by setting their values to empty.
-
If the attributes are only used in one flow and don't need to be referred to outside of that flow (for example, by a Lambda or another flow), then use flow attributes. This way you aren't needlessly persisting the 32 KB of information from one flow to another. For more information, see Flow block: Set contact attributes in the Amazon Connect Administrator Guide.
- InitialContactId
-
- Required: Yes
- Type: string
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateContactEvaluation
$result = $client->updateContactEvaluation
([/* ... */]); $promise = $client->updateContactEvaluationAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateContactEvaluation([ 'Answers' => [ '<ResourceId>' => [ 'Value' => [ 'NotApplicable' => true || false, 'NumericValue' => <float>, 'StringValue' => '<string>', ], ], // ... ], 'EvaluationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Notes' => [ '<ResourceId>' => [ 'Value' => '<string>', ], // ... ], ]);
Parameter Details
Members
- Answers
-
- Type: Associative array of custom strings keys (ResourceId) to EvaluationAnswerInput structures
A map of question identifiers to answer value.
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Notes
-
- Type: Associative array of custom strings keys (ResourceId) to EvaluationNote structures
A map of question identifiers to note value.
Result Syntax
[ 'EvaluationArn' => '<string>', 'EvaluationId' => '<string>', ]
Result Details
Members
- EvaluationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the contact evaluation resource.
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceConflictException:
A resource already has that name.
UpdateContactFlowContent
$result = $client->updateContactFlowContent
([/* ... */]); $promise = $client->updateContactFlowContentAsync
([/* ... */]);
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
. Once a contact flow is published, $SAVED
needs to be supplied to view saved content that has not been published.
Parameter Syntax
$result = $client->updateContactFlowContent([ 'ContactFlowId' => '<string>', // REQUIRED 'Content' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- Content
-
- Required: Yes
- Type: string
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidContactFlowException:
The flow is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateContactFlowMetadata
$result = $client->updateContactFlowMetadata
([/* ... */]); $promise = $client->updateContactFlowMetadataAsync
([/* ... */]);
Updates metadata about specified flow.
Parameter Syntax
$result = $client->updateContactFlowMetadata([ 'ContactFlowId' => '<string>', // REQUIRED 'ContactFlowState' => 'ACTIVE|ARCHIVED', 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', ]);
Parameter Details
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- ContactFlowState
-
- Type: string
The state of flow.
- Description
-
- Type: string
The description of the flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the flow.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateContactFlowModuleContent
$result = $client->updateContactFlowModuleContent
([/* ... */]); $promise = $client->updateContactFlowModuleContentAsync
([/* ... */]);
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
. Once a contact flow is published, $SAVED
needs to be supplied to view saved content that has not been published.
Parameter Syntax
$result = $client->updateContactFlowModuleContent([ 'ContactFlowModuleId' => '<string>', // REQUIRED 'Content' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ContactFlowModuleId
-
- Required: Yes
- Type: string
The identifier of the flow module.
- Content
-
- Required: Yes
- Type: string
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidContactFlowModuleException:
The problems with the module. Please fix before trying again.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateContactFlowModuleMetadata
$result = $client->updateContactFlowModuleMetadata
([/* ... */]); $promise = $client->updateContactFlowModuleMetadataAsync
([/* ... */]);
Updates metadata about specified flow module.
Parameter Syntax
$result = $client->updateContactFlowModuleMetadata([ 'ContactFlowModuleId' => '<string>', // REQUIRED 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'State' => 'ACTIVE|ARCHIVED', ]);
Parameter Details
Members
- ContactFlowModuleId
-
- Required: Yes
- Type: string
The identifier of the flow module.
- Description
-
- Type: string
The description of the flow module.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the flow module.
- State
-
- Type: string
The state of flow module.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateContactFlowName
$result = $client->updateContactFlowName
([/* ... */]); $promise = $client->updateContactFlowNameAsync
([/* ... */]);
The name of the flow.
You can also create and update flows using the Amazon Connect Flow language.
Parameter Syntax
$result = $client->updateContactFlowName([ 'ContactFlowId' => '<string>', // REQUIRED 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', ]);
Parameter Details
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- Description
-
- Type: string
The description of the flow.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance.
- Name
-
- Type: string
The name of the flow.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateContactRoutingData
$result = $client->updateContactRoutingData
([/* ... */]); $promise = $client->updateContactRoutingDataAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateContactRoutingData([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'QueuePriority' => <integer>, 'QueueTimeAdjustmentSeconds' => <integer>, 'RoutingCriteria' => [ 'Steps' => [ [ 'Expiry' => [ 'DurationInSeconds' => <integer>, ], 'Expression' => [ 'AndExpression' => [ [...], // RECURSIVE // ... ], 'AttributeCondition' => [ 'ComparisonOperator' => '<string>', 'MatchCriteria' => [ 'AgentsCriteria' => [ 'AgentIds' => ['<string>', ...], ], ], 'Name' => '<string>', 'ProficiencyLevel' => <float>, 'Value' => '<string>', ], 'OrExpression' => [ [...], // RECURSIVE // ... ], ], ], // ... ], ], ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueuePriority
-
- Type: long (int|float)
Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.
- QueueTimeAdjustmentSeconds
-
- Type: int
The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.
- RoutingCriteria
-
- Type: RoutingCriteriaInput structure
Updates the routing criteria on the contact. These properties can be used to change how a contact is routed within the queue.
Result Syntax
[]
Result Details
Errors
- ResourceConflictException:
A resource already has that name.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
UpdateContactSchedule
$result = $client->updateContactSchedule
([/* ... */]); $promise = $client->updateContactScheduleAsync
([/* ... */]);
Updates the scheduled time of a task contact that is already scheduled.
Parameter Syntax
$result = $client->updateContactSchedule([ 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'ScheduledTime' => <integer || string || DateTime>, // REQUIRED ]);
Parameter Details
Members
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ScheduledTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- LimitExceededException:
The allowed limit for the resource has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateEvaluationForm
$result = $client->updateEvaluationForm
([/* ... */]); $promise = $client->updateEvaluationFormAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateEvaluationForm([ 'ClientToken' => '<string>', 'CreateNewVersion' => true || false, 'Description' => '<string>', 'EvaluationFormId' => '<string>', // REQUIRED 'EvaluationFormVersion' => <integer>, // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Items' => [ // REQUIRED [ 'Question' => [ 'Instructions' => '<string>', 'NotApplicableEnabled' => true || false, 'QuestionType' => 'TEXT|SINGLESELECT|NUMERIC', // REQUIRED 'QuestionTypeProperties' => [ 'Numeric' => [ 'Automation' => [ 'PropertyValue' => [ 'Label' => 'OVERALL_CUSTOMER_SENTIMENT_SCORE|OVERALL_AGENT_SENTIMENT_SCORE|NON_TALK_TIME|NON_TALK_TIME_PERCENTAGE|NUMBER_OF_INTERRUPTIONS|CONTACT_DURATION|AGENT_INTERACTION_DURATION|CUSTOMER_HOLD_TIME', // REQUIRED ], ], 'MaxValue' => <integer>, // REQUIRED 'MinValue' => <integer>, // REQUIRED 'Options' => [ [ 'AutomaticFail' => true || false, 'MaxValue' => <integer>, // REQUIRED 'MinValue' => <integer>, // REQUIRED 'Score' => <integer>, ], // ... ], ], 'SingleSelect' => [ 'Automation' => [ 'DefaultOptionRefId' => '<string>', 'Options' => [ // REQUIRED [ 'RuleCategory' => [ 'Category' => '<string>', // REQUIRED 'Condition' => 'PRESENT|NOT_PRESENT', // REQUIRED 'OptionRefId' => '<string>', // REQUIRED ], ], // ... ], ], 'DisplayAs' => 'DROPDOWN|RADIO', 'Options' => [ // REQUIRED [ 'AutomaticFail' => true || false, 'RefId' => '<string>', // REQUIRED 'Score' => <integer>, 'Text' => '<string>', // REQUIRED ], // ... ], ], ], 'RefId' => '<string>', // REQUIRED 'Title' => '<string>', // REQUIRED 'Weight' => <float>, ], 'Section' => [ 'Instructions' => '<string>', 'Items' => [...], // REQUIRED, RECURSIVE 'RefId' => '<string>', // REQUIRED 'Title' => '<string>', // REQUIRED 'Weight' => <float>, ], ], // ... ], 'ScoringStrategy' => [ 'Mode' => 'QUESTION_ONLY|SECTION_ONLY', // REQUIRED 'Status' => 'ENABLED|DISABLED', // REQUIRED ], 'Title' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- CreateNewVersion
-
- Type: boolean
A flag indicating whether the operation must create a new version.
- Description
-
- Type: string
The description of the evaluation form.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
A version of the evaluation form to update.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Items
-
- Required: Yes
- Type: Array of EvaluationFormItem structures
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- ScoringStrategy
-
- Type: EvaluationFormScoringStrategy structure
A scoring strategy of the evaluation form.
- Title
-
- Required: Yes
- Type: string
A title of the evaluation form.
Result Syntax
[ 'EvaluationFormArn' => '<string>', 'EvaluationFormId' => '<string>', 'EvaluationFormVersion' => <integer>, ]
Result Details
Members
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the contact evaluation resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
The version of the updated evaluation form resource.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- ResourceConflictException:
A resource already has that name.
UpdateHoursOfOperation
$result = $client->updateHoursOfOperation
([/* ... */]); $promise = $client->updateHoursOfOperationAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation.
Parameter Syntax
$result = $client->updateHoursOfOperation([ 'Config' => [ [ 'Day' => 'SUNDAY|MONDAY|TUESDAY|WEDNESDAY|THURSDAY|FRIDAY|SATURDAY', // REQUIRED 'EndTime' => [ // REQUIRED 'Hours' => <integer>, // REQUIRED 'Minutes' => <integer>, // REQUIRED ], 'StartTime' => [ // REQUIRED 'Hours' => <integer>, // REQUIRED 'Minutes' => <integer>, // REQUIRED ], ], // ... ], 'Description' => '<string>', 'HoursOfOperationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'TimeZone' => '<string>', ]);
Parameter Details
Members
- Config
-
- Type: Array of HoursOfOperationConfig structures
Configuration information of the hours of operation.
- Description
-
- Type: string
The description of the hours of operation.
- HoursOfOperationId
-
- Required: Yes
- Type: string
The identifier of the hours of operation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the hours of operation.
- TimeZone
-
- Type: string
The time zone of the hours of operation.
Result Syntax
[]
Result Details
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateInstanceAttribute
$result = $client->updateInstanceAttribute
([/* ... */]); $promise = $client->updateInstanceAttributeAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Updates the value for the specified attribute type.
Parameter Syntax
$result = $client->updateInstanceAttribute([ 'AttributeType' => 'INBOUND_CALLS|OUTBOUND_CALLS|CONTACTFLOW_LOGS|CONTACT_LENS|AUTO_RESOLVE_BEST_VOICES|USE_CUSTOM_TTS_VOICES|EARLY_MEDIA|MULTI_PARTY_CONFERENCE|HIGH_VOLUME_OUTBOUND|ENHANCED_CONTACT_MONITORING|ENHANCED_CHAT_MONITORING', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Value' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AttributeType
-
- Required: Yes
- Type: string
The type of attribute.
Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Value
-
- Required: Yes
- Type: string
The value for the attribute. Maximum character limit is 100.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
UpdateInstanceStorageConfig
$result = $client->updateInstanceStorageConfig
([/* ... */]); $promise = $client->updateInstanceStorageConfigAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateInstanceStorageConfig([ 'AssociationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'ResourceType' => 'CHAT_TRANSCRIPTS|CALL_RECORDINGS|SCHEDULED_REPORTS|MEDIA_STREAMS|CONTACT_TRACE_RECORDS|AGENT_EVENTS|REAL_TIME_CONTACT_ANALYSIS_SEGMENTS|ATTACHMENTS|CONTACT_EVALUATIONS|SCREEN_RECORDINGS|REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS|REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS', // REQUIRED 'StorageConfig' => [ // REQUIRED 'AssociationId' => '<string>', 'KinesisFirehoseConfig' => [ 'FirehoseArn' => '<string>', // REQUIRED ], 'KinesisStreamConfig' => [ 'StreamArn' => '<string>', // REQUIRED ], 'KinesisVideoStreamConfig' => [ 'EncryptionConfig' => [ // REQUIRED 'EncryptionType' => 'KMS', // REQUIRED 'KeyId' => '<string>', // REQUIRED ], 'Prefix' => '<string>', // REQUIRED 'RetentionPeriodHours' => <integer>, // REQUIRED ], 'S3Config' => [ 'BucketName' => '<string>', // REQUIRED 'BucketPrefix' => '<string>', // REQUIRED 'EncryptionConfig' => [ 'EncryptionType' => 'KMS', // REQUIRED 'KeyId' => '<string>', // REQUIRED ], ], 'StorageType' => 'S3|KINESIS_VIDEO_STREAM|KINESIS_STREAM|KINESIS_FIREHOSE', // REQUIRED ], ]);
Parameter Details
Members
- AssociationId
-
- Required: Yes
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- ResourceType
-
- Required: Yes
- Type: string
A valid resource type.
- StorageConfig
-
- Required: Yes
- Type: InstanceStorageConfig structure
The storage configuration for the instance.
Result Syntax
[]
Result Details
Errors
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ThrottlingException:
The throttling limit has been exceeded.
UpdateParticipantRoleConfig
$result = $client->updateParticipantRoleConfig
([/* ... */]); $promise = $client->updateParticipantRoleConfigAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateParticipantRoleConfig([ 'ChannelConfiguration' => [ // REQUIRED 'Chat' => [ 'ParticipantTimerConfigList' => [ // REQUIRED [ 'ParticipantRole' => 'CUSTOMER|AGENT', // REQUIRED 'TimerType' => 'IDLE|DISCONNECT_NONCUSTOMER', // REQUIRED 'TimerValue' => [ // REQUIRED 'ParticipantTimerAction' => 'Unset', 'ParticipantTimerDurationInMinutes' => <integer>, ], ], // ... ], ], ], 'ContactId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ChannelConfiguration
-
- Required: Yes
- Type: UpdateParticipantRoleConfigChannelInfo structure
The Amazon Connect channel you want to configure.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdatePhoneNumber
$result = $client->updatePhoneNumber
([/* ... */]); $promise = $client->updatePhoneNumberAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updatePhoneNumber([ 'ClientToken' => '<string>', 'InstanceId' => '<string>', 'PhoneNumberId' => '<string>', // REQUIRED 'TargetArn' => '<string>', ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter
InstanceId
orTargetArn
. - PhoneNumberId
-
- Required: Yes
- Type: string
A unique identifier for the phone number.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter
InstanceId
orTargetArn
.
Result Syntax
[ 'PhoneNumberArn' => '<string>', 'PhoneNumberId' => '<string>', ]
Result Details
Members
- PhoneNumberArn
-
- Type: string
The Amazon Resource Name (ARN) of the phone number.
- PhoneNumberId
-
- Type: string
A unique identifier for the phone number.
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ResourceInUseException:
That resource is already in use. Please try another.
- IdempotencyException:
An entity with the same name already exists.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
UpdatePhoneNumberMetadata
$result = $client->updatePhoneNumberMetadata
([/* ... */]); $promise = $client->updatePhoneNumberMetadataAsync
([/* ... */]);
Updates a phone number’s metadata.
To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.
Parameter Syntax
$result = $client->updatePhoneNumberMetadata([ 'ClientToken' => '<string>', 'PhoneNumberDescription' => '<string>', 'PhoneNumberId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- PhoneNumberDescription
-
- Type: string
The description of the phone number.
- PhoneNumberId
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) or resource ID of the phone number.
Result Syntax
[]
Result Details
Errors
- InvalidParameterException:
One or more of the specified parameters are not valid.
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceInUseException:
That resource is already in use. Please try another.
- IdempotencyException:
An entity with the same name already exists.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdatePredefinedAttribute
$result = $client->updatePredefinedAttribute
([/* ... */]); $promise = $client->updatePredefinedAttributeAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updatePredefinedAttribute([ 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'Values' => [ 'StringList' => ['<string>', ...], ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the predefined attribute.
- Values
-
- Type: PredefinedAttributeValues structure
The values of the predefined attribute.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdatePrompt
$result = $client->updatePrompt
([/* ... */]); $promise = $client->updatePromptAsync
([/* ... */]);
Updates a prompt.
Parameter Syntax
$result = $client->updatePrompt([ 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'PromptId' => '<string>', // REQUIRED 'S3Uri' => '<string>', ]);
Parameter Details
Members
- Description
-
- Type: string
A description of the prompt.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the prompt.
- PromptId
-
- Required: Yes
- Type: string
A unique identifier for the prompt.
- S3Uri
-
- Type: string
The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
Result Syntax
[ 'PromptARN' => '<string>', 'PromptId' => '<string>', ]
Result Details
Members
- PromptARN
-
- Type: string
The Amazon Resource Name (ARN) of the prompt.
- PromptId
-
- Type: string
A unique identifier for the prompt.
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateQueueHoursOfOperation
$result = $client->updateQueueHoursOfOperation
([/* ... */]); $promise = $client->updateQueueHoursOfOperationAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation for the specified queue.
Parameter Syntax
$result = $client->updateQueueHoursOfOperation([ 'HoursOfOperationId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HoursOfOperationId
-
- Required: Yes
- Type: string
The identifier for the hours of operation.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateQueueMaxContacts
$result = $client->updateQueueMaxContacts
([/* ... */]); $promise = $client->updateQueueMaxContactsAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateQueueMaxContacts([ 'InstanceId' => '<string>', // REQUIRED 'MaxContacts' => <integer>, 'QueueId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MaxContacts
-
- Type: int
The maximum number of contacts that can be in the queue before it is considered full.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateQueueName
$result = $client->updateQueueName
([/* ... */]); $promise = $client->updateQueueNameAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateQueueName([ 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'QueueId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the queue.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the queue.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
Result Syntax
[]
Result Details
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateQueueOutboundCallerConfig
$result = $client->updateQueueOutboundCallerConfig
([/* ... */]); $promise = $client->updateQueueOutboundCallerConfigAsync
([/* ... */]);
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 aResourceNotFoundException
. -
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.
Parameter Syntax
$result = $client->updateQueueOutboundCallerConfig([ 'InstanceId' => '<string>', // REQUIRED 'OutboundCallerConfig' => [ // REQUIRED 'OutboundCallerIdName' => '<string>', 'OutboundCallerIdNumberId' => '<string>', 'OutboundFlowId' => '<string>', ], 'QueueId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- OutboundCallerConfig
-
- Required: Yes
- Type: OutboundCallerConfig structure
The outbound caller ID name, number, and outbound whisper flow.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateQueueStatus
$result = $client->updateQueueStatus
([/* ... */]); $promise = $client->updateQueueStatusAsync
([/* ... */]);
This API is in preview release for Amazon Connect and is subject to change.
Updates the status of the queue.
Parameter Syntax
$result = $client->updateQueueStatus([ 'InstanceId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED 'Status' => 'ENABLED|DISABLED', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
- Status
-
- Required: Yes
- Type: string
The status of the queue.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateQuickConnectConfig
$result = $client->updateQuickConnectConfig
([/* ... */]); $promise = $client->updateQuickConnectConfigAsync
([/* ... */]);
Updates the configuration settings for the specified quick connect.
Parameter Syntax
$result = $client->updateQuickConnectConfig([ 'InstanceId' => '<string>', // REQUIRED 'QuickConnectConfig' => [ // REQUIRED 'PhoneConfig' => [ 'PhoneNumber' => '<string>', // REQUIRED ], 'QueueConfig' => [ 'ContactFlowId' => '<string>', // REQUIRED 'QueueId' => '<string>', // REQUIRED ], 'QuickConnectType' => 'USER|QUEUE|PHONE_NUMBER', // REQUIRED 'UserConfig' => [ 'ContactFlowId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ], ], 'QuickConnectId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QuickConnectConfig
-
- Required: Yes
- Type: QuickConnectConfig structure
Information about the configuration settings for the quick connect.
- QuickConnectId
-
- Required: Yes
- Type: string
The identifier for the quick connect.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateQuickConnectName
$result = $client->updateQuickConnectName
([/* ... */]); $promise = $client->updateQuickConnectNameAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateQuickConnectName([ 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'QuickConnectId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the quick connect.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the quick connect.
- QuickConnectId
-
- Required: Yes
- Type: string
The identifier for the quick connect.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateRoutingProfileAgentAvailabilityTimer
$result = $client->updateRoutingProfileAgentAvailabilityTimer
([/* ... */]); $promise = $client->updateRoutingProfileAgentAvailabilityTimerAsync
([/* ... */]);
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
Parameter Syntax
$result = $client->updateRoutingProfileAgentAvailabilityTimer([ 'AgentAvailabilityTimer' => 'TIME_SINCE_LAST_ACTIVITY|TIME_SINCE_LAST_INBOUND', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- AgentAvailabilityTimer
-
- Required: Yes
- Type: string
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateRoutingProfileConcurrency
$result = $client->updateRoutingProfileConcurrency
([/* ... */]); $promise = $client->updateRoutingProfileConcurrencyAsync
([/* ... */]);
Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.
Parameter Syntax
$result = $client->updateRoutingProfileConcurrency([ 'InstanceId' => '<string>', // REQUIRED 'MediaConcurrencies' => [ // REQUIRED [ 'Channel' => 'VOICE|CHAT|TASK', // REQUIRED 'Concurrency' => <integer>, // REQUIRED 'CrossChannelBehavior' => [ 'BehaviorType' => 'ROUTE_CURRENT_CHANNEL_ONLY|ROUTE_ANY_CHANNEL', // REQUIRED ], ], // ... ], 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- MediaConcurrencies
-
- Required: Yes
- Type: Array of MediaConcurrency structures
The channels that agents can handle in the Contact Control Panel (CCP).
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateRoutingProfileDefaultOutboundQueue
$result = $client->updateRoutingProfileDefaultOutboundQueue
([/* ... */]); $promise = $client->updateRoutingProfileDefaultOutboundQueueAsync
([/* ... */]);
Updates the default outbound queue of a routing profile.
Parameter Syntax
$result = $client->updateRoutingProfileDefaultOutboundQueue([ 'DefaultOutboundQueueId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- DefaultOutboundQueueId
-
- Required: Yes
- Type: string
The identifier for the default outbound queue.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateRoutingProfileName
$result = $client->updateRoutingProfileName
([/* ... */]); $promise = $client->updateRoutingProfileNameAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateRoutingProfileName([ 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the routing profile. Must not be more than 250 characters.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the routing profile. Must not be more than 127 characters.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- DuplicateResourceException:
A resource with the specified name already exists.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateRoutingProfileQueues
$result = $client->updateRoutingProfileQueues
([/* ... */]); $promise = $client->updateRoutingProfileQueuesAsync
([/* ... */]);
Updates the properties associated with a set of queues for a routing profile.
Parameter Syntax
$result = $client->updateRoutingProfileQueues([ 'InstanceId' => '<string>', // REQUIRED 'QueueConfigs' => [ // REQUIRED [ 'Delay' => <integer>, // REQUIRED 'Priority' => <integer>, // REQUIRED 'QueueReference' => [ // REQUIRED 'Channel' => 'VOICE|CHAT|TASK', // REQUIRED 'QueueId' => '<string>', // REQUIRED ], ], // ... ], 'RoutingProfileId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- QueueConfigs
-
- Required: Yes
- Type: Array of RoutingProfileQueueConfig structures
The queues to be updated for this routing profile. Queues must first be associated to the routing profile. You can do this using AssociateRoutingProfileQueues.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateRule
$result = $client->updateRule
([/* ... */]); $promise = $client->updateRuleAsync
([/* ... */]);
Updates a rule for the specified Amazon Connect instance.
Use the Rules Function language to code conditions for the rule.
Parameter Syntax
$result = $client->updateRule([ 'Actions' => [ // REQUIRED [ 'ActionType' => 'CREATE_TASK|ASSIGN_CONTACT_CATEGORY|GENERATE_EVENTBRIDGE_EVENT|SEND_NOTIFICATION|CREATE_CASE|UPDATE_CASE|END_ASSOCIATED_TASKS|SUBMIT_AUTO_EVALUATION', // REQUIRED 'AssignContactCategoryAction' => [ ], 'CreateCaseAction' => [ 'Fields' => [ // REQUIRED [ 'Id' => '<string>', // REQUIRED 'Value' => [ // REQUIRED 'BooleanValue' => true || false, 'DoubleValue' => <float>, 'EmptyValue' => [ ], 'StringValue' => '<string>', ], ], // ... ], 'TemplateId' => '<string>', // REQUIRED ], 'EndAssociatedTasksAction' => [ ], 'EventBridgeAction' => [ 'Name' => '<string>', // REQUIRED ], 'SendNotificationAction' => [ 'Content' => '<string>', // REQUIRED 'ContentType' => 'PLAIN_TEXT', // REQUIRED 'DeliveryMethod' => 'EMAIL', // REQUIRED 'Recipient' => [ // REQUIRED 'UserIds' => ['<string>', ...], 'UserTags' => ['<string>', ...], ], 'Subject' => '<string>', ], 'SubmitAutoEvaluationAction' => [ 'EvaluationFormId' => '<string>', // REQUIRED ], 'TaskAction' => [ 'ContactFlowId' => '<string>', // REQUIRED 'Description' => '<string>', 'Name' => '<string>', // REQUIRED 'References' => [ '<ReferenceKey>' => [ 'Type' => 'URL|ATTACHMENT|NUMBER|STRING|DATE|EMAIL', // REQUIRED 'Value' => '<string>', // REQUIRED ], // ... ], ], 'UpdateCaseAction' => [ 'Fields' => [ // REQUIRED [ 'Id' => '<string>', // REQUIRED 'Value' => [ // REQUIRED 'BooleanValue' => true || false, 'DoubleValue' => <float>, 'EmptyValue' => [ ], 'StringValue' => '<string>', ], ], // ... ], ], ], // ... ], 'Function' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED 'PublishStatus' => 'DRAFT|PUBLISHED', // REQUIRED 'RuleId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Actions
-
- Required: Yes
- Type: Array of RuleAction structures
A list of actions to be run when the rule is triggered.
- Function
-
- Required: Yes
- Type: string
The conditions of the rule.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the rule. You can change the name only if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- PublishStatus
-
- Required: Yes
- Type: string
The publish status of the rule.
- RuleId
-
- Required: Yes
- Type: string
A unique identifier for the rule.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- ThrottlingException:
The throttling limit has been exceeded.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceConflictException:
A resource already has that name.
UpdateSecurityProfile
$result = $client->updateSecurityProfile
([/* ... */]); $promise = $client->updateSecurityProfileAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateSecurityProfile([ 'AllowedAccessControlHierarchyGroupId' => '<string>', 'AllowedAccessControlTags' => ['<string>', ...], 'Applications' => [ [ 'ApplicationPermissions' => ['<string>', ...], 'Namespace' => '<string>', ], // ... ], 'Description' => '<string>', 'HierarchyRestrictedResources' => ['<string>', ...], 'InstanceId' => '<string>', // REQUIRED 'Permissions' => ['<string>', ...], 'SecurityProfileId' => '<string>', // REQUIRED 'TagRestrictedResources' => ['<string>', ...], ]);
Parameter Details
Members
- AllowedAccessControlHierarchyGroupId
-
- Type: string
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
- AllowedAccessControlTags
-
- Type: Associative array of custom strings keys (SecurityProfilePolicyKey) to strings
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
- Applications
-
- Type: Array of Application structures
A list of the third-party application's metadata.
- Description
-
- Type: string
The description of the security profile.
- HierarchyRestrictedResources
-
- Type: Array of strings
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
. - InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Permissions
-
- Type: Array of strings
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
- SecurityProfileId
-
- Required: Yes
- Type: string
The identifier for the security profle.
- TagRestrictedResources
-
- Type: Array of strings
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateTaskTemplate
$result = $client->updateTaskTemplate
([/* ... */]); $promise = $client->updateTaskTemplateAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateTaskTemplate([ 'Constraints' => [ 'InvisibleFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'ReadOnlyFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'RequiredFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'ContactFlowId' => '<string>', 'Defaults' => [ 'DefaultFieldValues' => [ [ 'DefaultValue' => '<string>', 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'Description' => '<string>', 'Fields' => [ [ 'Description' => '<string>', 'Id' => [ // REQUIRED 'Name' => '<string>', ], 'SingleSelectOptions' => ['<string>', ...], 'Type' => 'NAME|DESCRIPTION|SCHEDULED_TIME|QUICK_CONNECT|URL|NUMBER|TEXT|TEXT_AREA|DATE_TIME|BOOLEAN|SINGLE_SELECT|EMAIL', ], // ... ], 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'Status' => 'ACTIVE|INACTIVE', 'TaskTemplateId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Constraints
-
- Type: TaskTemplateConstraints structure
Constraints that are applicable to the fields listed.
- ContactFlowId
-
- Type: string
The identifier of the flow that runs by default when a task is created by referencing this template.
- Defaults
-
- Type: TaskTemplateDefaults structure
The default values for fields when a task is created by referencing this template.
- Description
-
- Type: string
The description of the task template.
- Fields
-
- Type: Array of TaskTemplateField structures
Fields that are part of the template.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Type: string
The name of the task template.
- Status
-
- Type: string
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created. - TaskTemplateId
-
- Required: Yes
- Type: string
A unique identifier for the task template.
Result Syntax
[ 'Arn' => '<string>', 'Constraints' => [ 'InvisibleFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'ReadOnlyFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], 'RequiredFields' => [ [ 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'ContactFlowId' => '<string>', 'CreatedTime' => <DateTime>, 'Defaults' => [ 'DefaultFieldValues' => [ [ 'DefaultValue' => '<string>', 'Id' => [ 'Name' => '<string>', ], ], // ... ], ], 'Description' => '<string>', 'Fields' => [ [ 'Description' => '<string>', 'Id' => [ 'Name' => '<string>', ], 'SingleSelectOptions' => ['<string>', ...], 'Type' => 'NAME|DESCRIPTION|SCHEDULED_TIME|QUICK_CONNECT|URL|NUMBER|TEXT|TEXT_AREA|DATE_TIME|BOOLEAN|SINGLE_SELECT|EMAIL', ], // ... ], 'Id' => '<string>', 'InstanceId' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Status' => 'ACTIVE|INACTIVE', ]
Result Details
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) for the task template resource.
- Constraints
-
- Type: TaskTemplateConstraints structure
Constraints that are applicable to the fields listed.
- ContactFlowId
-
- Type: string
The identifier of the flow that runs by default when a task is created by referencing this template.
- CreatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the task template was created.
- Defaults
-
- Type: TaskTemplateDefaults structure
The default values for fields when a task is created by referencing this template.
- Description
-
- Type: string
The description of the task template.
- Fields
-
- Type: Array of TaskTemplateField structures
Fields that are part of the template.
- Id
-
- Type: string
The identifier of the task template resource.
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the task template was last modified.
- Name
-
- Type: string
The name of the task template.
- Status
-
- Type: string
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.
Errors
- PropertyValidationException:
The property is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- ServiceQuotaExceededException:
The service quota has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateTrafficDistribution
$result = $client->updateTrafficDistribution
([/* ... */]); $promise = $client->updateTrafficDistributionAsync
([/* ... */]);
Updates the traffic distribution for a given traffic distribution group.
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.
Parameter Syntax
$result = $client->updateTrafficDistribution([ 'AgentConfig' => [ 'Distributions' => [ // REQUIRED [ 'Percentage' => <integer>, // REQUIRED 'Region' => '<string>', // REQUIRED ], // ... ], ], 'Id' => '<string>', // REQUIRED 'SignInConfig' => [ 'Distributions' => [ // REQUIRED [ 'Enabled' => true || false, // REQUIRED 'Region' => '<string>', // REQUIRED ], // ... ], ], 'TelephonyConfig' => [ 'Distributions' => [ // REQUIRED [ 'Percentage' => <integer>, // REQUIRED 'Region' => '<string>', // REQUIRED ], // ... ], ], ]);
Parameter Details
Members
- AgentConfig
-
- Type: AgentConfig structure
The distribution of agents between the instance and its replica(s).
- Id
-
- Required: Yes
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
- SignInConfig
-
- Type: SignInConfig structure
The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
- TelephonyConfig
-
- Type: TelephonyConfig structure
The distribution of traffic between the instance and its replica(s).
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceConflictException:
A resource already has that name.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserHierarchy
$result = $client->updateUserHierarchy
([/* ... */]); $promise = $client->updateUserHierarchyAsync
([/* ... */]);
Assigns the specified hierarchy group to the specified user.
Parameter Syntax
$result = $client->updateUserHierarchy([ 'HierarchyGroupId' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HierarchyGroupId
-
- Type: string
The identifier of the hierarchy group.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserHierarchyGroupName
$result = $client->updateUserHierarchyGroupName
([/* ... */]); $promise = $client->updateUserHierarchyGroupNameAsync
([/* ... */]);
Updates the name of the user hierarchy group.
Parameter Syntax
$result = $client->updateUserHierarchyGroupName([ 'HierarchyGroupId' => '<string>', // REQUIRED 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HierarchyGroupId
-
- Required: Yes
- Type: string
The identifier of the hierarchy group.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Name
-
- Required: Yes
- Type: string
The name of the hierarchy group. Must not be more than 100 characters.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserHierarchyStructure
$result = $client->updateUserHierarchyStructure
([/* ... */]); $promise = $client->updateUserHierarchyStructureAsync
([/* ... */]);
Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.
Parameter Syntax
$result = $client->updateUserHierarchyStructure([ 'HierarchyStructure' => [ // REQUIRED 'LevelFive' => [ 'Name' => '<string>', // REQUIRED ], 'LevelFour' => [ 'Name' => '<string>', // REQUIRED ], 'LevelOne' => [ 'Name' => '<string>', // REQUIRED ], 'LevelThree' => [ 'Name' => '<string>', // REQUIRED ], 'LevelTwo' => [ 'Name' => '<string>', // REQUIRED ], ], 'InstanceId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- HierarchyStructure
-
- Required: Yes
- Type: HierarchyStructureUpdate structure
The hierarchy levels to update.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ResourceInUseException:
That resource is already in use. Please try another.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserIdentityInfo
$result = $client->updateUserIdentityInfo
([/* ... */]); $promise = $client->updateUserIdentityInfoAsync
([/* ... */]);
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.
Parameter Syntax
$result = $client->updateUserIdentityInfo([ 'IdentityInfo' => [ // REQUIRED 'Email' => '<string>', 'FirstName' => '<string>', 'LastName' => '<string>', 'Mobile' => '<string>', 'SecondaryEmail' => '<string>', ], 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- IdentityInfo
-
- Required: Yes
- Type: UserIdentityInfo structure
The identity information for the user.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserPhoneConfig
$result = $client->updateUserPhoneConfig
([/* ... */]); $promise = $client->updateUserPhoneConfigAsync
([/* ... */]);
Updates the phone configuration settings for the specified user.
Parameter Syntax
$result = $client->updateUserPhoneConfig([ 'InstanceId' => '<string>', // REQUIRED 'PhoneConfig' => [ // REQUIRED 'AfterContactWorkTimeLimit' => <integer>, 'AutoAccept' => true || false, 'DeskPhoneNumber' => '<string>', 'PhoneType' => 'SOFT_PHONE|DESK_PHONE', // REQUIRED ], 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PhoneConfig
-
- Required: Yes
- Type: UserPhoneConfig structure
Information about phone configuration settings for the user.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserProficiencies
$result = $client->updateUserProficiencies
([/* ... */]); $promise = $client->updateUserProficienciesAsync
([/* ... */]);
Updates the properties associated with the proficiencies of a user.
Parameter Syntax
$result = $client->updateUserProficiencies([ 'InstanceId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED 'UserProficiencies' => [ // REQUIRED [ 'AttributeName' => '<string>', // REQUIRED 'AttributeValue' => '<string>', // REQUIRED 'Level' => <float>, // REQUIRED ], // ... ], ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
- UserProficiencies
-
- Required: Yes
- Type: Array of UserProficiency structures
The proficiencies to be updated for the user. Proficiencies must first be associated to the user. You can do this using AssociateUserProficiencies API.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserRoutingProfile
$result = $client->updateUserRoutingProfile
([/* ... */]); $promise = $client->updateUserRoutingProfileAsync
([/* ... */]);
Assigns the specified routing profile to the specified user.
Parameter Syntax
$result = $client->updateUserRoutingProfile([ 'InstanceId' => '<string>', // REQUIRED 'RoutingProfileId' => '<string>', // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- RoutingProfileId
-
- Required: Yes
- Type: string
The identifier of the routing profile for the user.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateUserSecurityProfiles
$result = $client->updateUserSecurityProfiles
([/* ... */]); $promise = $client->updateUserSecurityProfilesAsync
([/* ... */]);
Assigns the specified security profiles to the specified user.
Parameter Syntax
$result = $client->updateUserSecurityProfiles([ 'InstanceId' => '<string>', // REQUIRED 'SecurityProfileIds' => ['<string>', ...], // REQUIRED 'UserId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- SecurityProfileIds
-
- Required: Yes
- Type: Array of strings
The identifiers of the security profiles for the user.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user account.
Result Syntax
[]
Result Details
Errors
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- ThrottlingException:
The throttling limit has been exceeded.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
UpdateViewContent
$result = $client->updateViewContent
([/* ... */]); $promise = $client->updateViewContentAsync
([/* ... */]);
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
.
Parameter Syntax
$result = $client->updateViewContent([ 'Content' => [ // REQUIRED 'Actions' => ['<string>', ...], 'Template' => '<string>', ], 'InstanceId' => '<string>', // REQUIRED 'Status' => 'PUBLISHED|SAVED', // REQUIRED 'ViewId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Content
-
- Required: Yes
- Type: ViewInputContent structure
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- Status
-
- Required: Yes
- Type: string
Indicates the view status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content. - ViewId
-
- Required: Yes
- Type: string
The identifier of the view. Both
ViewArn
andViewId
can be used.
Result Syntax
[ 'View' => [ 'Arn' => '<string>', 'Content' => [ 'Actions' => ['<string>', ...], 'InputSchema' => '<string>', 'Template' => '<string>', ], 'CreatedTime' => <DateTime>, 'Description' => '<string>', 'Id' => '<string>', 'LastModifiedTime' => <DateTime>, 'Name' => '<string>', 'Status' => 'PUBLISHED|SAVED', 'Tags' => ['<string>', ...], 'Type' => 'CUSTOMER_MANAGED|AWS_MANAGED', 'Version' => <integer>, 'VersionDescription' => '<string>', 'ViewContentSha256' => '<string>', ], ]
Result Details
Members
- View
-
- Type: View structure
A view resource object. Contains metadata and content necessary to render the view.
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
- ResourceInUseException:
That resource is already in use. Please try another.
UpdateViewMetadata
$result = $client->updateViewMetadata
([/* ... */]); $promise = $client->updateViewMetadataAsync
([/* ... */]);
Updates the view metadata. Note that either Name
or Description
must be provided.
Parameter Syntax
$result = $client->updateViewMetadata([ 'Description' => '<string>', 'InstanceId' => '<string>', // REQUIRED 'Name' => '<string>', 'ViewId' => '<string>', // REQUIRED ]);
Parameter Details
Members
- Description
-
- Type: string
The description of the view.
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
- Name
-
- Type: string
The name of the view.
- ViewId
-
- Required: Yes
- Type: string
The identifier of the view. Both
ViewArn
andViewId
can be used.
Result Syntax
[]
Result Details
Errors
- AccessDeniedException:
You do not have sufficient permissions to perform this action.
- InvalidRequestException:
The request is not valid.
- InvalidParameterException:
One or more of the specified parameters are not valid.
- ResourceNotFoundException:
The specified resource was not found.
- InternalServiceException:
Request processing failed because of an error or failure with the service.
- TooManyRequestsException:
Displayed when rate-related API limits are exceeded.
- DuplicateResourceException:
A resource with the specified name already exists.
- ResourceInUseException:
That resource is already in use. Please try another.
Shapes
AccessDeniedException
Description
You do not have sufficient permissions to perform this action.
Members
- Message
-
- Type: string
ActionSummary
Description
Information about an action.
Members
- ActionType
-
- Required: Yes
- Type: string
The action type.
AgentConfig
Description
The distribution of agents between the instance and its replica(s).
Members
- Distributions
-
- Required: Yes
- Type: Array of Distribution structures
Information about traffic distributions.
AgentContactReference
Description
Information about the contact associated to the user.
Members
- AgentContactState
-
- Type: string
The state of the contact.
When
AgentContactState
is set toCONNECTED_ONHOLD
,StateStartTimestamp
is not changed. Instead,StateStartTimestamp
reflects the time the contact wasCONNECTED
to the agent. - Channel
-
- Type: string
The channel of the contact.
- ConnectedToAgentTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The time at which the contact was connected to an agent.
- ContactId
-
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- InitiationMethod
-
- Type: string
How the contact was initiated.
- Queue
-
- Type: QueueReference structure
Contains information about a queue resource for which metrics are returned.
- StateStartTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The epoch timestamp when the contact state started.
AgentHierarchyGroup
Description
Information about an agent hierarchy group.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the group.
AgentHierarchyGroups
Description
A structure that defines search criteria for contacts using agent hierarchy group levels. For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.
Members
- L1Ids
-
- Type: Array of strings
The identifiers for level 1 hierarchy groups.
- L2Ids
-
- Type: Array of strings
The identifiers for level 2 hierarchy groups.
- L3Ids
-
- Type: Array of strings
The identifiers for level 3 hierarchy groups.
- L4Ids
-
- Type: Array of strings
The identifiers for level 4 hierarchy groups.
- L5Ids
-
- Type: Array of strings
The identifiers for level 5 hierarchy groups.
AgentInfo
Description
Information about the agent who accepted the contact.
Members
- AgentPauseDurationInSeconds
-
- Type: int
Agent pause duration for a contact in seconds.
- Capabilities
-
- Type: ParticipantCapabilities structure
The configuration for the allowed video and screen sharing capabilities for participants present over the call. For more information, see Set up in-app, web, video calling, and screen sharing capabilities in the Amazon Connect Administrator Guide.
- ConnectedToAgentTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the contact was connected to the agent.
- DeviceInfo
-
- Type: DeviceInfo structure
Information regarding Agent’s device.
- HierarchyGroups
-
- Type: HierarchyGroups structure
The agent hierarchy groups for the agent.
- Id
-
- Type: string
The identifier of the agent who accepted the contact.
AgentQualityMetrics
Description
Information about the quality of the Agent's media connection
Members
- Audio
-
- Type: AudioQualityMetricsInfo structure
Information about the audio quality of the Agent
AgentStatus
Description
Contains information about an agent status.
Members
- AgentStatusARN
-
- Type: string
The Amazon Resource Name (ARN) of the agent status.
- AgentStatusId
-
- Type: string
The identifier of the agent status.
- Description
-
- Type: string
The description of the agent status.
- DisplayOrder
-
- Type: int
The display order of the agent status.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the agent status.
- State
-
- Type: string
The state of the agent status.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Type
-
- Type: string
The type of agent status.
AgentStatusReference
Description
Information about the agent's status.
Members
- StatusArn
-
- Type: string
The Amazon Resource Name (ARN) of the agent's status.
- StatusName
-
- Type: string
The name of the agent status.
- StatusStartTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start timestamp of the agent's status.
AgentStatusSearchCriteria
Description
The search criteria to be used to return agent statuses.
Members
- AndConditions
-
- Type: Array of AgentStatusSearchCriteria structures
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
,description
,state
,type
,displayOrder
, andresourceID
. - OrConditions
-
- Type: Array of AgentStatusSearchCriteria structures
A list of conditions which would be applied together with an
OR
condition. - StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
,description
,state
,type
,displayOrder
, andresourceID
.
AgentStatusSearchFilter
Description
Filters to be applied to search results.
Members
- AttributeFilter
-
- Type: ControlPlaneAttributeFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
AgentStatusSummary
Description
Summary information for an agent status.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) for the agent status.
- Id
-
- Type: string
The identifier for an agent status.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the agent status.
- Type
-
- Type: string
The type of the agent status.
AgentsCriteria
Description
Can be used to define a list of preferred agents to target the contact to within the queue. Note that agents must have the queue in their routing profile in order to be offered the contact.
Members
- AgentIds
-
- Type: Array of strings
An object to specify a list of agents, by user ID.
AllowedCapabilities
Description
Information about the capabilities enabled for participants of the contact.
Members
- Agent
-
- Type: ParticipantCapabilities structure
Information about the agent's video sharing capabilities.
- Customer
-
- Type: ParticipantCapabilities structure
Information about the customer's video sharing capabilities.
AnalyticsDataAssociationResult
Description
This API is in preview release for Amazon Connect and is subject to change.
Information about associations that are successfully created: DataSetId
, TargetAccountId
, ResourceShareId
, ResourceShareArn
.
Members
- DataSetId
-
- Type: string
The identifier of the dataset.
- ResourceShareArn
-
- Type: string
The Amazon Resource Name (ARN) of the Resource Access Manager share.
- ResourceShareId
-
- Type: string
The Resource Access Manager share ID.
- TargetAccountId
-
- Type: string
The identifier of the target account.
AnswerMachineDetectionConfig
Description
Configuration of the answering machine detection.
Members
- AwaitAnswerMachinePrompt
-
- Type: boolean
Wait for the answering machine prompt.
- EnableAnswerMachineDetection
-
- Type: boolean
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to
true
,TrafficType
must be set asCAMPAIGN
.
Application
Description
This API is in preview release for Amazon Connect and is subject to change.
A third-party application's metadata.
Members
- ApplicationPermissions
-
- Type: Array of strings
The permissions that the agent is granted on the application. Only the
ACCESS
permission is supported. - Namespace
-
- Type: string
Namespace of the application that you want to give access to.
AssignContactCategoryActionDefinition
Description
This action must be set if TriggerEventSource
is one of the following values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
. Contact is categorized using the rule name.
RuleName
is used as ContactCategory
.
Members
AttachedFile
Description
Information about the attached file.
Members
- AssociatedResourceArn
-
- Type: string
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- CreatedBy
-
- Type: CreatedByInfo structure
Represents the identity that created the file.
- CreationTime
-
- Required: Yes
- Type: string
The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2024-05-03T02:41:28.172Z
. - FileArn
-
- Required: Yes
- Type: string
The unique identifier of the attached file resource (ARN).
- FileId
-
- Required: Yes
- Type: string
The unique identifier of the attached file resource.
- FileName
-
- Required: Yes
- Type: string
A case-sensitive name of the attached file being uploaded.
- FileSizeInBytes
-
- Required: Yes
- Type: long (int|float)
The size of the attached file in bytes.
- FileStatus
-
- Required: Yes
- Type: string
The current status of the attached file.
- FileUseCaseType
-
- Type: string
The use case for the file.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.
AttachedFileError
Description
Error describing a failure to retrieve attached file metadata through BatchGetAttachedFileMetadata action.
Members
- ErrorCode
-
- Type: string
Status code describing the failure.
- ErrorMessage
-
- Type: string
Why the attached file couldn't be retrieved.
- FileId
-
- Type: string
The unique identifier of the attached file resource.
AttachmentReference
Description
Information about a reference when the referenceType
is ATTACHMENT
. Otherwise, null.
Members
- Name
-
- Type: string
Identifier of the attachment reference.
- Status
-
- Type: string
Status of the attachment reference type.
- Value
-
- Type: string
The location path of the attachment reference.
Attendee
Description
The attendee information, including attendee ID and join token.
Members
- AttendeeId
-
- Type: string
The Amazon Chime SDK attendee ID.
- JoinToken
-
- Type: string
The join token used by the Amazon Chime SDK attendee.
Attribute
Description
A toggle for an individual feature at the instance level.
Members
- AttributeType
-
- Type: string
The type of attribute.
- Value
-
- Type: string
The value of the attribute.
AttributeAndCondition
Description
A list of conditions which would be applied together with an AND
condition.
Members
- HierarchyGroupCondition
-
- Type: HierarchyGroupCondition structure
A leaf node condition which can be used to specify a hierarchy group condition.
- TagConditions
-
- Type: Array of TagCondition structures
A leaf node condition which can be used to specify a tag condition.
AttributeCondition
Description
An object to specify the predefined attribute condition.
Members
- ComparisonOperator
-
- Type: string
The operator of the condition.
- MatchCriteria
-
- Type: MatchCriteria structure
An object to define
AgentsCriteria
. - Name
-
- Type: string
The name of predefined attribute.
- ProficiencyLevel
-
- Type: float
The proficiency level of the condition.
- Value
-
- Type: string
The value of predefined attribute.
AudioFeatures
Description
Has audio-specific configurations as the operating parameter for Echo Reduction.
Members
- EchoReduction
-
- Type: string
Makes echo reduction available to clients who connect to the meeting.
AudioQualityMetricsInfo
Description
Contains information for score and potential quality issues for Audio
Members
- PotentialQualityIssues
-
- Type: Array of strings
List of potential issues causing degradation of quality on a media connection. If the service did not detect any potential quality issues the list is empty.
Valid values:
HighPacketLoss
|HighRoundTripTime
|HighJitterBuffer
- QualityScore
-
- Type: float
Number measuring the estimated quality of the media connection.
AuthenticationProfile
Description
This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Information about an authentication profile. An authentication profile is a resource that stores the authentication settings for users in your contact center. You use authentication profiles to set up IP address range restrictions and session timeouts. For more information, see Set IP address restrictions or session timeouts.
Members
- AllowedIps
-
- Type: Array of strings
A list of IP address range strings that are allowed to access the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
- Arn
-
- Type: string
The Amazon Resource Name (ARN) for the authentication profile.
- BlockedIps
-
- Type: Array of strings
A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
- CreatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the authentication profile was created.
- Description
-
- Type: string
The description for the authentication profile.
- Id
-
- Type: string
A unique identifier for the authentication profile.
- IsDefault
-
- Type: boolean
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where the authentication profile was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the authentication profile was last modified.
- MaxSessionDuration
-
- Type: int
The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period, users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
- Name
-
- Type: string
The name for the authentication profile.
- PeriodicSessionDuration
-
- Type: int
The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
AuthenticationProfileSummary
Description
This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
A summary of a given authentication profile.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the authentication profile summary.
- Id
-
- Type: string
The unique identifier of the authentication profile.
- IsDefault
-
- Type: boolean
Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region when the authentication profile summary was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the authentication profile summary was last modified.
- Name
-
- Type: string
The name of the authentication profile summary.
AvailableNumberSummary
Description
Information about available phone numbers.
Members
- PhoneNumber
-
- Type: string
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
. - PhoneNumberCountryCode
-
- Type: string
The ISO country code.
- PhoneNumberType
-
- Type: string
The type of phone number.
Campaign
Description
Information associated with a campaign.
Members
- CampaignId
-
- Type: string
A unique identifier for a campaign.
ChatEvent
Description
Chat integration event containing payload to perform different chat actions such as:
-
Sending a chat message
-
Sending a chat event, such as typing
-
Disconnecting from a chat
Members
- Content
-
- Type: string
Content of the message or event. This is required when
Type
isMESSAGE
and for certainContentTypes
whenType
isEVENT
.-
For allowed message content, see the
Content
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content, see the
Content
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
- ContentType
-
- Type: string
Type of content. This is required when
Type
isMESSAGE
orEVENT
.-
For allowed message content types, see the
ContentType
parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference. -
For allowed event content types, see the
ContentType
parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.
- Type
-
- Required: Yes
- Type: string
Type of chat integration event.
ChatMessage
Description
A chat message.
Members
- Content
-
- Required: Yes
- Type: string
The content of the chat message.
-
For
text/plain
andtext/markdown
, the Length Constraints are Minimum of 1, Maximum of 1024. -
For
application/json
, the Length Constraints are Minimum of 1, Maximum of 12000. -
For
application/vnd.amazonaws.connect.message.interactive.response
, the Length Constraints are Minimum of 1, Maximum of 12288.
- ContentType
-
- Required: Yes
- Type: string
The type of the content. Supported types are
text/plain
,text/markdown
,application/json
, andapplication/vnd.amazonaws.connect.message.interactive.response
.
ChatParticipantRoleConfig
Description
Configuration information for the chat participant role.
Members
- ParticipantTimerConfigList
-
- Required: Yes
- Type: Array of ParticipantTimerConfiguration structures
A list of participant timers. You can specify any unique combination of role and timer type. Duplicate entries error out the request with a 400.
ChatStreamingConfiguration
Description
The streaming configuration, such as the Amazon SNS streaming endpoint.
Members
- StreamingEndpointArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon Resource Name (ARN) of the streaming endpoint that is used to publish real-time message streaming for chat conversations.
ClaimedPhoneNumberSummary
Description
Information about a phone number that has been claimed to your Amazon Connect instance or traffic distribution group.
Members
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PhoneNumber
-
- Type: string
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
. - PhoneNumberArn
-
- Type: string
The Amazon Resource Name (ARN) of the phone number.
- PhoneNumberCountryCode
-
- Type: string
The ISO country code.
- PhoneNumberDescription
-
- Type: string
The description of the phone number.
- PhoneNumberId
-
- Type: string
A unique identifier for the phone number.
- PhoneNumberStatus
-
- Type: PhoneNumberStatus structure
The status of the phone number.
-
CLAIMED
means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded. -
IN_PROGRESS
means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed. -
FAILED
indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that theTargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received aFAILED
status from aClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
- PhoneNumberType
-
- Type: string
The type of phone number.
- SourcePhoneNumberArn
-
- Type: string
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.
CommonAttributeAndCondition
Description
A list of conditions which would be applied together with an AND
condition.
Members
- TagConditions
-
- Type: Array of TagCondition structures
A leaf node condition which can be used to specify a tag condition.
Condition
Description
A leaf node condition which can be used to specify a ProficiencyName, ProficiencyValue and ProficiencyLimit.
Members
- NumberCondition
-
- Type: NumberCondition structure
A leaf node condition which can be used to specify a numeric condition.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
andvalue
.
ConflictException
Description
Operation cannot be performed at this time as there is a conflict with another operation or contact state.
Members
- Message
-
- Type: string
ConnectionData
Contact
Description
Contains information about a contact.
Members
- AgentInfo
-
- Type: AgentInfo structure
Information about the agent who accepted the contact.
- AnsweringMachineDetectionStatus
-
- Type: string
Indicates how an outbound campaign call is actually disposed if the contact is connected to Amazon Connect.
- Arn
-
- Type: string
The Amazon Resource Name (ARN) for the contact.
- Campaign
-
- Type: Campaign structure
Information associated with a campaign.
- Channel
-
- Type: string
How the contact reached your contact center.
- ConnectedToSystemTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when customer endpoint connected to Amazon Connect.
- Customer
-
- Type: Customer structure
Information about the Customer on the contact.
- CustomerVoiceActivity
-
- Type: CustomerVoiceActivity structure
Information about customer’s voice activity.
- Description
-
- Type: string
The description of the contact.
- DisconnectDetails
-
- Type: DisconnectDetails structure
Information about the call disconnect experience.
- DisconnectTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the customer endpoint disconnected from Amazon Connect.
- Id
-
- Type: string
The identifier for the contact.
- InitialContactId
-
- Type: string
If this contact is related to other contacts, this is the ID of the initial contact.
- InitiationMethod
-
- Type: string
Indicates how the contact was initiated.
- InitiationTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time this contact was initiated, in UTC time. For
INBOUND
, this is when the contact arrived. ForOUTBOUND
, this is when the agent began dialing. ForCALLBACK
, this is when the callback contact was created. ForTRANSFER
andQUEUE_TRANSFER
, this is when the transfer was initiated. ForAPI
, this is when the request arrived. ForEXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. ForMONITOR
, this is when the supervisor started listening to a contact. - LastPausedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the contact was last paused.
- LastResumedTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the contact was last resumed.
- LastUpdateTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when contact was last updated.
- Name
-
- Type: string
The name of the contact.
- PreviousContactId
-
- Type: string
If this contact is not the first contact, this is the ID of the previous contact.
- QualityMetrics
-
- Type: QualityMetrics structure
Information about the quality of the participant's media connection.
- QueueInfo
-
- Type: QueueInfo structure
If this contact was queued, this contains information about the queue.
- QueuePriority
-
- Type: long (int|float)
An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.
- QueueTimeAdjustmentSeconds
-
- Type: int
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.
- RelatedContactId
-
- Type: string
The contactId that is related to this contact.
- RoutingCriteria
-
- Type: RoutingCriteria structure
Latest routing criteria on the contact.
- ScheduledTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
- SegmentAttributes
-
- Type: Associative array of custom strings keys (SegmentAttributeName) to SegmentAttributeValue structures
A set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes and can be accessed in flows. Attribute keys can include only alphanumeric, -, and _ characters. This field can be used to show channel subtype. For example,
connect:Guide
orconnect:SMS
. - Tags
-
- Type: Associative array of custom strings keys (ContactTagKey) to strings
Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.
- TotalPauseCount
-
- Type: int
Total pause count for a contact.
- TotalPauseDurationInSeconds
-
- Type: int
Total pause duration for a contact in seconds.
- WisdomInfo
-
- Type: WisdomInfo structure
Information about Amazon Connect Wisdom.
ContactAnalysis
Description
A structure that defines search criteria for contacts using analysis outputs from Amazon Connect Contact Lens.
Members
- Transcript
-
- Type: Transcript structure
Search criteria based on transcript analyzed by Amazon Connect Contact Lens.
ContactDataRequest
Description
Request object with information to create a contact.
Members
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
List of attributes to be stored in a contact.
- Campaign
-
- Type: Campaign structure
Structure to store information associated with a campaign.
- CustomerEndpoint
-
- Type: Endpoint structure
Endpoint of the customer for which contact will be initiated.
- QueueId
-
- Type: string
The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.
- RequestIdentifier
-
- Type: string
Identifier to uniquely identify individual requests in the batch.
- SystemEndpoint
-
- Type: Endpoint structure
Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.
ContactFilter
Description
Filters user data based on the contact information that is associated to the users. It contains a list of contact states.
Members
- ContactStates
-
- Type: Array of strings
A list of up to 9 contact states.
ContactFlow
Description
Contains information about a flow.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the flow.
- Content
-
- Type: string
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
- Description
-
- Type: string
The description of the flow.
- Id
-
- Type: string
The identifier of the flow.
- Name
-
- Type: string
The name of the flow.
- State
-
- Type: string
The type of flow.
- Status
-
- Type: string
The status of the contact flow.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Type
-
- Type: string
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
ContactFlowModule
Description
Contains information about a flow module.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN).
- Content
-
- Type: string
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
- Description
-
- Type: string
The description of the flow module.
- Id
-
- Type: string
The identifier of the flow module.
- Name
-
- Type: string
The name of the flow module.
- State
-
- Type: string
The type of flow module.
- Status
-
- Type: string
The status of the flow module.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
ContactFlowModuleSearchCriteria
Description
The search criteria to be used to return flow modules.
Members
- AndConditions
-
- Type: Array of ContactFlowModuleSearchCriteria structures
A list of conditions which would be applied together with an
AND
condition. - OrConditions
-
- Type: Array of ContactFlowModuleSearchCriteria structures
A list of conditions which would be applied together with an
OR
condition. - StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
ContactFlowModuleSearchFilter
Description
The search criteria to be used to return flow modules.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
ContactFlowModuleSummary
Description
Contains summary information about a flow.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the flow module.
- Id
-
- Type: string
The identifier of the flow module.
- Name
-
- Type: string
The name of the flow module.
- State
-
- Type: string
The type of flow module.
ContactFlowNotPublishedException
Description
The flow has not been published.
Members
- Message
-
- Type: string
ContactFlowSearchCriteria
Description
The search criteria to be used to return contact flows.
Members
- AndConditions
-
- Type: Array of ContactFlowSearchCriteria structures
A list of conditions which would be applied together with an
AND
condition. - OrConditions
-
- Type: Array of ContactFlowSearchCriteria structures
A list of conditions which would be applied together with an
OR
condition. - StateCondition
-
- Type: string
The state of the flow.
- StatusCondition
-
- Type: string
The status of the flow.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
- TypeCondition
-
- Type: string
The type of flow.
ContactFlowSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
ContactFlowSummary
Description
Contains summary information about a flow.
You can also create and update flows using the Amazon Connect Flow language.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the flow.
- ContactFlowState
-
- Type: string
The type of flow.
- ContactFlowStatus
-
- Type: string
The status of the contact flow.
- ContactFlowType
-
- Type: string
The type of flow.
- Id
-
- Type: string
The identifier of the flow.
- Name
-
- Type: string
The name of the flow.
ContactNotFoundException
Description
The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat or Task contacts.
Members
- Message
-
- Type: string
The message.
ContactSearchSummary
Description
Information of returned contact.
Members
- AgentInfo
-
- Type: ContactSearchSummaryAgentInfo structure
Information about the agent who accepted the contact.
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the contact.
- Channel
-
- Type: string
How the contact reached your contact center.
- DisconnectTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the customer endpoint disconnected from Amazon Connect.
- Id
-
- Type: string
The identifier of the contact summary.
- InitialContactId
-
- Type: string
If this contact is related to other contacts, this is the ID of the initial contact.
- InitiationMethod
-
- Type: string
Indicates how the contact was initiated.
- InitiationTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time this contact was initiated, in UTC time. For
INBOUND
, this is when the contact arrived. ForOUTBOUND
, this is when the agent began dialing. ForCALLBACK
, this is when the callback contact was created. ForTRANSFER
andQUEUE_TRANSFER
, this is when the transfer was initiated. For API, this is when the request arrived. ForEXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. ForMONITOR
, this is when the supervisor started listening to a contact. - PreviousContactId
-
- Type: string
If this contact is not the first contact, this is the ID of the previous contact.
- QueueInfo
-
- Type: ContactSearchSummaryQueueInfo structure
If this contact was queued, this contains information about the queue.
- ScheduledTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
ContactSearchSummaryAgentInfo
Description
Information about the agent who accepted the contact.
Members
- ConnectedToAgentTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the contact was connected to the agent.
- Id
-
- Type: string
The identifier of the agent who accepted the contact.
ContactSearchSummaryQueueInfo
Description
If this contact was queued, this contains information about the queue.
Members
- EnqueueTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the contact was added to the queue.
- Id
-
- Type: string
The unique identifier for the queue.
ControlPlaneAttributeFilter
Description
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
or AND
(List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
Members
- AndCondition
-
- Type: CommonAttributeAndCondition structure
A list of conditions which would be applied together with an
AND
condition. - OrConditions
-
- Type: Array of CommonAttributeAndCondition structures
A list of conditions which would be applied together with an
OR
condition. - TagCondition
-
- Type: TagCondition structure
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123
.
ControlPlaneTagFilter
Description
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
Members
- AndConditions
-
- Type: Array of TagCondition structures
A list of conditions which would be applied together with an
AND
condition. - OrConditions
-
- Type: Array of TagCondition structuress
A list of conditions which would be applied together with an
OR
condition. - TagCondition
-
- Type: TagCondition structure
A leaf node condition which can be used to specify a tag condition.
ControlPlaneUserAttributeFilter
Description
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter
.
This accepts an OR
of AND
(List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator -
The inner list specifies conditions that need to be applied with
AND
operator.
Only one field can be populated. Maximum number of allowed Tag conditions is 25. Maximum number of allowed Hierarchy Group conditions is 20.
Members
- AndCondition
-
- Type: AttributeAndCondition structure
A list of conditions which would be applied together with an
AND
condition. - HierarchyGroupCondition
-
- Type: HierarchyGroupCondition structure
A leaf node condition which can be used to specify a hierarchy group condition.
- OrConditions
-
- Type: Array of AttributeAndCondition structures
A list of conditions which would be applied together with an
OR
condition. - TagCondition
-
- Type: TagCondition structure
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123
.
CreateCaseActionDefinition
Description
The CreateCase
action definition.
Members
- Fields
-
- Required: Yes
- Type: Array of FieldValue structures
An array of objects with
Field ID
andValue
data. - TemplateId
-
- Required: Yes
- Type: string
A unique identifier of a template.
CreatedByInfo
Description
Information on the identity that created the file.
Members
- AWSIdentityArn
-
- Type: string
STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if
ConnectUserArn
is not provided. - ConnectUserArn
-
- Type: string
An agent ARN representing a connect user.
Credentials
Description
Contains credentials to use for federation.
Members
- AccessToken
-
- Type: string
An access token generated for a federated user to access Amazon Connect.
- AccessTokenExpiration
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
- RefreshToken
-
- Type: string
Renews a token generated for a user to access the Amazon Connect instance.
- RefreshTokenExpiration
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Renews the expiration timer for a generated token.
CrossChannelBehavior
Description
Defines the cross-channel routing behavior that allows an agent working on a contact in one channel to be offered a contact from a different channel.
Members
- BehaviorType
-
- Required: Yes
- Type: string
Specifies the other channels that can be routed to an agent handling their current channel.
CurrentMetric
Description
Contains information about a real-time metric. For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.
Members
- Name
-
- Type: string
The name of the metric.
- Unit
-
- Type: string
The unit for the metric.
CurrentMetricData
Description
Contains the data for a real-time metric.
Members
- Metric
-
- Type: CurrentMetric structure
Information about the metric.
- Value
-
- Type: double
The value of the metric.
CurrentMetricResult
Description
Contains information about a set of real-time metrics.
Members
- Collections
-
- Type: Array of CurrentMetricData structures
The set of metrics.
- Dimensions
-
- Type: Dimensions structure
The dimensions for the metrics.
CurrentMetricSortCriteria
Description
The way to sort the resulting response based on metrics. By default resources are sorted based on AGENTS_ONLINE
, DESCENDING
. The metric collection is sorted based on the input metrics.
Members
- SortByMetric
-
- Type: string
The current metric names.
- SortOrder
-
- Type: string
The way to sort.
Customer
Description
Information about the Customer on the contact.
Members
- Capabilities
-
- Type: ParticipantCapabilities structure
The configuration for the allowed video and screen sharing capabilities for participants present over the call. For more information, see Set up in-app, web, video calling, and screen sharing capabilities in the Amazon Connect Administrator Guide.
- DeviceInfo
-
- Type: DeviceInfo structure
Information regarding Customer’s device.
CustomerQualityMetrics
Description
Information about the quality of the Customer's media connection
Members
- Audio
-
- Type: AudioQualityMetricsInfo structure
Information about the audio quality of the Customer
CustomerVoiceActivity
Description
Information about customer’s voice activity.
Members
- GreetingEndTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Timestamp that measures the end of the customer greeting from an outbound voice call.
- GreetingStartTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Timestamp that measures the beginning of the customer greeting from an outbound voice call.
DateReference
Description
Information about a reference when the referenceType
is DATE
. Otherwise, null.
Members
- Name
-
- Type: string
Identifier of the date reference.
- Value
-
- Type: string
A valid date.
DefaultVocabulary
Description
Contains information about a default vocabulary.
Members
- InstanceId
-
- Required: Yes
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- LanguageCode
-
- Required: Yes
- Type: string
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- VocabularyId
-
- Required: Yes
- Type: string
The identifier of the custom vocabulary.
- VocabularyName
-
- Required: Yes
- Type: string
A unique name of the custom vocabulary.
DestinationNotAllowedException
Description
Outbound calls to the destination number are not allowed.
Members
- Message
-
- Type: string
The message about the outbound calls.
DeviceInfo
Description
Information regarding the device.
Members
- OperatingSystem
-
- Type: string
Operating system that the participant used for the call.
- PlatformName
-
- Type: string
Name of the platform that the participant used for the call.
- PlatformVersion
-
- Type: string
Version of the platform that the participant used for the call.
Dimensions
Description
Contains information about the dimensions for a set of metrics.
Members
- Channel
-
- Type: string
The channel used for grouping and filters.
- Queue
-
- Type: QueueReference structure
Information about the queue for which metrics are returned.
- RoutingProfile
-
- Type: RoutingProfileReference structure
Information about the routing profile assigned to the user.
- RoutingStepExpression
-
- Type: string
The expression of a step in a routing criteria.
DisconnectDetails
Description
Information about the call disconnect experience.
Members
- PotentialDisconnectIssue
-
- Type: string
Indicates the potential disconnection issues for a call. This field is not populated if the service does not detect potential issues.
DisconnectReason
Description
Contains details about why a contact was disconnected. Only Amazon Connect outbound campaigns can provide this field.
Members
- Code
-
- Type: string
A code that indicates how the contact was terminated.
Distribution
Description
Information about a traffic distribution.
Members
- Percentage
-
- Required: Yes
- Type: int
The percentage of the traffic that is distributed, in increments of 10.
- Region
-
- Required: Yes
- Type: string
The Amazon Web Services Region where the traffic is distributed.
DownloadUrlMetadata
Description
Metadata used to download the attached file.
Members
- Url
-
- Type: string
A pre-signed URL that should be used to download the attached file.
- UrlExpiry
-
- Type: string
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
DuplicateResourceException
Description
A resource with the specified name already exists.
Members
- Message
-
- Type: string
EmailReference
Description
Information about a reference when the referenceType
is EMAIL
. Otherwise, null.
Members
- Name
-
- Type: string
Identifier of the email reference.
- Value
-
- Type: string
A valid email address.
EmptyFieldValue
Description
An empty value.
Members
EncryptionConfig
Description
The encryption configuration.
Members
- EncryptionType
-
- Required: Yes
- Type: string
The type of encryption.
- KeyId
-
- Required: Yes
- Type: string
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key spec of
SYMMETRIC_DEFAULT
.
EndAssociatedTasksActionDefinition
Description
End associated tasks related to a case.
Members
Endpoint
Description
Information about the endpoint.
Members
- Address
-
- Type: string
Address of the endpoint.
- Type
-
- Type: string
Type of the endpoint.
ErrorResult
Description
This API is in preview release for Amazon Connect and is subject to change.
List of errors for dataset association failures.
Members
- ErrorCode
-
- Type: string
The error code.
- ErrorMessage
-
- Type: string
The corresponding error message for the error code.
Evaluation
Description
Information about a contact evaluation.
Members
- Answers
-
- Required: Yes
- Type: Associative array of custom strings keys (ResourceId) to EvaluationAnswerOutput structures
A map of question identifiers to answer value.
- CreatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation was created.
- EvaluationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the contact evaluation resource.
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
- LastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation was last updated.
- Metadata
-
- Required: Yes
- Type: EvaluationMetadata structure
Metadata about the contact evaluation.
- Notes
-
- Required: Yes
- Type: Associative array of custom strings keys (ResourceId) to EvaluationNote structures
A map of question identifiers to note value.
- Scores
-
- Type: Associative array of custom strings keys (ResourceId) to EvaluationScore structures
A map of item (section or question) identifiers to score value.
- Status
-
- Required: Yes
- Type: string
The status of the contact evaluation.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
EvaluationAnswerData
Description
Information about answer data for a contact evaluation. Answer data must be either string, numeric, or not applicable.
Members
- NotApplicable
-
- Type: boolean
The flag to mark the question as not applicable.
- NumericValue
-
- Type: double
The numeric value for an answer in a contact evaluation.
- StringValue
-
- Type: string
The string value for an answer in a contact evaluation.
EvaluationAnswerInput
Description
Information about input answers for a contact evaluation.
Members
- Value
-
- Type: EvaluationAnswerData structure
The value for an answer in a contact evaluation.
EvaluationAnswerOutput
Description
Information about output answers for a contact evaluation.
Members
- SystemSuggestedValue
-
- Type: EvaluationAnswerData structure
The system suggested value for an answer in a contact evaluation.
- Value
-
- Type: EvaluationAnswerData structure
The value for an answer in a contact evaluation.
EvaluationForm
Description
Information about the evaluation form.
Members
- CreatedBy
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who created the evaluation form.
- CreatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation form was created.
- Description
-
- Type: string
The description of the evaluation form.
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the evaluation form resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
A version of the evaluation form.
- Items
-
- Required: Yes
- Type: Array of EvaluationFormItem structures
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- LastModifiedBy
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
- LastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation form was last updated.
- Locked
-
- Required: Yes
- Type: boolean
The flag indicating whether the evaluation form is locked for changes.
- ScoringStrategy
-
- Type: EvaluationFormScoringStrategy structure
A scoring strategy of the evaluation form.
- Status
-
- Required: Yes
- Type: string
The status of the evaluation form.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Title
-
- Required: Yes
- Type: string
A title of the evaluation form.
EvaluationFormContent
Description
Information about an evaluation form used in a contact evaluation.
Members
- Description
-
- Type: string
The description of the evaluation form.
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the evaluation form resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
A version of the evaluation form.
- Items
-
- Required: Yes
- Type: Array of EvaluationFormItem structures
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- ScoringStrategy
-
- Type: EvaluationFormScoringStrategy structure
A scoring strategy of the evaluation form.
- Title
-
- Required: Yes
- Type: string
A title of the evaluation form.
EvaluationFormItem
Description
Information about an item from an evaluation form. The item must be either a section or a question.
Members
- Question
-
- Type: EvaluationFormQuestion structure
The information of the question.
- Section
-
- Type: EvaluationFormSection structure
The information of the section.
EvaluationFormNumericQuestionAutomation
Description
Information about the automation configuration in numeric questions.
Members
- PropertyValue
-
- Type: NumericQuestionPropertyValueAutomation structure
The property value of the automation.
EvaluationFormNumericQuestionOption
Description
Information about the option range used for scoring in numeric questions.
Members
- AutomaticFail
-
- Type: boolean
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
- MaxValue
-
- Required: Yes
- Type: int
The maximum answer value of the range option.
- MinValue
-
- Required: Yes
- Type: int
The minimum answer value of the range option.
- Score
-
- Type: int
The score assigned to answer values within the range option.
EvaluationFormNumericQuestionProperties
Description
Information about properties for a numeric question in an evaluation form.
Members
- Automation
-
- Type: EvaluationFormNumericQuestionAutomation structure
The automation properties of the numeric question.
- MaxValue
-
- Required: Yes
- Type: int
The maximum answer value.
- MinValue
-
- Required: Yes
- Type: int
The minimum answer value.
- Options
-
- Type: Array of EvaluationFormNumericQuestionOption structures
The scoring options of the numeric question.
EvaluationFormQuestion
Description
Information about a question from an evaluation form.
Members
- Instructions
-
- Type: string
The instructions of the section.
- NotApplicableEnabled
-
- Type: boolean
The flag to enable not applicable answers to the question.
- QuestionType
-
- Required: Yes
- Type: string
The type of the question.
- QuestionTypeProperties
-
- Type: EvaluationFormQuestionTypeProperties structure
The properties of the type of question. Text questions do not have to define question type properties.
- RefId
-
- Required: Yes
- Type: string
The identifier of the question. An identifier must be unique within the evaluation form.
- Title
-
- Required: Yes
- Type: string
The title of the question.
- Weight
-
- Type: double
The scoring weight of the section.
EvaluationFormQuestionTypeProperties
Description
Information about properties for a question in an evaluation form. The question type properties must be either for a numeric question or a single select question.
Members
- Numeric
-
- Type: EvaluationFormNumericQuestionProperties structure
The properties of the numeric question.
- SingleSelect
-
- Type: EvaluationFormSingleSelectQuestionProperties structure
The properties of the numeric question.
EvaluationFormScoringStrategy
Description
Information about scoring strategy for an evaluation form.
Members
- Mode
-
- Required: Yes
- Type: string
The scoring mode of the evaluation form.
- Status
-
- Required: Yes
- Type: string
The scoring status of the evaluation form.
EvaluationFormSection
Description
Information about a section from an evaluation form. A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
Members
- Instructions
-
- Type: string
The instructions of the section.
- Items
-
- Required: Yes
- Type: Array of EvaluationFormItem structures
The items of the section.
- RefId
-
- Required: Yes
- Type: string
The identifier of the section. An identifier must be unique within the evaluation form.
- Title
-
- Required: Yes
- Type: string
The title of the section.
- Weight
-
- Type: double
The scoring weight of the section.
EvaluationFormSingleSelectQuestionAutomation
Description
Information about the automation configuration in single select questions. Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.
Members
- DefaultOptionRefId
-
- Type: string
The identifier of the default answer option, when none of the automation options match the criteria.
- Options
-
- Required: Yes
- Type: Array of EvaluationFormSingleSelectQuestionAutomationOption structures
The automation options of the single select question.
EvaluationFormSingleSelectQuestionAutomationOption
Description
Information about the automation option of a single select question.
Members
- RuleCategory
-
- Type: SingleSelectQuestionRuleCategoryAutomation structure
The automation option based on a rule category for the single select question.
EvaluationFormSingleSelectQuestionOption
Description
Information about the automation configuration in single select questions.
Members
- AutomaticFail
-
- Type: boolean
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
- RefId
-
- Required: Yes
- Type: string
The identifier of the answer option. An identifier must be unique within the question.
- Score
-
- Type: int
The score assigned to the answer option.
- Text
-
- Required: Yes
- Type: string
The title of the answer option.
EvaluationFormSingleSelectQuestionProperties
Description
Information about the options in single select questions.
Members
- Automation
-
- Type: EvaluationFormSingleSelectQuestionAutomation structure
The display mode of the single select question.
- DisplayAs
-
- Type: string
The display mode of the single select question.
- Options
-
- Required: Yes
- Type: Array of EvaluationFormSingleSelectQuestionOption structures
The answer options of the single select question.
EvaluationFormSummary
Description
Summary information about an evaluation form.
Members
- ActiveVersion
-
- Type: int
The version of the active evaluation form version.
- CreatedBy
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who created the evaluation form.
- CreatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation form was created.
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the evaluation form resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- LastActivatedBy
-
- Type: string
The Amazon Resource Name (ARN) of the user who last activated the evaluation form.
- LastActivatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation form was last activated.
- LastModifiedBy
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
- LastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation form was last updated.
- LatestVersion
-
- Required: Yes
- Type: int
The version number of the latest evaluation form version.
- Title
-
- Required: Yes
- Type: string
A title of the evaluation form.
EvaluationFormVersionSummary
Description
Summary information about an evaluation form.
Members
- CreatedBy
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who created the evaluation form.
- CreatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation form was created.
- EvaluationFormArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the evaluation form resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormVersion
-
- Required: Yes
- Type: int
A version of the evaluation form.
- LastModifiedBy
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
- LastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation form was last updated.
- Locked
-
- Required: Yes
- Type: boolean
The flag indicating whether the evaluation form is locked for changes.
- Status
-
- Required: Yes
- Type: string
The status of the evaluation form.
EvaluationMetadata
Description
Metadata information about a contact evaluation.
Members
- ContactAgentId
-
- Type: string
The identifier of the agent who performed the contact.
- ContactId
-
- Required: Yes
- Type: string
The identifier of the contact in this instance of Amazon Connect.
- EvaluatorArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
- Score
-
- Type: EvaluationScore structure
The overall score of the contact evaluation.
EvaluationNote
Description
Information about notes for a contact evaluation.
Members
- Value
-
- Type: string
The note for an item (section or question) in a contact evaluation.
Even though a note in an evaluation can have up to 3072 chars, there is also a limit on the total number of chars for all the notes in the evaluation combined. Assuming there are N questions in the evaluation being submitted, then the max char limit for all notes combined is N x 1024.
EvaluationScore
Description
Information about scores of a contact evaluation item (section or question).
Members
- AutomaticFail
-
- Type: boolean
The flag that marks the item as automatic fail. If the item or a child item gets an automatic fail answer, this flag will be true.
- NotApplicable
-
- Type: boolean
The flag to mark the item as not applicable for scoring.
- Percentage
-
- Type: double
The score percentage for an item in a contact evaluation.
EvaluationSummary
Description
Summary information about a contact evaluation.
Members
- CreatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation was created.
- EvaluationArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the contact evaluation resource.
- EvaluationFormId
-
- Required: Yes
- Type: string
The unique identifier for the evaluation form.
- EvaluationFormTitle
-
- Required: Yes
- Type: string
A title of the evaluation form.
- EvaluationId
-
- Required: Yes
- Type: string
A unique identifier for the contact evaluation.
- EvaluatorArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
- LastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the evaluation was last updated.
- Score
-
- Type: EvaluationScore structure
The overall score of the contact evaluation.
- Status
-
- Required: Yes
- Type: string
The status of the contact evaluation.
EventBridgeActionDefinition
Description
The EventBridge action definition.
Members
- Name
-
- Required: Yes
- Type: string
The name.
Expiry
Description
An object to specify the expiration of a routing step.
Members
- DurationInSeconds
-
- Type: int
The number of seconds to wait before expiring the routing step.
- ExpiryTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp indicating when the routing step expires.
Expression
Description
A tagged union to specify expression for a routing step.
Members
- AndExpression
-
- Type: Array of Expression structures
List of routing expressions which will be AND-ed together.
- AttributeCondition
-
- Type: AttributeCondition structure
An object to specify the predefined attribute condition.
- OrExpression
-
- Type: Array of Expression structures
List of routing expressions which will be OR-ed together.
FailedRequest
Description
Request for which contact failed to be generated.
Members
- FailureReasonCode
-
- Type: string
Reason code for the failure.
- FailureReasonMessage
-
- Type: string
Why the request to create a contact failed.
- RequestIdentifier
-
- Type: string
Request identifier provided in the API call in the ContactDataRequest to create a contact.
FieldValue
Description
Object for case field values.
Members
- Id
-
- Required: Yes
- Type: string
Unique identifier of a field.
- Value
-
- Required: Yes
- Type: FieldValueUnion structure
Union of potential field value types.
FieldValueUnion
Description
Object to store union of Field values.
Members
- BooleanValue
-
- Type: boolean
A Boolean number value type.
- DoubleValue
-
- Type: double
A Double number value type.
- EmptyValue
-
- Type: EmptyFieldValue structure
An empty value.
- StringValue
-
- Type: string
String value type.
FilterV2
Description
Contains the filter to apply when retrieving metrics with the GetMetricDataV2 API.
Members
- FilterKey
-
- Type: string
The key to use for filtering data. For example,
QUEUE
,ROUTING_PROFILE, AGENT
,CHANNEL
,AGENT_HIERARCHY_LEVEL_ONE
,AGENT_HIERARCHY_LEVEL_TWO
,AGENT_HIERARCHY_LEVEL_THREE
,AGENT_HIERARCHY_LEVEL_FOUR
,AGENT_HIERARCHY_LEVEL_FIVE
. There must be at least 1 key and a maximum 5 keys. - FilterValues
-
- Type: Array of strings
The identifiers to use for filtering data. For example, if you have a filter key of
QUEUE
, you would add queue IDs or ARNs inFilterValues
.
Filters
Description
Contains the filter to apply when retrieving metrics.
Members
- Channels
-
- Type: Array of strings
The channel to use to filter the metrics.
- Queues
-
- Type: Array of strings
The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues per request. The
GetCurrentMetricsData
API in particular requires a queue when you include aFilter
in your request. - RoutingProfiles
-
- Type: Array of strings
A list of up to 100 routing profile IDs or ARNs.
- RoutingStepExpressions
-
- Type: Array of strings
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
FlowAssociationSummary
Description
Information about flow associations.
Members
- FlowId
-
- Type: string
The identifier of the flow.
- ResourceId
-
- Type: string
The identifier of the resource.
- ResourceType
-
- Type: string
The type of resource association.
HierarchyGroup
Description
Contains information about a hierarchy group.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the hierarchy group.
- HierarchyPath
-
- Type: HierarchyPath structure
Information about the levels in the hierarchy group.
- Id
-
- Type: string
The identifier of the hierarchy group.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- LevelId
-
- Type: string
The identifier of the level in the hierarchy group.
- Name
-
- Type: string
The name of the hierarchy group.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
HierarchyGroupCondition
Description
A leaf node condition which can be used to specify a hierarchy group condition.
Members
- HierarchyGroupMatchType
-
- Type: string
The type of hierarchy group match.
- Value
-
- Type: string
The value in the hierarchy group condition.
HierarchyGroupSummary
Description
Contains summary information about a hierarchy group.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the hierarchy group.
- Id
-
- Type: string
The identifier of the hierarchy group.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the hierarchy group.
HierarchyGroupSummaryReference
Description
Information about the hierarchy group.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) for the hierarchy group.
- Id
-
- Type: string
The unique identifier for the hierarchy group.
HierarchyGroups
Description
Information about the agent hierarchy. Hierarchies can be configured with up to five levels.
Members
- Level1
-
- Type: AgentHierarchyGroup structure
The group at level one of the agent hierarchy.
- Level2
-
- Type: AgentHierarchyGroup structure
The group at level two of the agent hierarchy.
- Level3
-
- Type: AgentHierarchyGroup structure
The group at level three of the agent hierarchy.
- Level4
-
- Type: AgentHierarchyGroup structure
The group at level four of the agent hierarchy.
- Level5
-
- Type: AgentHierarchyGroup structure
The group at level five of the agent hierarchy.
HierarchyLevel
Description
Contains information about a hierarchy level.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the hierarchy level.
- Id
-
- Type: string
The identifier of the hierarchy level.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the hierarchy level.
HierarchyLevelUpdate
Description
Contains information about the hierarchy level to update.
Members
- Name
-
- Required: Yes
- Type: string
The name of the user hierarchy level. Must not be more than 50 characters.
HierarchyPath
Description
Contains information about the levels of a hierarchy group.
Members
- LevelFive
-
- Type: HierarchyGroupSummary structure
Information about level five.
- LevelFour
-
- Type: HierarchyGroupSummary structure
Information about level four.
- LevelOne
-
- Type: HierarchyGroupSummary structure
Information about level one.
- LevelThree
-
- Type: HierarchyGroupSummary structure
Information about level three.
- LevelTwo
-
- Type: HierarchyGroupSummary structure
Information about level two.
HierarchyPathReference
Description
Information about the levels in the hierarchy group.
Members
- LevelFive
-
- Type: HierarchyGroupSummaryReference structure
Information about level five.
- LevelFour
-
- Type: HierarchyGroupSummaryReference structure
Information about level four.
- LevelOne
-
- Type: HierarchyGroupSummaryReference structure
Information about level one.
- LevelThree
-
- Type: HierarchyGroupSummaryReference structure
Information about level three.
- LevelTwo
-
- Type: HierarchyGroupSummaryReference structure
Information about level two.
HierarchyStructure
Description
Contains information about a hierarchy structure.
Members
- LevelFive
-
- Type: HierarchyLevel structure
Information about level five.
- LevelFour
-
- Type: HierarchyLevel structure
Information about level four.
- LevelOne
-
- Type: HierarchyLevel structure
Information about level one.
- LevelThree
-
- Type: HierarchyLevel structure
Information about level three.
- LevelTwo
-
- Type: HierarchyLevel structure
Information about level two.
HierarchyStructureUpdate
Description
Contains information about the level hierarchy to update.
Members
- LevelFive
-
- Type: HierarchyLevelUpdate structure
The update for level five.
- LevelFour
-
- Type: HierarchyLevelUpdate structure
The update for level four.
- LevelOne
-
- Type: HierarchyLevelUpdate structure
The update for level one.
- LevelThree
-
- Type: HierarchyLevelUpdate structure
The update for level three.
- LevelTwo
-
- Type: HierarchyLevelUpdate structure
The update for level two.
HistoricalMetric
Description
Contains information about a historical metric. For a description of each metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
Members
- Name
-
- Type: string
The name of the metric.
- Statistic
-
- Type: string
The statistic for the metric.
- Threshold
-
- Type: Threshold structure
The threshold for the metric, used with service level metrics.
- Unit
-
- Type: string
The unit for the metric.
HistoricalMetricData
Description
Contains the data for a historical metric.
Members
- Metric
-
- Type: HistoricalMetric structure
Information about the metric.
- Value
-
- Type: double
The value of the metric.
HistoricalMetricResult
Description
Contains information about the historical metrics retrieved.
Members
- Collections
-
- Type: Array of HistoricalMetricData structures
The set of metrics.
- Dimensions
-
- Type: Dimensions structure
The dimension for the metrics.
HoursOfOperation
Description
Information about of the hours of operation.
Members
- Config
-
- Type: Array of HoursOfOperationConfig structures
Configuration information for the hours of operation.
- Description
-
- Type: string
The description for the hours of operation.
- HoursOfOperationArn
-
- Type: string
The Amazon Resource Name (ARN) for the hours of operation.
- HoursOfOperationId
-
- Type: string
The identifier for the hours of operation.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name for the hours of operation.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- TimeZone
-
- Type: string
The time zone for the hours of operation.
HoursOfOperationConfig
Description
Contains information about the hours of operation.
Members
- Day
-
- Required: Yes
- Type: string
The day that the hours of operation applies to.
- EndTime
-
- Required: Yes
- Type: HoursOfOperationTimeSlice structure
The end time that your contact center closes.
- StartTime
-
- Required: Yes
- Type: HoursOfOperationTimeSlice structure
The start time that your contact center opens.
HoursOfOperationSearchCriteria
Description
The search criteria to be used to return hours of operations.
Members
- AndConditions
-
- Type: Array of HoursOfOperationSearchCriteria structures
A list of conditions which would be applied together with an AND condition.
- OrConditions
-
- Type: Array of HoursOfOperationSearchCriteria structures
A list of conditions which would be applied together with an OR condition.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
,description
,timezone
, andresourceID
.
HoursOfOperationSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
HoursOfOperationSummary
Description
Contains summary information about hours of operation for a contact center.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the hours of operation.
- Id
-
- Type: string
The identifier of the hours of operation.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the hours of operation.
HoursOfOperationTimeSlice
Description
The start time or end time for an hours of operation.
Members
- Hours
-
- Required: Yes
- Type: int
The hours.
- Minutes
-
- Required: Yes
- Type: int
The minutes.
IdempotencyException
Description
An entity with the same name already exists.
Members
- Message
-
- Type: string
Instance
Description
The Amazon Connect instance.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the instance.
- CreatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
When the instance was created.
- Id
-
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IdentityManagementType
-
- Type: string
The identity management type.
- InboundCallsEnabled
-
- Type: boolean
Whether inbound calls are enabled.
- InstanceAccessUrl
-
- Type: string
This URL allows contact center users to access the Amazon Connect admin website.
- InstanceAlias
-
- Type: string
The alias of instance.
- InstanceStatus
-
- Type: string
The state of the instance.
- OutboundCallsEnabled
-
- Type: boolean
Whether outbound calls are enabled.
- ServiceRole
-
- Type: string
The service role of the instance.
- StatusReason
-
- Type: InstanceStatusReason structure
Relevant details why the instance was not successfully created.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags of an instance.
InstanceStatusReason
Description
Relevant details why the instance was not successfully created.
Members
- Message
-
- Type: string
The message.
InstanceStorageConfig
Description
The storage configuration for the instance.
Members
- AssociationId
-
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- KinesisFirehoseConfig
-
- Type: KinesisFirehoseConfig structure
The configuration of the Kinesis Firehose delivery stream.
- KinesisStreamConfig
-
- Type: KinesisStreamConfig structure
The configuration of the Kinesis data stream.
- KinesisVideoStreamConfig
-
- Type: KinesisVideoStreamConfig structure
The configuration of the Kinesis video stream.
- S3Config
-
- Type: S3Config structure
The S3 bucket configuration.
- StorageType
-
- Required: Yes
- Type: string
A valid storage type.
InstanceSummary
Description
Information about the instance.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the instance.
- CreatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
When the instance was created.
- Id
-
- Type: string
The identifier of the instance.
- IdentityManagementType
-
- Type: string
The identity management type of the instance.
- InboundCallsEnabled
-
- Type: boolean
Whether inbound calls are enabled.
- InstanceAccessUrl
-
- Type: string
This URL allows contact center users to access the Amazon Connect admin website.
- InstanceAlias
-
- Type: string
The alias of the instance.
- InstanceStatus
-
- Type: string
The state of the instance.
- OutboundCallsEnabled
-
- Type: boolean
Whether outbound calls are enabled.
- ServiceRole
-
- Type: string
The service role of the instance.
IntegrationAssociationSummary
Description
Contains summary information about the associated AppIntegrations.
Members
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IntegrationArn
-
- Type: string
The Amazon Resource Name (ARN) for the AppIntegration.
- IntegrationAssociationArn
-
- Type: string
The Amazon Resource Name (ARN) for the AppIntegration association.
- IntegrationAssociationId
-
- Type: string
The identifier for the AppIntegration association.
- IntegrationType
-
- Type: string
The integration type.
- SourceApplicationName
-
- Type: string
The user-provided, friendly name for the external application.
- SourceApplicationUrl
-
- Type: string
The URL for the external application.
- SourceType
-
- Type: string
The name of the source.
InternalServiceException
Description
Request processing failed because of an error or failure with the service.
Members
- Message
-
- Type: string
The message.
IntervalDetails
Description
Information about the interval period to use for returning results.
Members
- IntervalPeriod
-
- Type: string
IntervalPeriod
: An aggregated grouping applied to request metrics. ValidIntervalPeriod
values are:FIFTEEN_MIN
|THIRTY_MIN
|HOUR
|DAY
|WEEK
|TOTAL
.For example, if
IntervalPeriod
is selectedTHIRTY_MIN
,StartTime
andEndTime
differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on theTOTAL
interval period.The following list describes restrictions on
StartTime
andEndTime
based on whatIntervalPeriod
is requested.-
FIFTEEN_MIN
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
THIRTY_MIN
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
HOUR
: The difference betweenStartTime
andEndTime
must be less than 3 days. -
DAY
: The difference betweenStartTime
andEndTime
must be less than 35 days. -
WEEK
: The difference betweenStartTime
andEndTime
must be less than 35 days. -
TOTAL
: The difference betweenStartTime
andEndTime
must be less than 35 days.
- TimeZone
-
- Type: string
The timezone applied to requested metrics.
InvalidContactFlowException
Description
The flow is not valid.
Members
- problems
-
- Type: Array of ProblemDetail structures
The problems with the flow. Please fix before trying again.
InvalidContactFlowModuleException
Description
The problems with the module. Please fix before trying again.
Members
- Problems
-
- Type: Array of ProblemDetail structures
InvalidParameterException
Description
One or more of the specified parameters are not valid.
Members
- Message
-
- Type: string
The message about the parameters.
InvalidRequestException
Description
The request is not valid.
Members
- Message
-
- Type: string
The message about the request.
- Reason
-
- Type: InvalidRequestExceptionReason structure
Reason why the request was invalid.
InvalidRequestExceptionReason
Description
Reason why the request was invalid.
Members
- AttachedFileInvalidRequestExceptionReason
-
- Type: string
Reason why the StartAttachedFiledUpload request was invalid.
InvisibleFieldInfo
Description
A field that is invisible to an agent.
Members
- Id
-
- Type: TaskTemplateFieldIdentifier structure
Identifier of the invisible field.
KinesisFirehoseConfig
Description
Configuration information of a Kinesis Data Firehose delivery stream.
Members
- FirehoseArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the delivery stream.
KinesisStreamConfig
Description
Configuration information of a Kinesis data stream.
Members
- StreamArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the data stream.
KinesisVideoStreamConfig
Description
Configuration information of a Kinesis video stream.
Members
- EncryptionConfig
-
- Required: Yes
- Type: EncryptionConfig structure
The encryption configuration.
- Prefix
-
- Required: Yes
- Type: string
The prefix of the video stream.
- RetentionPeriodHours
-
- Required: Yes
- Type: int
The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
LexBot
Description
Configuration information of an Amazon Lex bot.
Members
- LexRegion
-
- Required: Yes
- Type: string
The Amazon Web Services Region where the Amazon Lex bot was created.
- Name
-
- Required: Yes
- Type: string
The name of the Amazon Lex bot.
LexBotConfig
LexV2Bot
Description
Configuration information of an Amazon Lex V2 bot.
Members
- AliasArn
-
- Type: string
The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.
LimitExceededException
Description
The allowed limit for the resource has been exceeded.
Members
- Message
-
- Type: string
The message about the limit.
ListCondition
Description
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
Members
- Conditions
-
- Type: Array of Condition structures
A list of Condition objects which would be applied together with an AND condition.
- TargetListType
-
- Type: string
The type of target list that will be used to filter the users.
ListPhoneNumbersSummary
Description
Information about phone numbers that have been claimed to your Amazon Connect instance or traffic distribution group.
Members
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- PhoneNumber
-
- Type: string
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
. - PhoneNumberArn
-
- Type: string
The Amazon Resource Name (ARN) of the phone number.
- PhoneNumberCountryCode
-
- Type: string
The ISO country code.
- PhoneNumberDescription
-
- Type: string
The description of the phone number.
- PhoneNumberId
-
- Type: string
A unique identifier for the phone number.
- PhoneNumberType
-
- Type: string
The type of phone number.
- SourcePhoneNumberArn
-
- Type: string
The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
- TargetArn
-
- Type: string
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.
MatchCriteria
Description
An object to define AgentsCriteria.
Members
- AgentsCriteria
-
- Type: AgentsCriteria structure
An object to define agentIds.
MaximumResultReturnedException
Description
Maximum number (1000) of tags have been returned with current request. Consider changing request parameters to get more tags.
Members
- Message
-
- Type: string
MediaConcurrency
Description
Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
Members
- Channel
-
- Required: Yes
- Type: string
The channels that agents can handle in the Contact Control Panel (CCP).
- Concurrency
-
- Required: Yes
- Type: int
The number of contacts an agent can have on a channel simultaneously.
Valid Range for
VOICE
: Minimum value of 1. Maximum value of 1.Valid Range for
CHAT
: Minimum value of 1. Maximum value of 10.Valid Range for
TASK
: Minimum value of 1. Maximum value of 10. - CrossChannelBehavior
-
- Type: CrossChannelBehavior structure
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
MediaPlacement
Description
A set of endpoints used by clients to connect to the media service group for an Amazon Chime SDK meeting.
Members
- AudioFallbackUrl
-
- Type: string
The audio fallback URL.
- AudioHostUrl
-
- Type: string
The audio host URL.
- EventIngestionUrl
-
- Type: string
The event ingestion URL to which you send client meeting events.
- SignalingUrl
-
- Type: string
The signaling URL.
- TurnControlUrl
-
- Type: string
The turn control URL.
Meeting
Description
A meeting created using the Amazon Chime SDK.
Members
- MediaPlacement
-
- Type: MediaPlacement structure
The media placement for the meeting.
- MediaRegion
-
- Type: string
The Amazon Web Services Region in which you create the meeting.
- MeetingFeatures
-
- Type: MeetingFeaturesConfiguration structure
The configuration settings of the features available to a meeting.
- MeetingId
-
- Type: string
The Amazon Chime SDK meeting ID.
MeetingFeaturesConfiguration
Description
The configuration settings of the features available to a meeting.
Members
- Audio
-
- Type: AudioFeatures structure
The configuration settings for the audio features available to a meeting.
MetricDataV2
Description
Contains the name, thresholds, and metric filters.
Members
- Metric
-
- Type: MetricV2 structure
The metric name, thresholds, and metric filters of the returned metric.
- Value
-
- Type: double
The corresponding value of the metric returned in the response.
MetricFilterV2
Description
Contains information about the filter used when retrieving metrics. MetricFiltersV2
can be used on the following metrics: AVG_AGENT_CONNECTING_TIME
, CONTACTS_CREATED
, CONTACTS_HANDLED
, SUM_CONTACTS_DISCONNECTED
.
Members
- MetricFilterKey
-
- Type: string
The key to use for filtering data.
Valid metric filter keys:
-
ANSWERING_MACHINE_DETECTION_STATUS
-
CASE_STATUS
-
DISCONNECT_REASON
-
FLOWS_ACTION_IDENTIFIER
-
FLOWS_NEXT_ACTION_IDENTIFIER
-
FLOWS_OUTCOME_TYPE
-
FLOWS_RESOURCE_TYPE
-
INITIATION_METHOD
- MetricFilterValues
-
- Type: Array of strings
The values to use for filtering data. Values for metric-level filters can be either a fixed set of values or a customized list, depending on the use case.
For valid values of metric-level filters
INITIATION_METHOD
,DISCONNECT_REASON
, andANSWERING_MACHINE_DETECTION_STATUS
, see ContactTraceRecord in the Amazon Connect Administrator Guide.For valid values of the metric-level filter
FLOWS_OUTCOME_TYPE
, see the description for the Flow outcome metric in the Amazon Connect Administrator Guide. - Negate
-
- Type: boolean
If set to
true
, the API response contains results that filter out the results matched by the metric-level filters condition. By default,Negate
is set tofalse
.
MetricInterval
Description
The interval period with the start and end time for the metrics.
Members
- EndTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in UNIX Epoch time format. End time is based on the interval period selected. For example, If
IntervalPeriod
is selectedTHIRTY_MIN
,StartTime
andEndTime
in the API request differs by 1 day, then 48 results are returned in the response. Each result is aggregated by the 30 minutes period, with eachStartTime
andEndTime
differing by 30 minutes. - Interval
-
- Type: string
The interval period provided in the API request.
- StartTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp, in UNIX Epoch time format. Start time is based on the interval period selected.
MetricResultV2
Description
Contains information about the metric results.
Members
- Collections
-
- Type: Array of MetricDataV2 structures
The set of metrics.
- Dimensions
-
- Type: Associative array of custom strings keys (DimensionsV2Key) to strings
The dimension for the metrics.
- MetricInterval
-
- Type: MetricInterval structure
The interval period with the start and end time for the metrics.
MetricV2
Description
Contains information about the metric.
Members
- MetricFilters
-
- Type: Array of MetricFilterV2 structures
Contains the filters to be used when returning data.
- Name
-
- Type: string
The name of the metric.
This parameter is required. The following Required = No is incorrect.
- Threshold
-
- Type: Array of ThresholdV2 structures
Contains information about the threshold for service level metrics.
NewSessionDetails
Description
Payload of chat properties to apply when starting a new contact.
Members
- Attributes
-
- Type: Associative array of custom strings keys (AttributeName) to strings
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
- ParticipantDetails
-
- Type: ParticipantDetails structure
The customer's details.
- StreamingConfiguration
-
- Type: ChatStreamingConfiguration structure
The streaming configuration, such as the Amazon SNS streaming endpoint.
- SupportedMessagingContentTypes
-
- Type: Array of strings
The supported chat message content types. Supported types are
text/plain
,text/markdown
,application/json
,application/vnd.amazonaws.connect.message.interactive
, andapplication/vnd.amazonaws.connect.message.interactive.response
.Content types must always contain
text/plain
. You can then put any other supported type in the list. For example, all the following lists are valid because they containtext/plain
:[text/plain, text/markdown, application/json]
,[text/markdown, text/plain]
,[text/plain, application/json, application/vnd.amazonaws.connect.message.interactive.response]
.
NotificationRecipientType
Description
The type of notification recipient.
Members
- UserIds
-
- Type: Array of strings
A list of user IDs.
- UserTags
-
- Type: Associative array of custom strings keys (String) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }. Amazon Connect users with the specified tags will be notified.
NumberCondition
Description
A leaf node condition which can be used to specify a numeric condition.
The currently supported value for FieldName
is limit
.
Members
- ComparisonType
-
- Type: string
The type of comparison to be made when evaluating the number condition.
- FieldName
-
- Type: string
The name of the field in the number condition.
- MaxValue
-
- Type: int
The maxValue to be used while evaluating the number condition.
- MinValue
-
- Type: int
The minValue to be used while evaluating the number condition.
NumberReference
Description
Information about a reference when the referenceType
is NUMBER
. Otherwise, null.
Members
- Name
-
- Type: string
Identifier of the number reference.
- Value
-
- Type: string
A valid number.
NumericQuestionPropertyValueAutomation
Description
Information about the property value used in automation of a numeric questions. Label values are associated with minimum and maximum values for the numeric question.
-
Sentiment scores have a minimum value of -5 and maximum value of 5.
-
Duration labels, such as
NON_TALK_TIME
,CONTACT_DURATION
,AGENT_INTERACTION_DURATION
,CUSTOMER_HOLD_TIME
have a minimum value of 0 and maximum value of 63072000. -
Percentages have a minimum value of 0 and maximum value of 100.
-
NUMBER_OF_INTERRUPTIONS
has a minimum value of 0 and maximum value of 1000.
Members
- Label
-
- Required: Yes
- Type: string
The property label of the automation.
OutboundCallerConfig
Description
The outbound caller ID name, number, and outbound whisper flow.
Members
- OutboundCallerIdName
-
- Type: string
The caller ID name.
- OutboundCallerIdNumberId
-
- Type: string
The caller ID number.
- OutboundFlowId
-
- Type: string
The outbound whisper flow to be used during an outbound call.
OutboundContactNotPermittedException
Description
The contact is not permitted.
Members
- Message
-
- Type: string
The message about the contact.
OutputTypeNotFoundException
Description
Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact flow.
Members
- Message
-
- Type: string
ParticipantCapabilities
Description
The configuration for the allowed video and screen sharing capabilities for participants present over the call. For more information, see Set up in-app, web, video calling, and screen sharing capabilities in the Amazon Connect Administrator Guide.
Members
- ScreenShare
-
- Type: string
The screen sharing capability that is enabled for the participant.
SEND
indicates the participant can share their screen. - Video
-
- Type: string
The configuration having the video and screen sharing capabilities for participants over the call.
ParticipantDetails
Description
The customer's details.
Members
- DisplayName
-
- Required: Yes
- Type: string
Display name of the participant.
ParticipantDetailsToAdd
Description
The details to add for the participant.
Members
- DisplayName
-
- Type: string
The display name of the participant.
- ParticipantRole
-
- Type: string
The role of the participant being added.
ParticipantTimerConfiguration
Description
Configuration information for the timer. After the timer configuration is set, it persists for the duration of the chat. It persists across new contacts in the chain, for example, transfer contacts.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
Members
- ParticipantRole
-
- Required: Yes
- Type: string
The role of the participant in the chat conversation.
- TimerType
-
- Required: Yes
- Type: string
The type of timer.
IDLE
indicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMER
indicates the timer applies to automatically disconnecting a chat participant due to idleness. - TimerValue
-
- Required: Yes
- Type: ParticipantTimerValue structure
The value of the timer. Either the timer action (Unset to delete the timer), or the duration of the timer in minutes. Only one value can be set.
ParticipantTimerValue
Description
The value of the timer. Either the timer action (Unset
to delete the timer), or the duration of the timer in minutes. Only one value can be set.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
Members
- ParticipantTimerAction
-
- Type: string
The timer action. Currently only one value is allowed:
Unset
. It deletes a timer. - ParticipantTimerDurationInMinutes
-
- Type: int
The duration of a timer, in minutes.
ParticipantTokenCredentials
Description
The credentials used by the participant.
Members
- Expiry
-
- Type: string
The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
- ParticipantToken
-
- Type: string
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
PersistentChat
Description
Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how to configure for them, see Enable persistent chat.
Members
- RehydrationType
-
- Type: string
The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.
-
ENTIRE_PAST_SESSION
: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactId
of the past ended chat session in thesourceContactId
field. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT
: Rehydrates a chat from the past chat contact that is specified in thesourceContactId
field.
The actual contactId used for rehydration is provided in the response of this API.
- SourceContactId
-
- Type: string
The contactId from which a persistent chat session must be started.
PhoneNumberQuickConnectConfig
Description
Contains information about a phone number for a quick connect.
Members
- PhoneNumber
-
- Required: Yes
- Type: string
The phone number in E.164 format.
PhoneNumberStatus
Description
The status of the phone number.
-
CLAIMED
means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded. -
IN_PROGRESS
means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed. -
FAILED
indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that theTargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received aFAILED
status from aClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
Members
- Message
-
- Type: string
The status message.
- Status
-
- Type: string
The status.
PhoneNumberSummary
Description
Contains summary information about a phone number for a contact center.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the phone number.
- Id
-
- Type: string
The identifier of the phone number.
- PhoneNumber
-
- Type: string
The phone number.
- PhoneNumberCountryCode
-
- Type: string
The ISO country code.
- PhoneNumberType
-
- Type: string
The type of phone number.
PredefinedAttribute
Description
Information about a predefined attribute.
Members
- LastModifiedRegion
-
- Type: string
Last modified region.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Last modified time.
- Name
-
- Type: string
The name of the predefined attribute.
- Values
-
- Type: PredefinedAttributeValues structure
The values of the predefined attribute.
PredefinedAttributeSearchCriteria
Description
The search criteria to be used to return predefined attributes.
Members
- AndConditions
-
- Type: Array of PredefinedAttributeSearchCriteria structures
A list of conditions which would be applied together with an
AND
condition. - OrConditions
-
- Type: Array of PredefinedAttributeSearchCriteria structures
A list of conditions which would be applied together with an
OR
condition. - StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
PredefinedAttributeSummary
Description
Summary of a predefined attribute.
Members
- LastModifiedRegion
-
- Type: string
Last modified region.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Last modified time.
- Name
-
- Type: string
The name of the predefined attribute.
PredefinedAttributeValues
Description
Information about values of a predefined attribute.
Members
- StringList
-
- Type: Array of strings
Predefined attribute values of type string list.
ProblemDetail
Description
Information about a problem detail.
Members
- message
-
- Type: string
The problem detail's message.
Prompt
Description
Information about a prompt.
Members
- Description
-
- Type: string
The description of the prompt.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the prompt.
- PromptARN
-
- Type: string
The Amazon Resource Name (ARN) of the prompt.
- PromptId
-
- Type: string
A unique identifier for the prompt.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
PromptSearchCriteria
Description
The search criteria to be used to return prompts.
Members
- AndConditions
-
- Type: Array of PromptSearchCriteria structures
A list of conditions which would be applied together with an AND condition.
- OrConditions
-
- Type: Array of PromptSearchCriteria structures
A list of conditions which would be applied together with an OR condition.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
,description
, andresourceID
.
PromptSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
PromptSummary
Description
Contains information about the prompt.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the prompt.
- Id
-
- Type: string
The identifier of the prompt.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the prompt.
PropertyValidationException
Description
The property is not valid.
Members
- Message
-
- Required: Yes
- Type: string
- PropertyList
-
- Type: Array of PropertyValidationExceptionProperty structures
PropertyValidationExceptionProperty
Description
Contains information about why a property is not valid.
Members
- Message
-
- Required: Yes
- Type: string
A message describing why the property is not valid.
- PropertyPath
-
- Required: Yes
- Type: string
The full property path.
- Reason
-
- Required: Yes
- Type: string
Why the property is not valid.
QualityMetrics
Description
Information about the quality of the participant's media connection.
Members
- Agent
-
- Type: AgentQualityMetrics structure
Information about the quality of Agent media connection.
- Customer
-
- Type: CustomerQualityMetrics structure
Information about the quality of Customer media connection.
Queue
Description
Contains information about a queue.
Members
- Description
-
- Type: string
The description of the queue.
- HoursOfOperationId
-
- Type: string
The identifier for the hours of operation.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- MaxContacts
-
- Type: int
The maximum number of contacts that can be in the queue before it is considered full.
- Name
-
- Type: string
The name of the queue.
- OutboundCallerConfig
-
- Type: OutboundCallerConfig structure
The outbound caller ID name, number, and outbound whisper flow.
- QueueArn
-
- Type: string
The Amazon Resource Name (ARN) for the queue.
- QueueId
-
- Type: string
The identifier for the queue.
- Status
-
- Type: string
The status of the queue.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
QueueInfo
Description
If this contact was queued, this contains information about the queue.
Members
- EnqueueTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the contact was added to the queue.
- Id
-
- Type: string
The unique identifier for the queue.
QueueQuickConnectConfig
Description
Contains information about a queue for a quick connect. The flow must be of type Transfer to Queue.
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
QueueReference
Description
Contains information about a queue resource for which metrics are returned.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the queue.
- Id
-
- Type: string
The identifier of the queue.
QueueSearchCriteria
Description
The search criteria to be used to return queues.
The name
and description
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
Members
- AndConditions
-
- Type: Array of QueueSearchCriteria structures
A list of conditions which would be applied together with an AND condition.
- OrConditions
-
- Type: Array of QueueSearchCriteria structures
A list of conditions which would be applied together with an OR condition.
- QueueTypeCondition
-
- Type: string
The type of queue.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
,description
, andresourceID
.
QueueSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
QueueSummary
Description
Contains summary information about a queue.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the queue.
- Id
-
- Type: string
The identifier of the queue.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the queue.
- QueueType
-
- Type: string
The type of queue.
QuickConnect
Description
Contains information about a quick connect.
Members
- Description
-
- Type: string
The description.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the quick connect.
- QuickConnectARN
-
- Type: string
The Amazon Resource Name (ARN) of the quick connect.
- QuickConnectConfig
-
- Type: QuickConnectConfig structure
Contains information about the quick connect.
- QuickConnectId
-
- Type: string
The identifier for the quick connect.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
QuickConnectConfig
Description
Contains configuration settings for a quick connect.
Members
- PhoneConfig
-
- Type: PhoneNumberQuickConnectConfig structure
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
- QueueConfig
-
- Type: QueueQuickConnectConfig structure
The queue configuration. This is required only if QuickConnectType is QUEUE.
- QuickConnectType
-
- Required: Yes
- Type: string
The type of quick connect. In the Amazon Connect admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
- UserConfig
-
- Type: UserQuickConnectConfig structure
The user configuration. This is required only if QuickConnectType is USER.
QuickConnectSearchCriteria
Description
The search criteria to be used to return quick connects.
Members
- AndConditions
-
- Type: Array of QuickConnectSearchCriteria structures
A list of conditions which would be applied together with an AND condition.
- OrConditions
-
- Type: Array of QuickConnectSearchCriteria structures
A list of conditions which would be applied together with an OR condition.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
,description
, andresourceID
.
QuickConnectSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
QuickConnectSummary
Description
Contains summary information about a quick connect.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the quick connect.
- Id
-
- Type: string
The identifier for the quick connect.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the quick connect.
- QuickConnectType
-
- Type: string
The type of quick connect. In the Amazon Connect admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
ReadOnlyFieldInfo
Description
Indicates a field that is read-only to an agent.
Members
- Id
-
- Type: TaskTemplateFieldIdentifier structure
Identifier of the read-only field.
RealTimeContactAnalysisAttachment
Description
Object that describes attached file.
Members
- AttachmentId
-
- Required: Yes
- Type: string
A unique identifier for the attachment.
- AttachmentName
-
- Required: Yes
- Type: string
A case-sensitive name of the attachment being uploaded. Can be redacted.
- ContentType
-
- Type: string
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
- Status
-
- Type: string
Status of the attachment.
RealTimeContactAnalysisCategoryDetails
Description
Provides information about the category rule that was matched.
Members
- PointsOfInterest
-
- Required: Yes
- Type: Array of RealTimeContactAnalysisPointOfInterest structures
List of PointOfInterest - objects describing a single match of a rule.
RealTimeContactAnalysisCharacterInterval
Description
Begin and end offsets for a part of text.
Members
- BeginOffsetChar
-
- Required: Yes
- Type: int
The beginning of the character interval.
- EndOffsetChar
-
- Required: Yes
- Type: int
The end of the character interval.
RealTimeContactAnalysisIssueDetected
Description
Potential issues that are detected based on an artificial intelligence analysis of each turn in the conversation.
Members
- TranscriptItems
-
- Required: Yes
- Type: Array of RealTimeContactAnalysisTranscriptItemWithContent structures
List of the transcript items (segments) that are associated with a given issue.
RealTimeContactAnalysisPointOfInterest
Description
The section of the contact transcript segment that category rule was detected.
Members
- TranscriptItems
-
- Type: Array of RealTimeContactAnalysisTranscriptItemWithCharacterOffsets structures
List of the transcript items (segments) that are associated with a given point of interest.
RealTimeContactAnalysisSegmentAttachments
Description
Segment containing list of attachments.
Members
- Attachments
-
- Required: Yes
- Type: Array of RealTimeContactAnalysisAttachment structures
List of objects describing an individual attachment.
- DisplayName
-
- Type: string
The display name of the participant. Can be redacted.
- Id
-
- Required: Yes
- Type: string
The identifier of the segment.
- ParticipantId
-
- Required: Yes
- Type: string
The identifier of the participant.
- ParticipantRole
-
- Required: Yes
- Type: string
The role of the participant. For example, is it a customer, agent, or system.
- Time
-
- Required: Yes
- Type: RealTimeContactAnalysisTimeData structure
Field describing the time of the event. It can have different representations of time.
RealTimeContactAnalysisSegmentCategories
Description
The matched category rules.
Members
- MatchedDetails
-
- Required: Yes
- Type: Associative array of custom strings keys (RealTimeContactAnalysisCategoryName) to RealTimeContactAnalysisCategoryDetails structures
Map between the name of the matched rule and RealTimeContactAnalysisCategoryDetails.
RealTimeContactAnalysisSegmentEvent
Description
Segment type describing a contact event.
Members
- DisplayName
-
- Type: string
The display name of the participant. Can be redacted.
- EventType
-
- Required: Yes
- Type: string
Type of the event. For example,
application/vnd.amazonaws.connect.event.participant.left
. - Id
-
- Required: Yes
- Type: string
The identifier of the contact event.
- ParticipantId
-
- Type: string
The identifier of the participant.
- ParticipantRole
-
- Type: string
The role of the participant. For example, is it a customer, agent, or system.
- Time
-
- Required: Yes
- Type: RealTimeContactAnalysisTimeData structure
Field describing the time of the event. It can have different representations of time.
RealTimeContactAnalysisSegmentIssues
Description
Segment type containing a list of detected issues.
Members
- IssuesDetected
-
- Required: Yes
- Type: Array of RealTimeContactAnalysisIssueDetected structures
List of the issues detected.
RealTimeContactAnalysisSegmentPostContactSummary
Description
Information about the post-contact summary for a real-time contact segment.
Members
- Content
-
- Type: string
The content of the summary.
- FailureCode
-
- Type: string
If the summary failed to be generated, one of the following failure codes occurs:
-
QUOTA_EXCEEDED
: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT
: The conversation needs to have at least one turn from both the participants in order to generate the summary. -
FAILED_SAFETY_GUIDELINES
: The generated summary cannot be provided because it failed to meet system safety guidelines. -
INVALID_ANALYSIS_CONFIGURATION
: This code occurs when, for example, you're using a language that isn't supported by generative AI-powered post-contact summaries. -
INTERNAL_ERROR
: Internal system error.
- Status
-
- Required: Yes
- Type: string
Whether the summary was successfully COMPLETED or FAILED to be generated.
RealTimeContactAnalysisSegmentTranscript
Description
The analyzed transcript segment.
Members
- Content
-
- Required: Yes
- Type: string
The content of the transcript. Can be redacted.
- ContentType
-
- Type: string
The type of content of the item. For example,
text/plain
. - DisplayName
-
- Type: string
The display name of the participant.
- Id
-
- Required: Yes
- Type: string
The identifier of the transcript.
- ParticipantId
-
- Required: Yes
- Type: string
The identifier of the participant.
- ParticipantRole
-
- Required: Yes
- Type: string
The role of the participant. For example, is it a customer, agent, or system.
- Redaction
-
- Type: RealTimeContactAnalysisTranscriptItemRedaction structure
Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
- Sentiment
-
- Type: string
The sentiment detected for this piece of transcript.
- Time
-
- Required: Yes
- Type: RealTimeContactAnalysisTimeData structure
Field describing the time of the event. It can have different representations of time.
RealTimeContactAnalysisTimeData
Description
Object describing time with which the segment is associated. It can have different representations of time. Currently supported: absoluteTime
Members
- AbsoluteTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Time represented in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
RealTimeContactAnalysisTranscriptItemRedaction
Description
Object describing redaction applied to the segment.
Members
- CharacterOffsets
-
- Type: Array of RealTimeContactAnalysisCharacterInterval structures
List of character intervals each describing a part of the text that was redacted. For
OutputType.Raw
, part of the original text that contains data that can be redacted. ForOutputType.Redacted
, part of the string with redaction tag.
RealTimeContactAnalysisTranscriptItemWithCharacterOffsets
Description
Transcript representation containing Id and list of character intervals that are associated with analysis data. For example, this object within a RealTimeContactAnalysisPointOfInterest
in Category.MatchedDetails
would have character interval describing part of the text that matched category.
Members
- CharacterOffsets
-
- Type: RealTimeContactAnalysisCharacterInterval structure
List of character intervals within transcript content/text.
- Id
-
- Required: Yes
- Type: string
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
RealTimeContactAnalysisTranscriptItemWithContent
Description
Transcript representation containing Id, Content and list of character intervals that are associated with analysis data. For example, this object within an issue detected would describe both content that contains identified issue and intervals where that content is taken from.
Members
- CharacterOffsets
-
- Type: RealTimeContactAnalysisCharacterInterval structure
Begin and end offsets for a part of text.
- Content
-
- Type: string
Part of the transcript content that contains identified issue. Can be redacted
- Id
-
- Required: Yes
- Type: string
Transcript identifier. Matches the identifier from one of the TranscriptSegments.
RealtimeContactAnalysisSegment
Description
An analyzed segment for a real-time analysis session.
Members
- Attachments
-
- Type: RealTimeContactAnalysisSegmentAttachments structure
The analyzed attachments.
- Categories
-
- Type: RealTimeContactAnalysisSegmentCategories structure
The matched category rules.
- Event
-
- Type: RealTimeContactAnalysisSegmentEvent structure
Segment type describing a contact event.
- Issues
-
- Type: RealTimeContactAnalysisSegmentIssues structure
Segment type containing a list of detected issues.
- PostContactSummary
-
- Type: RealTimeContactAnalysisSegmentPostContactSummary structure
Information about the post-contact summary.
- Transcript
-
- Type: RealTimeContactAnalysisSegmentTranscript structure
The analyzed transcript segment.
Reference
Description
Well-formed data on a contact, used by agents to complete a contact request. You can have up to 4,096 UTF-8 bytes across all references for a contact.
Members
- Type
-
- Required: Yes
- Type: string
The type of the reference.
DATE
must be of type Epoch timestamp. - Value
-
- Required: Yes
- Type: string
A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
ReferenceSummary
Description
Contains summary information about a reference. ReferenceSummary
contains only one non null field between the URL and attachment based on the reference type.
Members
- Attachment
-
- Type: AttachmentReference structure
Information about the reference when the
referenceType
isATTACHMENT
. Otherwise, null. - Date
-
- Type: DateReference structure
Information about a reference when the
referenceType
isDATE
. Otherwise, null. -
- Type: EmailReference structure
Information about a reference when the
referenceType
isEMAIL
. Otherwise, null. - Number
-
- Type: NumberReference structure
Information about a reference when the
referenceType
isNUMBER
. Otherwise, null. - String
-
- Type: StringReference structure
Information about a reference when the
referenceType
isSTRING
. Otherwise, null. - Url
-
- Type: UrlReference structure
Information about the reference when the
referenceType
isURL
. Otherwise, null.
ReplicationConfiguration
Description
Details about the status of the replication of a source Amazon Connect instance across Amazon Web Services Regions. Use these details to understand the general status of a given replication. For information about why a replication process may fail, see Why a ReplicateInstance call fails in the Create a replica of your existing Amazon Connect instance topic in the Amazon Connect Administrator Guide.
Members
- GlobalSignInEndpoint
-
- Type: string
The URL that is used to sign-in to your Amazon Connect instance according to your traffic distribution group configuration. For more information about sign-in and traffic distribution groups, see Important things to know in the Create traffic distribution groups topic in the Amazon Connect Administrator Guide.
- ReplicationStatusSummaryList
-
- Type: Array of ReplicationStatusSummary structures
A list of replication status summaries. The summaries contain details about the replication of configuration information for Amazon Connect resources, for each Amazon Web Services Region.
- SourceRegion
-
- Type: string
The Amazon Web Services Region where the source Amazon Connect instance was created. This is the Region where the ReplicateInstance API was called to start the replication process.
ReplicationStatusSummary
Description
Status information about the replication process, where you use the ReplicateInstance API to create a replica of your Amazon Connect instance in another Amazon Web Services Region. For more information, see Set up Amazon Connect Global Resiliency in the Amazon Connect Administrator Guide.
Members
- Region
-
- Type: string
The Amazon Web Services Region. This can be either the source or the replica Region, depending where it appears in the summary list.
- ReplicationStatus
-
- Type: string
The state of the replication.
- ReplicationStatusReason
-
- Type: string
A description of the replication status. Use this information to resolve any issues that are preventing the successful replication of your Amazon Connect instance to another Region.
RequiredFieldInfo
Description
Information about a required field.
Members
- Id
-
- Type: TaskTemplateFieldIdentifier structure
The unique identifier for the field.
ResourceConflictException
Description
A resource already has that name.
Members
- Message
-
- Type: string
ResourceInUseException
Description
That resource is already in use. Please try another.
Members
- Message
-
- Type: string
- ResourceId
-
- Type: string
The identifier for the resource.
- ResourceType
-
- Type: string
The type of resource.
ResourceNotFoundException
Description
The specified resource was not found.
Members
- Message
-
- Type: string
The message about the resource.
ResourceNotReadyException
Description
The resource is not ready.
Members
- Message
-
- Type: string
ResourceTagsSearchCriteria
Description
The search criteria to be used to search tags.
Members
- TagSearchCondition
-
- Type: TagSearchCondition structure
The search criteria to be used to return tags.
RoutingCriteria
Description
Latest routing criteria on the contact.
Members
- ActivationTimestamp
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.
- Index
-
- Type: int
Information about the index of the routing criteria.
- Steps
-
- Type: Array of Step structures
List of routing steps. When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.
RoutingCriteriaInput
Description
An object to define the RoutingCriteria.
Members
- Steps
-
- Type: Array of RoutingCriteriaInputStep structures
When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.
RoutingCriteriaInputStep
Description
Step defines the list of agents to be routed or route based on the agent requirements such as ProficiencyLevel, Name, or Value.
Members
- Expiry
-
- Type: RoutingCriteriaInputStepExpiry structure
An object to specify the expiration of a routing step.
- Expression
-
- Type: Expression structure
A tagged union to specify expression for a routing step.
RoutingCriteriaInputStepExpiry
Description
Specify whether this routing criteria step should apply for only a limited amount of time, or if it should never expire.
Members
- DurationInSeconds
-
- Type: int
The number of seconds that the contact will be routed only to agents matching this routing step, if expiry was configured for this routing step.
RoutingProfile
Description
Contains information about a routing profile.
Members
- AgentAvailabilityTimer
-
- Type: string
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
- AssociatedQueueIds
-
- Type: Array of strings
The IDs of the associated queue.
- DefaultOutboundQueueId
-
- Type: string
The identifier of the default outbound queue for this routing profile.
- Description
-
- Type: string
The description of the routing profile.
- InstanceId
-
- Type: string
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- IsDefault
-
- Type: boolean
Whether this a default routing profile.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- MediaConcurrencies
-
- Type: Array of MediaConcurrency structures
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
- Name
-
- Type: string
The name of the routing profile.
- NumberOfAssociatedQueues
-
- Type: long (int|float)
The number of associated queues in routing profile.
- NumberOfAssociatedUsers
-
- Type: long (int|float)
The number of associated users in routing profile.
- RoutingProfileArn
-
- Type: string
The Amazon Resource Name (ARN) of the routing profile.
- RoutingProfileId
-
- Type: string
The identifier of the routing profile.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
RoutingProfileQueueConfig
Description
Contains information about the queue and channel for which priority and delay can be set.
Members
- Delay
-
- Required: Yes
- Type: int
The delay, in seconds, a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide.
- Priority
-
- Required: Yes
- Type: int
The order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay.
- QueueReference
-
- Required: Yes
- Type: RoutingProfileQueueReference structure
Contains information about a queue resource.
RoutingProfileQueueConfigSummary
Description
Contains summary information about a routing profile queue.
Members
- Channel
-
- Required: Yes
- Type: string
The channels this queue supports.
- Delay
-
- Required: Yes
- Type: int
The delay, in seconds, that a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide.
- Priority
-
- Required: Yes
- Type: int
The order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay.
- QueueArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the queue.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
- QueueName
-
- Required: Yes
- Type: string
The name of the queue.
RoutingProfileQueueReference
Description
Contains the channel and queue identifier for a routing profile.
Members
- Channel
-
- Required: Yes
- Type: string
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
- QueueId
-
- Required: Yes
- Type: string
The identifier for the queue.
RoutingProfileReference
Description
Information about the routing profile assigned to the user.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the routing profile.
- Id
-
- Type: string
The identifier of the routing profile.
RoutingProfileSearchCriteria
Description
The search criteria to be used to return routing profiles.
The name
and description
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
Members
- AndConditions
-
- Type: Array of RoutingProfileSearchCriteria structures
A list of conditions which would be applied together with an AND condition.
- OrConditions
-
- Type: Array of RoutingProfileSearchCriteria structures
A list of conditions which would be applied together with an OR condition.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
areassociatedQueueIds
,name
,description
, andresourceID
.
RoutingProfileSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
RoutingProfileSummary
Description
Contains summary information about a routing profile.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the routing profile.
- Id
-
- Type: string
The identifier of the routing profile.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the routing profile.
Rule
Description
Information about a rule.
Members
- Actions
-
- Required: Yes
- Type: Array of RuleAction structures
A list of actions to be run when the rule is triggered.
- CreatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the rule was created.
- Function
-
- Required: Yes
- Type: string
The conditions of the rule.
- LastUpdatedBy
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the user who last updated the rule.
- LastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for the when the rule was last updated.
- Name
-
- Required: Yes
- Type: string
The name of the rule.
- PublishStatus
-
- Required: Yes
- Type: string
The publish status of the rule.
- RuleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the rule.
- RuleId
-
- Required: Yes
- Type: string
A unique identifier for the rule.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- TriggerEventSource
-
- Required: Yes
- Type: RuleTriggerEventSource structure
The event source to trigger the rule.
RuleAction
Description
Information about the action to be performed when a rule is triggered.
Members
- ActionType
-
- Required: Yes
- Type: string
The type of action that creates a rule.
- AssignContactCategoryAction
-
- Type: AssignContactCategoryActionDefinition structure
Information about the contact category action.
Supported only for
TriggerEventSource
values:OnPostCallAnalysisAvailable
|OnRealTimeCallAnalysisAvailable
|OnRealTimeChatAnalysisAvailable
|OnPostChatAnalysisAvailable
|OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- CreateCaseAction
-
- Type: CreateCaseActionDefinition structure
Information about the create case action.
Supported only for
TriggerEventSource
values:OnPostCallAnalysisAvailable
|OnPostChatAnalysisAvailable
. - EndAssociatedTasksAction
-
- Type: EndAssociatedTasksActionDefinition structure
Information about the end associated tasks action.
Supported only for
TriggerEventSource
values:OnCaseUpdate
. - EventBridgeAction
-
- Type: EventBridgeActionDefinition structure
Information about the EventBridge action.
Supported only for
TriggerEventSource
values:OnPostCallAnalysisAvailable
|OnRealTimeCallAnalysisAvailable
|OnRealTimeChatAnalysisAvailable
|OnPostChatAnalysisAvailable
|OnContactEvaluationSubmit
|OnMetricDataUpdate
- SendNotificationAction
-
- Type: SendNotificationActionDefinition structure
Information about the send notification action.
Supported only for
TriggerEventSource
values:OnPostCallAnalysisAvailable
|OnRealTimeCallAnalysisAvailable
|OnRealTimeChatAnalysisAvailable
|OnPostChatAnalysisAvailable
|OnContactEvaluationSubmit
|OnMetricDataUpdate
- SubmitAutoEvaluationAction
-
- Type: SubmitAutoEvaluationActionDefinition structure
Information about the submit automated evaluation action.
- TaskAction
-
- Type: TaskActionDefinition structure
Information about the task action. This field is required if
TriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- UpdateCaseAction
-
- Type: UpdateCaseActionDefinition structure
Information about the update case action.
Supported only for
TriggerEventSource
values:OnCaseCreate
|OnCaseUpdate
.
RuleSummary
Description
A list of ActionTypes
associated with a rule.
Members
- ActionSummaries
-
- Required: Yes
- Type: Array of ActionSummary structures
A list of ActionTypes associated with a rule.
- CreatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the rule was created.
- EventSourceName
-
- Required: Yes
- Type: string
The name of the event source.
- LastUpdatedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the rule was last updated.
- Name
-
- Required: Yes
- Type: string
The name of the rule.
- PublishStatus
-
- Required: Yes
- Type: string
The publish status of the rule.
- RuleArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the rule.
- RuleId
-
- Required: Yes
- Type: string
A unique identifier for the rule.
RuleTriggerEventSource
Description
The name of the event source. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
| OnContactEvaluationSubmit
| OnMetricDataUpdate
.
Members
- EventSourceName
-
- Required: Yes
- Type: string
The name of the event source.
- IntegrationAssociationId
-
- Type: string
The identifier for the integration association.
S3Config
Description
Information about the Amazon Simple Storage Service (Amazon S3) storage type.
Members
- BucketName
-
- Required: Yes
- Type: string
The S3 bucket name.
- BucketPrefix
-
- Required: Yes
- Type: string
The S3 bucket prefix.
- EncryptionConfig
-
- Type: EncryptionConfig structure
The Amazon S3 encryption configuration.
SearchContactsTimeRange
Description
A structure of time range that you want to search results.
Members
- EndTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time of the time range.
- StartTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time of the time range.
- Type
-
- Required: Yes
- Type: string
The type of timestamp to search.
SearchCriteria
Description
A structure of search criteria to be used to return contacts.
Members
- AgentHierarchyGroups
-
- Type: AgentHierarchyGroups structure
The agent hierarchy groups of the agent at the time of handling the contact.
- AgentIds
-
- Type: Array of strings
The identifiers of agents who handled the contacts.
- Channels
-
- Type: Array of strings
The list of channels associated with contacts.
- ContactAnalysis
-
- Type: ContactAnalysis structure
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
- InitiationMethods
-
- Type: Array of strings
The list of initiation methods associated with contacts.
- QueueIds
-
- Type: Array of strings
The list of queue IDs associated with contacts.
- SearchableContactAttributes
-
- Type: SearchableContactAttributes structure
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.
To use
SearchableContactAttributes
in a search request, theGetContactAttributes
action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
SearchableContactAttributes
Description
A structure that defines search criteria based on user-defined contact attributes that are configured for contact search.
Members
- Criteria
-
- Required: Yes
- Type: Array of SearchableContactAttributesCriteria structures
The list of criteria based on user-defined contact attributes that are configured for contact search.
- MatchType
-
- Type: string
The match type combining search criteria using multiple searchable contact attributes.
SearchableContactAttributesCriteria
Description
The search criteria based on user-defned contact attribute key and values to search on.
Members
- Key
-
- Required: Yes
- Type: string
The key containing a searchable user-defined contact attribute.
- Values
-
- Required: Yes
- Type: Array of strings
The list of values to search for within a user-defined contact attribute.
SecurityKey
Description
Configuration information of the security key.
Members
- AssociationId
-
- Type: string
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- CreationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
When the security key was created.
- Key
-
- Type: string
The key of the security key.
SecurityProfile
Description
Contains information about a security profile.
Members
- AllowedAccessControlHierarchyGroupId
-
- Type: string
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
- AllowedAccessControlTags
-
- Type: Associative array of custom strings keys (SecurityProfilePolicyKey) to strings
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
- Arn
-
- Type: string
The Amazon Resource Name (ARN) for the secruity profile.
- Description
-
- Type: string
The description of the security profile.
- HierarchyRestrictedResources
-
- Type: Array of strings
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
. - Id
-
- Type: string
The identifier for the security profile.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- OrganizationResourceId
-
- Type: string
The organization resource identifier for the security profile.
- SecurityProfileName
-
- Type: string
The name for the security profile.
- TagRestrictedResources
-
- Type: Array of strings
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
SecurityProfileSearchCriteria
Description
The search criteria to be used to return security profiles.
The name
field support "contains" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
Members
- AndConditions
-
- Type: Array of SecurityProfileSearchCriteria structures
A list of conditions which would be applied together with an AND condition.
- OrConditions
-
- Type: Array of SecurityProfileSearchCriteria structures
A list of conditions which would be applied together with an OR condition.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
SecurityProfileSearchSummary
Description
Information about the returned security profiles.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the security profile.
- Description
-
- Type: string
The description of the security profile.
- Id
-
- Type: string
The identifier of the security profile.
- OrganizationResourceId
-
- Type: string
The organization resource identifier.
- SecurityProfileName
-
- Type: string
The name of the security profile.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
SecurityProfileSummary
Description
Contains information about a security profile.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the security profile.
- Id
-
- Type: string
The identifier of the security profile.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Name
-
- Type: string
The name of the security profile.
SecurityProfilesSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
SegmentAttributeValue
Description
A value for a segment attribute. This is structured as a map where the key is valueString
and the value is a string.
Members
- ValueString
-
- Type: string
The value of a segment attribute.
SendNotificationActionDefinition
Description
Information about the send notification action.
Members
- Content
-
- Required: Yes
- Type: string
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
- ContentType
-
- Required: Yes
- Type: string
Content type format.
- DeliveryMethod
-
- Required: Yes
- Type: string
Notification delivery method.
- Recipient
-
- Required: Yes
- Type: NotificationRecipientType structure
Notification recipient.
- Subject
-
- Type: string
The subject of the email if the delivery method is
EMAIL
. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
ServiceQuotaExceededException
Description
The service quota has been exceeded.
Members
- Message
-
- Type: string
SignInConfig
Description
The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
Members
- Distributions
-
- Required: Yes
- Type: Array of SignInDistribution structures
Information about traffic distributions.
SignInDistribution
Description
The distribution of sign in traffic between the instance and its replica(s).
Members
- Enabled
-
- Required: Yes
- Type: boolean
Whether sign in distribution is enabled.
- Region
-
- Required: Yes
- Type: string
The Amazon Web Services Region of the sign in distribution.
SingleSelectQuestionRuleCategoryAutomation
Description
Information about the automation option based on a rule category for a single select question.
Members
- Category
-
- Required: Yes
- Type: string
The category name, as defined in Rules.
- Condition
-
- Required: Yes
- Type: string
The condition to apply for the automation option. If the condition is
PRESENT
, then the option is applied when the contact data includes the category. Similarly, if the condition isNOT_PRESENT
, then the option is applied when the contact data does not include the category. - OptionRefId
-
- Required: Yes
- Type: string
The identifier of the answer option.
Sort
Description
A structure that defines the field name to sort by and a sort order.
Members
- FieldName
-
- Required: Yes
- Type: string
The name of the field on which to sort.
- Order
-
- Required: Yes
- Type: string
An ascending or descending sort.
Step
Description
Step signifies the criteria to be used for routing to an agent
Members
- Expiry
-
- Type: Expiry structure
An object to specify the expiration of a routing step.
- Expression
-
- Type: Expression structure
A tagged union to specify expression for a routing step.
- Status
-
- Type: string
Represents status of the Routing step.
StringCondition
Description
A leaf node condition which can be used to specify a string condition.
Members
- ComparisonType
-
- Type: string
The type of comparison to be made when evaluating the string condition.
- FieldName
-
- Type: string
The name of the field in the string condition.
- Value
-
- Type: string
The value of the string.
StringReference
Description
Information about a reference when the referenceType
is STRING
. Otherwise, null.
Members
- Name
-
- Type: string
Identifier of the string reference.
- Value
-
- Type: string
A valid string.
SubmitAutoEvaluationActionDefinition
Description
Information about the submit automated evaluation action.
Members
- EvaluationFormId
-
- Required: Yes
- Type: string
The identifier of the auto-evaluation enabled form.
SuccessfulRequest
Description
Request for which contact was successfully created.
Members
- ContactId
-
- Type: string
The contactId of the contact that was created successfully.
- RequestIdentifier
-
- Type: string
Request identifier provided in the API call in the ContactDataRequest to create a contact.
TagCondition
Description
A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123
.
Members
- TagKey
-
- Type: string
The tag key in the tag condition.
- TagValue
-
- Type: string
The tag value in the tag condition.
TagSearchCondition
Description
The search criteria to be used to return tags.
Members
- tagKey
-
- Type: string
The tag key used in the tag search condition.
- tagKeyComparisonType
-
- Type: string
The type of comparison to be made when evaluating the tag key in tag search condition.
- tagValue
-
- Type: string
The tag value used in the tag search condition.
- tagValueComparisonType
-
- Type: string
The type of comparison to be made when evaluating the tag value in tag search condition.
TagSet
Description
A tag set contains tag key and tag value.
Members
- key
-
- Type: string
The tag key in the tagSet.
- value
-
- Type: string
The tag value in the tagSet.
TaskActionDefinition
Description
Information about the task action.
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- Description
-
- Type: string
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
- Name
-
- Required: Yes
- Type: string
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
- References
-
- Type: Associative array of custom strings keys (ReferenceKey) to Reference structures
Information about the reference when the
referenceType
isURL
. Otherwise, null. (Supports variable injection in theValue
field.)
TaskTemplateConstraints
Description
Describes constraints that apply to the template fields.
Members
- InvisibleFields
-
- Type: Array of InvisibleFieldInfo structures
Lists the fields that are invisible to agents.
- ReadOnlyFields
-
- Type: Array of ReadOnlyFieldInfo structures
Lists the fields that are read-only to agents, and cannot be edited.
- RequiredFields
-
- Type: Array of RequiredFieldInfo structures
Lists the fields that are required to be filled by agents.
TaskTemplateDefaultFieldValue
Description
Describes a default field and its corresponding value.
Members
- DefaultValue
-
- Type: string
Default value for the field.
- Id
-
- Type: TaskTemplateFieldIdentifier structure
Identifier of a field.
TaskTemplateDefaults
Description
Describes default values for fields on a template.
Members
- DefaultFieldValues
-
- Type: Array of TaskTemplateDefaultFieldValue structures
Default value for the field.
TaskTemplateField
Description
Describes a single task template field.
Members
- Description
-
- Type: string
The description of the field.
- Id
-
- Required: Yes
- Type: TaskTemplateFieldIdentifier structure
The unique identifier for the field.
- SingleSelectOptions
-
- Type: Array of strings
A list of options for a single select field.
- Type
-
- Type: string
Indicates the type of field.
TaskTemplateFieldIdentifier
Description
The identifier of the task template field.
Members
- Name
-
- Type: string
The name of the task template field.
TaskTemplateMetadata
Description
Contains summary information about the task template.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the task template.
- CreatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the task template was created.
- Description
-
- Type: string
The description of the task template.
- Id
-
- Type: string
A unique identifier for the task template.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the task template was last modified.
- Name
-
- Type: string
The name of the task template.
- Status
-
- Type: string
Marks a template as
ACTIVE
orINACTIVE
for a task to refer to it. Tasks can only be created fromACTIVE
templates. If a template is marked asINACTIVE
, then a task that refers to this template cannot be created.
TelephonyConfig
Description
The distribution of traffic between the instance and its replicas.
Members
- Distributions
-
- Required: Yes
- Type: Array of Distribution structures
Information about traffic distributions.
Threshold
Description
Contains information about the threshold for service level metrics.
Members
- Comparison
-
- Type: string
The type of comparison. Only "less than" (LT) comparisons are supported.
- ThresholdValue
-
- Type: double
The threshold value to compare.
ThresholdV2
Description
Contains information about the threshold for service level metrics.
Members
- Comparison
-
- Type: string
The type of comparison. Currently, "less than" (LT), "less than equal" (LTE), and "greater than" (GT) comparisons are supported.
- ThresholdValue
-
- Type: double
The threshold value to compare.
ThrottlingException
Description
The throttling limit has been exceeded.
Members
- Message
-
- Type: string
TooManyRequestsException
Description
Displayed when rate-related API limits are exceeded.
Members
- Message
-
- Type: string
TrafficDistributionGroup
Description
Information about a traffic distribution group.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the traffic distribution group.
- Description
-
- Type: string
The description of the traffic distribution group.
- Id
-
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
- InstanceArn
-
- Type: string
The Amazon Resource Name (ARN).
- IsDefault
-
- Type: boolean
Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the
DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica.The
SignInConfig
distribution is available only on a defaultTrafficDistributionGroup
(see theIsDefault
parameter in the TrafficDistributionGroup data type). If you callUpdateTrafficDistribution
with a modifiedSignInConfig
and a non-defaultTrafficDistributionGroup
, anInvalidRequestException
is returned. - Name
-
- Type: string
The name of the traffic distribution group.
- Status
-
- Type: string
The status of the traffic distribution group.
-
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
TrafficDistributionGroupSummary
Description
Information about traffic distribution groups.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the traffic distribution group.
- Id
-
- Type: string
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
- InstanceArn
-
- Type: string
The Amazon Resource Name (ARN) of the traffic distribution group.
- IsDefault
-
- Type: boolean
Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the
DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica. - Name
-
- Type: string
The name of the traffic distribution group.
- Status
-
- Type: string
The status of the traffic distribution group.
-
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
TrafficDistributionGroupUserSummary
Description
Summary information about a traffic distribution group user.
Members
- UserId
-
- Type: string
The identifier for the user. This can be the ID or the ARN of the user.
Transcript
Description
A structure that defines search criteria and matching logic to search for contacts by matching text with transcripts analyzed by Amazon Connect Contact Lens.
Members
- Criteria
-
- Required: Yes
- Type: Array of TranscriptCriteria structures
The list of search criteria based on Contact Lens conversational analytics transcript.
- MatchType
-
- Type: string
The match type combining search criteria using multiple transcript criteria.
TranscriptCriteria
Description
A structure that defines search criteria base on words or phrases, participants in the Contact Lens conversational analytics transcript.
Members
- MatchType
-
- Required: Yes
- Type: string
The match type combining search criteria using multiple search texts in a transcript criteria.
- ParticipantRole
-
- Required: Yes
- Type: string
The participant role in a transcript
- SearchText
-
- Required: Yes
- Type: Array of strings
The words or phrases used to search within a transcript.
UpdateCaseActionDefinition
Description
The UpdateCase
action definition.
Members
- Fields
-
- Required: Yes
- Type: Array of FieldValue structures
An array of objects with
Field ID
and Value data.
UpdateParticipantRoleConfigChannelInfo
Description
Configuration information for the chat participant role.
Members
- Chat
-
- Type: ChatParticipantRoleConfig structure
Configuration information for the chat participant role.
UploadUrlMetadata
Description
Fields required when uploading an attached file.
Members
- HeadersToInclude
-
- Type: Associative array of custom strings keys (UrlMetadataSignedHeadersKey) to strings
A map of headers that should be provided when uploading the attached file.
- Url
-
- Type: string
A pre-signed S3 URL that should be used for uploading the attached file.
- UrlExpiry
-
- Type: string
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example,2019-11-08T02:41:28.172Z
.
UrlReference
Description
The URL reference.
Members
- Name
-
- Type: string
Identifier of the URL reference.
- Value
-
- Type: string
A valid URL.
UseCase
Description
Contains the use case.
Members
- UseCaseArn
-
- Type: string
The Amazon Resource Name (ARN) for the use case.
- UseCaseId
-
- Type: string
The identifier for the use case.
- UseCaseType
-
- Type: string
The type of use case to associate to the integration association. Each integration association can have only one of each use case type.
User
Description
Contains information about a user account for an Amazon Connect instance.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the user account.
- DirectoryUserId
-
- Type: string
The identifier of the user account in the directory used for identity management.
- HierarchyGroupId
-
- Type: string
The identifier of the hierarchy group for the user.
- Id
-
- Type: string
The identifier of the user account.
- IdentityInfo
-
- Type: UserIdentityInfo structure
Information about the user identity.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- PhoneConfig
-
- Type: UserPhoneConfig structure
Information about the phone configuration for the user.
- RoutingProfileId
-
- Type: string
The identifier of the routing profile for the user.
- SecurityProfileIds
-
- Type: Array of strings
The identifiers of the security profiles for the user.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags.
- Username
-
- Type: string
The user name assigned to the user account.
UserData
Description
Data for a user.
Members
- ActiveSlotsByChannel
-
- Type: Associative array of custom strings keys (Channel) to ints
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
- AvailableSlotsByChannel
-
- Type: Associative array of custom strings keys (Channel) to ints
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
- Contacts
-
- Type: Array of AgentContactReference structures
A list of contact reference information.
- HierarchyPath
-
- Type: HierarchyPathReference structure
Contains information about the levels of a hierarchy group assigned to a user.
- MaxSlotsByChannel
-
- Type: Associative array of custom strings keys (Channel) to ints
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the
RoutingProfile
assigned to the agent. - NextStatus
-
- Type: string
The Next status of the agent.
- RoutingProfile
-
- Type: RoutingProfileReference structure
Information about the routing profile that is assigned to the user.
- Status
-
- Type: AgentStatusReference structure
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
- User
-
- Type: UserReference structure
Information about the user for the data that is returned. It contains the
resourceId
and ARN of the user.
UserDataFilters
Description
A filter for the user data.
Members
- Agents
-
- Type: Array of strings
A list of up to 100 agent IDs or ARNs.
- ContactFilter
-
- Type: ContactFilter structure
A filter for the user data based on the contact information that is associated to the user. It contains a list of contact states.
- Queues
-
- Type: Array of strings
A list of up to 100 queues or ARNs.
- RoutingProfiles
-
- Type: Array of strings
A list of up to 100 routing profile IDs or ARNs.
- UserHierarchyGroups
-
- Type: Array of strings
A UserHierarchyGroup ID or ARN.
UserHierarchyGroupSearchCriteria
Description
The search criteria to be used to return userHierarchyGroup.
Members
- AndConditions
-
- Type: Array of UserHierarchyGroupSearchCriteria structures
A list of conditions which would be applied together with an AND condition.
- OrConditions
-
- Type: Array of UserHierarchyGroupSearchCriteria structures
A list of conditions which would be applied together with an OR condition.
- StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
,parentId
,levelId
, andresourceID
.
UserHierarchyGroupSearchFilter
Description
Filters to be applied to search results.
Members
- AttributeFilter
-
- Type: ControlPlaneAttributeFilter structure
An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR or AND (List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
UserIdentityInfo
Description
Contains information about the identity of a user.
For Amazon Connect instances that are created with the EXISTING_DIRECTORY
identity management type, FirstName
, LastName
, and Email
cannot be updated from within Amazon Connect because they are managed by the directory.
The FirstName
and LastName
length constraints below apply only to instances using SAML for identity management. If you are using Amazon Connect for identity management, the length constraints are 1-255 for FirstName
, and 1-256 for LastName
.
Members
-
- Type: string
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
- FirstName
-
- Type: string
The first name. This is required if you are using Amazon Connect or SAML for identity management.
- LastName
-
- Type: string
The last name. This is required if you are using Amazon Connect or SAML for identity management.
- Mobile
-
- Type: string
The user's mobile number.
- SecondaryEmail
-
- Type: string
The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.
Pattern:
(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
UserIdentityInfoLite
Description
The user's first name and last name.
Members
- FirstName
-
- Type: string
The user's first name.
- LastName
-
- Type: string
The user's last name.
UserNotFoundException
Description
No user with the specified credentials was found in the Amazon Connect instance.
Members
- Message
-
- Type: string
UserPhoneConfig
Description
Contains information about the phone configuration settings for a user.
Members
- AfterContactWorkTimeLimit
-
- Type: int
The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUsers
call,AfterContactWorkTimeLimit
is returned in milliseconds. - AutoAccept
-
- Type: boolean
The Auto accept setting.
- DeskPhoneNumber
-
- Type: string
The phone number for the user's desk phone.
- PhoneType
-
- Required: Yes
- Type: string
The phone type.
UserProficiency
Description
Information about proficiency of a user.
Members
- AttributeName
-
- Required: Yes
- Type: string
The name of user's proficiency. You must use name of predefined attribute present in the Amazon Connect instance.
- AttributeValue
-
- Required: Yes
- Type: string
The value of user's proficiency. You must use value of predefined attribute present in the Amazon Connect instance.
- Level
-
- Required: Yes
- Type: float
The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
UserProficiencyDisassociate
Description
Information about proficiency to be disassociated from the user.
Members
- AttributeName
-
- Required: Yes
- Type: string
The name of user's proficiency.
- AttributeValue
-
- Required: Yes
- Type: string
The value of user's proficiency.
UserQuickConnectConfig
Description
Contains information about the quick connect configuration settings for a user. The contact flow must be of type Transfer to Agent.
Members
- ContactFlowId
-
- Required: Yes
- Type: string
The identifier of the flow.
- UserId
-
- Required: Yes
- Type: string
The identifier of the user.
UserReference
Description
Information about the user.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) for the user.
- Id
-
- Type: string
The unique identifier for the user.
UserSearchCriteria
Description
The search criteria to be used to return users.
The name
and description
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
Members
- AndConditions
-
- Type: Array of UserSearchCriteria structures
A list of conditions which would be applied together with an
AND
condition. - HierarchyGroupCondition
-
- Type: HierarchyGroupCondition structure
A leaf node condition which can be used to specify a hierarchy group condition.
- ListCondition
-
- Type: ListCondition structure
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
- OrConditions
-
- Type: Array of UserSearchCriteria structures
A list of conditions which would be applied together with an
OR
condition. - StringCondition
-
- Type: StringCondition structure
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
areUsername
,FirstName
,LastName
,RoutingProfileId
,SecurityProfileId
,ResourceId
.
UserSearchFilter
Description
Filters to be applied to search results.
Members
- TagFilter
-
- Type: ControlPlaneTagFilter structure
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
- UserAttributeFilter
-
- Type: ControlPlaneUserAttributeFilter structure
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an
OR
ofAND
(List of List) input where:-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
Only one field can be populated. This object can’t be used along with TagFilter. Request can either contain TagFilter or UserAttributeFilter if SearchFilter is specified, combination of both is not supported and such request will throw AccessDeniedException.
UserSearchSummary
Description
Information about the returned users.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the user.
- DirectoryUserId
-
- Type: string
The directory identifier of the user.
- HierarchyGroupId
-
- Type: string
The identifier of the user's hierarchy group.
- Id
-
- Type: string
The identifier of the user's summary.
- IdentityInfo
-
- Type: UserIdentityInfoLite structure
The user's first name and last name.
- PhoneConfig
-
- Type: UserPhoneConfig structure
Contains information about the phone configuration settings for a user.
- RoutingProfileId
-
- Type: string
The identifier of the user's routing profile.
- SecurityProfileIds
-
- Type: Array of strings
The identifiers of the user's security profiles.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Username
-
- Type: string
The name of the user.
UserSummary
Description
Contains summary information about a user.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the user account.
- Id
-
- Type: string
The identifier of the user account.
- LastModifiedRegion
-
- Type: string
The Amazon Web Services Region where this resource was last modified.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when this resource was last modified.
- Username
-
- Type: string
The Amazon Connect user name of the user account.
View
Description
A view resource object. Contains metadata and content necessary to render the view.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the view.
- Content
-
- Type: ViewContent structure
View content containing all content necessary to render a view except for runtime input data.
- CreatedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of when the view was created.
- Description
-
- Type: string
The description of the view.
- Id
-
- Type: string
The identifier of the view.
- LastModifiedTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
Latest timestamp of the
UpdateViewContent
orCreateViewVersion
operations. - Name
-
- Type: string
The name of the view.
- Status
-
- Type: string
Indicates the view status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content. - Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags associated with the view resource (not specific to view version).
- Type
-
- Type: string
The type of the view -
CUSTOMER_MANAGED
. - Version
-
- Type: int
Current version of the view.
- VersionDescription
-
- Type: string
The description of the version.
- ViewContentSha256
-
- Type: string
Indicates the checksum value of the latest published view content.
ViewContent
Description
View content containing all content necessary to render a view except for runtime input data.
Members
- Actions
-
- Type: Array of strings
A list of possible actions from the view.
- InputSchema
-
- Type: string
The data schema matching data that the view template must be provided to render.
- Template
-
- Type: string
The view template representing the structure of the view.
ViewInputContent
Description
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
Members
- Actions
-
- Type: Array of strings
A list of possible actions from the view.
- Template
-
- Type: string
The view template representing the structure of the view.
ViewSummary
Description
A summary of a view's metadata.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the view.
- Description
-
- Type: string
The description of the view.
- Id
-
- Type: string
The identifier of the view.
- Name
-
- Type: string
The name of the view.
- Status
-
- Type: string
Indicates the view status as either
SAVED
orPUBLISHED
. ThePUBLISHED
status will initiate validation on the content. - Type
-
- Type: string
The type of the view.
ViewVersionSummary
Description
A summary of a view version's metadata.
Members
- Arn
-
- Type: string
The Amazon Resource Name (ARN) of the view version.
- Description
-
- Type: string
The description of the view version.
- Id
-
- Type: string
The identifier of the view version.
- Name
-
- Type: string
The name of the view version.
- Type
-
- Type: string
The type of the view version.
- Version
-
- Type: int
The sequentially incremented version of the view version.
- VersionDescription
-
- Type: string
The description of the view version.
Vocabulary
Description
Contains information about a custom vocabulary.
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the custom vocabulary.
- Content
-
- Type: string
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with
Phrase
,IPA
,SoundsLike
, andDisplayAs
fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table. - FailureReason
-
- Type: string
The reason why the custom vocabulary was not created.
- Id
-
- Required: Yes
- Type: string
The identifier of the custom vocabulary.
- LanguageCode
-
- Required: Yes
- Type: string
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- LastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the custom vocabulary was last modified.
- Name
-
- Required: Yes
- Type: string
A unique name of the custom vocabulary.
- State
-
- Required: Yes
- Type: string
The current state of the custom vocabulary.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
VocabularySummary
Description
Contains summary information about the custom vocabulary.
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the custom vocabulary.
- FailureReason
-
- Type: string
The reason why the custom vocabulary was not created.
- Id
-
- Required: Yes
- Type: string
The identifier of the custom vocabulary.
- LanguageCode
-
- Required: Yes
- Type: string
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- LastModifiedTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp when the custom vocabulary was last modified.
- Name
-
- Required: Yes
- Type: string
A unique name of the custom vocabulary.
- State
-
- Required: Yes
- Type: string
The current state of the custom vocabulary.
VoiceRecordingConfiguration
Description
Contains information about the recording configuration settings.
Members
- VoiceRecordingTrack
-
- Type: string
Identifies which track is being recorded.
WisdomInfo
Description
Information about Amazon Connect Wisdom.
Members
- SessionArn
-
- Type: string
The Amazon Resource Name (ARN) of the Wisdom session.