All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.connect.ConnectAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Connect module holds the client classes that are used for communicating with Connect.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.connect;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.connect.model.AssociateApprovedOriginRequest;
import software.amazon.awssdk.services.connect.model.AssociateApprovedOriginResponse;
import software.amazon.awssdk.services.connect.model.AssociateBotRequest;
import software.amazon.awssdk.services.connect.model.AssociateBotResponse;
import software.amazon.awssdk.services.connect.model.AssociateDefaultVocabularyRequest;
import software.amazon.awssdk.services.connect.model.AssociateDefaultVocabularyResponse;
import software.amazon.awssdk.services.connect.model.AssociateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.AssociateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.AssociateLambdaFunctionRequest;
import software.amazon.awssdk.services.connect.model.AssociateLambdaFunctionResponse;
import software.amazon.awssdk.services.connect.model.AssociateLexBotRequest;
import software.amazon.awssdk.services.connect.model.AssociateLexBotResponse;
import software.amazon.awssdk.services.connect.model.AssociatePhoneNumberContactFlowRequest;
import software.amazon.awssdk.services.connect.model.AssociatePhoneNumberContactFlowResponse;
import software.amazon.awssdk.services.connect.model.AssociateQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.AssociateQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.AssociateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.AssociateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.AssociateSecurityKeyRequest;
import software.amazon.awssdk.services.connect.model.AssociateSecurityKeyResponse;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.CreateAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.CreateAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.CreateContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.CreateContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.CreateContactFlowRequest;
import software.amazon.awssdk.services.connect.model.CreateContactFlowResponse;
import software.amazon.awssdk.services.connect.model.CreateHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.CreateHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.CreateInstanceRequest;
import software.amazon.awssdk.services.connect.model.CreateInstanceResponse;
import software.amazon.awssdk.services.connect.model.CreateIntegrationAssociationRequest;
import software.amazon.awssdk.services.connect.model.CreateIntegrationAssociationResponse;
import software.amazon.awssdk.services.connect.model.CreateQueueRequest;
import software.amazon.awssdk.services.connect.model.CreateQueueResponse;
import software.amazon.awssdk.services.connect.model.CreateQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.CreateQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.CreateRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.CreateRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.CreateRuleRequest;
import software.amazon.awssdk.services.connect.model.CreateRuleResponse;
import software.amazon.awssdk.services.connect.model.CreateSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.CreateSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.CreateTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.CreateTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.CreateTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.CreateTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.CreateUseCaseRequest;
import software.amazon.awssdk.services.connect.model.CreateUseCaseResponse;
import software.amazon.awssdk.services.connect.model.CreateUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.CreateUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.CreateUserRequest;
import software.amazon.awssdk.services.connect.model.CreateUserResponse;
import software.amazon.awssdk.services.connect.model.CreateVocabularyRequest;
import software.amazon.awssdk.services.connect.model.CreateVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DeleteHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.DeleteHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.DeleteInstanceRequest;
import software.amazon.awssdk.services.connect.model.DeleteInstanceResponse;
import software.amazon.awssdk.services.connect.model.DeleteIntegrationAssociationRequest;
import software.amazon.awssdk.services.connect.model.DeleteIntegrationAssociationResponse;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.DeleteRuleRequest;
import software.amazon.awssdk.services.connect.model.DeleteRuleResponse;
import software.amazon.awssdk.services.connect.model.DeleteSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.DeleteSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.DeleteTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.DeleteTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.DeleteTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.DeleteTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.DeleteUseCaseRequest;
import software.amazon.awssdk.services.connect.model.DeleteUseCaseResponse;
import software.amazon.awssdk.services.connect.model.DeleteUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.DeleteUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.DeleteUserRequest;
import software.amazon.awssdk.services.connect.model.DeleteUserResponse;
import software.amazon.awssdk.services.connect.model.DeleteVocabularyRequest;
import software.amazon.awssdk.services.connect.model.DeleteVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DescribeAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.DescribeAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactResponse;
import software.amazon.awssdk.services.connect.model.DescribeHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.DescribeHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceAttributeRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceAttributeResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.DescribePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.DescribePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.DescribeQueueRequest;
import software.amazon.awssdk.services.connect.model.DescribeQueueResponse;
import software.amazon.awssdk.services.connect.model.DescribeQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.DescribeQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.DescribeRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeRuleRequest;
import software.amazon.awssdk.services.connect.model.DescribeRuleResponse;
import software.amazon.awssdk.services.connect.model.DescribeSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.DescribeTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyStructureRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyStructureResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserResponse;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyRequest;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DisassociateApprovedOriginRequest;
import software.amazon.awssdk.services.connect.model.DisassociateApprovedOriginResponse;
import software.amazon.awssdk.services.connect.model.DisassociateBotRequest;
import software.amazon.awssdk.services.connect.model.DisassociateBotResponse;
import software.amazon.awssdk.services.connect.model.DisassociateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.DisassociateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.DisassociateLambdaFunctionRequest;
import software.amazon.awssdk.services.connect.model.DisassociateLambdaFunctionResponse;
import software.amazon.awssdk.services.connect.model.DisassociateLexBotRequest;
import software.amazon.awssdk.services.connect.model.DisassociateLexBotResponse;
import software.amazon.awssdk.services.connect.model.DisassociatePhoneNumberContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DisassociatePhoneNumberContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DisassociateQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.DisassociateQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.DisassociateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.DisassociateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.DisassociateSecurityKeyRequest;
import software.amazon.awssdk.services.connect.model.DisassociateSecurityKeyResponse;
import software.amazon.awssdk.services.connect.model.DismissUserContactRequest;
import software.amazon.awssdk.services.connect.model.DismissUserContactResponse;
import software.amazon.awssdk.services.connect.model.GetContactAttributesRequest;
import software.amazon.awssdk.services.connect.model.GetContactAttributesResponse;
import software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest;
import software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse;
import software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest;
import software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse;
import software.amazon.awssdk.services.connect.model.GetFederationTokenRequest;
import software.amazon.awssdk.services.connect.model.GetFederationTokenResponse;
import software.amazon.awssdk.services.connect.model.GetMetricDataRequest;
import software.amazon.awssdk.services.connect.model.GetMetricDataResponse;
import software.amazon.awssdk.services.connect.model.GetMetricDataV2Request;
import software.amazon.awssdk.services.connect.model.GetMetricDataV2Response;
import software.amazon.awssdk.services.connect.model.GetTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.GetTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.GetTrafficDistributionRequest;
import software.amazon.awssdk.services.connect.model.GetTrafficDistributionResponse;
import software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest;
import software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse;
import software.amazon.awssdk.services.connect.model.ListBotsRequest;
import software.amazon.awssdk.services.connect.model.ListBotsResponse;
import software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest;
import software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse;
import software.amazon.awssdk.services.connect.model.ListContactFlowsRequest;
import software.amazon.awssdk.services.connect.model.ListContactFlowsResponse;
import software.amazon.awssdk.services.connect.model.ListContactReferencesRequest;
import software.amazon.awssdk.services.connect.model.ListContactReferencesResponse;
import software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest;
import software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse;
import software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest;
import software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse;
import software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest;
import software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse;
import software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest;
import software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse;
import software.amazon.awssdk.services.connect.model.ListInstancesRequest;
import software.amazon.awssdk.services.connect.model.ListInstancesResponse;
import software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest;
import software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse;
import software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest;
import software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse;
import software.amazon.awssdk.services.connect.model.ListLexBotsRequest;
import software.amazon.awssdk.services.connect.model.ListLexBotsResponse;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response;
import software.amazon.awssdk.services.connect.model.ListPromptsRequest;
import software.amazon.awssdk.services.connect.model.ListPromptsResponse;
import software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.ListQueuesRequest;
import software.amazon.awssdk.services.connect.model.ListQueuesResponse;
import software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListRulesRequest;
import software.amazon.awssdk.services.connect.model.ListRulesResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.connect.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest;
import software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse;
import software.amazon.awssdk.services.connect.model.ListUseCasesRequest;
import software.amazon.awssdk.services.connect.model.ListUseCasesResponse;
import software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest;
import software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse;
import software.amazon.awssdk.services.connect.model.ListUsersRequest;
import software.amazon.awssdk.services.connect.model.ListUsersResponse;
import software.amazon.awssdk.services.connect.model.MonitorContactRequest;
import software.amazon.awssdk.services.connect.model.MonitorContactResponse;
import software.amazon.awssdk.services.connect.model.PutUserStatusRequest;
import software.amazon.awssdk.services.connect.model.PutUserStatusResponse;
import software.amazon.awssdk.services.connect.model.ReleasePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.ReleasePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.ReplicateInstanceRequest;
import software.amazon.awssdk.services.connect.model.ReplicateInstanceResponse;
import software.amazon.awssdk.services.connect.model.ResumeContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.ResumeContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse;
import software.amazon.awssdk.services.connect.model.SearchQueuesRequest;
import software.amazon.awssdk.services.connect.model.SearchQueuesResponse;
import software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest;
import software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse;
import software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.SearchUsersRequest;
import software.amazon.awssdk.services.connect.model.SearchUsersResponse;
import software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest;
import software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse;
import software.amazon.awssdk.services.connect.model.StartChatContactRequest;
import software.amazon.awssdk.services.connect.model.StartChatContactResponse;
import software.amazon.awssdk.services.connect.model.StartContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.StartContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.StartContactStreamingRequest;
import software.amazon.awssdk.services.connect.model.StartContactStreamingResponse;
import software.amazon.awssdk.services.connect.model.StartOutboundVoiceContactRequest;
import software.amazon.awssdk.services.connect.model.StartOutboundVoiceContactResponse;
import software.amazon.awssdk.services.connect.model.StartTaskContactRequest;
import software.amazon.awssdk.services.connect.model.StartTaskContactResponse;
import software.amazon.awssdk.services.connect.model.StopContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.StopContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.StopContactRequest;
import software.amazon.awssdk.services.connect.model.StopContactResponse;
import software.amazon.awssdk.services.connect.model.StopContactStreamingRequest;
import software.amazon.awssdk.services.connect.model.StopContactStreamingResponse;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.TagResourceRequest;
import software.amazon.awssdk.services.connect.model.TagResourceResponse;
import software.amazon.awssdk.services.connect.model.TransferContactRequest;
import software.amazon.awssdk.services.connect.model.TransferContactResponse;
import software.amazon.awssdk.services.connect.model.UntagResourceRequest;
import software.amazon.awssdk.services.connect.model.UntagResourceResponse;
import software.amazon.awssdk.services.connect.model.UpdateAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.UpdateAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleResponse;
import software.amazon.awssdk.services.connect.model.UpdateHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.UpdateHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.UpdateInstanceAttributeRequest;
import software.amazon.awssdk.services.connect.model.UpdateInstanceAttributeResponse;
import software.amazon.awssdk.services.connect.model.UpdateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateParticipantRoleConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateParticipantRoleConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueMaxContactsRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueMaxContactsResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueOutboundCallerConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueOutboundCallerConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueStatusRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueStatusResponse;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileConcurrencyRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileConcurrencyResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileDefaultOutboundQueueRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileDefaultOutboundQueueResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.UpdateRuleRequest;
import software.amazon.awssdk.services.connect.model.UpdateRuleResponse;
import software.amazon.awssdk.services.connect.model.UpdateSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.UpdateTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.UpdateTrafficDistributionRequest;
import software.amazon.awssdk.services.connect.model.UpdateTrafficDistributionResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyGroupNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyGroupNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyStructureRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyStructureResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserIdentityInfoRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserIdentityInfoResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserPhoneConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserPhoneConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher;
import software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher;
import software.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher;
import software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher;
import software.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListBotsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListInstancesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher;
import software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher;
import software.amazon.awssdk.services.connect.paginators.ListPromptsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListQueuesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListRulesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher;
import software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListUsersPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchUsersPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher;

