@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonConnect extends Object implements AmazonConnect
AmazonConnect
. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateUserResult |
createUser(CreateUserRequest request)
Creates a user account for the specified Amazon Connect instance.
|
DeleteUserResult |
deleteUser(DeleteUserRequest request)
Deletes a user account from the specified Amazon Connect instance.
|
DescribeUserResult |
describeUser(DescribeUserRequest request)
Describes the specified user account.
|
DescribeUserHierarchyGroupResult |
describeUserHierarchyGroup(DescribeUserHierarchyGroupRequest request)
Describes the specified hierarchy group.
|
DescribeUserHierarchyStructureResult |
describeUserHierarchyStructure(DescribeUserHierarchyStructureRequest request)
Describes the hierarchy structure of the specified Amazon Connect instance.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetContactAttributesResult |
getContactAttributes(GetContactAttributesRequest request)
Retrieves the contact attributes for the specified contact.
|
GetCurrentMetricDataResult |
getCurrentMetricData(GetCurrentMetricDataRequest request)
Gets the real-time metric data from the specified Amazon Connect instance.
|
GetFederationTokenResult |
getFederationToken(GetFederationTokenRequest request)
Retrieves a token for federation.
|
GetMetricDataResult |
getMetricData(GetMetricDataRequest request)
Gets historical metric data from the specified Amazon Connect instance.
|
ListContactFlowsResult |
listContactFlows(ListContactFlowsRequest request)
Provides information about the contact flows for the specified Amazon Connect instance.
|
ListHoursOfOperationsResult |
listHoursOfOperations(ListHoursOfOperationsRequest request)
Provides information about the hours of operation for the specified Amazon Connect instance.
|
ListPhoneNumbersResult |
listPhoneNumbers(ListPhoneNumbersRequest request)
Provides information about the phone numbers for the specified Amazon Connect instance.
|
ListQueuesResult |
listQueues(ListQueuesRequest request)
Provides information about the queues for the specified Amazon Connect instance.
|
ListRoutingProfilesResult |
listRoutingProfiles(ListRoutingProfilesRequest request)
Provides summary information about the routing profiles for the specified Amazon Connect instance.
|
ListSecurityProfilesResult |
listSecurityProfiles(ListSecurityProfilesRequest request)
Provides summary information about the security profiles for the specified Amazon Connect instance.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
|
ListUserHierarchyGroupsResult |
listUserHierarchyGroups(ListUserHierarchyGroupsRequest request)
Provides summary information about the hierarchy groups for the specified Amazon Connect instance.
|
ListUsersResult |
listUsers(ListUsersRequest request)
Provides summary information about the users for the specified Amazon Connect instance.
|
ResumeContactRecordingResult |
resumeContactRecording(ResumeContactRecordingRequest request)
When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API
resumes recording the call.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartChatContactResult |
startChatContact(StartChatContactRequest request)
Initiates a contact flow to start a new chat for the customer.
|
StartContactRecordingResult |
startContactRecording(StartContactRecordingRequest request)
This API starts recording the contact when the agent joins the call.
|
StartOutboundVoiceContactResult |
startOutboundVoiceContact(StartOutboundVoiceContactRequest request)
This API places an outbound call to a contact, and then initiates the contact flow.
|
StopContactResult |
stopContact(StopContactRequest request)
Ends the specified contact.
|
StopContactRecordingResult |
stopContactRecording(StopContactRecordingRequest request)
When a contact is being recorded, this API stops recording the call.
|
SuspendContactRecordingResult |
suspendContactRecording(SuspendContactRecordingRequest request)
When a contact is being recorded, this API suspends recording the call.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
|
UpdateContactAttributesResult |
updateContactAttributes(UpdateContactAttributesRequest request)
Creates or updates the contact attributes associated with the specified contact.
|
UpdateUserHierarchyResult |
updateUserHierarchy(UpdateUserHierarchyRequest request)
Assigns the specified hierarchy group to the specified user.
|
UpdateUserIdentityInfoResult |
updateUserIdentityInfo(UpdateUserIdentityInfoRequest request)
Updates the identity information for the specified user.
|
UpdateUserPhoneConfigResult |
updateUserPhoneConfig(UpdateUserPhoneConfigRequest request)
Updates the phone configuration settings for the specified user.
|
UpdateUserRoutingProfileResult |
updateUserRoutingProfile(UpdateUserRoutingProfileRequest request)
Assigns the specified routing profile to the specified user.
|
UpdateUserSecurityProfilesResult |
updateUserSecurityProfiles(UpdateUserSecurityProfilesRequest request)
Assigns the specified security profiles to the specified user.
|
public CreateUserResult createUser(CreateUserRequest request)
AmazonConnect
Creates a user account for the specified Amazon Connect instance.
createUser
in interface AmazonConnect
public DeleteUserResult deleteUser(DeleteUserRequest request)
AmazonConnect
Deletes a user account from the specified Amazon Connect instance.
deleteUser
in interface AmazonConnect
public DescribeUserResult describeUser(DescribeUserRequest request)
AmazonConnect
Describes the specified user account. You can find the instance ID in the 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.
describeUser
in interface AmazonConnect
public DescribeUserHierarchyGroupResult describeUserHierarchyGroup(DescribeUserHierarchyGroupRequest request)
AmazonConnect
Describes the specified hierarchy group.
describeUserHierarchyGroup
in interface AmazonConnect
public DescribeUserHierarchyStructureResult describeUserHierarchyStructure(DescribeUserHierarchyStructureRequest request)
AmazonConnect
Describes the hierarchy structure of the specified Amazon Connect instance.
describeUserHierarchyStructure
in interface AmazonConnect
public GetContactAttributesResult getContactAttributes(GetContactAttributesRequest request)
AmazonConnect
Retrieves the contact attributes for the specified contact.
getContactAttributes
in interface AmazonConnect
public GetCurrentMetricDataResult getCurrentMetricData(GetCurrentMetricDataRequest request)
AmazonConnect
Gets the real-time metric data from the specified Amazon Connect instance.
For more information, see Real-time Metrics Reports in the Amazon Connect Administrator Guide.
getCurrentMetricData
in interface AmazonConnect
public GetFederationTokenResult getFederationToken(GetFederationTokenRequest request)
AmazonConnect
Retrieves a token for federation.
getFederationToken
in interface AmazonConnect
public GetMetricDataResult getMetricData(GetMetricDataRequest request)
AmazonConnect
Gets historical metric data from the specified Amazon Connect instance.
For more information, see Historical Metrics Reports in the Amazon Connect Administrator Guide.
getMetricData
in interface AmazonConnect
public ListContactFlowsResult listContactFlows(ListContactFlowsRequest request)
AmazonConnect
Provides information about the contact flows for the specified Amazon Connect instance.
listContactFlows
in interface AmazonConnect
public ListHoursOfOperationsResult listHoursOfOperations(ListHoursOfOperationsRequest request)
AmazonConnect
Provides information about the hours of operation for the specified Amazon Connect instance.
listHoursOfOperations
in interface AmazonConnect
public ListPhoneNumbersResult listPhoneNumbers(ListPhoneNumbersRequest request)
AmazonConnect
Provides information about the phone numbers for the specified Amazon Connect instance.
listPhoneNumbers
in interface AmazonConnect
public ListQueuesResult listQueues(ListQueuesRequest request)
AmazonConnect
Provides information about the queues for the specified Amazon Connect instance.
listQueues
in interface AmazonConnect
public ListRoutingProfilesResult listRoutingProfiles(ListRoutingProfilesRequest request)
AmazonConnect
Provides summary information about the routing profiles for the specified Amazon Connect instance.
listRoutingProfiles
in interface AmazonConnect
public ListSecurityProfilesResult listSecurityProfiles(ListSecurityProfilesRequest request)
AmazonConnect
Provides summary information about the security profiles for the specified Amazon Connect instance.
listSecurityProfiles
in interface AmazonConnect
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonConnect
Lists the tags for the specified resource.
listTagsForResource
in interface AmazonConnect
public ListUserHierarchyGroupsResult listUserHierarchyGroups(ListUserHierarchyGroupsRequest request)
AmazonConnect
Provides summary information about the hierarchy groups for the specified Amazon Connect instance.
listUserHierarchyGroups
in interface AmazonConnect
public ListUsersResult listUsers(ListUsersRequest request)
AmazonConnect
Provides summary information about the users for the specified Amazon Connect instance.
listUsers
in interface AmazonConnect
public ResumeContactRecordingResult resumeContactRecording(ResumeContactRecordingRequest request)
AmazonConnect
When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.
Only voice recordings are supported at this time.
resumeContactRecording
in interface AmazonConnect
public StartChatContactResult startChatContact(StartChatContactRequest request)
AmazonConnect
Initiates a contact 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 need to subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.
startChatContact
in interface AmazonConnect
public StartContactRecordingResult startContactRecording(StartContactRecordingRequest request)
AmazonConnect
This API starts recording the contact when the agent joins the 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.
startContactRecording
in interface AmazonConnect
public StartOutboundVoiceContactResult startOutboundVoiceContact(StartOutboundVoiceContactRequest request)
AmazonConnect
This API places an outbound call to a contact, and then initiates the contact flow. It performs the actions in
the contact flow that's specified (in ContactFlowId
).
Agents are not involved in initiating the outbound API (that is, dialing the contact). If the contact flow places an outbound call to a contact, and then puts the contact in queue, that's when the call is 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.
startOutboundVoiceContact
in interface AmazonConnect
public StopContactResult stopContact(StopContactRequest request)
AmazonConnect
Ends the specified contact.
stopContact
in interface AmazonConnect
public StopContactRecordingResult stopContactRecording(StopContactRecordingRequest request)
AmazonConnect
When a contact is being recorded, this API stops recording the call. 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.
stopContactRecording
in interface AmazonConnect
public SuspendContactRecordingResult suspendContactRecording(SuspendContactRecordingRequest request)
AmazonConnect
When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording.
The period of time that the recording is suspended is filled with silence in the final recording.
Only voice recordings are supported at this time.
suspendContactRecording
in interface AmazonConnect
public TagResourceResult tagResource(TagResourceRequest request)
AmazonConnect
Adds the specified tags to the specified resource.
The supported resource type is users.
tagResource
in interface AmazonConnect
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonConnect
Removes the specified tags from the specified resource.
untagResource
in interface AmazonConnect
public UpdateContactAttributesResult updateContactAttributes(UpdateContactAttributesRequest request)
AmazonConnect
Creates or updates the contact attributes associated with the specified contact.
You can add or update attributes for both ongoing and completed contacts. For example, you can update the customer's name or the reason the customer called while the call is active, or add notes about steps that the agent took during the call that are displayed 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 identifying abusive callers.
Contact attributes are available in Amazon Connect for 24 months, and are then deleted.
Important: You cannot use the operation to update attributes for contacts that occurred prior to the release of the API, September 12, 2018. You can update attributes only for contacts that started after the release of the API. If you attempt to update attributes for a contact that occurred prior to the release of the API, a 400 error is returned. This applies also to queued callbacks that were initiated prior to the release of the API but are still active in your instance.
updateContactAttributes
in interface AmazonConnect
public UpdateUserHierarchyResult updateUserHierarchy(UpdateUserHierarchyRequest request)
AmazonConnect
Assigns the specified hierarchy group to the specified user.
updateUserHierarchy
in interface AmazonConnect
public UpdateUserIdentityInfoResult updateUserIdentityInfo(UpdateUserIdentityInfoRequest request)
AmazonConnect
Updates the identity information for the specified user.
updateUserIdentityInfo
in interface AmazonConnect
public UpdateUserPhoneConfigResult updateUserPhoneConfig(UpdateUserPhoneConfigRequest request)
AmazonConnect
Updates the phone configuration settings for the specified user.
updateUserPhoneConfig
in interface AmazonConnect
public UpdateUserRoutingProfileResult updateUserRoutingProfile(UpdateUserRoutingProfileRequest request)
AmazonConnect
Assigns the specified routing profile to the specified user.
updateUserRoutingProfile
in interface AmazonConnect
public UpdateUserSecurityProfilesResult updateUserSecurityProfiles(UpdateUserSecurityProfilesRequest request)
AmazonConnect
Assigns the specified security profiles to the specified user.
updateUserSecurityProfiles
in interface AmazonConnect
public void shutdown()
AmazonConnect
shutdown
in interface AmazonConnect
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonConnect
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonConnect
request
- The originally executed request.