/**
 * Service client for accessing Amazon Connect asynchronously. This can be created using the static {@link #builder()}
 * method.
 *
 * 

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

*

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

*

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

*

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

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface ConnectAsyncClient extends SdkClient { String SERVICE_NAME = "connect"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "connect"; /** *

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

*

* Associates an approved origin to an Amazon Connect instance. *

* * @param associateApprovedOriginRequest * @return A Java Future containing the result of the AssociateApprovedOrigin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateApprovedOrigin * @see AWS API Documentation */ default CompletableFuture associateApprovedOrigin( AssociateApprovedOriginRequest associateApprovedOriginRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Associates an approved origin to an Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link AssociateApprovedOriginRequest.Builder} avoiding * the need to create one manually via {@link AssociateApprovedOriginRequest#builder()} *

* * @param associateApprovedOriginRequest * A {@link Consumer} that will call methods on {@link AssociateApprovedOriginRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateApprovedOrigin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateApprovedOrigin * @see AWS API Documentation */ default CompletableFuture associateApprovedOrigin( Consumer associateApprovedOriginRequest) { return associateApprovedOrigin(AssociateApprovedOriginRequest.builder().applyMutation(associateApprovedOriginRequest) .build()); } /** *

* 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. *

* * @param associateBotRequest * @return A Java Future containing the result of the AssociateBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateBot * @see AWS API * Documentation */ default CompletableFuture associateBot(AssociateBotRequest associateBotRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link AssociateBotRequest.Builder} avoiding the need to * create one manually via {@link AssociateBotRequest#builder()} *

* * @param associateBotRequest * A {@link Consumer} that will call methods on {@link AssociateBotRequest.Builder} to create a request. * @return A Java Future containing the result of the AssociateBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateBot * @see AWS API * Documentation */ default CompletableFuture associateBot(Consumer associateBotRequest) { return associateBot(AssociateBotRequest.builder().applyMutation(associateBotRequest).build()); } /** *

* 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. *

* * @param associateDefaultVocabularyRequest * @return A Java Future containing the result of the AssociateDefaultVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateDefaultVocabulary * @see AWS API Documentation */ default CompletableFuture associateDefaultVocabulary( AssociateDefaultVocabularyRequest associateDefaultVocabularyRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link AssociateDefaultVocabularyRequest.Builder} avoiding * the need to create one manually via {@link AssociateDefaultVocabularyRequest#builder()} *

* * @param associateDefaultVocabularyRequest * A {@link Consumer} that will call methods on {@link AssociateDefaultVocabularyRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateDefaultVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateDefaultVocabulary * @see AWS API Documentation */ default CompletableFuture associateDefaultVocabulary( Consumer associateDefaultVocabularyRequest) { return associateDefaultVocabulary(AssociateDefaultVocabularyRequest.builder() .applyMutation(associateDefaultVocabularyRequest).build()); } /** *

* 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. *

* * @param associateInstanceStorageConfigRequest * @return A Java Future containing the result of the AssociateInstanceStorageConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture associateInstanceStorageConfig( AssociateInstanceStorageConfigRequest associateInstanceStorageConfigRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link AssociateInstanceStorageConfigRequest.Builder} * avoiding the need to create one manually via {@link AssociateInstanceStorageConfigRequest#builder()} *

* * @param associateInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link AssociateInstanceStorageConfigRequest.Builder} to * create a request. * @return A Java Future containing the result of the AssociateInstanceStorageConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture associateInstanceStorageConfig( Consumer associateInstanceStorageConfigRequest) { return associateInstanceStorageConfig(AssociateInstanceStorageConfigRequest.builder() .applyMutation(associateInstanceStorageConfigRequest).build()); } /** *

* 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. *

* * @param associateLambdaFunctionRequest * @return A Java Future containing the result of the AssociateLambdaFunction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateLambdaFunction * @see AWS API Documentation */ default CompletableFuture associateLambdaFunction( AssociateLambdaFunctionRequest associateLambdaFunctionRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link AssociateLambdaFunctionRequest.Builder} avoiding * the need to create one manually via {@link AssociateLambdaFunctionRequest#builder()} *

* * @param associateLambdaFunctionRequest * A {@link Consumer} that will call methods on {@link AssociateLambdaFunctionRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateLambdaFunction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateLambdaFunction * @see AWS API Documentation */ default CompletableFuture associateLambdaFunction( Consumer associateLambdaFunctionRequest) { return associateLambdaFunction(AssociateLambdaFunctionRequest.builder().applyMutation(associateLambdaFunctionRequest) .build()); } /** *

* 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. *

* * @param associateLexBotRequest * @return A Java Future containing the result of the AssociateLexBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateLexBot * @see AWS API * Documentation */ default CompletableFuture associateLexBot(AssociateLexBotRequest associateLexBotRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link AssociateLexBotRequest.Builder} avoiding the need * to create one manually via {@link AssociateLexBotRequest#builder()} *

* * @param associateLexBotRequest * A {@link Consumer} that will call methods on {@link AssociateLexBotRequest.Builder} to create a request. * @return A Java Future containing the result of the AssociateLexBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateLexBot * @see AWS API * Documentation */ default CompletableFuture associateLexBot( Consumer associateLexBotRequest) { return associateLexBot(AssociateLexBotRequest.builder().applyMutation(associateLexBotRequest).build()); } /** *

* 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. *

*
* * @param associatePhoneNumberContactFlowRequest * @return A Java Future containing the result of the AssociatePhoneNumberContactFlow operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociatePhoneNumberContactFlow * @see AWS API Documentation */ default CompletableFuture associatePhoneNumberContactFlow( AssociatePhoneNumberContactFlowRequest associatePhoneNumberContactFlowRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link AssociatePhoneNumberContactFlowRequest.Builder} * avoiding the need to create one manually via {@link AssociatePhoneNumberContactFlowRequest#builder()} *

* * @param associatePhoneNumberContactFlowRequest * A {@link Consumer} that will call methods on {@link AssociatePhoneNumberContactFlowRequest.Builder} to * create a request. * @return A Java Future containing the result of the AssociatePhoneNumberContactFlow operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociatePhoneNumberContactFlow * @see AWS API Documentation */ default CompletableFuture associatePhoneNumberContactFlow( Consumer associatePhoneNumberContactFlowRequest) { return associatePhoneNumberContactFlow(AssociatePhoneNumberContactFlowRequest.builder() .applyMutation(associatePhoneNumberContactFlowRequest).build()); } /** *

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

*

* Associates a set of quick connects with a queue. *

* * @param associateQueueQuickConnectsRequest * @return A Java Future containing the result of the AssociateQueueQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateQueueQuickConnects * @see AWS API Documentation */ default CompletableFuture associateQueueQuickConnects( AssociateQueueQuickConnectsRequest associateQueueQuickConnectsRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Associates a set of quick connects with a queue. *

*
*

* This is a convenience which creates an instance of the {@link AssociateQueueQuickConnectsRequest.Builder} * avoiding the need to create one manually via {@link AssociateQueueQuickConnectsRequest#builder()} *

* * @param associateQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link AssociateQueueQuickConnectsRequest.Builder} to create * a request. * @return A Java Future containing the result of the AssociateQueueQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateQueueQuickConnects * @see AWS API Documentation */ default CompletableFuture associateQueueQuickConnects( Consumer associateQueueQuickConnectsRequest) { return associateQueueQuickConnects(AssociateQueueQuickConnectsRequest.builder() .applyMutation(associateQueueQuickConnectsRequest).build()); } /** *

* Associates a set of queues with a routing profile. *

* * @param associateRoutingProfileQueuesRequest * @return A Java Future containing the result of the AssociateRoutingProfileQueues operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture associateRoutingProfileQueues( AssociateRoutingProfileQueuesRequest associateRoutingProfileQueuesRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a set of queues with a routing profile. *

*
*

* This is a convenience which creates an instance of the {@link AssociateRoutingProfileQueuesRequest.Builder} * avoiding the need to create one manually via {@link AssociateRoutingProfileQueuesRequest#builder()} *

* * @param associateRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link AssociateRoutingProfileQueuesRequest.Builder} to * create a request. * @return A Java Future containing the result of the AssociateRoutingProfileQueues operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture associateRoutingProfileQueues( Consumer associateRoutingProfileQueuesRequest) { return associateRoutingProfileQueues(AssociateRoutingProfileQueuesRequest.builder() .applyMutation(associateRoutingProfileQueuesRequest).build()); } /** *

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

*

* Associates a security key to the instance. *

* * @param associateSecurityKeyRequest * @return A Java Future containing the result of the AssociateSecurityKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateSecurityKey * @see AWS * API Documentation */ default CompletableFuture associateSecurityKey( AssociateSecurityKeyRequest associateSecurityKeyRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Associates a security key to the instance. *

*
*

* This is a convenience which creates an instance of the {@link AssociateSecurityKeyRequest.Builder} avoiding the * need to create one manually via {@link AssociateSecurityKeyRequest#builder()} *

* * @param associateSecurityKeyRequest * A {@link Consumer} that will call methods on {@link AssociateSecurityKeyRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateSecurityKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateSecurityKey * @see AWS * API Documentation */ default CompletableFuture associateSecurityKey( Consumer associateSecurityKeyRequest) { return associateSecurityKey(AssociateSecurityKeyRequest.builder().applyMutation(associateSecurityKeyRequest).build()); } /** *

* 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. *

*
* * @param claimPhoneNumberRequest * @return A Java Future containing the result of the ClaimPhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ClaimPhoneNumber * @see AWS API * Documentation */ default CompletableFuture claimPhoneNumber(ClaimPhoneNumberRequest claimPhoneNumberRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

* *

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

*

*

* This is a convenience which creates an instance of the {@link ClaimPhoneNumberRequest.Builder} avoiding the need * to create one manually via {@link ClaimPhoneNumberRequest#builder()} *

* * @param claimPhoneNumberRequest * A {@link Consumer} that will call methods on {@link ClaimPhoneNumberRequest.Builder} to create a request. * @return A Java Future containing the result of the ClaimPhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ClaimPhoneNumber * @see AWS API * Documentation */ default CompletableFuture claimPhoneNumber( Consumer claimPhoneNumberRequest) { return claimPhoneNumber(ClaimPhoneNumberRequest.builder().applyMutation(claimPhoneNumberRequest).build()); } /** *

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

*

* Creates an agent status for the specified Amazon Connect instance. *

* * @param createAgentStatusRequest * @return A Java Future containing the result of the CreateAgentStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateAgentStatus * @see AWS API * Documentation */ default CompletableFuture createAgentStatus(CreateAgentStatusRequest createAgentStatusRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Creates an agent status for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link CreateAgentStatusRequest.Builder} avoiding the need * to create one manually via {@link CreateAgentStatusRequest#builder()} *

* * @param createAgentStatusRequest * A {@link Consumer} that will call methods on {@link CreateAgentStatusRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateAgentStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateAgentStatus * @see AWS API * Documentation */ default CompletableFuture createAgentStatus( Consumer createAgentStatusRequest) { return createAgentStatus(CreateAgentStatusRequest.builder().applyMutation(createAgentStatusRequest).build()); } /** *

* Creates a flow for the specified Amazon Connect instance. *

*

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

* * @param createContactFlowRequest * @return A Java Future containing the result of the CreateContactFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateContactFlow * @see AWS API * Documentation */ default CompletableFuture createContactFlow(CreateContactFlowRequest createContactFlowRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a flow for the specified Amazon Connect instance. *

*

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

*
*

* This is a convenience which creates an instance of the {@link CreateContactFlowRequest.Builder} avoiding the need * to create one manually via {@link CreateContactFlowRequest#builder()} *

* * @param createContactFlowRequest * A {@link Consumer} that will call methods on {@link CreateContactFlowRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateContactFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateContactFlow * @see AWS API * Documentation */ default CompletableFuture createContactFlow( Consumer createContactFlowRequest) { return createContactFlow(CreateContactFlowRequest.builder().applyMutation(createContactFlowRequest).build()); } /** *

* Creates a flow module for the specified Amazon Connect instance. *

* * @param createContactFlowModuleRequest * @return A Java Future containing the result of the CreateContactFlowModule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateContactFlowModule * @see AWS API Documentation */ default CompletableFuture createContactFlowModule( CreateContactFlowModuleRequest createContactFlowModuleRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a flow module for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link CreateContactFlowModuleRequest.Builder} avoiding * the need to create one manually via {@link CreateContactFlowModuleRequest#builder()} *

* * @param createContactFlowModuleRequest * A {@link Consumer} that will call methods on {@link CreateContactFlowModuleRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateContactFlowModule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateContactFlowModule * @see AWS API Documentation */ default CompletableFuture createContactFlowModule( Consumer createContactFlowModuleRequest) { return createContactFlowModule(CreateContactFlowModuleRequest.builder().applyMutation(createContactFlowModuleRequest) .build()); } /** *

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

*

* Creates hours of operation. *

* * @param createHoursOfOperationRequest * @return A Java Future containing the result of the CreateHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateHoursOfOperation * @see AWS API Documentation */ default CompletableFuture createHoursOfOperation( CreateHoursOfOperationRequest createHoursOfOperationRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Creates hours of operation. *

*
*

* This is a convenience which creates an instance of the {@link CreateHoursOfOperationRequest.Builder} avoiding the * need to create one manually via {@link CreateHoursOfOperationRequest#builder()} *

* * @param createHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link CreateHoursOfOperationRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateHoursOfOperation * @see AWS API Documentation */ default CompletableFuture createHoursOfOperation( Consumer createHoursOfOperationRequest) { return createHoursOfOperation(CreateHoursOfOperationRequest.builder().applyMutation(createHoursOfOperationRequest) .build()); } /** *

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

*

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

*

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

* * @param createInstanceRequest * @return A Java Future containing the result of the CreateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateInstance * @see AWS API * Documentation */ default CompletableFuture createInstance(CreateInstanceRequest createInstanceRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*

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

*
*

* This is a convenience which creates an instance of the {@link CreateInstanceRequest.Builder} avoiding the need to * create one manually via {@link CreateInstanceRequest#builder()} *

* * @param createInstanceRequest * A {@link Consumer} that will call methods on {@link CreateInstanceRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateInstance * @see AWS API * Documentation */ default CompletableFuture createInstance(Consumer createInstanceRequest) { return createInstance(CreateInstanceRequest.builder().applyMutation(createInstanceRequest).build()); } /** *

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

* * @param createIntegrationAssociationRequest * @return A Java Future containing the result of the CreateIntegrationAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateIntegrationAssociation * @see AWS API Documentation */ default CompletableFuture createIntegrationAssociation( CreateIntegrationAssociationRequest createIntegrationAssociationRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link CreateIntegrationAssociationRequest.Builder} * avoiding the need to create one manually via {@link CreateIntegrationAssociationRequest#builder()} *

* * @param createIntegrationAssociationRequest * A {@link Consumer} that will call methods on {@link CreateIntegrationAssociationRequest.Builder} to create * a request. * @return A Java Future containing the result of the CreateIntegrationAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateIntegrationAssociation * @see AWS API Documentation */ default CompletableFuture createIntegrationAssociation( Consumer createIntegrationAssociationRequest) { return createIntegrationAssociation(CreateIntegrationAssociationRequest.builder() .applyMutation(createIntegrationAssociationRequest).build()); } /** *

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

*

* Creates a new queue for the specified Amazon Connect instance. *

* *

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

*
* * @param createQueueRequest * @return A Java Future containing the result of the CreateQueue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateQueue * @see AWS API * Documentation */ default CompletableFuture createQueue(CreateQueueRequest createQueueRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Creates a new queue for the specified Amazon Connect instance. *

* *

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

*

*

* This is a convenience which creates an instance of the {@link CreateQueueRequest.Builder} avoiding the need to * create one manually via {@link CreateQueueRequest#builder()} *

* * @param createQueueRequest * A {@link Consumer} that will call methods on {@link CreateQueueRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateQueue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateQueue * @see AWS API * Documentation */ default CompletableFuture createQueue(Consumer createQueueRequest) { return createQueue(CreateQueueRequest.builder().applyMutation(createQueueRequest).build()); } /** *

* Creates a quick connect for the specified Amazon Connect instance. *

* * @param createQuickConnectRequest * @return A Java Future containing the result of the CreateQuickConnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateQuickConnect * @see AWS * API Documentation */ default CompletableFuture createQuickConnect(CreateQuickConnectRequest createQuickConnectRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a quick connect for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link CreateQuickConnectRequest.Builder} avoiding the * need to create one manually via {@link CreateQuickConnectRequest#builder()} *

* * @param createQuickConnectRequest * A {@link Consumer} that will call methods on {@link CreateQuickConnectRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateQuickConnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateQuickConnect * @see AWS * API Documentation */ default CompletableFuture createQuickConnect( Consumer createQuickConnectRequest) { return createQuickConnect(CreateQuickConnectRequest.builder().applyMutation(createQuickConnectRequest).build()); } /** *

* Creates a new routing profile. *

* * @param createRoutingProfileRequest * @return A Java Future containing the result of the CreateRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateRoutingProfile * @see AWS * API Documentation */ default CompletableFuture createRoutingProfile( CreateRoutingProfileRequest createRoutingProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new routing profile. *

*
*

* This is a convenience which creates an instance of the {@link CreateRoutingProfileRequest.Builder} avoiding the * need to create one manually via {@link CreateRoutingProfileRequest#builder()} *

* * @param createRoutingProfileRequest * A {@link Consumer} that will call methods on {@link CreateRoutingProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateRoutingProfile * @see AWS * API Documentation */ default CompletableFuture createRoutingProfile( Consumer createRoutingProfileRequest) { return createRoutingProfile(CreateRoutingProfileRequest.builder().applyMutation(createRoutingProfileRequest).build()); } /** *

* Creates a rule for the specified Amazon Connect instance. *

*

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

* * @param createRuleRequest * @return A Java Future containing the result of the CreateRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateRule * @see AWS API * Documentation */ default CompletableFuture createRule(CreateRuleRequest createRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a rule for the specified Amazon Connect instance. *

*

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

*
*

* This is a convenience which creates an instance of the {@link CreateRuleRequest.Builder} avoiding the need to * create one manually via {@link CreateRuleRequest#builder()} *

* * @param createRuleRequest * A {@link Consumer} that will call methods on {@link CreateRuleRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateRule * @see AWS API * Documentation */ default CompletableFuture createRule(Consumer createRuleRequest) { return createRule(CreateRuleRequest.builder().applyMutation(createRuleRequest).build()); } /** *

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

*

* Creates a security profile. *

* * @param createSecurityProfileRequest * @return A Java Future containing the result of the CreateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateSecurityProfile * @see AWS * API Documentation */ default CompletableFuture createSecurityProfile( CreateSecurityProfileRequest createSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Creates a security profile. *

*
*

* This is a convenience which creates an instance of the {@link CreateSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link CreateSecurityProfileRequest#builder()} *

* * @param createSecurityProfileRequest * A {@link Consumer} that will call methods on {@link CreateSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateSecurityProfile * @see AWS * API Documentation */ default CompletableFuture createSecurityProfile( Consumer createSecurityProfileRequest) { return createSecurityProfile(CreateSecurityProfileRequest.builder().applyMutation(createSecurityProfileRequest).build()); } /** *

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

* * @param createTaskTemplateRequest * @return A Java Future containing the result of the CreateTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateTaskTemplate * @see AWS * API Documentation */ default CompletableFuture createTaskTemplate(CreateTaskTemplateRequest createTaskTemplateRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link CreateTaskTemplateRequest.Builder} avoiding the * need to create one manually via {@link CreateTaskTemplateRequest#builder()} *

* * @param createTaskTemplateRequest * A {@link Consumer} that will call methods on {@link CreateTaskTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateTaskTemplate * @see AWS * API Documentation */ default CompletableFuture createTaskTemplate( Consumer createTaskTemplateRequest) { return createTaskTemplate(CreateTaskTemplateRequest.builder().applyMutation(createTaskTemplateRequest).build()); } /** *

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

*

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

* * @param createTrafficDistributionGroupRequest * @return A Java Future containing the result of the CreateTrafficDistributionGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateTrafficDistributionGroup * @see AWS API Documentation */ default CompletableFuture createTrafficDistributionGroup( CreateTrafficDistributionGroupRequest createTrafficDistributionGroupRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a convenience which creates an instance of the {@link CreateTrafficDistributionGroupRequest.Builder} * avoiding the need to create one manually via {@link CreateTrafficDistributionGroupRequest#builder()} *

* * @param createTrafficDistributionGroupRequest * A {@link Consumer} that will call methods on {@link CreateTrafficDistributionGroupRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateTrafficDistributionGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateTrafficDistributionGroup * @see AWS API Documentation */ default CompletableFuture createTrafficDistributionGroup( Consumer createTrafficDistributionGroupRequest) { return createTrafficDistributionGroup(CreateTrafficDistributionGroupRequest.builder() .applyMutation(createTrafficDistributionGroupRequest).build()); } /** *

* Creates a use case for an integration association. *

* * @param createUseCaseRequest * @return A Java Future containing the result of the CreateUseCase operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateUseCase * @see AWS API * Documentation */ default CompletableFuture createUseCase(CreateUseCaseRequest createUseCaseRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a use case for an integration association. *

*
*

* This is a convenience which creates an instance of the {@link CreateUseCaseRequest.Builder} avoiding the need to * create one manually via {@link CreateUseCaseRequest#builder()} *

* * @param createUseCaseRequest * A {@link Consumer} that will call methods on {@link CreateUseCaseRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateUseCase operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateUseCase * @see AWS API * Documentation */ default CompletableFuture createUseCase(Consumer createUseCaseRequest) { return createUseCase(CreateUseCaseRequest.builder().applyMutation(createUseCaseRequest).build()); } /** *

* Creates a user account for the specified Amazon Connect instance. *

*

* For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon * Connect Administrator Guide. *

* * @param createUserRequest * @return A Java Future containing the result of the CreateUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateUser * @see AWS API * Documentation */ default CompletableFuture createUser(CreateUserRequest createUserRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a user account for the specified Amazon Connect instance. *

*

* For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon * Connect Administrator Guide. *

*
*

* This is a convenience which creates an instance of the {@link CreateUserRequest.Builder} avoiding the need to * create one manually via {@link CreateUserRequest#builder()} *

* * @param createUserRequest * A {@link Consumer} that will call methods on {@link CreateUserRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateUser * @see AWS API * Documentation */ default CompletableFuture createUser(Consumer createUserRequest) { return createUser(CreateUserRequest.builder().applyMutation(createUserRequest).build()); } /** *

* Creates a new user hierarchy group. *

* * @param createUserHierarchyGroupRequest * @return A Java Future containing the result of the CreateUserHierarchyGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateUserHierarchyGroup * @see AWS API Documentation */ default CompletableFuture createUserHierarchyGroup( CreateUserHierarchyGroupRequest createUserHierarchyGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new user hierarchy group. *

*
*

* This is a convenience which creates an instance of the {@link CreateUserHierarchyGroupRequest.Builder} avoiding * the need to create one manually via {@link CreateUserHierarchyGroupRequest#builder()} *

* * @param createUserHierarchyGroupRequest * A {@link Consumer} that will call methods on {@link CreateUserHierarchyGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateUserHierarchyGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateUserHierarchyGroup * @see AWS API Documentation */ default CompletableFuture createUserHierarchyGroup( Consumer createUserHierarchyGroupRequest) { return createUserHierarchyGroup(CreateUserHierarchyGroupRequest.builder().applyMutation(createUserHierarchyGroupRequest) .build()); } /** *

* 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. *

* * @param createVocabularyRequest * @return A Java Future containing the result of the CreateVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateVocabulary * @see AWS API * Documentation */ default CompletableFuture createVocabulary(CreateVocabularyRequest createVocabularyRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateVocabularyRequest.Builder} avoiding the need * to create one manually via {@link CreateVocabularyRequest#builder()} *

* * @param createVocabularyRequest * A {@link Consumer} that will call methods on {@link CreateVocabularyRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateVocabulary * @see AWS API * Documentation */ default CompletableFuture createVocabulary( Consumer createVocabularyRequest) { return createVocabulary(CreateVocabularyRequest.builder().applyMutation(createVocabularyRequest).build()); } /** *

* Deletes a flow for the specified Amazon Connect instance. *

* * @param deleteContactFlowRequest * @return A Java Future containing the result of the DeleteContactFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteContactFlow * @see AWS API * Documentation */ default CompletableFuture deleteContactFlow(DeleteContactFlowRequest deleteContactFlowRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a flow for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link DeleteContactFlowRequest.Builder} avoiding the need * to create one manually via {@link DeleteContactFlowRequest#builder()} *

* * @param deleteContactFlowRequest * A {@link Consumer} that will call methods on {@link DeleteContactFlowRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteContactFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteContactFlow * @see AWS API * Documentation */ default CompletableFuture deleteContactFlow( Consumer deleteContactFlowRequest) { return deleteContactFlow(DeleteContactFlowRequest.builder().applyMutation(deleteContactFlowRequest).build()); } /** *

* Deletes the specified flow module. *

* * @param deleteContactFlowModuleRequest * @return A Java Future containing the result of the DeleteContactFlowModule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteContactFlowModule * @see AWS API Documentation */ default CompletableFuture deleteContactFlowModule( DeleteContactFlowModuleRequest deleteContactFlowModuleRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified flow module. *

*
*

* This is a convenience which creates an instance of the {@link DeleteContactFlowModuleRequest.Builder} avoiding * the need to create one manually via {@link DeleteContactFlowModuleRequest#builder()} *

* * @param deleteContactFlowModuleRequest * A {@link Consumer} that will call methods on {@link DeleteContactFlowModuleRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteContactFlowModule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteContactFlowModule * @see AWS API Documentation */ default CompletableFuture deleteContactFlowModule( Consumer deleteContactFlowModuleRequest) { return deleteContactFlowModule(DeleteContactFlowModuleRequest.builder().applyMutation(deleteContactFlowModuleRequest) .build()); } /** *

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

*

* Deletes an hours of operation. *

* * @param deleteHoursOfOperationRequest * @return A Java Future containing the result of the DeleteHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteHoursOfOperation * @see AWS API Documentation */ default CompletableFuture deleteHoursOfOperation( DeleteHoursOfOperationRequest deleteHoursOfOperationRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes an hours of operation. *

*
*

* This is a convenience which creates an instance of the {@link DeleteHoursOfOperationRequest.Builder} avoiding the * need to create one manually via {@link DeleteHoursOfOperationRequest#builder()} *

* * @param deleteHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link DeleteHoursOfOperationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteHoursOfOperation * @see AWS API Documentation */ default CompletableFuture deleteHoursOfOperation( Consumer deleteHoursOfOperationRequest) { return deleteHoursOfOperation(DeleteHoursOfOperationRequest.builder().applyMutation(deleteHoursOfOperationRequest) .build()); } /** *

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

*

* Deletes the Amazon Connect instance. *

*

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

* * @param deleteInstanceRequest * @return A Java Future containing the result of the DeleteInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteInstance * @see AWS API * Documentation */ default CompletableFuture deleteInstance(DeleteInstanceRequest deleteInstanceRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes the Amazon Connect instance. *

*

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

*
*

* This is a convenience which creates an instance of the {@link DeleteInstanceRequest.Builder} avoiding the need to * create one manually via {@link DeleteInstanceRequest#builder()} *

* * @param deleteInstanceRequest * A {@link Consumer} that will call methods on {@link DeleteInstanceRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteInstance * @see AWS API * Documentation */ default CompletableFuture deleteInstance(Consumer deleteInstanceRequest) { return deleteInstance(DeleteInstanceRequest.builder().applyMutation(deleteInstanceRequest).build()); } /** *

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

* * @param deleteIntegrationAssociationRequest * @return A Java Future containing the result of the DeleteIntegrationAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteIntegrationAssociation * @see AWS API Documentation */ default CompletableFuture deleteIntegrationAssociation( DeleteIntegrationAssociationRequest deleteIntegrationAssociationRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link DeleteIntegrationAssociationRequest.Builder} * avoiding the need to create one manually via {@link DeleteIntegrationAssociationRequest#builder()} *

* * @param deleteIntegrationAssociationRequest * A {@link Consumer} that will call methods on {@link DeleteIntegrationAssociationRequest.Builder} to create * a request. * @return A Java Future containing the result of the DeleteIntegrationAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteIntegrationAssociation * @see AWS API Documentation */ default CompletableFuture deleteIntegrationAssociation( Consumer deleteIntegrationAssociationRequest) { return deleteIntegrationAssociation(DeleteIntegrationAssociationRequest.builder() .applyMutation(deleteIntegrationAssociationRequest).build()); } /** *

* Deletes a quick connect. *

* * @param deleteQuickConnectRequest * @return A Java Future containing the result of the DeleteQuickConnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteQuickConnect * @see AWS * API Documentation */ default CompletableFuture deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a quick connect. *

*
*

* This is a convenience which creates an instance of the {@link DeleteQuickConnectRequest.Builder} avoiding the * need to create one manually via {@link DeleteQuickConnectRequest#builder()} *

* * @param deleteQuickConnectRequest * A {@link Consumer} that will call methods on {@link DeleteQuickConnectRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteQuickConnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteQuickConnect * @see AWS * API Documentation */ default CompletableFuture deleteQuickConnect( Consumer deleteQuickConnectRequest) { return deleteQuickConnect(DeleteQuickConnectRequest.builder().applyMutation(deleteQuickConnectRequest).build()); } /** *

* Deletes a rule for the specified Amazon Connect instance. *

* * @param deleteRuleRequest * @return A Java Future containing the result of the DeleteRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteRule * @see AWS API * Documentation */ default CompletableFuture deleteRule(DeleteRuleRequest deleteRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a rule for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link DeleteRuleRequest.Builder} avoiding the need to * create one manually via {@link DeleteRuleRequest#builder()} *

* * @param deleteRuleRequest * A {@link Consumer} that will call methods on {@link DeleteRuleRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteRule * @see AWS API * Documentation */ default CompletableFuture deleteRule(Consumer deleteRuleRequest) { return deleteRule(DeleteRuleRequest.builder().applyMutation(deleteRuleRequest).build()); } /** *

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

*

* Deletes a security profile. *

* * @param deleteSecurityProfileRequest * @return A Java Future containing the result of the DeleteSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteSecurityProfile * @see AWS * API Documentation */ default CompletableFuture deleteSecurityProfile( DeleteSecurityProfileRequest deleteSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes a security profile. *

*
*

* This is a convenience which creates an instance of the {@link DeleteSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link DeleteSecurityProfileRequest#builder()} *

* * @param deleteSecurityProfileRequest * A {@link Consumer} that will call methods on {@link DeleteSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteSecurityProfile * @see AWS * API Documentation */ default CompletableFuture deleteSecurityProfile( Consumer deleteSecurityProfileRequest) { return deleteSecurityProfile(DeleteSecurityProfileRequest.builder().applyMutation(deleteSecurityProfileRequest).build()); } /** *

* Deletes the task template. *

* * @param deleteTaskTemplateRequest * @return A Java Future containing the result of the DeleteTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteTaskTemplate * @see AWS * API Documentation */ default CompletableFuture deleteTaskTemplate(DeleteTaskTemplateRequest deleteTaskTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the task template. *

*
*

* This is a convenience which creates an instance of the {@link DeleteTaskTemplateRequest.Builder} avoiding the * need to create one manually via {@link DeleteTaskTemplateRequest#builder()} *

* * @param deleteTaskTemplateRequest * A {@link Consumer} that will call methods on {@link DeleteTaskTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteTaskTemplate * @see AWS * API Documentation */ default CompletableFuture deleteTaskTemplate( Consumer deleteTaskTemplateRequest) { return deleteTaskTemplate(DeleteTaskTemplateRequest.builder().applyMutation(deleteTaskTemplateRequest).build()); } /** *

* 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. *

* * @param deleteTrafficDistributionGroupRequest * @return A Java Future containing the result of the DeleteTrafficDistributionGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteTrafficDistributionGroup * @see AWS API Documentation */ default CompletableFuture deleteTrafficDistributionGroup( DeleteTrafficDistributionGroupRequest deleteTrafficDistributionGroupRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteTrafficDistributionGroupRequest.Builder} * avoiding the need to create one manually via {@link DeleteTrafficDistributionGroupRequest#builder()} *

* * @param deleteTrafficDistributionGroupRequest * A {@link Consumer} that will call methods on {@link DeleteTrafficDistributionGroupRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteTrafficDistributionGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteTrafficDistributionGroup * @see AWS API Documentation */ default CompletableFuture deleteTrafficDistributionGroup( Consumer deleteTrafficDistributionGroupRequest) { return deleteTrafficDistributionGroup(DeleteTrafficDistributionGroupRequest.builder() .applyMutation(deleteTrafficDistributionGroupRequest).build()); } /** *

* Deletes a use case from an integration association. *

* * @param deleteUseCaseRequest * @return A Java Future containing the result of the DeleteUseCase operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteUseCase * @see AWS API * Documentation */ default CompletableFuture deleteUseCase(DeleteUseCaseRequest deleteUseCaseRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a use case from an integration association. *

*
*

* This is a convenience which creates an instance of the {@link DeleteUseCaseRequest.Builder} avoiding the need to * create one manually via {@link DeleteUseCaseRequest#builder()} *

* * @param deleteUseCaseRequest * A {@link Consumer} that will call methods on {@link DeleteUseCaseRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteUseCase operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteUseCase * @see AWS API * Documentation */ default CompletableFuture deleteUseCase(Consumer deleteUseCaseRequest) { return deleteUseCase(DeleteUseCaseRequest.builder().applyMutation(deleteUseCaseRequest).build()); } /** *

* 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. *

* * @param deleteUserRequest * @return A Java Future containing the result of the DeleteUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteUser * @see AWS API * Documentation */ default CompletableFuture deleteUser(DeleteUserRequest deleteUserRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DeleteUserRequest.Builder} avoiding the need to * create one manually via {@link DeleteUserRequest#builder()} *

* * @param deleteUserRequest * A {@link Consumer} that will call methods on {@link DeleteUserRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteUser * @see AWS API * Documentation */ default CompletableFuture deleteUser(Consumer deleteUserRequest) { return deleteUser(DeleteUserRequest.builder().applyMutation(deleteUserRequest).build()); } /** *

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

* * @param deleteUserHierarchyGroupRequest * @return A Java Future containing the result of the DeleteUserHierarchyGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteUserHierarchyGroup * @see AWS API Documentation */ default CompletableFuture deleteUserHierarchyGroup( DeleteUserHierarchyGroupRequest deleteUserHierarchyGroupRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link DeleteUserHierarchyGroupRequest.Builder} avoiding * the need to create one manually via {@link DeleteUserHierarchyGroupRequest#builder()} *

* * @param deleteUserHierarchyGroupRequest * A {@link Consumer} that will call methods on {@link DeleteUserHierarchyGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteUserHierarchyGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteUserHierarchyGroup * @see AWS API Documentation */ default CompletableFuture deleteUserHierarchyGroup( Consumer deleteUserHierarchyGroupRequest) { return deleteUserHierarchyGroup(DeleteUserHierarchyGroupRequest.builder().applyMutation(deleteUserHierarchyGroupRequest) .build()); } /** *

* Deletes the vocabulary that has the given identifier. *

* * @param deleteVocabularyRequest * @return A Java Future containing the result of the DeleteVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteVocabulary * @see AWS API * Documentation */ default CompletableFuture deleteVocabulary(DeleteVocabularyRequest deleteVocabularyRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the vocabulary that has the given identifier. *

*
*

* This is a convenience which creates an instance of the {@link DeleteVocabularyRequest.Builder} avoiding the need * to create one manually via {@link DeleteVocabularyRequest#builder()} *

* * @param deleteVocabularyRequest * A {@link Consumer} that will call methods on {@link DeleteVocabularyRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteVocabulary * @see AWS API * Documentation */ default CompletableFuture deleteVocabulary( Consumer deleteVocabularyRequest) { return deleteVocabulary(DeleteVocabularyRequest.builder().applyMutation(deleteVocabularyRequest).build()); } /** *

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

*

* Describes an agent status. *

* * @param describeAgentStatusRequest * @return A Java Future containing the result of the DescribeAgentStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeAgentStatus * @see AWS * API Documentation */ default CompletableFuture describeAgentStatus( DescribeAgentStatusRequest describeAgentStatusRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Describes an agent status. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAgentStatusRequest.Builder} avoiding the * need to create one manually via {@link DescribeAgentStatusRequest#builder()} *

* * @param describeAgentStatusRequest * A {@link Consumer} that will call methods on {@link DescribeAgentStatusRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeAgentStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeAgentStatus * @see AWS * API Documentation */ default CompletableFuture describeAgentStatus( Consumer describeAgentStatusRequest) { return describeAgentStatus(DescribeAgentStatusRequest.builder().applyMutation(describeAgentStatusRequest).build()); } /** *

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

*

* Describes the specified contact. *

* *

* Contact information remains available in Amazon Connect for 24 months, and then it is deleted. *

*

* Only data from November 12, 2021, and later is returned by this API. *

*
* * @param describeContactRequest * @return A Java Future containing the result of the DescribeContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeContact * @see AWS API * Documentation */ default CompletableFuture describeContact(DescribeContactRequest describeContactRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the specified contact. *

* *

* Contact information remains available in Amazon Connect for 24 months, and then it is deleted. *

*

* Only data from November 12, 2021, and later is returned by this API. *

*

*

* This is a convenience which creates an instance of the {@link DescribeContactRequest.Builder} avoiding the need * to create one manually via {@link DescribeContactRequest#builder()} *

* * @param describeContactRequest * A {@link Consumer} that will call methods on {@link DescribeContactRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeContact * @see AWS API * Documentation */ default CompletableFuture describeContact( Consumer describeContactRequest) { return describeContact(DescribeContactRequest.builder().applyMutation(describeContactRequest).build()); } /** *

* Describes the specified flow. *

*

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

* * @param describeContactFlowRequest * @return A Java Future containing the result of the DescribeContactFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeContactFlow * @see AWS * API Documentation */ default CompletableFuture describeContactFlow( DescribeContactFlowRequest describeContactFlowRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the specified flow. *

*

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

*
*

* This is a convenience which creates an instance of the {@link DescribeContactFlowRequest.Builder} avoiding the * need to create one manually via {@link DescribeContactFlowRequest#builder()} *

* * @param describeContactFlowRequest * A {@link Consumer} that will call methods on {@link DescribeContactFlowRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeContactFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeContactFlow * @see AWS * API Documentation */ default CompletableFuture describeContactFlow( Consumer describeContactFlowRequest) { return describeContactFlow(DescribeContactFlowRequest.builder().applyMutation(describeContactFlowRequest).build()); } /** *

* Describes the specified flow module. *

* * @param describeContactFlowModuleRequest * @return A Java Future containing the result of the DescribeContactFlowModule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeContactFlowModule * @see AWS API Documentation */ default CompletableFuture describeContactFlowModule( DescribeContactFlowModuleRequest describeContactFlowModuleRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the specified flow module. *

*
*

* This is a convenience which creates an instance of the {@link DescribeContactFlowModuleRequest.Builder} avoiding * the need to create one manually via {@link DescribeContactFlowModuleRequest#builder()} *

* * @param describeContactFlowModuleRequest * A {@link Consumer} that will call methods on {@link DescribeContactFlowModuleRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeContactFlowModule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeContactFlowModule * @see AWS API Documentation */ default CompletableFuture describeContactFlowModule( Consumer describeContactFlowModuleRequest) { return describeContactFlowModule(DescribeContactFlowModuleRequest.builder() .applyMutation(describeContactFlowModuleRequest).build()); } /** *

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

*

* Describes the hours of operation. *

* * @param describeHoursOfOperationRequest * @return A Java Future containing the result of the DescribeHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeHoursOfOperation * @see AWS API Documentation */ default CompletableFuture describeHoursOfOperation( DescribeHoursOfOperationRequest describeHoursOfOperationRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the hours of operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeHoursOfOperationRequest.Builder} avoiding * the need to create one manually via {@link DescribeHoursOfOperationRequest#builder()} *

* * @param describeHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link DescribeHoursOfOperationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeHoursOfOperation * @see AWS API Documentation */ default CompletableFuture describeHoursOfOperation( Consumer describeHoursOfOperationRequest) { return describeHoursOfOperation(DescribeHoursOfOperationRequest.builder().applyMutation(describeHoursOfOperationRequest) .build()); } /** *

* 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. *

* * @param describeInstanceRequest * @return A Java Future containing the result of the DescribeInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeInstance * @see AWS API * Documentation */ default CompletableFuture describeInstance(DescribeInstanceRequest describeInstanceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DescribeInstanceRequest.Builder} avoiding the need * to create one manually via {@link DescribeInstanceRequest#builder()} *

* * @param describeInstanceRequest * A {@link Consumer} that will call methods on {@link DescribeInstanceRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeInstance * @see AWS API * Documentation */ default CompletableFuture describeInstance( Consumer describeInstanceRequest) { return describeInstance(DescribeInstanceRequest.builder().applyMutation(describeInstanceRequest).build()); } /** *

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

*

* Describes the specified instance attribute. *

* * @param describeInstanceAttributeRequest * @return A Java Future containing the result of the DescribeInstanceAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeInstanceAttribute * @see AWS API Documentation */ default CompletableFuture describeInstanceAttribute( DescribeInstanceAttributeRequest describeInstanceAttributeRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the specified instance attribute. *

*
*

* This is a convenience which creates an instance of the {@link DescribeInstanceAttributeRequest.Builder} avoiding * the need to create one manually via {@link DescribeInstanceAttributeRequest#builder()} *

* * @param describeInstanceAttributeRequest * A {@link Consumer} that will call methods on {@link DescribeInstanceAttributeRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeInstanceAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeInstanceAttribute * @see AWS API Documentation */ default CompletableFuture describeInstanceAttribute( Consumer describeInstanceAttributeRequest) { return describeInstanceAttribute(DescribeInstanceAttributeRequest.builder() .applyMutation(describeInstanceAttributeRequest).build()); } /** *

* 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. *

* * @param describeInstanceStorageConfigRequest * @return A Java Future containing the result of the DescribeInstanceStorageConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture describeInstanceStorageConfig( DescribeInstanceStorageConfigRequest describeInstanceStorageConfigRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DescribeInstanceStorageConfigRequest.Builder} * avoiding the need to create one manually via {@link DescribeInstanceStorageConfigRequest#builder()} *

* * @param describeInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link DescribeInstanceStorageConfigRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeInstanceStorageConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture describeInstanceStorageConfig( Consumer describeInstanceStorageConfigRequest) { return describeInstanceStorageConfig(DescribeInstanceStorageConfigRequest.builder() .applyMutation(describeInstanceStorageConfigRequest).build()); } /** *

* 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. *

*
* * @param describePhoneNumberRequest * @return A Java Future containing the result of the DescribePhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribePhoneNumber * @see AWS * API Documentation */ default CompletableFuture describePhoneNumber( DescribePhoneNumberRequest describePhoneNumberRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

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

*

*

* This is a convenience which creates an instance of the {@link DescribePhoneNumberRequest.Builder} avoiding the * need to create one manually via {@link DescribePhoneNumberRequest#builder()} *

* * @param describePhoneNumberRequest * A {@link Consumer} that will call methods on {@link DescribePhoneNumberRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribePhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribePhoneNumber * @see AWS * API Documentation */ default CompletableFuture describePhoneNumber( Consumer describePhoneNumberRequest) { return describePhoneNumber(DescribePhoneNumberRequest.builder().applyMutation(describePhoneNumberRequest).build()); } /** *

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

*

* Describes the specified queue. *

* * @param describeQueueRequest * @return A Java Future containing the result of the DescribeQueue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeQueue * @see AWS API * Documentation */ default CompletableFuture describeQueue(DescribeQueueRequest describeQueueRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the specified queue. *

*
*

* This is a convenience which creates an instance of the {@link DescribeQueueRequest.Builder} avoiding the need to * create one manually via {@link DescribeQueueRequest#builder()} *

* * @param describeQueueRequest * A {@link Consumer} that will call methods on {@link DescribeQueueRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeQueue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeQueue * @see AWS API * Documentation */ default CompletableFuture describeQueue(Consumer describeQueueRequest) { return describeQueue(DescribeQueueRequest.builder().applyMutation(describeQueueRequest).build()); } /** *

* Describes the quick connect. *

* * @param describeQuickConnectRequest * @return A Java Future containing the result of the DescribeQuickConnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeQuickConnect * @see AWS * API Documentation */ default CompletableFuture describeQuickConnect( DescribeQuickConnectRequest describeQuickConnectRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the quick connect. *

*
*

* This is a convenience which creates an instance of the {@link DescribeQuickConnectRequest.Builder} avoiding the * need to create one manually via {@link DescribeQuickConnectRequest#builder()} *

* * @param describeQuickConnectRequest * A {@link Consumer} that will call methods on {@link DescribeQuickConnectRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeQuickConnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeQuickConnect * @see AWS * API Documentation */ default CompletableFuture describeQuickConnect( Consumer describeQuickConnectRequest) { return describeQuickConnect(DescribeQuickConnectRequest.builder().applyMutation(describeQuickConnectRequest).build()); } /** *

* Describes the specified routing profile. *

* * @param describeRoutingProfileRequest * @return A Java Future containing the result of the DescribeRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeRoutingProfile * @see AWS API Documentation */ default CompletableFuture describeRoutingProfile( DescribeRoutingProfileRequest describeRoutingProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the specified routing profile. *

*
*

* This is a convenience which creates an instance of the {@link DescribeRoutingProfileRequest.Builder} avoiding the * need to create one manually via {@link DescribeRoutingProfileRequest#builder()} *

* * @param describeRoutingProfileRequest * A {@link Consumer} that will call methods on {@link DescribeRoutingProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeRoutingProfile * @see AWS API Documentation */ default CompletableFuture describeRoutingProfile( Consumer describeRoutingProfileRequest) { return describeRoutingProfile(DescribeRoutingProfileRequest.builder().applyMutation(describeRoutingProfileRequest) .build()); } /** *

* Describes a rule for the specified Amazon Connect instance. *

* * @param describeRuleRequest * @return A Java Future containing the result of the DescribeRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeRule * @see AWS API * Documentation */ default CompletableFuture describeRule(DescribeRuleRequest describeRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a rule for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link DescribeRuleRequest.Builder} avoiding the need to * create one manually via {@link DescribeRuleRequest#builder()} *

* * @param describeRuleRequest * A {@link Consumer} that will call methods on {@link DescribeRuleRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeRule * @see AWS API * Documentation */ default CompletableFuture describeRule(Consumer describeRuleRequest) { return describeRule(DescribeRuleRequest.builder().applyMutation(describeRuleRequest).build()); } /** *

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

*

* Gets basic information about the security profle. *

* * @param describeSecurityProfileRequest * @return A Java Future containing the result of the DescribeSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeSecurityProfile * @see AWS API Documentation */ default CompletableFuture describeSecurityProfile( DescribeSecurityProfileRequest describeSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Gets basic information about the security profle. *

*
*

* This is a convenience which creates an instance of the {@link DescribeSecurityProfileRequest.Builder} avoiding * the need to create one manually via {@link DescribeSecurityProfileRequest#builder()} *

* * @param describeSecurityProfileRequest * A {@link Consumer} that will call methods on {@link DescribeSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeSecurityProfile * @see AWS API Documentation */ default CompletableFuture describeSecurityProfile( Consumer describeSecurityProfileRequest) { return describeSecurityProfile(DescribeSecurityProfileRequest.builder().applyMutation(describeSecurityProfileRequest) .build()); } /** *

* Gets details and status of a traffic distribution group. *

* * @param describeTrafficDistributionGroupRequest * @return A Java Future containing the result of the DescribeTrafficDistributionGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeTrafficDistributionGroup * @see AWS API Documentation */ default CompletableFuture describeTrafficDistributionGroup( DescribeTrafficDistributionGroupRequest describeTrafficDistributionGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Gets details and status of a traffic distribution group. *

*
*

* This is a convenience which creates an instance of the {@link DescribeTrafficDistributionGroupRequest.Builder} * avoiding the need to create one manually via {@link DescribeTrafficDistributionGroupRequest#builder()} *

* * @param describeTrafficDistributionGroupRequest * A {@link Consumer} that will call methods on {@link DescribeTrafficDistributionGroupRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeTrafficDistributionGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeTrafficDistributionGroup * @see AWS API Documentation */ default CompletableFuture describeTrafficDistributionGroup( Consumer describeTrafficDistributionGroupRequest) { return describeTrafficDistributionGroup(DescribeTrafficDistributionGroupRequest.builder() .applyMutation(describeTrafficDistributionGroupRequest).build()); } /** *

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

* * @param describeUserRequest * @return A Java Future containing the result of the DescribeUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeUser * @see AWS API * Documentation */ default CompletableFuture describeUser(DescribeUserRequest describeUserRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link DescribeUserRequest.Builder} avoiding the need to * create one manually via {@link DescribeUserRequest#builder()} *

* * @param describeUserRequest * A {@link Consumer} that will call methods on {@link DescribeUserRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeUser * @see AWS API * Documentation */ default CompletableFuture describeUser(Consumer describeUserRequest) { return describeUser(DescribeUserRequest.builder().applyMutation(describeUserRequest).build()); } /** *

* Describes the specified hierarchy group. *

* * @param describeUserHierarchyGroupRequest * @return A Java Future containing the result of the DescribeUserHierarchyGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeUserHierarchyGroup * @see AWS API Documentation */ default CompletableFuture describeUserHierarchyGroup( DescribeUserHierarchyGroupRequest describeUserHierarchyGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the specified hierarchy group. *

*
*

* This is a convenience which creates an instance of the {@link DescribeUserHierarchyGroupRequest.Builder} avoiding * the need to create one manually via {@link DescribeUserHierarchyGroupRequest#builder()} *

* * @param describeUserHierarchyGroupRequest * A {@link Consumer} that will call methods on {@link DescribeUserHierarchyGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeUserHierarchyGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeUserHierarchyGroup * @see AWS API Documentation */ default CompletableFuture describeUserHierarchyGroup( Consumer describeUserHierarchyGroupRequest) { return describeUserHierarchyGroup(DescribeUserHierarchyGroupRequest.builder() .applyMutation(describeUserHierarchyGroupRequest).build()); } /** *

* Describes the hierarchy structure of the specified Amazon Connect instance. *

* * @param describeUserHierarchyStructureRequest * @return A Java Future containing the result of the DescribeUserHierarchyStructure operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeUserHierarchyStructure * @see AWS API Documentation */ default CompletableFuture describeUserHierarchyStructure( DescribeUserHierarchyStructureRequest describeUserHierarchyStructureRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the hierarchy structure of the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link DescribeUserHierarchyStructureRequest.Builder} * avoiding the need to create one manually via {@link DescribeUserHierarchyStructureRequest#builder()} *

* * @param describeUserHierarchyStructureRequest * A {@link Consumer} that will call methods on {@link DescribeUserHierarchyStructureRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeUserHierarchyStructure operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeUserHierarchyStructure * @see AWS API Documentation */ default CompletableFuture describeUserHierarchyStructure( Consumer describeUserHierarchyStructureRequest) { return describeUserHierarchyStructure(DescribeUserHierarchyStructureRequest.builder() .applyMutation(describeUserHierarchyStructureRequest).build()); } /** *

* Describes the specified vocabulary. *

* * @param describeVocabularyRequest * @return A Java Future containing the result of the DescribeVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeVocabulary * @see AWS * API Documentation */ default CompletableFuture describeVocabulary(DescribeVocabularyRequest describeVocabularyRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the specified vocabulary. *

*
*

* This is a convenience which creates an instance of the {@link DescribeVocabularyRequest.Builder} avoiding the * need to create one manually via {@link DescribeVocabularyRequest#builder()} *

* * @param describeVocabularyRequest * A {@link Consumer} that will call methods on {@link DescribeVocabularyRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeVocabulary operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeVocabulary * @see AWS * API Documentation */ default CompletableFuture describeVocabulary( Consumer describeVocabularyRequest) { return describeVocabulary(DescribeVocabularyRequest.builder().applyMutation(describeVocabularyRequest).build()); } /** *

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

*

* Revokes access to integrated applications from Amazon Connect. *

* * @param disassociateApprovedOriginRequest * @return A Java Future containing the result of the DisassociateApprovedOrigin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateApprovedOrigin * @see AWS API Documentation */ default CompletableFuture disassociateApprovedOrigin( DisassociateApprovedOriginRequest disassociateApprovedOriginRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Revokes access to integrated applications from Amazon Connect. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateApprovedOriginRequest.Builder} avoiding * the need to create one manually via {@link DisassociateApprovedOriginRequest#builder()} *

* * @param disassociateApprovedOriginRequest * A {@link Consumer} that will call methods on {@link DisassociateApprovedOriginRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateApprovedOrigin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateApprovedOrigin * @see AWS API Documentation */ default CompletableFuture disassociateApprovedOrigin( Consumer disassociateApprovedOriginRequest) { return disassociateApprovedOrigin(DisassociateApprovedOriginRequest.builder() .applyMutation(disassociateApprovedOriginRequest).build()); } /** *

* 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. *

* * @param disassociateBotRequest * @return A Java Future containing the result of the DisassociateBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateBot * @see AWS API * Documentation */ default CompletableFuture disassociateBot(DisassociateBotRequest disassociateBotRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateBotRequest.Builder} avoiding the need * to create one manually via {@link DisassociateBotRequest#builder()} *

* * @param disassociateBotRequest * A {@link Consumer} that will call methods on {@link DisassociateBotRequest.Builder} to create a request. * @return A Java Future containing the result of the DisassociateBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateBot * @see AWS API * Documentation */ default CompletableFuture disassociateBot( Consumer disassociateBotRequest) { return disassociateBot(DisassociateBotRequest.builder().applyMutation(disassociateBotRequest).build()); } /** *

* 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. *

* * @param disassociateInstanceStorageConfigRequest * @return A Java Future containing the result of the DisassociateInstanceStorageConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture disassociateInstanceStorageConfig( DisassociateInstanceStorageConfigRequest disassociateInstanceStorageConfigRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateInstanceStorageConfigRequest.Builder} * avoiding the need to create one manually via {@link DisassociateInstanceStorageConfigRequest#builder()} *

* * @param disassociateInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link DisassociateInstanceStorageConfigRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateInstanceStorageConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture disassociateInstanceStorageConfig( Consumer disassociateInstanceStorageConfigRequest) { return disassociateInstanceStorageConfig(DisassociateInstanceStorageConfigRequest.builder() .applyMutation(disassociateInstanceStorageConfigRequest).build()); } /** *

* 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. *

* * @param disassociateLambdaFunctionRequest * @return A Java Future containing the result of the DisassociateLambdaFunction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateLambdaFunction * @see AWS API Documentation */ default CompletableFuture disassociateLambdaFunction( DisassociateLambdaFunctionRequest disassociateLambdaFunctionRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateLambdaFunctionRequest.Builder} avoiding * the need to create one manually via {@link DisassociateLambdaFunctionRequest#builder()} *

* * @param disassociateLambdaFunctionRequest * A {@link Consumer} that will call methods on {@link DisassociateLambdaFunctionRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateLambdaFunction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateLambdaFunction * @see AWS API Documentation */ default CompletableFuture disassociateLambdaFunction( Consumer disassociateLambdaFunctionRequest) { return disassociateLambdaFunction(DisassociateLambdaFunctionRequest.builder() .applyMutation(disassociateLambdaFunctionRequest).build()); } /** *

* 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. *

* * @param disassociateLexBotRequest * @return A Java Future containing the result of the DisassociateLexBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateLexBot * @see AWS * API Documentation */ default CompletableFuture disassociateLexBot(DisassociateLexBotRequest disassociateLexBotRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateLexBotRequest.Builder} avoiding the * need to create one manually via {@link DisassociateLexBotRequest#builder()} *

* * @param disassociateLexBotRequest * A {@link Consumer} that will call methods on {@link DisassociateLexBotRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateLexBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateLexBot * @see AWS * API Documentation */ default CompletableFuture disassociateLexBot( Consumer disassociateLexBotRequest) { return disassociateLexBot(DisassociateLexBotRequest.builder().applyMutation(disassociateLexBotRequest).build()); } /** *

* 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. *

*
* * @param disassociatePhoneNumberContactFlowRequest * @return A Java Future containing the result of the DisassociatePhoneNumberContactFlow operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociatePhoneNumberContactFlow * @see AWS API Documentation */ default CompletableFuture disassociatePhoneNumberContactFlow( DisassociatePhoneNumberContactFlowRequest disassociatePhoneNumberContactFlowRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link DisassociatePhoneNumberContactFlowRequest.Builder} * avoiding the need to create one manually via {@link DisassociatePhoneNumberContactFlowRequest#builder()} *

* * @param disassociatePhoneNumberContactFlowRequest * A {@link Consumer} that will call methods on {@link DisassociatePhoneNumberContactFlowRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociatePhoneNumberContactFlow operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociatePhoneNumberContactFlow * @see AWS API Documentation */ default CompletableFuture disassociatePhoneNumberContactFlow( Consumer disassociatePhoneNumberContactFlowRequest) { return disassociatePhoneNumberContactFlow(DisassociatePhoneNumberContactFlowRequest.builder() .applyMutation(disassociatePhoneNumberContactFlowRequest).build()); } /** *

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

*

* Disassociates a set of quick connects from a queue. *

* * @param disassociateQueueQuickConnectsRequest * @return A Java Future containing the result of the DisassociateQueueQuickConnects operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateQueueQuickConnects * @see AWS API Documentation */ default CompletableFuture disassociateQueueQuickConnects( DisassociateQueueQuickConnectsRequest disassociateQueueQuickConnectsRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Disassociates a set of quick connects from a queue. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateQueueQuickConnectsRequest.Builder} * avoiding the need to create one manually via {@link DisassociateQueueQuickConnectsRequest#builder()} *

* * @param disassociateQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link DisassociateQueueQuickConnectsRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateQueueQuickConnects operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateQueueQuickConnects * @see AWS API Documentation */ default CompletableFuture disassociateQueueQuickConnects( Consumer disassociateQueueQuickConnectsRequest) { return disassociateQueueQuickConnects(DisassociateQueueQuickConnectsRequest.builder() .applyMutation(disassociateQueueQuickConnectsRequest).build()); } /** *

* Disassociates a set of queues from a routing profile. *

* * @param disassociateRoutingProfileQueuesRequest * @return A Java Future containing the result of the DisassociateRoutingProfileQueues operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture disassociateRoutingProfileQueues( DisassociateRoutingProfileQueuesRequest disassociateRoutingProfileQueuesRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates a set of queues from a routing profile. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateRoutingProfileQueuesRequest.Builder} * avoiding the need to create one manually via {@link DisassociateRoutingProfileQueuesRequest#builder()} *

* * @param disassociateRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link DisassociateRoutingProfileQueuesRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateRoutingProfileQueues operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture disassociateRoutingProfileQueues( Consumer disassociateRoutingProfileQueuesRequest) { return disassociateRoutingProfileQueues(DisassociateRoutingProfileQueuesRequest.builder() .applyMutation(disassociateRoutingProfileQueuesRequest).build()); } /** *

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

*

* Deletes the specified security key. *

* * @param disassociateSecurityKeyRequest * @return A Java Future containing the result of the DisassociateSecurityKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateSecurityKey * @see AWS API Documentation */ default CompletableFuture disassociateSecurityKey( DisassociateSecurityKeyRequest disassociateSecurityKeyRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes the specified security key. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateSecurityKeyRequest.Builder} avoiding * the need to create one manually via {@link DisassociateSecurityKeyRequest#builder()} *

* * @param disassociateSecurityKeyRequest * A {@link Consumer} that will call methods on {@link DisassociateSecurityKeyRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateSecurityKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateSecurityKey * @see AWS API Documentation */ default CompletableFuture disassociateSecurityKey( Consumer disassociateSecurityKeyRequest) { return disassociateSecurityKey(DisassociateSecurityKeyRequest.builder().applyMutation(disassociateSecurityKeyRequest) .build()); } /** *

* 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. *

* * @param dismissUserContactRequest * @return A Java Future containing the result of the DismissUserContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DismissUserContact * @see AWS * API Documentation */ default CompletableFuture dismissUserContact(DismissUserContactRequest dismissUserContactRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link DismissUserContactRequest.Builder} avoiding the * need to create one manually via {@link DismissUserContactRequest#builder()} *

* * @param dismissUserContactRequest * A {@link Consumer} that will call methods on {@link DismissUserContactRequest.Builder} to create a * request. * @return A Java Future containing the result of the DismissUserContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DismissUserContact * @see AWS * API Documentation */ default CompletableFuture dismissUserContact( Consumer dismissUserContactRequest) { return dismissUserContact(DismissUserContactRequest.builder().applyMutation(dismissUserContactRequest).build()); } /** *

* Retrieves the contact attributes for the specified contact. *

* * @param getContactAttributesRequest * @return A Java Future containing the result of the GetContactAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetContactAttributes * @see AWS * API Documentation */ default CompletableFuture getContactAttributes( GetContactAttributesRequest getContactAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the contact attributes for the specified contact. *

*
*

* This is a convenience which creates an instance of the {@link GetContactAttributesRequest.Builder} avoiding the * need to create one manually via {@link GetContactAttributesRequest#builder()} *

* * @param getContactAttributesRequest * A {@link Consumer} that will call methods on {@link GetContactAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetContactAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetContactAttributes * @see AWS * API Documentation */ default CompletableFuture getContactAttributes( Consumer getContactAttributesRequest) { return getContactAttributes(GetContactAttributesRequest.builder().applyMutation(getContactAttributesRequest).build()); } /** *

* 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. *

* * @param getCurrentMetricDataRequest * @return A Java Future containing the result of the GetCurrentMetricData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentMetricData * @see AWS * API Documentation */ default CompletableFuture getCurrentMetricData( GetCurrentMetricDataRequest getCurrentMetricDataRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link GetCurrentMetricDataRequest.Builder} avoiding the * need to create one manually via {@link GetCurrentMetricDataRequest#builder()} *

* * @param getCurrentMetricDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentMetricDataRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetCurrentMetricData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentMetricData * @see AWS * API Documentation */ default CompletableFuture getCurrentMetricData( Consumer getCurrentMetricDataRequest) { return getCurrentMetricData(GetCurrentMetricDataRequest.builder().applyMutation(getCurrentMetricDataRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)} * operation. *

* * @param getCurrentMetricDataRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentMetricData * @see AWS * API Documentation */ default GetCurrentMetricDataPublisher getCurrentMetricDataPaginator(GetCurrentMetricDataRequest getCurrentMetricDataRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link GetCurrentMetricDataRequest.Builder} avoiding the * need to create one manually via {@link GetCurrentMetricDataRequest#builder()} *

* * @param getCurrentMetricDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentMetricDataRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentMetricData * @see AWS * API Documentation */ default GetCurrentMetricDataPublisher getCurrentMetricDataPaginator( Consumer getCurrentMetricDataRequest) { return getCurrentMetricDataPaginator(GetCurrentMetricDataRequest.builder().applyMutation(getCurrentMetricDataRequest) .build()); } /** *

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

* * @param getCurrentUserDataRequest * @return A Java Future containing the result of the GetCurrentUserData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentUserData * @see AWS * API Documentation */ default CompletableFuture getCurrentUserData(GetCurrentUserDataRequest getCurrentUserDataRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link GetCurrentUserDataRequest.Builder} avoiding the * need to create one manually via {@link GetCurrentUserDataRequest#builder()} *

* * @param getCurrentUserDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentUserDataRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetCurrentUserData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentUserData * @see AWS * API Documentation */ default CompletableFuture getCurrentUserData( Consumer getCurrentUserDataRequest) { return getCurrentUserData(GetCurrentUserDataRequest.builder().applyMutation(getCurrentUserDataRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)} * operation. *

* * @param getCurrentUserDataRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentUserData * @see AWS * API Documentation */ default GetCurrentUserDataPublisher getCurrentUserDataPaginator(GetCurrentUserDataRequest getCurrentUserDataRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link GetCurrentUserDataRequest.Builder} avoiding the * need to create one manually via {@link GetCurrentUserDataRequest#builder()} *

* * @param getCurrentUserDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentUserDataRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetCurrentUserData * @see AWS * API Documentation */ default GetCurrentUserDataPublisher getCurrentUserDataPaginator( Consumer getCurrentUserDataRequest) { return getCurrentUserDataPaginator(GetCurrentUserDataRequest.builder().applyMutation(getCurrentUserDataRequest).build()); } /** *

* Retrieves a token for federation. *

* *

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

*

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

*
* * @param getFederationTokenRequest * @return A Java Future containing the result of the GetFederationToken operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetFederationToken * @see AWS * API Documentation */ default CompletableFuture getFederationToken(GetFederationTokenRequest getFederationTokenRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves a token for federation. *

* *

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

*

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

*

*

* This is a convenience which creates an instance of the {@link GetFederationTokenRequest.Builder} avoiding the * need to create one manually via {@link GetFederationTokenRequest#builder()} *

* * @param getFederationTokenRequest * A {@link Consumer} that will call methods on {@link GetFederationTokenRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetFederationToken operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetFederationToken * @see AWS * API Documentation */ default CompletableFuture getFederationToken( Consumer getFederationTokenRequest) { return getFederationToken(GetFederationTokenRequest.builder().applyMutation(getFederationTokenRequest).build()); } /** *

* 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. *

* * @param getMetricDataRequest * @return A Java Future containing the result of the GetMetricData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricData * @see AWS API * Documentation */ default CompletableFuture getMetricData(GetMetricDataRequest getMetricDataRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link GetMetricDataRequest.Builder} avoiding the need to * create one manually via {@link GetMetricDataRequest#builder()} *

* * @param getMetricDataRequest * A {@link Consumer} that will call methods on {@link GetMetricDataRequest.Builder} to create a request. * @return A Java Future containing the result of the GetMetricData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricData * @see AWS API * Documentation */ default CompletableFuture getMetricData(Consumer getMetricDataRequest) { return getMetricData(GetMetricDataRequest.builder().applyMutation(getMetricDataRequest).build()); } /** *

* 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. *

*
*

* This is a variant of {@link #getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)} operation. *

* * @param getMetricDataRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricData * @see AWS API * Documentation */ default GetMetricDataPublisher getMetricDataPaginator(GetMetricDataRequest getMetricDataRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of {@link #getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link GetMetricDataRequest.Builder} avoiding the need to * create one manually via {@link GetMetricDataRequest#builder()} *

* * @param getMetricDataRequest * A {@link Consumer} that will call methods on {@link GetMetricDataRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricData * @see AWS API * Documentation */ default GetMetricDataPublisher getMetricDataPaginator(Consumer getMetricDataRequest) { return getMetricDataPaginator(GetMetricDataRequest.builder().applyMutation(getMetricDataRequest).build()); } /** *

* 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 last the 14 days, in 24-hour intervals. *

*

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

*

* This API is not available in the Amazon Web Services GovCloud (US) Regions. *

* * @param getMetricDataV2Request * @return A Java Future containing the result of the GetMetricDataV2 operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricDataV2 * @see AWS API * Documentation */ default CompletableFuture getMetricDataV2(GetMetricDataV2Request getMetricDataV2Request) { throw new UnsupportedOperationException(); } /** *

* 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 last the 14 days, in 24-hour intervals. *

*

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

*

* This API is not available in the Amazon Web Services GovCloud (US) Regions. *

*
*

* This is a convenience which creates an instance of the {@link GetMetricDataV2Request.Builder} avoiding the need * to create one manually via {@link GetMetricDataV2Request#builder()} *

* * @param getMetricDataV2Request * A {@link Consumer} that will call methods on {@link GetMetricDataV2Request.Builder} to create a request. * @return A Java Future containing the result of the GetMetricDataV2 operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricDataV2 * @see AWS API * Documentation */ default CompletableFuture getMetricDataV2( Consumer getMetricDataV2Request) { return getMetricDataV2(GetMetricDataV2Request.builder().applyMutation(getMetricDataV2Request).build()); } /** *

* 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 last the 14 days, in 24-hour intervals. *

*

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

*

* This API is not available in the Amazon Web Services GovCloud (US) Regions. *

*
*

* This is a variant of * {@link #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataV2Response response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} operation. *

* * @param getMetricDataV2Request * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricDataV2 * @see AWS API * Documentation */ default GetMetricDataV2Publisher getMetricDataV2Paginator(GetMetricDataV2Request getMetricDataV2Request) { throw new UnsupportedOperationException(); } /** *

* 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 last the 14 days, in 24-hour intervals. *

*

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

*

* This API is not available in the Amazon Web Services GovCloud (US) Regions. *

*
*

* This is a variant of * {@link #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataV2Response response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} operation. *

*

* This is a convenience which creates an instance of the {@link GetMetricDataV2Request.Builder} avoiding the need * to create one manually via {@link GetMetricDataV2Request#builder()} *

* * @param getMetricDataV2Request * A {@link Consumer} that will call methods on {@link GetMetricDataV2Request.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetMetricDataV2 * @see AWS API * Documentation */ default GetMetricDataV2Publisher getMetricDataV2Paginator(Consumer getMetricDataV2Request) { return getMetricDataV2Paginator(GetMetricDataV2Request.builder().applyMutation(getMetricDataV2Request).build()); } /** *

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

* * @param getTaskTemplateRequest * @return A Java Future containing the result of the GetTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetTaskTemplate * @see AWS API * Documentation */ default CompletableFuture getTaskTemplate(GetTaskTemplateRequest getTaskTemplateRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link GetTaskTemplateRequest.Builder} avoiding the need * to create one manually via {@link GetTaskTemplateRequest#builder()} *

* * @param getTaskTemplateRequest * A {@link Consumer} that will call methods on {@link GetTaskTemplateRequest.Builder} to create a request. * @return A Java Future containing the result of the GetTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetTaskTemplate * @see AWS API * Documentation */ default CompletableFuture getTaskTemplate( Consumer getTaskTemplateRequest) { return getTaskTemplate(GetTaskTemplateRequest.builder().applyMutation(getTaskTemplateRequest).build()); } /** *

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

* * @param getTrafficDistributionRequest * @return A Java Future containing the result of the GetTrafficDistribution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetTrafficDistribution * @see AWS API Documentation */ default CompletableFuture getTrafficDistribution( GetTrafficDistributionRequest getTrafficDistributionRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link GetTrafficDistributionRequest.Builder} avoiding the * need to create one manually via {@link GetTrafficDistributionRequest#builder()} *

* * @param getTrafficDistributionRequest * A {@link Consumer} that will call methods on {@link GetTrafficDistributionRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetTrafficDistribution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetTrafficDistribution * @see AWS API Documentation */ default CompletableFuture getTrafficDistribution( Consumer getTrafficDistributionRequest) { return getTrafficDistribution(GetTrafficDistributionRequest.builder().applyMutation(getTrafficDistributionRequest) .build()); } /** *

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

*

* Lists agent statuses. *

* * @param listAgentStatusesRequest * @return A Java Future containing the result of the ListAgentStatuses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListAgentStatuses * @see AWS API * Documentation */ default CompletableFuture listAgentStatuses(ListAgentStatusesRequest listAgentStatusesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Lists agent statuses. *

*
*

* This is a convenience which creates an instance of the {@link ListAgentStatusesRequest.Builder} avoiding the need * to create one manually via {@link ListAgentStatusesRequest#builder()} *

* * @param listAgentStatusesRequest * A {@link Consumer} that will call methods on {@link ListAgentStatusRequest.Builder} to create a request. * @return A Java Future containing the result of the ListAgentStatuses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListAgentStatuses * @see AWS API * Documentation */ default CompletableFuture listAgentStatuses( Consumer listAgentStatusesRequest) { return listAgentStatuses(ListAgentStatusesRequest.builder().applyMutation(listAgentStatusesRequest).build()); } /** *

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

*

* Lists agent statuses. *

*
*

* This is a variant of * {@link #listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)} operation. *

* * @param listAgentStatusesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListAgentStatuses * @see AWS API * Documentation */ default ListAgentStatusesPublisher listAgentStatusesPaginator(ListAgentStatusesRequest listAgentStatusesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Lists agent statuses. *

*
*

* This is a variant of * {@link #listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListAgentStatusesRequest.Builder} avoiding the need * to create one manually via {@link ListAgentStatusesRequest#builder()} *

* * @param listAgentStatusesRequest * A {@link Consumer} that will call methods on {@link ListAgentStatusRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListAgentStatuses * @see AWS API * Documentation */ default ListAgentStatusesPublisher listAgentStatusesPaginator( Consumer listAgentStatusesRequest) { return listAgentStatusesPaginator(ListAgentStatusesRequest.builder().applyMutation(listAgentStatusesRequest).build()); } /** *

* 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. *

* * @param listApprovedOriginsRequest * @return A Java Future containing the result of the ListApprovedOrigins operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListApprovedOrigins * @see AWS * API Documentation */ default CompletableFuture listApprovedOrigins( ListApprovedOriginsRequest listApprovedOriginsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListApprovedOriginsRequest.Builder} avoiding the * need to create one manually via {@link ListApprovedOriginsRequest#builder()} *

* * @param listApprovedOriginsRequest * A {@link Consumer} that will call methods on {@link ListApprovedOriginsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListApprovedOrigins operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListApprovedOrigins * @see AWS * API Documentation */ default CompletableFuture listApprovedOrigins( Consumer listApprovedOriginsRequest) { return listApprovedOrigins(ListApprovedOriginsRequest.builder().applyMutation(listApprovedOriginsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)} * operation. *

* * @param listApprovedOriginsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListApprovedOrigins * @see AWS * API Documentation */ default ListApprovedOriginsPublisher listApprovedOriginsPaginator(ListApprovedOriginsRequest listApprovedOriginsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListApprovedOriginsRequest.Builder} avoiding the * need to create one manually via {@link ListApprovedOriginsRequest#builder()} *

* * @param listApprovedOriginsRequest * A {@link Consumer} that will call methods on {@link ListApprovedOriginsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListApprovedOrigins * @see AWS * API Documentation */ default ListApprovedOriginsPublisher listApprovedOriginsPaginator( Consumer listApprovedOriginsRequest) { return listApprovedOriginsPaginator(ListApprovedOriginsRequest.builder().applyMutation(listApprovedOriginsRequest) .build()); } /** *

* 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. *

* * @param listBotsRequest * @return A Java Future containing the result of the ListBots operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListBots * @see AWS API * Documentation */ default CompletableFuture listBots(ListBotsRequest listBotsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListBotsRequest.Builder} avoiding the need to * create one manually via {@link ListBotsRequest#builder()} *

* * @param listBotsRequest * A {@link Consumer} that will call methods on {@link ListBotsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListBots operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListBots * @see AWS API * Documentation */ default CompletableFuture listBots(Consumer listBotsRequest) { return listBots(ListBotsRequest.builder().applyMutation(listBotsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of {@link #listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListBotsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)} operation. *

* * @param listBotsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListBots * @see AWS API * Documentation */ default ListBotsPublisher listBotsPaginator(ListBotsRequest listBotsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of {@link #listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListBotsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListBotsRequest.Builder} avoiding the need to * create one manually via {@link ListBotsRequest#builder()} *

* * @param listBotsRequest * A {@link Consumer} that will call methods on {@link ListBotsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListBots * @see AWS API * Documentation */ default ListBotsPublisher listBotsPaginator(Consumer listBotsRequest) { return listBotsPaginator(ListBotsRequest.builder().applyMutation(listBotsRequest).build()); } /** *

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

* * @param listContactFlowModulesRequest * @return A Java Future containing the result of the ListContactFlowModules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlowModules * @see AWS API Documentation */ default CompletableFuture listContactFlowModules( ListContactFlowModulesRequest listContactFlowModulesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link ListContactFlowModulesRequest.Builder} avoiding the * need to create one manually via {@link ListContactFlowModulesRequest#builder()} *

* * @param listContactFlowModulesRequest * A {@link Consumer} that will call methods on {@link ListContactFlowModulesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListContactFlowModules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlowModules * @see AWS API Documentation */ default CompletableFuture listContactFlowModules( Consumer listContactFlowModulesRequest) { return listContactFlowModules(ListContactFlowModulesRequest.builder().applyMutation(listContactFlowModulesRequest) .build()); } /** *

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

*
*

* This is a variant of * {@link #listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)} * operation. *

* * @param listContactFlowModulesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlowModules * @see AWS API Documentation */ default ListContactFlowModulesPublisher listContactFlowModulesPaginator( ListContactFlowModulesRequest listContactFlowModulesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListContactFlowModulesRequest.Builder} avoiding the * need to create one manually via {@link ListContactFlowModulesRequest#builder()} *

* * @param listContactFlowModulesRequest * A {@link Consumer} that will call methods on {@link ListContactFlowModulesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlowModules * @see AWS API Documentation */ default ListContactFlowModulesPublisher listContactFlowModulesPaginator( Consumer listContactFlowModulesRequest) { return listContactFlowModulesPaginator(ListContactFlowModulesRequest.builder() .applyMutation(listContactFlowModulesRequest).build()); } /** *

* 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. *

* * @param listContactFlowsRequest * @return A Java Future containing the result of the ListContactFlows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlows * @see AWS API * Documentation */ default CompletableFuture listContactFlows(ListContactFlowsRequest listContactFlowsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListContactFlowsRequest.Builder} avoiding the need * to create one manually via {@link ListContactFlowsRequest#builder()} *

* * @param listContactFlowsRequest * A {@link Consumer} that will call methods on {@link ListContactFlowsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListContactFlows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlows * @see AWS API * Documentation */ default CompletableFuture listContactFlows( Consumer listContactFlowsRequest) { return listContactFlows(ListContactFlowsRequest.builder().applyMutation(listContactFlowsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)} operation. *

* * @param listContactFlowsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlows * @see AWS API * Documentation */ default ListContactFlowsPublisher listContactFlowsPaginator(ListContactFlowsRequest listContactFlowsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListContactFlowsRequest.Builder} avoiding the need * to create one manually via {@link ListContactFlowsRequest#builder()} *

* * @param listContactFlowsRequest * A {@link Consumer} that will call methods on {@link ListContactFlowsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactFlows * @see AWS API * Documentation */ default ListContactFlowsPublisher listContactFlowsPaginator(Consumer listContactFlowsRequest) { return listContactFlowsPaginator(ListContactFlowsRequest.builder().applyMutation(listContactFlowsRequest).build()); } /** *

* 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. *

* * @param listContactReferencesRequest * @return A Java Future containing the result of the ListContactReferences operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactReferences * @see AWS * API Documentation */ default CompletableFuture listContactReferences( ListContactReferencesRequest listContactReferencesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListContactReferencesRequest.Builder} avoiding the * need to create one manually via {@link ListContactReferencesRequest#builder()} *

* * @param listContactReferencesRequest * A {@link Consumer} that will call methods on {@link ListContactReferencesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListContactReferences operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactReferences * @see AWS * API Documentation */ default CompletableFuture listContactReferences( Consumer listContactReferencesRequest) { return listContactReferences(ListContactReferencesRequest.builder().applyMutation(listContactReferencesRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactReferencesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)} * operation. *

* * @param listContactReferencesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactReferences * @see AWS * API Documentation */ default ListContactReferencesPublisher listContactReferencesPaginator( ListContactReferencesRequest listContactReferencesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactReferencesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListContactReferencesRequest.Builder} avoiding the * need to create one manually via {@link ListContactReferencesRequest#builder()} *

* * @param listContactReferencesRequest * A {@link Consumer} that will call methods on {@link ListContactReferencesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListContactReferences * @see AWS * API Documentation */ default ListContactReferencesPublisher listContactReferencesPaginator( Consumer listContactReferencesRequest) { return listContactReferencesPaginator(ListContactReferencesRequest.builder().applyMutation(listContactReferencesRequest) .build()); } /** *

* Lists the default vocabularies for the specified Amazon Connect instance. *

* * @param listDefaultVocabulariesRequest * @return A Java Future containing the result of the ListDefaultVocabularies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListDefaultVocabularies * @see AWS API Documentation */ default CompletableFuture listDefaultVocabularies( ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the default vocabularies for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link ListDefaultVocabulariesRequest.Builder} avoiding * the need to create one manually via {@link ListDefaultVocabulariesRequest#builder()} *

* * @param listDefaultVocabulariesRequest * A {@link Consumer} that will call methods on {@link ListDefaultVocabulariesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListDefaultVocabularies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListDefaultVocabularies * @see AWS API Documentation */ default CompletableFuture listDefaultVocabularies( Consumer listDefaultVocabulariesRequest) { return listDefaultVocabularies(ListDefaultVocabulariesRequest.builder().applyMutation(listDefaultVocabulariesRequest) .build()); } /** *

* Lists the default vocabularies for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)} * operation. *

* * @param listDefaultVocabulariesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListDefaultVocabularies * @see AWS API Documentation */ default ListDefaultVocabulariesPublisher listDefaultVocabulariesPaginator( ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the default vocabularies for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListDefaultVocabulariesRequest.Builder} avoiding * the need to create one manually via {@link ListDefaultVocabulariesRequest#builder()} *

* * @param listDefaultVocabulariesRequest * A {@link Consumer} that will call methods on {@link ListDefaultVocabulariesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListDefaultVocabularies * @see AWS API Documentation */ default ListDefaultVocabulariesPublisher listDefaultVocabulariesPaginator( Consumer listDefaultVocabulariesRequest) { return listDefaultVocabulariesPaginator(ListDefaultVocabulariesRequest.builder() .applyMutation(listDefaultVocabulariesRequest).build()); } /** *

* 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. *

* * @param listHoursOfOperationsRequest * @return A Java Future containing the result of the ListHoursOfOperations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListHoursOfOperations * @see AWS * API Documentation */ default CompletableFuture listHoursOfOperations( ListHoursOfOperationsRequest listHoursOfOperationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListHoursOfOperationsRequest.Builder} avoiding the * need to create one manually via {@link ListHoursOfOperationsRequest#builder()} *

* * @param listHoursOfOperationsRequest * A {@link Consumer} that will call methods on {@link ListHoursOfOperationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListHoursOfOperations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListHoursOfOperations * @see AWS * API Documentation */ default CompletableFuture listHoursOfOperations( Consumer listHoursOfOperationsRequest) { return listHoursOfOperations(ListHoursOfOperationsRequest.builder().applyMutation(listHoursOfOperationsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)} * operation. *

* * @param listHoursOfOperationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListHoursOfOperations * @see AWS * API Documentation */ default ListHoursOfOperationsPublisher listHoursOfOperationsPaginator( ListHoursOfOperationsRequest listHoursOfOperationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListHoursOfOperationsRequest.Builder} avoiding the * need to create one manually via {@link ListHoursOfOperationsRequest#builder()} *

* * @param listHoursOfOperationsRequest * A {@link Consumer} that will call methods on {@link ListHoursOfOperationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListHoursOfOperations * @see AWS * API Documentation */ default ListHoursOfOperationsPublisher listHoursOfOperationsPaginator( Consumer listHoursOfOperationsRequest) { return listHoursOfOperationsPaginator(ListHoursOfOperationsRequest.builder().applyMutation(listHoursOfOperationsRequest) .build()); } /** *

* 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. *

* * @param listInstanceAttributesRequest * @return A Java Future containing the result of the ListInstanceAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceAttributes * @see AWS API Documentation */ default CompletableFuture listInstanceAttributes( ListInstanceAttributesRequest listInstanceAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListInstanceAttributesRequest.Builder} avoiding the * need to create one manually via {@link ListInstanceAttributesRequest#builder()} *

* * @param listInstanceAttributesRequest * A {@link Consumer} that will call methods on {@link ListInstanceAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListInstanceAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceAttributes * @see AWS API Documentation */ default CompletableFuture listInstanceAttributes( Consumer listInstanceAttributesRequest) { return listInstanceAttributes(ListInstanceAttributesRequest.builder().applyMutation(listInstanceAttributesRequest) .build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)} * operation. *

* * @param listInstanceAttributesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceAttributes * @see AWS API Documentation */ default ListInstanceAttributesPublisher listInstanceAttributesPaginator( ListInstanceAttributesRequest listInstanceAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListInstanceAttributesRequest.Builder} avoiding the * need to create one manually via {@link ListInstanceAttributesRequest#builder()} *

* * @param listInstanceAttributesRequest * A {@link Consumer} that will call methods on {@link ListInstanceAttributesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceAttributes * @see AWS API Documentation */ default ListInstanceAttributesPublisher listInstanceAttributesPaginator( Consumer listInstanceAttributesRequest) { return listInstanceAttributesPaginator(ListInstanceAttributesRequest.builder() .applyMutation(listInstanceAttributesRequest).build()); } /** *

* 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. *

* * @param listInstanceStorageConfigsRequest * @return A Java Future containing the result of the ListInstanceStorageConfigs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default CompletableFuture listInstanceStorageConfigs( ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListInstanceStorageConfigsRequest.Builder} avoiding * the need to create one manually via {@link ListInstanceStorageConfigsRequest#builder()} *

* * @param listInstanceStorageConfigsRequest * A {@link Consumer} that will call methods on {@link ListInstanceStorageConfigsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListInstanceStorageConfigs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default CompletableFuture listInstanceStorageConfigs( Consumer listInstanceStorageConfigsRequest) { return listInstanceStorageConfigs(ListInstanceStorageConfigsRequest.builder() .applyMutation(listInstanceStorageConfigsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)} * operation. *

* * @param listInstanceStorageConfigsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default ListInstanceStorageConfigsPublisher listInstanceStorageConfigsPaginator( ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListInstanceStorageConfigsRequest.Builder} avoiding * the need to create one manually via {@link ListInstanceStorageConfigsRequest#builder()} *

* * @param listInstanceStorageConfigsRequest * A {@link Consumer} that will call methods on {@link ListInstanceStorageConfigsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default ListInstanceStorageConfigsPublisher listInstanceStorageConfigsPaginator( Consumer listInstanceStorageConfigsRequest) { return listInstanceStorageConfigsPaginator(ListInstanceStorageConfigsRequest.builder() .applyMutation(listInstanceStorageConfigsRequest).build()); } /** *

* 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. *

* * @param listInstancesRequest * @return A Java Future containing the result of the ListInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstances * @see AWS API * Documentation */ default CompletableFuture listInstances(ListInstancesRequest listInstancesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListInstancesRequest.Builder} avoiding the need to * create one manually via {@link ListInstancesRequest#builder()} *

* * @param listInstancesRequest * A {@link Consumer} that will call methods on {@link ListInstancesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstances * @see AWS API * Documentation */ default CompletableFuture listInstances(Consumer listInstancesRequest) { return listInstances(ListInstancesRequest.builder().applyMutation(listInstancesRequest).build()); } /** *

* 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. *

*
*

* This is a variant of {@link #listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListInstancesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)} operation. *

* * @param listInstancesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstances * @see AWS API * Documentation */ default ListInstancesPublisher listInstancesPaginator(ListInstancesRequest listInstancesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of {@link #listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListInstancesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListInstancesRequest.Builder} avoiding the need to * create one manually via {@link ListInstancesRequest#builder()} *

* * @param listInstancesRequest * A {@link Consumer} that will call methods on {@link ListInstancesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListInstances * @see AWS API * Documentation */ default ListInstancesPublisher listInstancesPaginator(Consumer listInstancesRequest) { return listInstancesPaginator(ListInstancesRequest.builder().applyMutation(listInstancesRequest).build()); } /** *

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

* * @param listIntegrationAssociationsRequest * @return A Java Future containing the result of the ListIntegrationAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListIntegrationAssociations * @see AWS API Documentation */ default CompletableFuture listIntegrationAssociations( ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link ListIntegrationAssociationsRequest.Builder} * avoiding the need to create one manually via {@link ListIntegrationAssociationsRequest#builder()} *

* * @param listIntegrationAssociationsRequest * A {@link Consumer} that will call methods on {@link ListIntegrationAssociationsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListIntegrationAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListIntegrationAssociations * @see AWS API Documentation */ default CompletableFuture listIntegrationAssociations( Consumer listIntegrationAssociationsRequest) { return listIntegrationAssociations(ListIntegrationAssociationsRequest.builder() .applyMutation(listIntegrationAssociationsRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)} * operation. *

* * @param listIntegrationAssociationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListIntegrationAssociations * @see AWS API Documentation */ default ListIntegrationAssociationsPublisher listIntegrationAssociationsPaginator( ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListIntegrationAssociationsRequest.Builder} * avoiding the need to create one manually via {@link ListIntegrationAssociationsRequest#builder()} *

* * @param listIntegrationAssociationsRequest * A {@link Consumer} that will call methods on {@link ListIntegrationAssociationsRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListIntegrationAssociations * @see AWS API Documentation */ default ListIntegrationAssociationsPublisher listIntegrationAssociationsPaginator( Consumer listIntegrationAssociationsRequest) { return listIntegrationAssociationsPaginator(ListIntegrationAssociationsRequest.builder() .applyMutation(listIntegrationAssociationsRequest).build()); } /** *

* 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. *

* * @param listLambdaFunctionsRequest * @return A Java Future containing the result of the ListLambdaFunctions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLambdaFunctions * @see AWS * API Documentation */ default CompletableFuture listLambdaFunctions( ListLambdaFunctionsRequest listLambdaFunctionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListLambdaFunctionsRequest.Builder} avoiding the * need to create one manually via {@link ListLambdaFunctionsRequest#builder()} *

* * @param listLambdaFunctionsRequest * A {@link Consumer} that will call methods on {@link ListLambdaFunctionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListLambdaFunctions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLambdaFunctions * @see AWS * API Documentation */ default CompletableFuture listLambdaFunctions( Consumer listLambdaFunctionsRequest) { return listLambdaFunctions(ListLambdaFunctionsRequest.builder().applyMutation(listLambdaFunctionsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)} * operation. *

* * @param listLambdaFunctionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLambdaFunctions * @see AWS * API Documentation */ default ListLambdaFunctionsPublisher listLambdaFunctionsPaginator(ListLambdaFunctionsRequest listLambdaFunctionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListLambdaFunctionsRequest.Builder} avoiding the * need to create one manually via {@link ListLambdaFunctionsRequest#builder()} *

* * @param listLambdaFunctionsRequest * A {@link Consumer} that will call methods on {@link ListLambdaFunctionsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLambdaFunctions * @see AWS * API Documentation */ default ListLambdaFunctionsPublisher listLambdaFunctionsPaginator( Consumer listLambdaFunctionsRequest) { return listLambdaFunctionsPaginator(ListLambdaFunctionsRequest.builder().applyMutation(listLambdaFunctionsRequest) .build()); } /** *

* 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. *

* * @param listLexBotsRequest * @return A Java Future containing the result of the ListLexBots operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLexBots * @see AWS API * Documentation */ default CompletableFuture listLexBots(ListLexBotsRequest listLexBotsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListLexBotsRequest.Builder} avoiding the need to * create one manually via {@link ListLexBotsRequest#builder()} *

* * @param listLexBotsRequest * A {@link Consumer} that will call methods on {@link ListLexBotsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListLexBots operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLexBots * @see AWS API * Documentation */ default CompletableFuture listLexBots(Consumer listLexBotsRequest) { return listLexBots(ListLexBotsRequest.builder().applyMutation(listLexBotsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of {@link #listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListLexBotsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)} operation. *

* * @param listLexBotsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLexBots * @see AWS API * Documentation */ default ListLexBotsPublisher listLexBotsPaginator(ListLexBotsRequest listLexBotsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of {@link #listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListLexBotsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListLexBotsRequest.Builder} avoiding the need to * create one manually via {@link ListLexBotsRequest#builder()} *

* * @param listLexBotsRequest * A {@link Consumer} that will call methods on {@link ListLexBotsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListLexBots * @see AWS API * Documentation */ default ListLexBotsPublisher listLexBotsPaginator(Consumer listLexBotsRequest) { return listLexBotsPaginator(ListLexBotsRequest.builder().applyMutation(listLexBotsRequest).build()); } /** *

* 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. *

* *

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

*
* * @param listPhoneNumbersRequest * @return A Java Future containing the result of the ListPhoneNumbers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbers * @see AWS API * Documentation */ default CompletableFuture listPhoneNumbers(ListPhoneNumbersRequest listPhoneNumbersRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

* *

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

*

*

* This is a convenience which creates an instance of the {@link ListPhoneNumbersRequest.Builder} avoiding the need * to create one manually via {@link ListPhoneNumbersRequest#builder()} *

* * @param listPhoneNumbersRequest * A {@link Consumer} that will call methods on {@link ListPhoneNumbersRequest.Builder} to create a request. * @return A Java Future containing the result of the ListPhoneNumbers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbers * @see AWS API * Documentation */ default CompletableFuture listPhoneNumbers( Consumer listPhoneNumbersRequest) { return listPhoneNumbers(ListPhoneNumbersRequest.builder().applyMutation(listPhoneNumbersRequest).build()); } /** *

* 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. *

* *

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

*

*

* This is a variant of * {@link #listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)} operation. *

* * @param listPhoneNumbersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbers * @see AWS API * Documentation */ default ListPhoneNumbersPublisher listPhoneNumbersPaginator(ListPhoneNumbersRequest listPhoneNumbersRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

* *

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

*

*

* This is a variant of * {@link #listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListPhoneNumbersRequest.Builder} avoiding the need * to create one manually via {@link ListPhoneNumbersRequest#builder()} *

* * @param listPhoneNumbersRequest * A {@link Consumer} that will call methods on {@link ListPhoneNumbersRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbers * @see AWS API * Documentation */ default ListPhoneNumbersPublisher listPhoneNumbersPaginator(Consumer listPhoneNumbersRequest) { return listPhoneNumbersPaginator(ListPhoneNumbersRequest.builder().applyMutation(listPhoneNumbersRequest).build()); } /** *

* 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. *

* * @param listPhoneNumbersV2Request * @return A Java Future containing the result of the ListPhoneNumbersV2 operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default CompletableFuture listPhoneNumbersV2(ListPhoneNumbersV2Request listPhoneNumbersV2Request) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListPhoneNumbersV2Request.Builder} avoiding the * need to create one manually via {@link ListPhoneNumbersV2Request#builder()} *

* * @param listPhoneNumbersV2Request * A {@link Consumer} that will call methods on {@link ListPhoneNumbersV2Request.Builder} to create a * request. * @return A Java Future containing the result of the ListPhoneNumbersV2 operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default CompletableFuture listPhoneNumbersV2( Consumer listPhoneNumbersV2Request) { return listPhoneNumbersV2(ListPhoneNumbersV2Request.builder().applyMutation(listPhoneNumbersV2Request).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)} * operation. *

* * @param listPhoneNumbersV2Request * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default ListPhoneNumbersV2Publisher listPhoneNumbersV2Paginator(ListPhoneNumbersV2Request listPhoneNumbersV2Request) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListPhoneNumbersV2Request.Builder} avoiding the * need to create one manually via {@link ListPhoneNumbersV2Request#builder()} *

* * @param listPhoneNumbersV2Request * A {@link Consumer} that will call methods on {@link ListPhoneNumbersV2Request.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default ListPhoneNumbersV2Publisher listPhoneNumbersV2Paginator( Consumer listPhoneNumbersV2Request) { return listPhoneNumbersV2Paginator(ListPhoneNumbersV2Request.builder().applyMutation(listPhoneNumbersV2Request).build()); } /** *

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

* * @param listPromptsRequest * @return A Java Future containing the result of the ListPrompts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPrompts * @see AWS API * Documentation */ default CompletableFuture listPrompts(ListPromptsRequest listPromptsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link ListPromptsRequest.Builder} avoiding the need to * create one manually via {@link ListPromptsRequest#builder()} *

* * @param listPromptsRequest * A {@link Consumer} that will call methods on {@link ListPromptsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListPrompts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPrompts * @see AWS API * Documentation */ default CompletableFuture listPrompts(Consumer listPromptsRequest) { return listPrompts(ListPromptsRequest.builder().applyMutation(listPromptsRequest).build()); } /** *

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

*
*

* This is a variant of {@link #listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPromptsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)} operation. *

* * @param listPromptsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPrompts * @see AWS API * Documentation */ default ListPromptsPublisher listPromptsPaginator(ListPromptsRequest listPromptsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of {@link #listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPromptsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListPromptsRequest.Builder} avoiding the need to * create one manually via {@link ListPromptsRequest#builder()} *

* * @param listPromptsRequest * A {@link Consumer} that will call methods on {@link ListPromptsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListPrompts * @see AWS API * Documentation */ default ListPromptsPublisher listPromptsPaginator(Consumer listPromptsRequest) { return listPromptsPaginator(ListPromptsRequest.builder().applyMutation(listPromptsRequest).build()); } /** *

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

*

* Lists the quick connects associated with a queue. *

* * @param listQueueQuickConnectsRequest * @return A Java Future containing the result of the ListQueueQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueueQuickConnects * @see AWS API Documentation */ default CompletableFuture listQueueQuickConnects( ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the quick connects associated with a queue. *

*
*

* This is a convenience which creates an instance of the {@link ListQueueQuickConnectsRequest.Builder} avoiding the * need to create one manually via {@link ListQueueQuickConnectsRequest#builder()} *

* * @param listQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQueueQuickConnectsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListQueueQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueueQuickConnects * @see AWS API Documentation */ default CompletableFuture listQueueQuickConnects( Consumer listQueueQuickConnectsRequest) { return listQueueQuickConnects(ListQueueQuickConnectsRequest.builder().applyMutation(listQueueQuickConnectsRequest) .build()); } /** *

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

*

* Lists the quick connects associated with a queue. *

*
*

* This is a variant of * {@link #listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)} * operation. *

* * @param listQueueQuickConnectsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueueQuickConnects * @see AWS API Documentation */ default ListQueueQuickConnectsPublisher listQueueQuickConnectsPaginator( ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the quick connects associated with a queue. *

*
*

* This is a variant of * {@link #listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListQueueQuickConnectsRequest.Builder} avoiding the * need to create one manually via {@link ListQueueQuickConnectsRequest#builder()} *

* * @param listQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQueueQuickConnectsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueueQuickConnects * @see AWS API Documentation */ default ListQueueQuickConnectsPublisher listQueueQuickConnectsPaginator( Consumer listQueueQuickConnectsRequest) { return listQueueQuickConnectsPaginator(ListQueueQuickConnectsRequest.builder() .applyMutation(listQueueQuickConnectsRequest).build()); } /** *

* 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. *

* * @param listQueuesRequest * @return A Java Future containing the result of the ListQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueues * @see AWS API * Documentation */ default CompletableFuture listQueues(ListQueuesRequest listQueuesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListQueuesRequest.Builder} avoiding the need to * create one manually via {@link ListQueuesRequest#builder()} *

* * @param listQueuesRequest * A {@link Consumer} that will call methods on {@link ListQueuesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueues * @see AWS API * Documentation */ default CompletableFuture listQueues(Consumer listQueuesRequest) { return listQueues(ListQueuesRequest.builder().applyMutation(listQueuesRequest).build()); } /** *

* 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. *

*
*

* This is a variant of {@link #listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListQueuesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)} operation. *

* * @param listQueuesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueues * @see AWS API * Documentation */ default ListQueuesPublisher listQueuesPaginator(ListQueuesRequest listQueuesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of {@link #listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListQueuesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListQueuesRequest.Builder} avoiding the need to * create one manually via {@link ListQueuesRequest#builder()} *

* * @param listQueuesRequest * A {@link Consumer} that will call methods on {@link ListQueuesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQueues * @see AWS API * Documentation */ default ListQueuesPublisher listQueuesPaginator(Consumer listQueuesRequest) { return listQueuesPaginator(ListQueuesRequest.builder().applyMutation(listQueuesRequest).build()); } /** *

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

* * @param listQuickConnectsRequest * @return A Java Future containing the result of the ListQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQuickConnects * @see AWS API * Documentation */ default CompletableFuture listQuickConnects(ListQuickConnectsRequest listQuickConnectsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link ListQuickConnectsRequest.Builder} avoiding the need * to create one manually via {@link ListQuickConnectsRequest#builder()} *

* * @param listQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQuickConnectsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQuickConnects * @see AWS API * Documentation */ default CompletableFuture listQuickConnects( Consumer listQuickConnectsRequest) { return listQuickConnects(ListQuickConnectsRequest.builder().applyMutation(listQuickConnectsRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)} operation. *

* * @param listQuickConnectsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQuickConnects * @see AWS API * Documentation */ default ListQuickConnectsPublisher listQuickConnectsPaginator(ListQuickConnectsRequest listQuickConnectsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListQuickConnectsRequest.Builder} avoiding the need * to create one manually via {@link ListQuickConnectsRequest#builder()} *

* * @param listQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQuickConnectsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListQuickConnects * @see AWS API * Documentation */ default ListQuickConnectsPublisher listQuickConnectsPaginator( Consumer listQuickConnectsRequest) { return listQuickConnectsPaginator(ListQuickConnectsRequest.builder().applyMutation(listQuickConnectsRequest).build()); } /** *

* Lists the queues associated with a routing profile. *

* * @param listRoutingProfileQueuesRequest * @return A Java Future containing the result of the ListRoutingProfileQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture listRoutingProfileQueues( ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the queues associated with a routing profile. *

*
*

* This is a convenience which creates an instance of the {@link ListRoutingProfileQueuesRequest.Builder} avoiding * the need to create one manually via {@link ListRoutingProfileQueuesRequest#builder()} *

* * @param listRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfileQueuesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListRoutingProfileQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture listRoutingProfileQueues( Consumer listRoutingProfileQueuesRequest) { return listRoutingProfileQueues(ListRoutingProfileQueuesRequest.builder().applyMutation(listRoutingProfileQueuesRequest) .build()); } /** *

* Lists the queues associated with a routing profile. *

*
*

* This is a variant of * {@link #listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)} * operation. *

* * @param listRoutingProfileQueuesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfileQueues * @see AWS API Documentation */ default ListRoutingProfileQueuesPublisher listRoutingProfileQueuesPaginator( ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the queues associated with a routing profile. *

*
*

* This is a variant of * {@link #listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListRoutingProfileQueuesRequest.Builder} avoiding * the need to create one manually via {@link ListRoutingProfileQueuesRequest#builder()} *

* * @param listRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfileQueuesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfileQueues * @see AWS API Documentation */ default ListRoutingProfileQueuesPublisher listRoutingProfileQueuesPaginator( Consumer listRoutingProfileQueuesRequest) { return listRoutingProfileQueuesPaginator(ListRoutingProfileQueuesRequest.builder() .applyMutation(listRoutingProfileQueuesRequest).build()); } /** *

* 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. *

* * @param listRoutingProfilesRequest * @return A Java Future containing the result of the ListRoutingProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfiles * @see AWS * API Documentation */ default CompletableFuture listRoutingProfiles( ListRoutingProfilesRequest listRoutingProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListRoutingProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListRoutingProfilesRequest#builder()} *

* * @param listRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfilesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListRoutingProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfiles * @see AWS * API Documentation */ default CompletableFuture listRoutingProfiles( Consumer listRoutingProfilesRequest) { return listRoutingProfiles(ListRoutingProfilesRequest.builder().applyMutation(listRoutingProfilesRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)} * operation. *

* * @param listRoutingProfilesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfiles * @see AWS * API Documentation */ default ListRoutingProfilesPublisher listRoutingProfilesPaginator(ListRoutingProfilesRequest listRoutingProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListRoutingProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListRoutingProfilesRequest#builder()} *

* * @param listRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfilesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRoutingProfiles * @see AWS * API Documentation */ default ListRoutingProfilesPublisher listRoutingProfilesPaginator( Consumer listRoutingProfilesRequest) { return listRoutingProfilesPaginator(ListRoutingProfilesRequest.builder().applyMutation(listRoutingProfilesRequest) .build()); } /** *

* List all rules for the specified Amazon Connect instance. *

* * @param listRulesRequest * @return A Java Future containing the result of the ListRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRules * @see AWS API * Documentation */ default CompletableFuture listRules(ListRulesRequest listRulesRequest) { throw new UnsupportedOperationException(); } /** *

* List all rules for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link ListRulesRequest.Builder} avoiding the need to * create one manually via {@link ListRulesRequest#builder()} *

* * @param listRulesRequest * A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRules * @see AWS API * Documentation */ default CompletableFuture listRules(Consumer listRulesRequest) { return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build()); } /** *

* List all rules for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRulesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)} operation. *

* * @param listRulesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRules * @see AWS API * Documentation */ default ListRulesPublisher listRulesPaginator(ListRulesRequest listRulesRequest) { throw new UnsupportedOperationException(); } /** *

* List all rules for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRulesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListRulesRequest.Builder} avoiding the need to * create one manually via {@link ListRulesRequest#builder()} *

* * @param listRulesRequest * A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRules * @see AWS API * Documentation */ default ListRulesPublisher listRulesPaginator(Consumer listRulesRequest) { return listRulesPaginator(ListRulesRequest.builder().applyMutation(listRulesRequest).build()); } /** *

* 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. *

* * @param listSecurityKeysRequest * @return A Java Future containing the result of the ListSecurityKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityKeys * @see AWS API * Documentation */ default CompletableFuture listSecurityKeys(ListSecurityKeysRequest listSecurityKeysRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityKeysRequest.Builder} avoiding the need * to create one manually via {@link ListSecurityKeysRequest#builder()} *

* * @param listSecurityKeysRequest * A {@link Consumer} that will call methods on {@link ListSecurityKeysRequest.Builder} to create a request. * @return A Java Future containing the result of the ListSecurityKeys operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityKeys * @see AWS API * Documentation */ default CompletableFuture listSecurityKeys( Consumer listSecurityKeysRequest) { return listSecurityKeys(ListSecurityKeysRequest.builder().applyMutation(listSecurityKeysRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)} operation. *

* * @param listSecurityKeysRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityKeys * @see AWS API * Documentation */ default ListSecurityKeysPublisher listSecurityKeysPaginator(ListSecurityKeysRequest listSecurityKeysRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListSecurityKeysRequest.Builder} avoiding the need * to create one manually via {@link ListSecurityKeysRequest#builder()} *

* * @param listSecurityKeysRequest * A {@link Consumer} that will call methods on {@link ListSecurityKeysRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityKeys * @see AWS API * Documentation */ default ListSecurityKeysPublisher listSecurityKeysPaginator(Consumer listSecurityKeysRequest) { return listSecurityKeysPaginator(ListSecurityKeysRequest.builder().applyMutation(listSecurityKeysRequest).build()); } /** *

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

*

* Lists the permissions granted to a security profile. *

* * @param listSecurityProfilePermissionsRequest * @return A Java Future containing the result of the ListSecurityProfilePermissions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default CompletableFuture listSecurityProfilePermissions( ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the permissions granted to a security profile. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityProfilePermissionsRequest.Builder} * avoiding the need to create one manually via {@link ListSecurityProfilePermissionsRequest#builder()} *

* * @param listSecurityProfilePermissionsRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilePermissionsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListSecurityProfilePermissions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default CompletableFuture listSecurityProfilePermissions( Consumer listSecurityProfilePermissionsRequest) { return listSecurityProfilePermissions(ListSecurityProfilePermissionsRequest.builder() .applyMutation(listSecurityProfilePermissionsRequest).build()); } /** *

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

*

* Lists the permissions granted to a security profile. *

*
*

* This is a variant of * {@link #listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)} * operation. *

* * @param listSecurityProfilePermissionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default ListSecurityProfilePermissionsPublisher listSecurityProfilePermissionsPaginator( ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the permissions granted to a security profile. *

*
*

* This is a variant of * {@link #listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListSecurityProfilePermissionsRequest.Builder} * avoiding the need to create one manually via {@link ListSecurityProfilePermissionsRequest#builder()} *

* * @param listSecurityProfilePermissionsRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilePermissionsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default ListSecurityProfilePermissionsPublisher listSecurityProfilePermissionsPaginator( Consumer listSecurityProfilePermissionsRequest) { return listSecurityProfilePermissionsPaginator(ListSecurityProfilePermissionsRequest.builder() .applyMutation(listSecurityProfilePermissionsRequest).build()); } /** *

* 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. *

* * @param listSecurityProfilesRequest * @return A Java Future containing the result of the ListSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfiles * @see AWS * API Documentation */ default CompletableFuture listSecurityProfiles( ListSecurityProfilesRequest listSecurityProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListSecurityProfilesRequest#builder()} *

* * @param listSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfiles * @see AWS * API Documentation */ default CompletableFuture listSecurityProfiles( Consumer listSecurityProfilesRequest) { return listSecurityProfiles(ListSecurityProfilesRequest.builder().applyMutation(listSecurityProfilesRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)} * operation. *

* * @param listSecurityProfilesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfiles * @see AWS * API Documentation */ default ListSecurityProfilesPublisher listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListSecurityProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListSecurityProfilesRequest#builder()} *

* * @param listSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListSecurityProfiles * @see AWS * API Documentation */ default ListSecurityProfilesPublisher listSecurityProfilesPaginator( Consumer listSecurityProfilesRequest) { return listSecurityProfilesPaginator(ListSecurityProfilesRequest.builder().applyMutation(listSecurityProfilesRequest) .build()); } /** *

* 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. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTagsForResource * @see AWS * API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTagsForResource * @see AWS * API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Lists task templates for the specified Amazon Connect instance. *

* * @param listTaskTemplatesRequest * @return A Java Future containing the result of the ListTaskTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTaskTemplates * @see AWS API * Documentation */ default CompletableFuture listTaskTemplates(ListTaskTemplatesRequest listTaskTemplatesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists task templates for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link ListTaskTemplatesRequest.Builder} avoiding the need * to create one manually via {@link ListTaskTemplatesRequest#builder()} *

* * @param listTaskTemplatesRequest * A {@link Consumer} that will call methods on {@link ListTaskTemplatesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListTaskTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTaskTemplates * @see AWS API * Documentation */ default CompletableFuture listTaskTemplates( Consumer listTaskTemplatesRequest) { return listTaskTemplates(ListTaskTemplatesRequest.builder().applyMutation(listTaskTemplatesRequest).build()); } /** *

* Lists task templates for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)} operation. *

* * @param listTaskTemplatesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTaskTemplates * @see AWS API * Documentation */ default ListTaskTemplatesPublisher listTaskTemplatesPaginator(ListTaskTemplatesRequest listTaskTemplatesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists task templates for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListTaskTemplatesRequest.Builder} avoiding the need * to create one manually via {@link ListTaskTemplatesRequest#builder()} *

* * @param listTaskTemplatesRequest * A {@link Consumer} that will call methods on {@link ListTaskTemplatesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTaskTemplates * @see AWS API * Documentation */ default ListTaskTemplatesPublisher listTaskTemplatesPaginator( Consumer listTaskTemplatesRequest) { return listTaskTemplatesPaginator(ListTaskTemplatesRequest.builder().applyMutation(listTaskTemplatesRequest).build()); } /** *

* Lists traffic distribution groups. *

* * @param listTrafficDistributionGroupsRequest * @return A Java Future containing the result of the ListTrafficDistributionGroups operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default CompletableFuture listTrafficDistributionGroups( ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists traffic distribution groups. *

*
*

* This is a convenience which creates an instance of the {@link ListTrafficDistributionGroupsRequest.Builder} * avoiding the need to create one manually via {@link ListTrafficDistributionGroupsRequest#builder()} *

* * @param listTrafficDistributionGroupsRequest * A {@link Consumer} that will call methods on {@link ListTrafficDistributionGroupsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListTrafficDistributionGroups operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default CompletableFuture listTrafficDistributionGroups( Consumer listTrafficDistributionGroupsRequest) { return listTrafficDistributionGroups(ListTrafficDistributionGroupsRequest.builder() .applyMutation(listTrafficDistributionGroupsRequest).build()); } /** *

* Lists traffic distribution groups. *

*
*

* This is a variant of * {@link #listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)} * operation. *

* * @param listTrafficDistributionGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default ListTrafficDistributionGroupsPublisher listTrafficDistributionGroupsPaginator( ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists traffic distribution groups. *

*
*

* This is a variant of * {@link #listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTrafficDistributionGroupsRequest.Builder} * avoiding the need to create one manually via {@link ListTrafficDistributionGroupsRequest#builder()} *

* * @param listTrafficDistributionGroupsRequest * A {@link Consumer} that will call methods on {@link ListTrafficDistributionGroupsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default ListTrafficDistributionGroupsPublisher listTrafficDistributionGroupsPaginator( Consumer listTrafficDistributionGroupsRequest) { return listTrafficDistributionGroupsPaginator(ListTrafficDistributionGroupsRequest.builder() .applyMutation(listTrafficDistributionGroupsRequest).build()); } /** *

* Lists the use cases for the integration association. *

* * @param listUseCasesRequest * Provides summary information about the use cases for the specified integration association. * @return A Java Future containing the result of the ListUseCases operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUseCases * @see AWS API * Documentation */ default CompletableFuture listUseCases(ListUseCasesRequest listUseCasesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the use cases for the integration association. *

*
*

* This is a convenience which creates an instance of the {@link ListUseCasesRequest.Builder} avoiding the need to * create one manually via {@link ListUseCasesRequest#builder()} *

* * @param listUseCasesRequest * A {@link Consumer} that will call methods on {@link ListUseCasesRequest.Builder} to create a request. * Provides summary information about the use cases for the specified integration association. * @return A Java Future containing the result of the ListUseCases operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUseCases * @see AWS API * Documentation */ default CompletableFuture listUseCases(Consumer listUseCasesRequest) { return listUseCases(ListUseCasesRequest.builder().applyMutation(listUseCasesRequest).build()); } /** *

* Lists the use cases for the integration association. *

*
*

* This is a variant of {@link #listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUseCasesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)} operation. *

* * @param listUseCasesRequest * Provides summary information about the use cases for the specified integration association. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUseCases * @see AWS API * Documentation */ default ListUseCasesPublisher listUseCasesPaginator(ListUseCasesRequest listUseCasesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the use cases for the integration association. *

*
*

* This is a variant of {@link #listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUseCasesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListUseCasesRequest.Builder} avoiding the need to * create one manually via {@link ListUseCasesRequest#builder()} *

* * @param listUseCasesRequest * A {@link Consumer} that will call methods on {@link ListUseCasesRequest.Builder} to create a request. * Provides summary information about the use cases for the specified integration association. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUseCases * @see AWS API * Documentation */ default ListUseCasesPublisher listUseCasesPaginator(Consumer listUseCasesRequest) { return listUseCasesPaginator(ListUseCasesRequest.builder().applyMutation(listUseCasesRequest).build()); } /** *

* 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. *

* * @param listUserHierarchyGroupsRequest * @return A Java Future containing the result of the ListUserHierarchyGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUserHierarchyGroups * @see AWS API Documentation */ default CompletableFuture listUserHierarchyGroups( ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListUserHierarchyGroupsRequest.Builder} avoiding * the need to create one manually via {@link ListUserHierarchyGroupsRequest#builder()} *

* * @param listUserHierarchyGroupsRequest * A {@link Consumer} that will call methods on {@link ListUserHierarchyGroupsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListUserHierarchyGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUserHierarchyGroups * @see AWS API Documentation */ default CompletableFuture listUserHierarchyGroups( Consumer listUserHierarchyGroupsRequest) { return listUserHierarchyGroups(ListUserHierarchyGroupsRequest.builder().applyMutation(listUserHierarchyGroupsRequest) .build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)} * operation. *

* * @param listUserHierarchyGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUserHierarchyGroups * @see AWS API Documentation */ default ListUserHierarchyGroupsPublisher listUserHierarchyGroupsPaginator( ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a variant of * {@link #listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListUserHierarchyGroupsRequest.Builder} avoiding * the need to create one manually via {@link ListUserHierarchyGroupsRequest#builder()} *

* * @param listUserHierarchyGroupsRequest * A {@link Consumer} that will call methods on {@link ListUserHierarchyGroupsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUserHierarchyGroups * @see AWS API Documentation */ default ListUserHierarchyGroupsPublisher listUserHierarchyGroupsPaginator( Consumer listUserHierarchyGroupsRequest) { return listUserHierarchyGroupsPaginator(ListUserHierarchyGroupsRequest.builder() .applyMutation(listUserHierarchyGroupsRequest).build()); } /** *

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

* * @param listUsersRequest * @return A Java Future containing the result of the ListUsers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUsers * @see AWS API * Documentation */ default CompletableFuture listUsers(ListUsersRequest listUsersRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link ListUsersRequest.Builder} avoiding the need to * create one manually via {@link ListUsersRequest#builder()} *

* * @param listUsersRequest * A {@link Consumer} that will call methods on {@link ListUsersRequest.Builder} to create a request. * @return A Java Future containing the result of the ListUsers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUsers * @see AWS API * Documentation */ default CompletableFuture listUsers(Consumer listUsersRequest) { return listUsers(ListUsersRequest.builder().applyMutation(listUsersRequest).build()); } /** *

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

*
*

* This is a variant of {@link #listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUsersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)} operation. *

* * @param listUsersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUsers * @see AWS API * Documentation */ default ListUsersPublisher listUsersPaginator(ListUsersRequest listUsersRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of {@link #listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUsersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListUsersRequest.Builder} avoiding the need to * create one manually via {@link ListUsersRequest#builder()} *

* * @param listUsersRequest * A {@link Consumer} that will call methods on {@link ListUsersRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListUsers * @see AWS API * Documentation */ default ListUsersPublisher listUsersPaginator(Consumer listUsersRequest) { return listUsersPaginator(ListUsersRequest.builder().applyMutation(listUsersRequest).build()); } /** *

* 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. *

* * @param monitorContactRequest * @return A Java Future containing the result of the MonitorContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.MonitorContact * @see AWS API * Documentation */ default CompletableFuture monitorContact(MonitorContactRequest monitorContactRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link MonitorContactRequest.Builder} avoiding the need to * create one manually via {@link MonitorContactRequest#builder()} *

* * @param monitorContactRequest * A {@link Consumer} that will call methods on {@link MonitorContactRequest.Builder} to create a request. * @return A Java Future containing the result of the MonitorContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.MonitorContact * @see AWS API * Documentation */ default CompletableFuture monitorContact(Consumer monitorContactRequest) { return monitorContact(MonitorContactRequest.builder().applyMutation(monitorContactRequest).build()); } /** *

* 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. *

* * @param putUserStatusRequest * @return A Java Future containing the result of the PutUserStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.PutUserStatus * @see AWS API * Documentation */ default CompletableFuture putUserStatus(PutUserStatusRequest putUserStatusRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link PutUserStatusRequest.Builder} avoiding the need to * create one manually via {@link PutUserStatusRequest#builder()} *

* * @param putUserStatusRequest * A {@link Consumer} that will call methods on {@link PutUserStatusRequest.Builder} to create a request. * @return A Java Future containing the result of the PutUserStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.PutUserStatus * @see AWS API * Documentation */ default CompletableFuture putUserStatus(Consumer putUserStatusRequest) { return putUserStatus(PutUserStatusRequest.builder().applyMutation(putUserStatusRequest).build()); } /** *

* 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 console. *

*

* After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched * for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web * Services Support. *

*
* * @param releasePhoneNumberRequest * @return A Java Future containing the result of the ReleasePhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ReleasePhoneNumber * @see AWS * API Documentation */ default CompletableFuture releasePhoneNumber(ReleasePhoneNumberRequest releasePhoneNumberRequest) { throw new UnsupportedOperationException(); } /** *

* 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 console. *

*

* After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched * for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web * Services Support. *

*

*

* This is a convenience which creates an instance of the {@link ReleasePhoneNumberRequest.Builder} avoiding the * need to create one manually via {@link ReleasePhoneNumberRequest#builder()} *

* * @param releasePhoneNumberRequest * A {@link Consumer} that will call methods on {@link ReleasePhoneNumberRequest.Builder} to create a * request. * @return A Java Future containing the result of the ReleasePhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ReleasePhoneNumber * @see AWS * API Documentation */ default CompletableFuture releasePhoneNumber( Consumer releasePhoneNumberRequest) { return releasePhoneNumber(ReleasePhoneNumberRequest.builder().applyMutation(releasePhoneNumberRequest).build()); } /** *

* Replicates an Amazon Connect instance in the specified Amazon Web Services Region. *

*

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

* * @param replicateInstanceRequest * @return A Java Future containing the result of the ReplicateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ReplicateInstance * @see AWS API * Documentation */ default CompletableFuture replicateInstance(ReplicateInstanceRequest replicateInstanceRequest) { throw new UnsupportedOperationException(); } /** *

* Replicates an Amazon Connect instance in the specified Amazon Web Services Region. *

*

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

*
*

* This is a convenience which creates an instance of the {@link ReplicateInstanceRequest.Builder} avoiding the need * to create one manually via {@link ReplicateInstanceRequest#builder()} *

* * @param replicateInstanceRequest * A {@link Consumer} that will call methods on {@link ReplicateInstanceRequest.Builder} to create a request. * @return A Java Future containing the result of the ReplicateInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ReplicateInstance * @see AWS API * Documentation */ default CompletableFuture replicateInstance( Consumer replicateInstanceRequest) { return replicateInstance(ReplicateInstanceRequest.builder().applyMutation(replicateInstanceRequest).build()); } /** *

* 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. *

* * @param resumeContactRecordingRequest * @return A Java Future containing the result of the ResumeContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ResumeContactRecording * @see AWS API Documentation */ default CompletableFuture resumeContactRecording( ResumeContactRecordingRequest resumeContactRecordingRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ResumeContactRecordingRequest.Builder} avoiding the * need to create one manually via {@link ResumeContactRecordingRequest#builder()} *

* * @param resumeContactRecordingRequest * A {@link Consumer} that will call methods on {@link ResumeContactRecordingRequest.Builder} to create a * request. * @return A Java Future containing the result of the ResumeContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ResumeContactRecording * @see AWS API Documentation */ default CompletableFuture resumeContactRecording( Consumer resumeContactRecordingRequest) { return resumeContactRecording(ResumeContactRecordingRequest.builder().applyMutation(resumeContactRecordingRequest) .build()); } /** *

* 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. *

* * @param searchAvailablePhoneNumbersRequest * @return A Java Future containing the result of the SearchAvailablePhoneNumbers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default CompletableFuture searchAvailablePhoneNumbers( SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link SearchAvailablePhoneNumbersRequest.Builder} * avoiding the need to create one manually via {@link SearchAvailablePhoneNumbersRequest#builder()} *

* * @param searchAvailablePhoneNumbersRequest * A {@link Consumer} that will call methods on {@link SearchAvailablePhoneNumbersRequest.Builder} to create * a request. * @return A Java Future containing the result of the SearchAvailablePhoneNumbers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default CompletableFuture searchAvailablePhoneNumbers( Consumer searchAvailablePhoneNumbersRequest) { return searchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest.builder() .applyMutation(searchAvailablePhoneNumbersRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)} * operation. *

* * @param searchAvailablePhoneNumbersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default SearchAvailablePhoneNumbersPublisher searchAvailablePhoneNumbersPaginator( SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link SearchAvailablePhoneNumbersRequest.Builder} * avoiding the need to create one manually via {@link SearchAvailablePhoneNumbersRequest#builder()} *

* * @param searchAvailablePhoneNumbersRequest * A {@link Consumer} that will call methods on {@link SearchAvailablePhoneNumbersRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default SearchAvailablePhoneNumbersPublisher searchAvailablePhoneNumbersPaginator( Consumer searchAvailablePhoneNumbersRequest) { return searchAvailablePhoneNumbersPaginator(SearchAvailablePhoneNumbersRequest.builder() .applyMutation(searchAvailablePhoneNumbersRequest).build()); } /** *

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

*

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

* * @param searchQueuesRequest * @return A Java Future containing the result of the SearchQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchQueues * @see AWS API * Documentation */ default CompletableFuture searchQueues(SearchQueuesRequest searchQueuesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a convenience which creates an instance of the {@link SearchQueuesRequest.Builder} avoiding the need to * create one manually via {@link SearchQueuesRequest#builder()} *

* * @param searchQueuesRequest * A {@link Consumer} that will call methods on {@link SearchQueuesRequest.Builder} to create a request. * @return A Java Future containing the result of the SearchQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchQueues * @see AWS API * Documentation */ default CompletableFuture searchQueues(Consumer searchQueuesRequest) { return searchQueues(SearchQueuesRequest.builder().applyMutation(searchQueuesRequest).build()); } /** *

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

*

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

*
*

* This is a variant of {@link #searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchQueuesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)} operation. *

* * @param searchQueuesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchQueues * @see AWS API * Documentation */ default SearchQueuesPublisher searchQueuesPaginator(SearchQueuesRequest searchQueuesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a variant of {@link #searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchQueuesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link SearchQueuesRequest.Builder} avoiding the need to * create one manually via {@link SearchQueuesRequest#builder()} *

* * @param searchQueuesRequest * A {@link Consumer} that will call methods on {@link SearchQueuesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchQueues * @see AWS API * Documentation */ default SearchQueuesPublisher searchQueuesPaginator(Consumer searchQueuesRequest) { return searchQueuesPaginator(SearchQueuesRequest.builder().applyMutation(searchQueuesRequest).build()); } /** *

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

*

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

* * @param searchRoutingProfilesRequest * @return A Java Future containing the result of the SearchRoutingProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchRoutingProfiles * @see AWS * API Documentation */ default CompletableFuture searchRoutingProfiles( SearchRoutingProfilesRequest searchRoutingProfilesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a convenience which creates an instance of the {@link SearchRoutingProfilesRequest.Builder} avoiding the * need to create one manually via {@link SearchRoutingProfilesRequest#builder()} *

* * @param searchRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link SearchRoutingProfilesRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchRoutingProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchRoutingProfiles * @see AWS * API Documentation */ default CompletableFuture searchRoutingProfiles( Consumer searchRoutingProfilesRequest) { return searchRoutingProfiles(SearchRoutingProfilesRequest.builder().applyMutation(searchRoutingProfilesRequest).build()); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)} * operation. *

* * @param searchRoutingProfilesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchRoutingProfiles * @see AWS * API Documentation */ default SearchRoutingProfilesPublisher searchRoutingProfilesPaginator( SearchRoutingProfilesRequest searchRoutingProfilesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link SearchRoutingProfilesRequest.Builder} avoiding the * need to create one manually via {@link SearchRoutingProfilesRequest#builder()} *

* * @param searchRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link SearchRoutingProfilesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchRoutingProfiles * @see AWS * API Documentation */ default SearchRoutingProfilesPublisher searchRoutingProfilesPaginator( Consumer searchRoutingProfilesRequest) { return searchRoutingProfilesPaginator(SearchRoutingProfilesRequest.builder().applyMutation(searchRoutingProfilesRequest) .build()); } /** *

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

*

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

* * @param searchSecurityProfilesRequest * @return A Java Future containing the result of the SearchSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchSecurityProfiles * @see AWS API Documentation */ default CompletableFuture searchSecurityProfiles( SearchSecurityProfilesRequest searchSecurityProfilesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a convenience which creates an instance of the {@link SearchSecurityProfilesRequest.Builder} avoiding the * need to create one manually via {@link SearchSecurityProfilesRequest#builder()} *

* * @param searchSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link SearchSecurityProfilesRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchSecurityProfiles * @see AWS API Documentation */ default CompletableFuture searchSecurityProfiles( Consumer searchSecurityProfilesRequest) { return searchSecurityProfiles(SearchSecurityProfilesRequest.builder().applyMutation(searchSecurityProfilesRequest) .build()); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)} * operation. *

* * @param searchSecurityProfilesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchSecurityProfiles * @see AWS API Documentation */ default SearchSecurityProfilesPublisher searchSecurityProfilesPaginator( SearchSecurityProfilesRequest searchSecurityProfilesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link SearchSecurityProfilesRequest.Builder} avoiding the * need to create one manually via {@link SearchSecurityProfilesRequest#builder()} *

* * @param searchSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link SearchSecurityProfilesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchSecurityProfiles * @see AWS API Documentation */ default SearchSecurityProfilesPublisher searchSecurityProfilesPaginator( Consumer searchSecurityProfilesRequest) { return searchSecurityProfilesPaginator(SearchSecurityProfilesRequest.builder() .applyMutation(searchSecurityProfilesRequest).build()); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*
* * @param searchUsersRequest * @return A Java Future containing the result of the SearchUsers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchUsers * @see AWS API * Documentation */ default CompletableFuture searchUsers(SearchUsersRequest searchUsersRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*

*

* This is a convenience which creates an instance of the {@link SearchUsersRequest.Builder} avoiding the need to * create one manually via {@link SearchUsersRequest#builder()} *

* * @param searchUsersRequest * A {@link Consumer} that will call methods on {@link SearchUsersRequest.Builder} to create a request. * @return A Java Future containing the result of the SearchUsers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchUsers * @see AWS API * Documentation */ default CompletableFuture searchUsers(Consumer searchUsersRequest) { return searchUsers(SearchUsersRequest.builder().applyMutation(searchUsersRequest).build()); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*

*

* This is a variant of {@link #searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchUsersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)} operation. *

* * @param searchUsersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchUsers * @see AWS API * Documentation */ default SearchUsersPublisher searchUsersPaginator(SearchUsersRequest searchUsersRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*

*

* This is a variant of {@link #searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchUsersResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link SearchUsersRequest.Builder} avoiding the need to * create one manually via {@link SearchUsersRequest#builder()} *

* * @param searchUsersRequest * A {@link Consumer} that will call methods on {@link SearchUsersRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchUsers * @see AWS API * Documentation */ default SearchUsersPublisher searchUsersPaginator(Consumer searchUsersRequest) { return searchUsersPaginator(SearchUsersRequest.builder().applyMutation(searchUsersRequest).build()); } /** *

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

* * @param searchVocabulariesRequest * @return A Java Future containing the result of the SearchVocabularies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchVocabularies * @see AWS * API Documentation */ default CompletableFuture searchVocabularies(SearchVocabulariesRequest searchVocabulariesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link SearchVocabulariesRequest.Builder} avoiding the * need to create one manually via {@link SearchVocabulariesRequest#builder()} *

* * @param searchVocabulariesRequest * A {@link Consumer} that will call methods on {@link SearchVocabulariesRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchVocabularies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchVocabularies * @see AWS * API Documentation */ default CompletableFuture searchVocabularies( Consumer searchVocabulariesRequest) { return searchVocabularies(SearchVocabulariesRequest.builder().applyMutation(searchVocabulariesRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)} * operation. *

* * @param searchVocabulariesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchVocabularies * @see AWS * API Documentation */ default SearchVocabulariesPublisher searchVocabulariesPaginator(SearchVocabulariesRequest searchVocabulariesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link SearchVocabulariesRequest.Builder} avoiding the * need to create one manually via {@link SearchVocabulariesRequest#builder()} *

* * @param searchVocabulariesRequest * A {@link Consumer} that will call methods on {@link SearchVocabulariesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchVocabularies * @see AWS * API Documentation */ default SearchVocabulariesPublisher searchVocabulariesPaginator( Consumer searchVocabulariesRequest) { return searchVocabulariesPaginator(SearchVocabulariesRequest.builder().applyMutation(searchVocabulariesRequest).build()); } /** *

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

*

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

*

* A 429 error occurs in the following situations: *

*
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

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

*

* For more information about chat, see Chat in the Amazon Connect * Administrator Guide. *

* * @param startChatContactRequest * @return A Java Future containing the result of the StartChatContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartChatContact * @see AWS API * Documentation */ default CompletableFuture startChatContact(StartChatContactRequest startChatContactRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*

* A 429 error occurs in the following situations: *

*
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

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

*

* For more information about chat, see Chat in the Amazon Connect * Administrator Guide. *

*
*

* This is a convenience which creates an instance of the {@link StartChatContactRequest.Builder} avoiding the need * to create one manually via {@link StartChatContactRequest#builder()} *

* * @param startChatContactRequest * A {@link Consumer} that will call methods on {@link StartChatContactRequest.Builder} to create a request. * @return A Java Future containing the result of the StartChatContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartChatContact * @see AWS API * Documentation */ default CompletableFuture startChatContact( Consumer startChatContactRequest) { return startChatContact(StartChatContactRequest.builder().applyMutation(startChatContactRequest).build()); } /** *

* 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. *

* * @param startContactRecordingRequest * @return A Java Future containing the result of the StartContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartContactRecording * @see AWS * API Documentation */ default CompletableFuture startContactRecording( StartContactRecordingRequest startContactRecordingRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link StartContactRecordingRequest.Builder} avoiding the * need to create one manually via {@link StartContactRecordingRequest#builder()} *

* * @param startContactRecordingRequest * A {@link Consumer} that will call methods on {@link StartContactRecordingRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartContactRecording * @see AWS * API Documentation */ default CompletableFuture startContactRecording( Consumer startContactRecordingRequest) { return startContactRecording(StartContactRecordingRequest.builder().applyMutation(startContactRecordingRequest).build()); } /** *

* 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. *

* * @param startContactStreamingRequest * @return A Java Future containing the result of the StartContactStreaming operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartContactStreaming * @see AWS * API Documentation */ default CompletableFuture startContactStreaming( StartContactStreamingRequest startContactStreamingRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link StartContactStreamingRequest.Builder} avoiding the * need to create one manually via {@link StartContactStreamingRequest#builder()} *

* * @param startContactStreamingRequest * A {@link Consumer} that will call methods on {@link StartContactStreamingRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartContactStreaming operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartContactStreaming * @see AWS * API Documentation */ default CompletableFuture startContactStreaming( Consumer startContactStreamingRequest) { return startContactStreaming(StartContactStreamingRequest.builder().applyMutation(startContactStreamingRequest).build()); } /** *

* 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. *

*
* * @param startOutboundVoiceContactRequest * @return A Java Future containing the result of the StartOutboundVoiceContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartOutboundVoiceContact * @see AWS API Documentation */ default CompletableFuture startOutboundVoiceContact( StartOutboundVoiceContactRequest startOutboundVoiceContactRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link StartOutboundVoiceContactRequest.Builder} avoiding * the need to create one manually via {@link StartOutboundVoiceContactRequest#builder()} *

* * @param startOutboundVoiceContactRequest * A {@link Consumer} that will call methods on {@link StartOutboundVoiceContactRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartOutboundVoiceContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartOutboundVoiceContact * @see AWS API Documentation */ default CompletableFuture startOutboundVoiceContact( Consumer startOutboundVoiceContactRequest) { return startOutboundVoiceContact(StartOutboundVoiceContactRequest.builder() .applyMutation(startOutboundVoiceContactRequest).build()); } /** *

* Initiates a flow to start a new task. *

* * @param startTaskContactRequest * @return A Java Future containing the result of the StartTaskContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartTaskContact * @see AWS API * Documentation */ default CompletableFuture startTaskContact(StartTaskContactRequest startTaskContactRequest) { throw new UnsupportedOperationException(); } /** *

* Initiates a flow to start a new task. *

*
*

* This is a convenience which creates an instance of the {@link StartTaskContactRequest.Builder} avoiding the need * to create one manually via {@link StartTaskContactRequest#builder()} *

* * @param startTaskContactRequest * A {@link Consumer} that will call methods on {@link StartTaskContactRequest.Builder} to create a request. * @return A Java Future containing the result of the StartTaskContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartTaskContact * @see AWS API * Documentation */ default CompletableFuture startTaskContact( Consumer startTaskContactRequest) { return startTaskContact(StartTaskContactRequest.builder().applyMutation(startTaskContactRequest).build()); } /** *

* Ends the specified contact. This call does not work for the following initiation methods: *

*
    *
  • *

    * DISCONNECT *

    *
  • *
  • *

    * TRANSFER *

    *
  • *
  • *

    * QUEUE_TRANSFER *

    *
  • *
* * @param stopContactRequest * @return A Java Future containing the result of the StopContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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, Task, or Voice Callback.
  • *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StopContact * @see AWS API * Documentation */ default CompletableFuture stopContact(StopContactRequest stopContactRequest) { throw new UnsupportedOperationException(); } /** *

* Ends the specified contact. This call does not work for the following initiation methods: *

*
    *
  • *

    * DISCONNECT *

    *
  • *
  • *

    * TRANSFER *

    *
  • *
  • *

    * QUEUE_TRANSFER *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link StopContactRequest.Builder} avoiding the need to * create one manually via {@link StopContactRequest#builder()} *

* * @param stopContactRequest * A {@link Consumer} that will call methods on {@link StopContactRequest.Builder} to create a request. * @return A Java Future containing the result of the StopContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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, Task, or Voice Callback.
  • *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StopContact * @see AWS API * Documentation */ default CompletableFuture stopContact(Consumer stopContactRequest) { return stopContact(StopContactRequest.builder().applyMutation(stopContactRequest).build()); } /** *

* 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. *

* * @param stopContactRecordingRequest * @return A Java Future containing the result of the StopContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StopContactRecording * @see AWS * API Documentation */ default CompletableFuture stopContactRecording( StopContactRecordingRequest stopContactRecordingRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link StopContactRecordingRequest.Builder} avoiding the * need to create one manually via {@link StopContactRecordingRequest#builder()} *

* * @param stopContactRecordingRequest * A {@link Consumer} that will call methods on {@link StopContactRecordingRequest.Builder} to create a * request. * @return A Java Future containing the result of the StopContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StopContactRecording * @see AWS * API Documentation */ default CompletableFuture stopContactRecording( Consumer stopContactRecordingRequest) { return stopContactRecording(StopContactRecordingRequest.builder().applyMutation(stopContactRecordingRequest).build()); } /** *

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

* * @param stopContactStreamingRequest * @return A Java Future containing the result of the StopContactStreaming operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StopContactStreaming * @see AWS * API Documentation */ default CompletableFuture stopContactStreaming( StopContactStreamingRequest stopContactStreamingRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link StopContactStreamingRequest.Builder} avoiding the * need to create one manually via {@link StopContactStreamingRequest#builder()} *

* * @param stopContactStreamingRequest * A {@link Consumer} that will call methods on {@link StopContactStreamingRequest.Builder} to create a * request. * @return A Java Future containing the result of the StopContactStreaming operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StopContactStreaming * @see AWS * API Documentation */ default CompletableFuture stopContactStreaming( Consumer stopContactStreamingRequest) { return stopContactStreaming(StopContactStreamingRequest.builder().applyMutation(stopContactStreamingRequest).build()); } /** *

* 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. *

* * @param suspendContactRecordingRequest * @return A Java Future containing the result of the SuspendContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SuspendContactRecording * @see AWS API Documentation */ default CompletableFuture suspendContactRecording( SuspendContactRecordingRequest suspendContactRecordingRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link SuspendContactRecordingRequest.Builder} avoiding * the need to create one manually via {@link SuspendContactRecordingRequest#builder()} *

* * @param suspendContactRecordingRequest * A {@link Consumer} that will call methods on {@link SuspendContactRecordingRequest.Builder} to create a * request. * @return A Java Future containing the result of the SuspendContactRecording operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SuspendContactRecording * @see AWS API Documentation */ default CompletableFuture suspendContactRecording( Consumer suspendContactRecordingRequest) { return suspendContactRecording(SuspendContactRecordingRequest.builder().applyMutation(suspendContactRecordingRequest) .build()); } /** *

* 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. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* 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 and UserId in the same call. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
  • *

    * A contact cannot be transferred more than 11 times. *

    *
  • *
* * @param transferContactRequest * @return A Java Future containing the result of the TransferContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.TransferContact * @see AWS API * Documentation */ default CompletableFuture transferContact(TransferContactRequest transferContactRequest) { throw new UnsupportedOperationException(); } /** *

* 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 and UserId in the same call. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
  • *

    * A contact cannot be transferred more than 11 times. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link TransferContactRequest.Builder} avoiding the need * to create one manually via {@link TransferContactRequest#builder()} *

* * @param transferContactRequest * A {@link Consumer} that will call methods on {@link TransferContactRequest.Builder} to create a request. * @return A Java Future containing the result of the TransferContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.TransferContact * @see AWS API * Documentation */ default CompletableFuture transferContact( Consumer transferContactRequest) { return transferContact(TransferContactRequest.builder().applyMutation(transferContactRequest).build()); } /** *

* Removes the specified tags from the specified resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the specified tags from the specified resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

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

*

* Updates agent status. *

* * @param updateAgentStatusRequest * @return A Java Future containing the result of the UpdateAgentStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateAgentStatus * @see AWS API * Documentation */ default CompletableFuture updateAgentStatus(UpdateAgentStatusRequest updateAgentStatusRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Updates agent status. *

*
*

* This is a convenience which creates an instance of the {@link UpdateAgentStatusRequest.Builder} avoiding the need * to create one manually via {@link UpdateAgentStatusRequest#builder()} *

* * @param updateAgentStatusRequest * A {@link Consumer} that will call methods on {@link UpdateAgentStatusRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateAgentStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateAgentStatus * @see AWS API * Documentation */ default CompletableFuture updateAgentStatus( Consumer updateAgentStatusRequest) { return updateAgentStatus(UpdateAgentStatusRequest.builder().applyMutation(updateAgentStatusRequest).build()); } /** *

* 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. *

*
* * @param updateContactRequest * @return A Java Future containing the result of the UpdateContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContact * @see AWS API * Documentation */ default CompletableFuture updateContact(UpdateContactRequest updateContactRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link UpdateContactRequest.Builder} avoiding the need to * create one manually via {@link UpdateContactRequest#builder()} *

* * @param updateContactRequest * A {@link Consumer} that will call methods on {@link UpdateContactRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContact * @see AWS API * Documentation */ default CompletableFuture updateContact(Consumer updateContactRequest) { return updateContact(UpdateContactRequest.builder().applyMutation(updateContactRequest).build()); } /** *

* 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. *

* * @param updateContactAttributesRequest * @return A Java Future containing the result of the UpdateContactAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactAttributes * @see AWS API Documentation */ default CompletableFuture updateContactAttributes( UpdateContactAttributesRequest updateContactAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateContactAttributesRequest.Builder} avoiding * the need to create one manually via {@link UpdateContactAttributesRequest#builder()} *

* * @param updateContactAttributesRequest * A {@link Consumer} that will call methods on {@link UpdateContactAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateContactAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactAttributes * @see AWS API Documentation */ default CompletableFuture updateContactAttributes( Consumer updateContactAttributesRequest) { return updateContactAttributes(UpdateContactAttributesRequest.builder().applyMutation(updateContactAttributesRequest) .build()); } /** *

* Updates the specified flow. *

*

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

* * @param updateContactFlowContentRequest * @return A Java Future containing the result of the UpdateContactFlowContent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowContent * @see AWS API Documentation */ default CompletableFuture updateContactFlowContent( UpdateContactFlowContentRequest updateContactFlowContentRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the specified flow. *

*

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

*
*

* This is a convenience which creates an instance of the {@link UpdateContactFlowContentRequest.Builder} avoiding * the need to create one manually via {@link UpdateContactFlowContentRequest#builder()} *

* * @param updateContactFlowContentRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowContentRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateContactFlowContent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowContent * @see AWS API Documentation */ default CompletableFuture updateContactFlowContent( Consumer updateContactFlowContentRequest) { return updateContactFlowContent(UpdateContactFlowContentRequest.builder().applyMutation(updateContactFlowContentRequest) .build()); } /** *

* Updates metadata about specified flow. *

* * @param updateContactFlowMetadataRequest * @return A Java Future containing the result of the UpdateContactFlowMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowMetadata * @see AWS API Documentation */ default CompletableFuture updateContactFlowMetadata( UpdateContactFlowMetadataRequest updateContactFlowMetadataRequest) { throw new UnsupportedOperationException(); } /** *

* Updates metadata about specified flow. *

*
*

* This is a convenience which creates an instance of the {@link UpdateContactFlowMetadataRequest.Builder} avoiding * the need to create one manually via {@link UpdateContactFlowMetadataRequest#builder()} *

* * @param updateContactFlowMetadataRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowMetadataRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateContactFlowMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowMetadata * @see AWS API Documentation */ default CompletableFuture updateContactFlowMetadata( Consumer updateContactFlowMetadataRequest) { return updateContactFlowMetadata(UpdateContactFlowMetadataRequest.builder() .applyMutation(updateContactFlowMetadataRequest).build()); } /** *

* Updates specified flow module for the specified Amazon Connect instance. *

* * @param updateContactFlowModuleContentRequest * @return A Java Future containing the result of the UpdateContactFlowModuleContent operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowModuleContent * @see AWS API Documentation */ default CompletableFuture updateContactFlowModuleContent( UpdateContactFlowModuleContentRequest updateContactFlowModuleContentRequest) { throw new UnsupportedOperationException(); } /** *

* Updates specified flow module for the specified Amazon Connect instance. *

*
*

* This is a convenience which creates an instance of the {@link UpdateContactFlowModuleContentRequest.Builder} * avoiding the need to create one manually via {@link UpdateContactFlowModuleContentRequest#builder()} *

* * @param updateContactFlowModuleContentRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowModuleContentRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateContactFlowModuleContent operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowModuleContent * @see AWS API Documentation */ default CompletableFuture updateContactFlowModuleContent( Consumer updateContactFlowModuleContentRequest) { return updateContactFlowModuleContent(UpdateContactFlowModuleContentRequest.builder() .applyMutation(updateContactFlowModuleContentRequest).build()); } /** *

* Updates metadata about specified flow module. *

* * @param updateContactFlowModuleMetadataRequest * @return A Java Future containing the result of the UpdateContactFlowModuleMetadata operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowModuleMetadata * @see AWS API Documentation */ default CompletableFuture updateContactFlowModuleMetadata( UpdateContactFlowModuleMetadataRequest updateContactFlowModuleMetadataRequest) { throw new UnsupportedOperationException(); } /** *

* Updates metadata about specified flow module. *

*
*

* This is a convenience which creates an instance of the {@link UpdateContactFlowModuleMetadataRequest.Builder} * avoiding the need to create one manually via {@link UpdateContactFlowModuleMetadataRequest#builder()} *

* * @param updateContactFlowModuleMetadataRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowModuleMetadataRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateContactFlowModuleMetadata operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowModuleMetadata * @see AWS API Documentation */ default CompletableFuture updateContactFlowModuleMetadata( Consumer updateContactFlowModuleMetadataRequest) { return updateContactFlowModuleMetadata(UpdateContactFlowModuleMetadataRequest.builder() .applyMutation(updateContactFlowModuleMetadataRequest).build()); } /** *

* The name of the flow. *

*

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

* * @param updateContactFlowNameRequest * @return A Java Future containing the result of the UpdateContactFlowName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowName * @see AWS * API Documentation */ default CompletableFuture updateContactFlowName( UpdateContactFlowNameRequest updateContactFlowNameRequest) { throw new UnsupportedOperationException(); } /** *

* The name of the flow. *

*

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

*
*

* This is a convenience which creates an instance of the {@link UpdateContactFlowNameRequest.Builder} avoiding the * need to create one manually via {@link UpdateContactFlowNameRequest#builder()} *

* * @param updateContactFlowNameRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowNameRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateContactFlowName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactFlowName * @see AWS * API Documentation */ default CompletableFuture updateContactFlowName( Consumer updateContactFlowNameRequest) { return updateContactFlowName(UpdateContactFlowNameRequest.builder().applyMutation(updateContactFlowNameRequest).build()); } /** *

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

* * @param updateContactScheduleRequest * @return A Java Future containing the result of the UpdateContactSchedule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactSchedule * @see AWS * API Documentation */ default CompletableFuture updateContactSchedule( UpdateContactScheduleRequest updateContactScheduleRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link UpdateContactScheduleRequest.Builder} avoiding the * need to create one manually via {@link UpdateContactScheduleRequest#builder()} *

* * @param updateContactScheduleRequest * A {@link Consumer} that will call methods on {@link UpdateContactScheduleRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateContactSchedule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactSchedule * @see AWS * API Documentation */ default CompletableFuture updateContactSchedule( Consumer updateContactScheduleRequest) { return updateContactSchedule(UpdateContactScheduleRequest.builder().applyMutation(updateContactScheduleRequest).build()); } /** *

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

*

* Updates the hours of operation. *

* * @param updateHoursOfOperationRequest * @return A Java Future containing the result of the UpdateHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateHoursOfOperation * @see AWS API Documentation */ default CompletableFuture updateHoursOfOperation( UpdateHoursOfOperationRequest updateHoursOfOperationRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the hours of operation. *

*
*

* This is a convenience which creates an instance of the {@link UpdateHoursOfOperationRequest.Builder} avoiding the * need to create one manually via {@link UpdateHoursOfOperationRequest#builder()} *

* * @param updateHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link UpdateHoursOfOperationRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateHoursOfOperation * @see AWS API Documentation */ default CompletableFuture updateHoursOfOperation( Consumer updateHoursOfOperationRequest) { return updateHoursOfOperation(UpdateHoursOfOperationRequest.builder().applyMutation(updateHoursOfOperationRequest) .build()); } /** *

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

*

* Updates the value for the specified attribute type. *

* * @param updateInstanceAttributeRequest * @return A Java Future containing the result of the UpdateInstanceAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateInstanceAttribute * @see AWS API Documentation */ default CompletableFuture updateInstanceAttribute( UpdateInstanceAttributeRequest updateInstanceAttributeRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the value for the specified attribute type. *

*
*

* This is a convenience which creates an instance of the {@link UpdateInstanceAttributeRequest.Builder} avoiding * the need to create one manually via {@link UpdateInstanceAttributeRequest#builder()} *

* * @param updateInstanceAttributeRequest * A {@link Consumer} that will call methods on {@link UpdateInstanceAttributeRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateInstanceAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateInstanceAttribute * @see AWS API Documentation */ default CompletableFuture updateInstanceAttribute( Consumer updateInstanceAttributeRequest) { return updateInstanceAttribute(UpdateInstanceAttributeRequest.builder().applyMutation(updateInstanceAttributeRequest) .build()); } /** *

* 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. *

* * @param updateInstanceStorageConfigRequest * @return A Java Future containing the result of the UpdateInstanceStorageConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture updateInstanceStorageConfig( UpdateInstanceStorageConfigRequest updateInstanceStorageConfigRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateInstanceStorageConfigRequest.Builder} * avoiding the need to create one manually via {@link UpdateInstanceStorageConfigRequest#builder()} *

* * @param updateInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link UpdateInstanceStorageConfigRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateInstanceStorageConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateInstanceStorageConfig * @see AWS API Documentation */ default CompletableFuture updateInstanceStorageConfig( Consumer updateInstanceStorageConfigRequest) { return updateInstanceStorageConfig(UpdateInstanceStorageConfigRequest.builder() .applyMutation(updateInstanceStorageConfigRequest).build()); } /** *

* 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. *

* * @param updateParticipantRoleConfigRequest * @return A Java Future containing the result of the UpdateParticipantRoleConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateParticipantRoleConfig * @see AWS API Documentation */ default CompletableFuture updateParticipantRoleConfig( UpdateParticipantRoleConfigRequest updateParticipantRoleConfigRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateParticipantRoleConfigRequest.Builder} * avoiding the need to create one manually via {@link UpdateParticipantRoleConfigRequest#builder()} *

* * @param updateParticipantRoleConfigRequest * A {@link Consumer} that will call methods on {@link UpdateParticipantRoleConfigRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateParticipantRoleConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateParticipantRoleConfig * @see AWS API Documentation */ default CompletableFuture updateParticipantRoleConfig( Consumer updateParticipantRoleConfigRequest) { return updateParticipantRoleConfig(UpdateParticipantRoleConfigRequest.builder() .applyMutation(updateParticipantRoleConfigRequest).build()); } /** *

* 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. *

* *

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

*
* * @param updatePhoneNumberRequest * @return A Java Future containing the result of the UpdatePhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdatePhoneNumber * @see AWS API * Documentation */ default CompletableFuture updatePhoneNumber(UpdatePhoneNumberRequest updatePhoneNumberRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

* *

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

*

*

* This is a convenience which creates an instance of the {@link UpdatePhoneNumberRequest.Builder} avoiding the need * to create one manually via {@link UpdatePhoneNumberRequest#builder()} *

* * @param updatePhoneNumberRequest * A {@link Consumer} that will call methods on {@link UpdatePhoneNumberRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdatePhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdatePhoneNumber * @see AWS API * Documentation */ default CompletableFuture updatePhoneNumber( Consumer updatePhoneNumberRequest) { return updatePhoneNumber(UpdatePhoneNumberRequest.builder().applyMutation(updatePhoneNumberRequest).build()); } /** *

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

*

* Updates the hours of operation for the specified queue. *

* * @param updateQueueHoursOfOperationRequest * @return A Java Future containing the result of the UpdateQueueHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueHoursOfOperation * @see AWS API Documentation */ default CompletableFuture updateQueueHoursOfOperation( UpdateQueueHoursOfOperationRequest updateQueueHoursOfOperationRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the hours of operation for the specified queue. *

*
*

* This is a convenience which creates an instance of the {@link UpdateQueueHoursOfOperationRequest.Builder} * avoiding the need to create one manually via {@link UpdateQueueHoursOfOperationRequest#builder()} *

* * @param updateQueueHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link UpdateQueueHoursOfOperationRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateQueueHoursOfOperation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueHoursOfOperation * @see AWS API Documentation */ default CompletableFuture updateQueueHoursOfOperation( Consumer updateQueueHoursOfOperationRequest) { return updateQueueHoursOfOperation(UpdateQueueHoursOfOperationRequest.builder() .applyMutation(updateQueueHoursOfOperationRequest).build()); } /** *

* 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. *

* * @param updateQueueMaxContactsRequest * @return A Java Future containing the result of the UpdateQueueMaxContacts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueMaxContacts * @see AWS API Documentation */ default CompletableFuture updateQueueMaxContacts( UpdateQueueMaxContactsRequest updateQueueMaxContactsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateQueueMaxContactsRequest.Builder} avoiding the * need to create one manually via {@link UpdateQueueMaxContactsRequest#builder()} *

* * @param updateQueueMaxContactsRequest * A {@link Consumer} that will call methods on {@link UpdateQueueMaxContactsRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateQueueMaxContacts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueMaxContacts * @see AWS API Documentation */ default CompletableFuture updateQueueMaxContacts( Consumer updateQueueMaxContactsRequest) { return updateQueueMaxContacts(UpdateQueueMaxContactsRequest.builder().applyMutation(updateQueueMaxContactsRequest) .build()); } /** *

* 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. *

* * @param updateQueueNameRequest * @return A Java Future containing the result of the UpdateQueueName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueName * @see AWS API * Documentation */ default CompletableFuture updateQueueName(UpdateQueueNameRequest updateQueueNameRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateQueueNameRequest.Builder} avoiding the need * to create one manually via {@link UpdateQueueNameRequest#builder()} *

* * @param updateQueueNameRequest * A {@link Consumer} that will call methods on {@link UpdateQueueNameRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateQueueName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueName * @see AWS API * Documentation */ default CompletableFuture updateQueueName( Consumer updateQueueNameRequest) { return updateQueueName(UpdateQueueNameRequest.builder().applyMutation(updateQueueNameRequest).build()); } /** *

* 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 number being used in the input is claimed to a traffic distribution group, and you are calling this API * using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use * either a full phone number ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig * request body parameter. However, if the number is claimed to a traffic distribution group and you are calling * this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution * group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

*
* * @param updateQueueOutboundCallerConfigRequest * @return A Java Future containing the result of the UpdateQueueOutboundCallerConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueOutboundCallerConfig * @see AWS API Documentation */ default CompletableFuture updateQueueOutboundCallerConfig( UpdateQueueOutboundCallerConfigRequest updateQueueOutboundCallerConfigRequest) { throw new UnsupportedOperationException(); } /** *

* 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 number being used in the input is claimed to a traffic distribution group, and you are calling this API * using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use * either a full phone number ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig * request body parameter. However, if the number is claimed to a traffic distribution group and you are calling * this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution * group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

*

*

* This is a convenience which creates an instance of the {@link UpdateQueueOutboundCallerConfigRequest.Builder} * avoiding the need to create one manually via {@link UpdateQueueOutboundCallerConfigRequest#builder()} *

* * @param updateQueueOutboundCallerConfigRequest * A {@link Consumer} that will call methods on {@link UpdateQueueOutboundCallerConfigRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateQueueOutboundCallerConfig operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueOutboundCallerConfig * @see AWS API Documentation */ default CompletableFuture updateQueueOutboundCallerConfig( Consumer updateQueueOutboundCallerConfigRequest) { return updateQueueOutboundCallerConfig(UpdateQueueOutboundCallerConfigRequest.builder() .applyMutation(updateQueueOutboundCallerConfigRequest).build()); } /** *

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

*

* Updates the status of the queue. *

* * @param updateQueueStatusRequest * @return A Java Future containing the result of the UpdateQueueStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueStatus * @see AWS API * Documentation */ default CompletableFuture updateQueueStatus(UpdateQueueStatusRequest updateQueueStatusRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the status of the queue. *

*
*

* This is a convenience which creates an instance of the {@link UpdateQueueStatusRequest.Builder} avoiding the need * to create one manually via {@link UpdateQueueStatusRequest#builder()} *

* * @param updateQueueStatusRequest * A {@link Consumer} that will call methods on {@link UpdateQueueStatusRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateQueueStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQueueStatus * @see AWS API * Documentation */ default CompletableFuture updateQueueStatus( Consumer updateQueueStatusRequest) { return updateQueueStatus(UpdateQueueStatusRequest.builder().applyMutation(updateQueueStatusRequest).build()); } /** *

* Updates the configuration settings for the specified quick connect. *

* * @param updateQuickConnectConfigRequest * @return A Java Future containing the result of the UpdateQuickConnectConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQuickConnectConfig * @see AWS API Documentation */ default CompletableFuture updateQuickConnectConfig( UpdateQuickConnectConfigRequest updateQuickConnectConfigRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the configuration settings for the specified quick connect. *

*
*

* This is a convenience which creates an instance of the {@link UpdateQuickConnectConfigRequest.Builder} avoiding * the need to create one manually via {@link UpdateQuickConnectConfigRequest#builder()} *

* * @param updateQuickConnectConfigRequest * A {@link Consumer} that will call methods on {@link UpdateQuickConnectConfigRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateQuickConnectConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQuickConnectConfig * @see AWS API Documentation */ default CompletableFuture updateQuickConnectConfig( Consumer updateQuickConnectConfigRequest) { return updateQuickConnectConfig(UpdateQuickConnectConfigRequest.builder().applyMutation(updateQuickConnectConfigRequest) .build()); } /** *

* 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. *

* * @param updateQuickConnectNameRequest * @return A Java Future containing the result of the UpdateQuickConnectName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQuickConnectName * @see AWS API Documentation */ default CompletableFuture updateQuickConnectName( UpdateQuickConnectNameRequest updateQuickConnectNameRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateQuickConnectNameRequest.Builder} avoiding the * need to create one manually via {@link UpdateQuickConnectNameRequest#builder()} *

* * @param updateQuickConnectNameRequest * A {@link Consumer} that will call methods on {@link UpdateQuickConnectNameRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateQuickConnectName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateQuickConnectName * @see AWS API Documentation */ default CompletableFuture updateQuickConnectName( Consumer updateQuickConnectNameRequest) { return updateQuickConnectName(UpdateQuickConnectNameRequest.builder().applyMutation(updateQuickConnectNameRequest) .build()); } /** *

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

* * @param updateRoutingProfileConcurrencyRequest * @return A Java Future containing the result of the UpdateRoutingProfileConcurrency operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileConcurrency * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileConcurrency( UpdateRoutingProfileConcurrencyRequest updateRoutingProfileConcurrencyRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link UpdateRoutingProfileConcurrencyRequest.Builder} * avoiding the need to create one manually via {@link UpdateRoutingProfileConcurrencyRequest#builder()} *

* * @param updateRoutingProfileConcurrencyRequest * A {@link Consumer} that will call methods on {@link UpdateRoutingProfileConcurrencyRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateRoutingProfileConcurrency operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileConcurrency * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileConcurrency( Consumer updateRoutingProfileConcurrencyRequest) { return updateRoutingProfileConcurrency(UpdateRoutingProfileConcurrencyRequest.builder() .applyMutation(updateRoutingProfileConcurrencyRequest).build()); } /** *

* Updates the default outbound queue of a routing profile. *

* * @param updateRoutingProfileDefaultOutboundQueueRequest * @return A Java Future containing the result of the UpdateRoutingProfileDefaultOutboundQueue operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileDefaultOutboundQueue * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileDefaultOutboundQueue( UpdateRoutingProfileDefaultOutboundQueueRequest updateRoutingProfileDefaultOutboundQueueRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the default outbound queue of a routing profile. *

*
*

* This is a convenience which creates an instance of the * {@link UpdateRoutingProfileDefaultOutboundQueueRequest.Builder} avoiding the need to create one manually via * {@link UpdateRoutingProfileDefaultOutboundQueueRequest#builder()} *

* * @param updateRoutingProfileDefaultOutboundQueueRequest * A {@link Consumer} that will call methods on * {@link UpdateRoutingProfileDefaultOutboundQueueRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateRoutingProfileDefaultOutboundQueue operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileDefaultOutboundQueue * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileDefaultOutboundQueue( Consumer updateRoutingProfileDefaultOutboundQueueRequest) { return updateRoutingProfileDefaultOutboundQueue(UpdateRoutingProfileDefaultOutboundQueueRequest.builder() .applyMutation(updateRoutingProfileDefaultOutboundQueueRequest).build()); } /** *

* 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. *

* * @param updateRoutingProfileNameRequest * @return A Java Future containing the result of the UpdateRoutingProfileName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileName * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileName( UpdateRoutingProfileNameRequest updateRoutingProfileNameRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateRoutingProfileNameRequest.Builder} avoiding * the need to create one manually via {@link UpdateRoutingProfileNameRequest#builder()} *

* * @param updateRoutingProfileNameRequest * A {@link Consumer} that will call methods on {@link UpdateRoutingProfileNameRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateRoutingProfileName operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileName * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileName( Consumer updateRoutingProfileNameRequest) { return updateRoutingProfileName(UpdateRoutingProfileNameRequest.builder().applyMutation(updateRoutingProfileNameRequest) .build()); } /** *

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

* * @param updateRoutingProfileQueuesRequest * @return A Java Future containing the result of the UpdateRoutingProfileQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileQueues( UpdateRoutingProfileQueuesRequest updateRoutingProfileQueuesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link UpdateRoutingProfileQueuesRequest.Builder} avoiding * the need to create one manually via {@link UpdateRoutingProfileQueuesRequest#builder()} *

* * @param updateRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link UpdateRoutingProfileQueuesRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateRoutingProfileQueues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRoutingProfileQueues * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileQueues( Consumer updateRoutingProfileQueuesRequest) { return updateRoutingProfileQueues(UpdateRoutingProfileQueuesRequest.builder() .applyMutation(updateRoutingProfileQueuesRequest).build()); } /** *

* Updates a rule for the specified Amazon Connect instance. *

*

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

* * @param updateRuleRequest * @return A Java Future containing the result of the UpdateRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRule * @see AWS API * Documentation */ default CompletableFuture updateRule(UpdateRuleRequest updateRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a rule for the specified Amazon Connect instance. *

*

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

*
*

* This is a convenience which creates an instance of the {@link UpdateRuleRequest.Builder} avoiding the need to * create one manually via {@link UpdateRuleRequest#builder()} *

* * @param updateRuleRequest * A {@link Consumer} that will call methods on {@link UpdateRuleRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateRule * @see AWS API * Documentation */ default CompletableFuture updateRule(Consumer updateRuleRequest) { return updateRule(UpdateRuleRequest.builder().applyMutation(updateRuleRequest).build()); } /** *

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

*

* Updates a security profile. *

* * @param updateSecurityProfileRequest * @return A Java Future containing the result of the UpdateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateSecurityProfile * @see AWS * API Documentation */ default CompletableFuture updateSecurityProfile( UpdateSecurityProfileRequest updateSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Updates a security profile. *

*
*

* This is a convenience which creates an instance of the {@link UpdateSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link UpdateSecurityProfileRequest#builder()} *

* * @param updateSecurityProfileRequest * A {@link Consumer} that will call methods on {@link UpdateSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateSecurityProfile * @see AWS * API Documentation */ default CompletableFuture updateSecurityProfile( Consumer updateSecurityProfileRequest) { return updateSecurityProfile(UpdateSecurityProfileRequest.builder().applyMutation(updateSecurityProfileRequest).build()); } /** *

* 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. *

* * @param updateTaskTemplateRequest * @return A Java Future containing the result of the UpdateTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateTaskTemplate * @see AWS * API Documentation */ default CompletableFuture updateTaskTemplate(UpdateTaskTemplateRequest updateTaskTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link UpdateTaskTemplateRequest.Builder} avoiding the * need to create one manually via {@link UpdateTaskTemplateRequest#builder()} *

* * @param updateTaskTemplateRequest * A {@link Consumer} that will call methods on {@link UpdateTaskTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateTaskTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateTaskTemplate * @see AWS * API Documentation */ default CompletableFuture updateTaskTemplate( Consumer updateTaskTemplateRequest) { return updateTaskTemplate(UpdateTaskTemplateRequest.builder().applyMutation(updateTaskTemplateRequest).build()); } /** *

* Updates the traffic distribution for a given traffic distribution group. *

*

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

* * @param updateTrafficDistributionRequest * @return A Java Future containing the result of the UpdateTrafficDistribution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateTrafficDistribution * @see AWS API Documentation */ default CompletableFuture updateTrafficDistribution( UpdateTrafficDistributionRequest updateTrafficDistributionRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the traffic distribution for a given traffic distribution group. *

*

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

*
*

* This is a convenience which creates an instance of the {@link UpdateTrafficDistributionRequest.Builder} avoiding * the need to create one manually via {@link UpdateTrafficDistributionRequest#builder()} *

* * @param updateTrafficDistributionRequest * A {@link Consumer} that will call methods on {@link UpdateTrafficDistributionRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateTrafficDistribution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateTrafficDistribution * @see AWS API Documentation */ default CompletableFuture updateTrafficDistribution( Consumer updateTrafficDistributionRequest) { return updateTrafficDistribution(UpdateTrafficDistributionRequest.builder() .applyMutation(updateTrafficDistributionRequest).build()); } /** *

* Assigns the specified hierarchy group to the specified user. *

* * @param updateUserHierarchyRequest * @return A Java Future containing the result of the UpdateUserHierarchy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserHierarchy * @see AWS * API Documentation */ default CompletableFuture updateUserHierarchy( UpdateUserHierarchyRequest updateUserHierarchyRequest) { throw new UnsupportedOperationException(); } /** *

* Assigns the specified hierarchy group to the specified user. *

*
*

* This is a convenience which creates an instance of the {@link UpdateUserHierarchyRequest.Builder} avoiding the * need to create one manually via {@link UpdateUserHierarchyRequest#builder()} *

* * @param updateUserHierarchyRequest * A {@link Consumer} that will call methods on {@link UpdateUserHierarchyRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateUserHierarchy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserHierarchy * @see AWS * API Documentation */ default CompletableFuture updateUserHierarchy( Consumer updateUserHierarchyRequest) { return updateUserHierarchy(UpdateUserHierarchyRequest.builder().applyMutation(updateUserHierarchyRequest).build()); } /** *

* Updates the name of the user hierarchy group. *

* * @param updateUserHierarchyGroupNameRequest * @return A Java Future containing the result of the UpdateUserHierarchyGroupName operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserHierarchyGroupName * @see AWS API Documentation */ default CompletableFuture updateUserHierarchyGroupName( UpdateUserHierarchyGroupNameRequest updateUserHierarchyGroupNameRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the name of the user hierarchy group. *

*
*

* This is a convenience which creates an instance of the {@link UpdateUserHierarchyGroupNameRequest.Builder} * avoiding the need to create one manually via {@link UpdateUserHierarchyGroupNameRequest#builder()} *

* * @param updateUserHierarchyGroupNameRequest * A {@link Consumer} that will call methods on {@link UpdateUserHierarchyGroupNameRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateUserHierarchyGroupName operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserHierarchyGroupName * @see AWS API Documentation */ default CompletableFuture updateUserHierarchyGroupName( Consumer updateUserHierarchyGroupNameRequest) { return updateUserHierarchyGroupName(UpdateUserHierarchyGroupNameRequest.builder() .applyMutation(updateUserHierarchyGroupNameRequest).build()); } /** *

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

* * @param updateUserHierarchyStructureRequest * @return A Java Future containing the result of the UpdateUserHierarchyStructure operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserHierarchyStructure * @see AWS API Documentation */ default CompletableFuture updateUserHierarchyStructure( UpdateUserHierarchyStructureRequest updateUserHierarchyStructureRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link UpdateUserHierarchyStructureRequest.Builder} * avoiding the need to create one manually via {@link UpdateUserHierarchyStructureRequest#builder()} *

* * @param updateUserHierarchyStructureRequest * A {@link Consumer} that will call methods on {@link UpdateUserHierarchyStructureRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateUserHierarchyStructure operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserHierarchyStructure * @see AWS API Documentation */ default CompletableFuture updateUserHierarchyStructure( Consumer updateUserHierarchyStructureRequest) { return updateUserHierarchyStructure(UpdateUserHierarchyStructureRequest.builder() .applyMutation(updateUserHierarchyStructureRequest).build()); } /** *

* 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. *

*
* * @param updateUserIdentityInfoRequest * @return A Java Future containing the result of the UpdateUserIdentityInfo operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserIdentityInfo * @see AWS API Documentation */ default CompletableFuture updateUserIdentityInfo( UpdateUserIdentityInfoRequest updateUserIdentityInfoRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link UpdateUserIdentityInfoRequest.Builder} avoiding the * need to create one manually via {@link UpdateUserIdentityInfoRequest#builder()} *

* * @param updateUserIdentityInfoRequest * A {@link Consumer} that will call methods on {@link UpdateUserIdentityInfoRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateUserIdentityInfo operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserIdentityInfo * @see AWS API Documentation */ default CompletableFuture updateUserIdentityInfo( Consumer updateUserIdentityInfoRequest) { return updateUserIdentityInfo(UpdateUserIdentityInfoRequest.builder().applyMutation(updateUserIdentityInfoRequest) .build()); } /** *

* Updates the phone configuration settings for the specified user. *

* * @param updateUserPhoneConfigRequest * @return A Java Future containing the result of the UpdateUserPhoneConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserPhoneConfig * @see AWS * API Documentation */ default CompletableFuture updateUserPhoneConfig( UpdateUserPhoneConfigRequest updateUserPhoneConfigRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the phone configuration settings for the specified user. *

*
*

* This is a convenience which creates an instance of the {@link UpdateUserPhoneConfigRequest.Builder} avoiding the * need to create one manually via {@link UpdateUserPhoneConfigRequest#builder()} *

* * @param updateUserPhoneConfigRequest * A {@link Consumer} that will call methods on {@link UpdateUserPhoneConfigRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateUserPhoneConfig operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserPhoneConfig * @see AWS * API Documentation */ default CompletableFuture updateUserPhoneConfig( Consumer updateUserPhoneConfigRequest) { return updateUserPhoneConfig(UpdateUserPhoneConfigRequest.builder().applyMutation(updateUserPhoneConfigRequest).build()); } /** *

* Assigns the specified routing profile to the specified user. *

* * @param updateUserRoutingProfileRequest * @return A Java Future containing the result of the UpdateUserRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserRoutingProfile * @see AWS API Documentation */ default CompletableFuture updateUserRoutingProfile( UpdateUserRoutingProfileRequest updateUserRoutingProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Assigns the specified routing profile to the specified user. *

*
*

* This is a convenience which creates an instance of the {@link UpdateUserRoutingProfileRequest.Builder} avoiding * the need to create one manually via {@link UpdateUserRoutingProfileRequest#builder()} *

* * @param updateUserRoutingProfileRequest * A {@link Consumer} that will call methods on {@link UpdateUserRoutingProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateUserRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserRoutingProfile * @see AWS API Documentation */ default CompletableFuture updateUserRoutingProfile( Consumer updateUserRoutingProfileRequest) { return updateUserRoutingProfile(UpdateUserRoutingProfileRequest.builder().applyMutation(updateUserRoutingProfileRequest) .build()); } /** *

* Assigns the specified security profiles to the specified user. *

* * @param updateUserSecurityProfilesRequest * @return A Java Future containing the result of the UpdateUserSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserSecurityProfiles * @see AWS API Documentation */ default CompletableFuture updateUserSecurityProfiles( UpdateUserSecurityProfilesRequest updateUserSecurityProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* Assigns the specified security profiles to the specified user. *

*
*

* This is a convenience which creates an instance of the {@link UpdateUserSecurityProfilesRequest.Builder} avoiding * the need to create one manually via {@link UpdateUserSecurityProfilesRequest#builder()} *

* * @param updateUserSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link UpdateUserSecurityProfilesRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateUserSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • 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.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateUserSecurityProfiles * @see AWS API Documentation */ default CompletableFuture updateUserSecurityProfiles( Consumer updateUserSecurityProfilesRequest) { return updateUserSecurityProfiles(UpdateUserSecurityProfilesRequest.builder() .applyMutation(updateUserSecurityProfilesRequest).build()); } /** * Create a {@link ConnectAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static ConnectAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link ConnectAsyncClient}. */ static ConnectAsyncClientBuilder builder() { return new DefaultConnectAsyncClientBuilder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy