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

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

/*
 * 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.awscore.AwsClient;
import software.amazon.awssdk.services.connect.model.ActivateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.ActivateEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.AssociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.AssociateAnalyticsDataSetResponse;
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.AssociateFlowRequest;
import software.amazon.awssdk.services.connect.model.AssociateFlowResponse;
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.AssociateTrafficDistributionGroupUserRequest;
import software.amazon.awssdk.services.connect.model.AssociateTrafficDistributionGroupUserResponse;
import software.amazon.awssdk.services.connect.model.AssociateUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.AssociateUserProficienciesResponse;
import software.amazon.awssdk.services.connect.model.BatchAssociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.BatchAssociateAnalyticsDataSetResponse;
import software.amazon.awssdk.services.connect.model.BatchDisassociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.BatchDisassociateAnalyticsDataSetResponse;
import software.amazon.awssdk.services.connect.model.BatchGetAttachedFileMetadataRequest;
import software.amazon.awssdk.services.connect.model.BatchGetAttachedFileMetadataResponse;
import software.amazon.awssdk.services.connect.model.BatchGetFlowAssociationRequest;
import software.amazon.awssdk.services.connect.model.BatchGetFlowAssociationResponse;
import software.amazon.awssdk.services.connect.model.BatchPutContactRequest;
import software.amazon.awssdk.services.connect.model.BatchPutContactResponse;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.CompleteAttachedFileUploadRequest;
import software.amazon.awssdk.services.connect.model.CompleteAttachedFileUploadResponse;
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.CreateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.CreateEvaluationFormResponse;
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.CreateParticipantRequest;
import software.amazon.awssdk.services.connect.model.CreateParticipantResponse;
import software.amazon.awssdk.services.connect.model.CreatePersistentContactAssociationRequest;
import software.amazon.awssdk.services.connect.model.CreatePersistentContactAssociationResponse;
import software.amazon.awssdk.services.connect.model.CreatePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.CreatePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.CreatePromptRequest;
import software.amazon.awssdk.services.connect.model.CreatePromptResponse;
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.CreateViewRequest;
import software.amazon.awssdk.services.connect.model.CreateViewResponse;
import software.amazon.awssdk.services.connect.model.CreateViewVersionRequest;
import software.amazon.awssdk.services.connect.model.CreateViewVersionResponse;
import software.amazon.awssdk.services.connect.model.CreateVocabularyRequest;
import software.amazon.awssdk.services.connect.model.CreateVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DeactivateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.DeactivateEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.DeleteAttachedFileRequest;
import software.amazon.awssdk.services.connect.model.DeleteAttachedFileResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactEvaluationResponse;
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.DeleteEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.DeleteEvaluationFormResponse;
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.DeletePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.DeletePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.DeletePromptRequest;
import software.amazon.awssdk.services.connect.model.DeletePromptResponse;
import software.amazon.awssdk.services.connect.model.DeleteQueueRequest;
import software.amazon.awssdk.services.connect.model.DeleteQueueResponse;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.DeleteRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.DeleteRoutingProfileResponse;
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.DeleteViewRequest;
import software.amazon.awssdk.services.connect.model.DeleteViewResponse;
import software.amazon.awssdk.services.connect.model.DeleteViewVersionRequest;
import software.amazon.awssdk.services.connect.model.DeleteViewVersionResponse;
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.DescribeAuthenticationProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeAuthenticationProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactEvaluationResponse;
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.DescribeEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.DescribeEvaluationFormResponse;
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.DescribePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.DescribePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.DescribePromptRequest;
import software.amazon.awssdk.services.connect.model.DescribePromptResponse;
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.DescribeViewRequest;
import software.amazon.awssdk.services.connect.model.DescribeViewResponse;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyRequest;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DisassociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.DisassociateAnalyticsDataSetResponse;
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.DisassociateFlowRequest;
import software.amazon.awssdk.services.connect.model.DisassociateFlowResponse;
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.DisassociateTrafficDistributionGroupUserRequest;
import software.amazon.awssdk.services.connect.model.DisassociateTrafficDistributionGroupUserResponse;
import software.amazon.awssdk.services.connect.model.DisassociateUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.DisassociateUserProficienciesResponse;
import software.amazon.awssdk.services.connect.model.DismissUserContactRequest;
import software.amazon.awssdk.services.connect.model.DismissUserContactResponse;
import software.amazon.awssdk.services.connect.model.GetAttachedFileRequest;
import software.amazon.awssdk.services.connect.model.GetAttachedFileResponse;
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.GetFlowAssociationRequest;
import software.amazon.awssdk.services.connect.model.GetFlowAssociationResponse;
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.GetPromptFileRequest;
import software.amazon.awssdk.services.connect.model.GetPromptFileResponse;
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.ImportPhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.ImportPhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest;
import software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse;
import software.amazon.awssdk.services.connect.model.ListAnalyticsDataAssociationsRequest;
import software.amazon.awssdk.services.connect.model.ListAnalyticsDataAssociationsResponse;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse;
import software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListBotsRequest;
import software.amazon.awssdk.services.connect.model.ListBotsResponse;
import software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest;
import software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse;
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.ListEvaluationFormVersionsRequest;
import software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse;
import software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest;
import software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse;
import software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest;
import software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse;
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.ListPredefinedAttributesRequest;
import software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse;
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.ListRealtimeContactAnalysisSegmentsV2Request;
import software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response;
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.ListSecurityProfileApplicationsRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse;
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.ListTrafficDistributionGroupUsersRequest;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse;
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.ListUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse;
import software.amazon.awssdk.services.connect.model.ListUsersRequest;
import software.amazon.awssdk.services.connect.model.ListUsersResponse;
import software.amazon.awssdk.services.connect.model.ListViewVersionsRequest;
import software.amazon.awssdk.services.connect.model.ListViewVersionsResponse;
import software.amazon.awssdk.services.connect.model.ListViewsRequest;
import software.amazon.awssdk.services.connect.model.ListViewsResponse;
import software.amazon.awssdk.services.connect.model.MonitorContactRequest;
import software.amazon.awssdk.services.connect.model.MonitorContactResponse;
import software.amazon.awssdk.services.connect.model.PauseContactRequest;
import software.amazon.awssdk.services.connect.model.PauseContactResponse;
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.ResumeContactRequest;
import software.amazon.awssdk.services.connect.model.ResumeContactResponse;
import software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest;
import software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse;
import software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest;
import software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse;
import software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest;
import software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse;
import software.amazon.awssdk.services.connect.model.SearchContactsRequest;
import software.amazon.awssdk.services.connect.model.SearchContactsResponse;
import software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest;
import software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse;
import software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest;
import software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse;
import software.amazon.awssdk.services.connect.model.SearchPromptsRequest;
import software.amazon.awssdk.services.connect.model.SearchPromptsResponse;
import software.amazon.awssdk.services.connect.model.SearchQueuesRequest;
import software.amazon.awssdk.services.connect.model.SearchQueuesResponse;
import software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest;
import software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse;
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.SearchUserHierarchyGroupsRequest;
import software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse;
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.SendChatIntegrationEventRequest;
import software.amazon.awssdk.services.connect.model.SendChatIntegrationEventResponse;
import software.amazon.awssdk.services.connect.model.StartAttachedFileUploadRequest;
import software.amazon.awssdk.services.connect.model.StartAttachedFileUploadResponse;
import software.amazon.awssdk.services.connect.model.StartChatContactRequest;
import software.amazon.awssdk.services.connect.model.StartChatContactResponse;
import software.amazon.awssdk.services.connect.model.StartContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.StartContactEvaluationResponse;
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.StartOutboundChatContactRequest;
import software.amazon.awssdk.services.connect.model.StartOutboundChatContactResponse;
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.StartWebRtcContactRequest;
import software.amazon.awssdk.services.connect.model.StartWebRtcContactResponse;
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.SubmitContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.SubmitContactEvaluationResponse;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.TagContactRequest;
import software.amazon.awssdk.services.connect.model.TagContactResponse;
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.UntagContactRequest;
import software.amazon.awssdk.services.connect.model.UntagContactResponse;
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.UpdateAuthenticationProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateAuthenticationProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactEvaluationResponse;
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.UpdateContactRoutingDataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactRoutingDataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleResponse;
import software.amazon.awssdk.services.connect.model.UpdateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.UpdateEvaluationFormResponse;
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.UpdatePhoneNumberMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.UpdatePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.UpdatePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.UpdatePromptRequest;
import software.amazon.awssdk.services.connect.model.UpdatePromptResponse;
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.UpdateRoutingProfileAgentAvailabilityTimerRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileAgentAvailabilityTimerResponse;
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.UpdateUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserProficienciesResponse;
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.model.UpdateViewContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateViewContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateViewMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateViewMetadataResponse;
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.ListAuthenticationProfilesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListBotsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsPublisher;
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.ListEvaluationFormVersionsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsPublisher;
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.ListPredefinedAttributesPublisher;
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.ListRealtimeContactAnalysisSegmentsV2Publisher;
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.ListSecurityProfileApplicationsPublisher;
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.ListTrafficDistributionGroupUsersPublisher;
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.ListUserProficienciesPublisher;
import software.amazon.awssdk.services.connect.paginators.ListUsersPublisher;
import software.amazon.awssdk.services.connect.paginators.ListViewVersionsPublisher;
import software.amazon.awssdk.services.connect.paginators.ListViewsPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchContactFlowsPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchContactsPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchPromptsPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchResourceTagsPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher;
import software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsPublisher;
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.The asynchronous client performs non-blocking I/O when configured with any {@code SdkAsyncHttpClient}
 * supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
 * some cases such as credentials retrieval and endpoint discovery as part of the async API call.
 *
 * 
 * 

* 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 AwsClient { 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"; /** *

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

* * @param activateEvaluationFormRequest * @return A Java Future containing the result of the ActivateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ActivateEvaluationForm * @see AWS API Documentation */ default CompletableFuture activateEvaluationForm( ActivateEvaluationFormRequest activateEvaluationFormRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param activateEvaluationFormRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ActivateEvaluationFormRequest.Builder} to create a * request. * @return A Java Future containing the result of the ActivateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ActivateEvaluationForm * @see AWS API Documentation */ default CompletableFuture activateEvaluationForm( Consumer activateEvaluationFormRequest) { return activateEvaluationForm(ActivateEvaluationFormRequest.builder().applyMutation(activateEvaluationFormRequest) .build()); } /** *

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

* * @param associateAnalyticsDataSetRequest * @return A Java Future containing the result of the AssociateAnalyticsDataSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.AssociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture associateAnalyticsDataSet( AssociateAnalyticsDataSetRequest associateAnalyticsDataSetRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param associateAnalyticsDataSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.AssociateAnalyticsDataSetRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateAnalyticsDataSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.AssociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture associateAnalyticsDataSet( Consumer associateAnalyticsDataSetRequest) { return associateAnalyticsDataSet(AssociateAnalyticsDataSetRequest.builder() .applyMutation(associateAnalyticsDataSetRequest).build()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Associates a connect resource to a flow. *

* * @param associateFlowRequest * @return A Java Future containing the result of the AssociateFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateFlow * @see AWS API * Documentation */ default CompletableFuture associateFlow(AssociateFlowRequest associateFlowRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a connect resource to a flow. *

*
*

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

* * @param associateFlowRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.AssociateFlowRequest.Builder} to create a request. * @return A Java Future containing the result of the AssociateFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateFlow * @see AWS API * Documentation */ default CompletableFuture associateFlow(Consumer associateFlowRequest) { return associateFlow(AssociateFlowRequest.builder().applyMutation(associateFlowRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Associates an agent with a traffic distribution group. *

* * @param associateTrafficDistributionGroupUserRequest * @return A Java Future containing the result of the AssociateTrafficDistributionGroupUser operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateTrafficDistributionGroupUser * @see AWS API Documentation */ default CompletableFuture associateTrafficDistributionGroupUser( AssociateTrafficDistributionGroupUserRequest associateTrafficDistributionGroupUserRequest) { throw new UnsupportedOperationException(); } /** *

* Associates an agent with a traffic distribution group. *

*
*

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

* * @param associateTrafficDistributionGroupUserRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.AssociateTrafficDistributionGroupUserRequest.Builder} * to create a request. * @return A Java Future containing the result of the AssociateTrafficDistributionGroupUser operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.AssociateTrafficDistributionGroupUser * @see AWS API Documentation */ default CompletableFuture associateTrafficDistributionGroupUser( Consumer associateTrafficDistributionGroupUserRequest) { return associateTrafficDistributionGroupUser(AssociateTrafficDistributionGroupUserRequest.builder() .applyMutation(associateTrafficDistributionGroupUserRequest).build()); } /** *

* >Associates a set of proficiencies with a user. *

* * @param associateUserProficienciesRequest * @return A Java Future containing the result of the AssociateUserProficiencies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.AssociateUserProficiencies * @see AWS API Documentation */ default CompletableFuture associateUserProficiencies( AssociateUserProficienciesRequest associateUserProficienciesRequest) { throw new UnsupportedOperationException(); } /** *

* >Associates a set of proficiencies with a user. *

*
*

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

* * @param associateUserProficienciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.AssociateUserProficienciesRequest.Builder} to create * a request. * @return A Java Future containing the result of the AssociateUserProficiencies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.AssociateUserProficiencies * @see AWS API Documentation */ default CompletableFuture associateUserProficiencies( Consumer associateUserProficienciesRequest) { return associateUserProficiencies(AssociateUserProficienciesRequest.builder() .applyMutation(associateUserProficienciesRequest).build()); } /** *

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

* * @param batchAssociateAnalyticsDataSetRequest * @return A Java Future containing the result of the BatchAssociateAnalyticsDataSet operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.BatchAssociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture batchAssociateAnalyticsDataSet( BatchAssociateAnalyticsDataSetRequest batchAssociateAnalyticsDataSetRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param batchAssociateAnalyticsDataSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.BatchAssociateAnalyticsDataSetRequest.Builder} to * create a request. * @return A Java Future containing the result of the BatchAssociateAnalyticsDataSet operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.BatchAssociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture batchAssociateAnalyticsDataSet( Consumer batchAssociateAnalyticsDataSetRequest) { return batchAssociateAnalyticsDataSet(BatchAssociateAnalyticsDataSetRequest.builder() .applyMutation(batchAssociateAnalyticsDataSetRequest).build()); } /** *

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

* * @param batchDisassociateAnalyticsDataSetRequest * @return A Java Future containing the result of the BatchDisassociateAnalyticsDataSet operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.BatchDisassociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture batchDisassociateAnalyticsDataSet( BatchDisassociateAnalyticsDataSetRequest batchDisassociateAnalyticsDataSetRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param batchDisassociateAnalyticsDataSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.BatchDisassociateAnalyticsDataSetRequest.Builder} to * create a request. * @return A Java Future containing the result of the BatchDisassociateAnalyticsDataSet operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.BatchDisassociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture batchDisassociateAnalyticsDataSet( Consumer batchDisassociateAnalyticsDataSetRequest) { return batchDisassociateAnalyticsDataSet(BatchDisassociateAnalyticsDataSetRequest.builder() .applyMutation(batchDisassociateAnalyticsDataSetRequest).build()); } /** *

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

* * @param batchGetAttachedFileMetadataRequest * @return A Java Future containing the result of the BatchGetAttachedFileMetadata operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.BatchGetAttachedFileMetadata * @see AWS API Documentation */ default CompletableFuture batchGetAttachedFileMetadata( BatchGetAttachedFileMetadataRequest batchGetAttachedFileMetadataRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param batchGetAttachedFileMetadataRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.BatchGetAttachedFileMetadataRequest.Builder} to * create a request. * @return A Java Future containing the result of the BatchGetAttachedFileMetadata operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.BatchGetAttachedFileMetadata * @see AWS API Documentation */ default CompletableFuture batchGetAttachedFileMetadata( Consumer batchGetAttachedFileMetadataRequest) { return batchGetAttachedFileMetadata(BatchGetAttachedFileMetadataRequest.builder() .applyMutation(batchGetAttachedFileMetadataRequest).build()); } /** *

* Retrieve the flow associations for the given resources. *

* * @param batchGetFlowAssociationRequest * @return A Java Future containing the result of the BatchGetFlowAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.BatchGetFlowAssociation * @see AWS API Documentation */ default CompletableFuture batchGetFlowAssociation( BatchGetFlowAssociationRequest batchGetFlowAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieve the flow associations for the given resources. *

*
*

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

* * @param batchGetFlowAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.BatchGetFlowAssociationRequest.Builder} to create a * request. * @return A Java Future containing the result of the BatchGetFlowAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.BatchGetFlowAssociation * @see AWS API Documentation */ default CompletableFuture batchGetFlowAssociation( Consumer batchGetFlowAssociationRequest) { return batchGetFlowAssociation(BatchGetFlowAssociationRequest.builder().applyMutation(batchGetFlowAssociationRequest) .build()); } /** * *

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

*
*

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

* * @param batchPutContactRequest * @return A Java Future containing the result of the BatchPutContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • IdempotencyException An entity with the same name already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.BatchPutContact * @see AWS API * Documentation */ default CompletableFuture batchPutContact(BatchPutContactRequest batchPutContactRequest) { throw new UnsupportedOperationException(); } /** * *

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

*
*

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

*
*

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

* * @param batchPutContactRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.BatchPutContactRequest.Builder} to create a request. * @return A Java Future containing the result of the BatchPutContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • IdempotencyException An entity with the same name already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.BatchPutContact * @see AWS API * Documentation */ default CompletableFuture batchPutContact( Consumer batchPutContactRequest) { return batchPutContact(BatchPutContactRequest.builder().applyMutation(batchPutContactRequest).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. *

*
*

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

*

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

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. *

*
*

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

*

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

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

* * @param completeAttachedFileUploadRequest * Request to CompleteAttachedFileUpload API * @return A Java Future containing the result of the CompleteAttachedFileUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CompleteAttachedFileUpload * @see AWS API Documentation */ default CompletableFuture completeAttachedFileUpload( CompleteAttachedFileUploadRequest completeAttachedFileUploadRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param completeAttachedFileUploadRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CompleteAttachedFileUploadRequest.Builder} to create * a request. Request to CompleteAttachedFileUpload API * @return A Java Future containing the result of the CompleteAttachedFileUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CompleteAttachedFileUpload * @see AWS API Documentation */ default CompletableFuture completeAttachedFileUpload( Consumer completeAttachedFileUploadRequest) { return completeAttachedFileUpload(CompleteAttachedFileUploadRequest.builder() .applyMutation(completeAttachedFileUploadRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param createEvaluationFormRequest * @return A Java Future containing the result of the CreateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateEvaluationForm * @see AWS * API Documentation */ default CompletableFuture createEvaluationForm( CreateEvaluationFormRequest createEvaluationFormRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createEvaluationFormRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CreateEvaluationFormRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateEvaluationForm * @see AWS * API Documentation */ default CompletableFuture createEvaluationForm( Consumer createEvaluationFormRequest) { return createEvaluationForm(CreateEvaluationFormRequest.builder().applyMutation(createEvaluationFormRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param createParticipantRequest * @return A Java Future containing the result of the CreateParticipant operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateParticipant * @see AWS API * Documentation */ default CompletableFuture createParticipant(CreateParticipantRequest createParticipantRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createParticipantRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CreateParticipantRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateParticipant operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateParticipant * @see AWS API * Documentation */ default CompletableFuture createParticipant( Consumer createParticipantRequest) { return createParticipant(CreateParticipantRequest.builder().applyMutation(createParticipantRequest).build()); } /** *

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

* * @param createPersistentContactAssociationRequest * @return A Java Future containing the result of the CreatePersistentContactAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.CreatePersistentContactAssociation * @see AWS API Documentation */ default CompletableFuture createPersistentContactAssociation( CreatePersistentContactAssociationRequest createPersistentContactAssociationRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createPersistentContactAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CreatePersistentContactAssociationRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreatePersistentContactAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.CreatePersistentContactAssociation * @see AWS API Documentation */ default CompletableFuture createPersistentContactAssociation( Consumer createPersistentContactAssociationRequest) { return createPersistentContactAssociation(CreatePersistentContactAssociationRequest.builder() .applyMutation(createPersistentContactAssociationRequest).build()); } /** *

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

* * @param createPredefinedAttributeRequest * @return A Java Future containing the result of the CreatePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreatePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture createPredefinedAttribute( CreatePredefinedAttributeRequest createPredefinedAttributeRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createPredefinedAttributeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CreatePredefinedAttributeRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreatePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreatePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture createPredefinedAttribute( Consumer createPredefinedAttributeRequest) { return createPredefinedAttribute(CreatePredefinedAttributeRequest.builder() .applyMutation(createPredefinedAttributeRequest).build()); } /** *

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

* * @param createPromptRequest * @return A Java Future containing the result of the CreatePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreatePrompt * @see AWS API * Documentation */ default CompletableFuture createPrompt(CreatePromptRequest createPromptRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createPromptRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CreatePromptRequest.Builder} to create a request. * @return A Java Future containing the result of the CreatePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreatePrompt * @see AWS API * Documentation */ default CompletableFuture createPrompt(Consumer createPromptRequest) { return createPrompt(CreatePromptRequest.builder().applyMutation(createPromptRequest).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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon * Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for * OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group * that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that * is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is * provided in this scenario, you will receive a ResourceNotFoundException. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon * Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for * OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group * that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that * is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is * provided in this scenario, you will receive a ResourceNotFoundException. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Creates a security profile. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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(); } /** *

* Creates a security profile. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*
*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*
*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*
*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*
*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 new view with the possible status of SAVED or PUBLISHED. *

*

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

*

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

* * @param createViewRequest * @return A Java Future containing the result of the CreateView operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateView * @see AWS API * Documentation */ default CompletableFuture createView(CreateViewRequest createViewRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*

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

*
*

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

* * @param createViewRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CreateViewRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateView operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateView * @see AWS API * Documentation */ default CompletableFuture createView(Consumer createViewRequest) { return createView(CreateViewRequest.builder().applyMutation(createViewRequest).build()); } /** *

* Publishes a new version of the view identifier. *

*

* Versions are immutable and monotonically increasing. *

*

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

* * @param createViewVersionRequest * @return A Java Future containing the result of the CreateViewVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateViewVersion * @see AWS API * Documentation */ default CompletableFuture createViewVersion(CreateViewVersionRequest createViewVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Publishes a new version of the view identifier. *

*

* Versions are immutable and monotonically increasing. *

*

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

*
*

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

* * @param createViewVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.CreateViewVersionRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateViewVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.CreateViewVersion * @see AWS API * Documentation */ default CompletableFuture createViewVersion( Consumer createViewVersionRequest) { return createViewVersion(CreateViewVersionRequest.builder().applyMutation(createViewVersionRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param deactivateEvaluationFormRequest * @return A Java Future containing the result of the DeactivateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeactivateEvaluationForm * @see AWS API Documentation */ default CompletableFuture deactivateEvaluationForm( DeactivateEvaluationFormRequest deactivateEvaluationFormRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param deactivateEvaluationFormRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeactivateEvaluationFormRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeactivateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeactivateEvaluationForm * @see AWS API Documentation */ default CompletableFuture deactivateEvaluationForm( Consumer deactivateEvaluationFormRequest) { return deactivateEvaluationForm(DeactivateEvaluationFormRequest.builder().applyMutation(deactivateEvaluationFormRequest) .build()); } /** *

* Deletes an attached file along with the underlying S3 Object. *

* *

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

*
* * @param deleteAttachedFileRequest * Request to DeleteAttachedFile API * @return A Java Future containing the result of the DeleteAttachedFile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteAttachedFile * @see AWS * API Documentation */ default CompletableFuture deleteAttachedFile(DeleteAttachedFileRequest deleteAttachedFileRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an attached file along with the underlying S3 Object. *

* *

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

*

*

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

* * @param deleteAttachedFileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeleteAttachedFileRequest.Builder} to create a * request. Request to DeleteAttachedFile API * @return A Java Future containing the result of the DeleteAttachedFile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteAttachedFile * @see AWS * API Documentation */ default CompletableFuture deleteAttachedFile( Consumer deleteAttachedFileRequest) { return deleteAttachedFile(DeleteAttachedFileRequest.builder().applyMutation(deleteAttachedFileRequest).build()); } /** *

* Deletes a contact evaluation in the specified Amazon Connect instance. *

* * @param deleteContactEvaluationRequest * @return A Java Future containing the result of the DeleteContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteContactEvaluation * @see AWS API Documentation */ default CompletableFuture deleteContactEvaluation( DeleteContactEvaluationRequest deleteContactEvaluationRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a contact evaluation in the specified Amazon Connect instance. *

*
*

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

* * @param deleteContactEvaluationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeleteContactEvaluationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteContactEvaluation * @see AWS API Documentation */ default CompletableFuture deleteContactEvaluation( Consumer deleteContactEvaluationRequest) { return deleteContactEvaluation(DeleteContactEvaluationRequest.builder().applyMutation(deleteContactEvaluationRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Deletes an evaluation form in the specified Amazon Connect instance. *

*
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
* * @param deleteEvaluationFormRequest * @return A Java Future containing the result of the DeleteEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteEvaluationForm * @see AWS * API Documentation */ default CompletableFuture deleteEvaluationForm( DeleteEvaluationFormRequest deleteEvaluationFormRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an evaluation form in the specified Amazon Connect instance. *

*
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*
*

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

* * @param deleteEvaluationFormRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeleteEvaluationFormRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteEvaluationForm * @see AWS * API Documentation */ default CompletableFuture deleteEvaluationForm( Consumer deleteEvaluationFormRequest) { return deleteEvaluationForm(DeleteEvaluationFormRequest.builder().applyMutation(deleteEvaluationFormRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. For more information, see Delete your Amazon * Connect instance in the Amazon Connect Administrator Guide. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. For more information, see Delete your Amazon * Connect instance in the Amazon Connect Administrator Guide. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 predefined attribute from the specified Amazon Connect instance. *

* * @param deletePredefinedAttributeRequest * @return A Java Future containing the result of the DeletePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeletePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture deletePredefinedAttribute( DeletePredefinedAttributeRequest deletePredefinedAttributeRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a predefined attribute from the specified Amazon Connect instance. *

*
*

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

* * @param deletePredefinedAttributeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeletePredefinedAttributeRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeletePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeletePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture deletePredefinedAttribute( Consumer deletePredefinedAttributeRequest) { return deletePredefinedAttribute(DeletePredefinedAttributeRequest.builder() .applyMutation(deletePredefinedAttributeRequest).build()); } /** *

* Deletes a prompt. *

* * @param deletePromptRequest * @return A Java Future containing the result of the DeletePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DeletePrompt * @see AWS API * Documentation */ default CompletableFuture deletePrompt(DeletePromptRequest deletePromptRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a prompt. *

*
*

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

* * @param deletePromptRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeletePromptRequest.Builder} to create a request. * @return A Java Future containing the result of the DeletePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DeletePrompt * @see AWS API * Documentation */ default CompletableFuture deletePrompt(Consumer deletePromptRequest) { return deletePrompt(DeletePromptRequest.builder().applyMutation(deletePromptRequest).build()); } /** *

* Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website. *

* * @param deleteQueueRequest * @return A Java Future containing the result of the DeleteQueue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.DeleteQueue * @see AWS API * Documentation */ default CompletableFuture deleteQueue(DeleteQueueRequest deleteQueueRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website. *

*
*

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

* * @param deleteQueueRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeleteQueueRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteQueue operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.DeleteQueue * @see AWS API * Documentation */ default CompletableFuture deleteQueue(Consumer deleteQueueRequest) { return deleteQueue(DeleteQueueRequest.builder().applyMutation(deleteQueueRequest).build()); } /** *

* Deletes a quick connect. *

* *

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

*
    *
  • *

    * Avoid dangling resources that impact your service quotas. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. *

* *

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

*
    *
  • *

    * Avoid dangling resources that impact your service quotas. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 routing profile. *

* * @param deleteRoutingProfileRequest * @return A Java Future containing the result of the DeleteRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.DeleteRoutingProfile * @see AWS * API Documentation */ default CompletableFuture deleteRoutingProfile( DeleteRoutingProfileRequest deleteRoutingProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a routing profile. *

*
*

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

* * @param deleteRoutingProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeleteRoutingProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteRoutingProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.DeleteRoutingProfile * @see AWS * API Documentation */ default CompletableFuture deleteRoutingProfile( Consumer deleteRoutingProfileRequest) { return deleteRoutingProfile(DeleteRoutingProfileRequest.builder().applyMutation(deleteRoutingProfileRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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(); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*
    *
  • *

    * Avoid dangling resources that impact your service quotas. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. *

* *

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

*
    *
  • *

    * Avoid dangling resources that impact your service quotas. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 view entirely. It deletes the view and all associated qualifiers (versions and aliases). *

* * @param deleteViewRequest * @return A Java Future containing the result of the DeleteView operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteView * @see AWS API * Documentation */ default CompletableFuture deleteView(DeleteViewRequest deleteViewRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param deleteViewRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeleteViewRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteView operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteView * @see AWS API * Documentation */ default CompletableFuture deleteView(Consumer deleteViewRequest) { return deleteView(DeleteViewRequest.builder().applyMutation(deleteViewRequest).build()); } /** *

* Deletes the particular version specified in ViewVersion identifier. *

* * @param deleteViewVersionRequest * @return A Java Future containing the result of the DeleteViewVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteViewVersion * @see AWS API * Documentation */ default CompletableFuture deleteViewVersion(DeleteViewVersionRequest deleteViewVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the particular version specified in ViewVersion identifier. *

*
*

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

* * @param deleteViewVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DeleteViewVersionRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteViewVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DeleteViewVersion * @see AWS API * Documentation */ default CompletableFuture deleteViewVersion( Consumer deleteViewVersionRequest) { return deleteViewVersion(DeleteViewVersionRequest.builder().applyMutation(deleteViewVersionRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. To request access to this API, * contact Amazon Web Services Support. *

*

* Describes the target authentication profile. *

* * @param describeAuthenticationProfileRequest * @return A Java Future containing the result of the DescribeAuthenticationProfile operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribeAuthenticationProfile * @see AWS API Documentation */ default CompletableFuture describeAuthenticationProfile( DescribeAuthenticationProfileRequest describeAuthenticationProfileRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the target authentication profile. *

*
*

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

* * @param describeAuthenticationProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DescribeAuthenticationProfileRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeAuthenticationProfile operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribeAuthenticationProfile * @see AWS API Documentation */ default CompletableFuture describeAuthenticationProfile( Consumer describeAuthenticationProfileRequest) { return describeAuthenticationProfile(DescribeAuthenticationProfileRequest.builder() .applyMutation(describeAuthenticationProfileRequest).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 from the InitiationTimestamp, and then it * is deleted. Only contact information that is available in Amazon Connect 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 from the InitiationTimestamp, and then it * is deleted. Only contact information that is available in Amazon Connect 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 a contact evaluation in the specified Amazon Connect instance. *

* * @param describeContactEvaluationRequest * @return A Java Future containing the result of the DescribeContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribeContactEvaluation * @see AWS API Documentation */ default CompletableFuture describeContactEvaluation( DescribeContactEvaluationRequest describeContactEvaluationRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a contact evaluation in the specified Amazon Connect instance. *

*
*

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

* * @param describeContactEvaluationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DescribeContactEvaluationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribeContactEvaluation * @see AWS API Documentation */ default CompletableFuture describeContactEvaluation( Consumer describeContactEvaluationRequest) { return describeContactEvaluation(DescribeContactEvaluationRequest.builder() .applyMutation(describeContactEvaluationRequest).build()); } /** *

* Describes the specified flow. *

*

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

*

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

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param describeEvaluationFormRequest * @return A Java Future containing the result of the DescribeEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribeEvaluationForm * @see AWS API Documentation */ default CompletableFuture describeEvaluationForm( DescribeEvaluationFormRequest describeEvaluationFormRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param describeEvaluationFormRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DescribeEvaluationFormRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribeEvaluationForm * @see AWS API Documentation */ default CompletableFuture describeEvaluationForm( Consumer describeEvaluationFormRequest) { return describeEvaluationForm(DescribeEvaluationFormRequest.builder().applyMutation(describeEvaluationFormRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

* * @param describePredefinedAttributeRequest * @return A Java Future containing the result of the DescribePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture describePredefinedAttribute( DescribePredefinedAttributeRequest describePredefinedAttributeRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param describePredefinedAttributeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DescribePredefinedAttributeRequest.Builder} to create * a request. * @return A Java Future containing the result of the DescribePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture describePredefinedAttribute( Consumer describePredefinedAttributeRequest) { return describePredefinedAttribute(DescribePredefinedAttributeRequest.builder() .applyMutation(describePredefinedAttributeRequest).build()); } /** *

* Describes the prompt. *

* * @param describePromptRequest * @return A Java Future containing the result of the DescribePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribePrompt * @see AWS API * Documentation */ default CompletableFuture describePrompt(DescribePromptRequest describePromptRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the prompt. *

*
*

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

* * @param describePromptRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DescribePromptRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DescribePrompt * @see AWS API * Documentation */ default CompletableFuture describePrompt(Consumer describePromptRequest) { return describePrompt(DescribePromptRequest.builder().applyMutation(describePromptRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Gets basic information about the security profile. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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(); } /** *

* Gets basic information about the security profile. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

*

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

*

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

*

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

* * @param describeViewRequest * @return A Java Future containing the result of the DescribeView operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeView * @see AWS API * Documentation */ default CompletableFuture describeView(DescribeViewRequest describeViewRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*

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

*

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

*
*

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

* * @param describeViewRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DescribeViewRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeView operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DescribeView * @see AWS API * Documentation */ default CompletableFuture describeView(Consumer describeViewRequest) { return describeView(DescribeViewRequest.builder().applyMutation(describeViewRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param disassociateAnalyticsDataSetRequest * @return A Java Future containing the result of the DisassociateAnalyticsDataSet operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DisassociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture disassociateAnalyticsDataSet( DisassociateAnalyticsDataSetRequest disassociateAnalyticsDataSetRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param disassociateAnalyticsDataSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DisassociateAnalyticsDataSetRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateAnalyticsDataSet operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DisassociateAnalyticsDataSet * @see AWS API Documentation */ default CompletableFuture disassociateAnalyticsDataSet( Consumer disassociateAnalyticsDataSetRequest) { return disassociateAnalyticsDataSet(DisassociateAnalyticsDataSetRequest.builder() .applyMutation(disassociateAnalyticsDataSetRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Disassociates a connect resource from a flow. *

* * @param disassociateFlowRequest * @return A Java Future containing the result of the DisassociateFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateFlow * @see AWS API * Documentation */ default CompletableFuture disassociateFlow(DisassociateFlowRequest disassociateFlowRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates a connect resource from a flow. *

*
*

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

* * @param disassociateFlowRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DisassociateFlowRequest.Builder} to create a request. * @return A Java Future containing the result of the DisassociateFlow operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateFlow * @see AWS API * Documentation */ default CompletableFuture disassociateFlow( Consumer disassociateFlowRequest) { return disassociateFlow(DisassociateFlowRequest.builder().applyMutation(disassociateFlowRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Disassociates an agent from a traffic distribution group. *

* * @param disassociateTrafficDistributionGroupUserRequest * @return A Java Future containing the result of the DisassociateTrafficDistributionGroupUser operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateTrafficDistributionGroupUser * @see AWS API Documentation */ default CompletableFuture disassociateTrafficDistributionGroupUser( DisassociateTrafficDistributionGroupUserRequest disassociateTrafficDistributionGroupUserRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates an agent from a traffic distribution group. *

*
*

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

* * @param disassociateTrafficDistributionGroupUserRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DisassociateTrafficDistributionGroupUserRequest.Builder} * to create a request. * @return A Java Future containing the result of the DisassociateTrafficDistributionGroupUser operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.DisassociateTrafficDistributionGroupUser * @see AWS API Documentation */ default CompletableFuture disassociateTrafficDistributionGroupUser( Consumer disassociateTrafficDistributionGroupUserRequest) { return disassociateTrafficDistributionGroupUser(DisassociateTrafficDistributionGroupUserRequest.builder() .applyMutation(disassociateTrafficDistributionGroupUserRequest).build()); } /** *

* Disassociates a set of proficiencies from a user. *

* * @param disassociateUserProficienciesRequest * @return A Java Future containing the result of the DisassociateUserProficiencies operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DisassociateUserProficiencies * @see AWS API Documentation */ default CompletableFuture disassociateUserProficiencies( DisassociateUserProficienciesRequest disassociateUserProficienciesRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates a set of proficiencies from a user. *

*
*

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

* * @param disassociateUserProficienciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.DisassociateUserProficienciesRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateUserProficiencies operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.DisassociateUserProficiencies * @see AWS API Documentation */ default CompletableFuture disassociateUserProficiencies( Consumer disassociateUserProficienciesRequest) { return disassociateUserProficiencies(DisassociateUserProficienciesRequest.builder() .applyMutation(disassociateUserProficienciesRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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()); } /** *

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

* * @param getAttachedFileRequest * Request to GetAttachedFile API. * @return A Java Future containing the result of the GetAttachedFile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetAttachedFile * @see AWS API * Documentation */ default CompletableFuture getAttachedFile(GetAttachedFileRequest getAttachedFileRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param getAttachedFileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.GetAttachedFileRequest.Builder} to create a request. * Request to GetAttachedFile API. * @return A Java Future containing the result of the GetAttachedFile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetAttachedFile * @see AWS API * Documentation */ default CompletableFuture getAttachedFile( Consumer getAttachedFileRequest) { return getAttachedFile(GetAttachedFileRequest.builder().applyMutation(getAttachedFileRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new GetCurrentMetricDataPublisher(this, getCurrentMetricDataRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new GetCurrentUserDataPublisher(this, getCurrentUserDataRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

*

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

* *

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

*

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

*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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(); } /** *

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

*

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

* *

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

*

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

*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Retrieves the flow associated for a given resource. *

* * @param getFlowAssociationRequest * @return A Java Future containing the result of the GetFlowAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetFlowAssociation * @see AWS * API Documentation */ default CompletableFuture getFlowAssociation(GetFlowAssociationRequest getFlowAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the flow associated for a given resource. *

*
*

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

* * @param getFlowAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.GetFlowAssociationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetFlowAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetFlowAssociation * @see AWS * API Documentation */ default CompletableFuture getFlowAssociation( Consumer getFlowAssociationRequest) { return getFlowAssociation(GetFlowAssociationRequest.builder().applyMutation(getFlowAssociationRequest).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. *

* *

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

*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new GetMetricDataPublisher(this, getMetricDataRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 the last 3 months, at varying intervals. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 the last 3 months, at varying intervals. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new GetMetricDataV2Publisher(this, getMetricDataV2Request); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 the prompt file. *

* * @param getPromptFileRequest * @return A Java Future containing the result of the GetPromptFile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetPromptFile * @see AWS API * Documentation */ default CompletableFuture getPromptFile(GetPromptFileRequest getPromptFileRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the prompt file. *

*
*

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

* * @param getPromptFileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.GetPromptFileRequest.Builder} to create a request. * @return A Java Future containing the result of the GetPromptFile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.GetPromptFile * @see AWS API * Documentation */ default CompletableFuture getPromptFile(Consumer getPromptFileRequest) { return getPromptFile(GetPromptFileRequest.builder().applyMutation(getPromptFileRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* *

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

*
*

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

*

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

*

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

* * @param importPhoneNumberRequest * @return A Java Future containing the result of the ImportPhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ImportPhoneNumber * @see AWS API * Documentation */ default CompletableFuture importPhoneNumber(ImportPhoneNumberRequest importPhoneNumberRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

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

*
*

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

*

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

*

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

*
*

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

* * @param importPhoneNumberRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ImportPhoneNumberRequest.Builder} to create a * request. * @return A Java Future containing the result of the ImportPhoneNumber operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ImportPhoneNumber * @see AWS API * Documentation */ default CompletableFuture importPhoneNumber( Consumer importPhoneNumberRequest) { return importPhoneNumber(ImportPhoneNumberRequest.builder().applyMutation(importPhoneNumberRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListAgentStatusesPublisher(this, listAgentStatusesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

* * @param listAnalyticsDataAssociationsRequest * @return A Java Future containing the result of the ListAnalyticsDataAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListAnalyticsDataAssociations * @see AWS API Documentation */ default CompletableFuture listAnalyticsDataAssociations( ListAnalyticsDataAssociationsRequest listAnalyticsDataAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param listAnalyticsDataAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListAnalyticsDataAssociationsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListAnalyticsDataAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListAnalyticsDataAssociations * @see AWS API Documentation */ default CompletableFuture listAnalyticsDataAssociations( Consumer listAnalyticsDataAssociationsRequest) { return listAnalyticsDataAssociations(ListAnalyticsDataAssociationsRequest.builder() .applyMutation(listAnalyticsDataAssociationsRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListApprovedOriginsPublisher(this, listApprovedOriginsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. To request access to this API, * contact Amazon Web Services Support. *

*

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

* * @param listAuthenticationProfilesRequest * @return A Java Future containing the result of the ListAuthenticationProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListAuthenticationProfiles * @see AWS API Documentation */ default CompletableFuture listAuthenticationProfiles( ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param listAuthenticationProfilesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListAuthenticationProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListAuthenticationProfiles * @see AWS API Documentation */ default CompletableFuture listAuthenticationProfiles( Consumer listAuthenticationProfilesRequest) { return listAuthenticationProfiles(ListAuthenticationProfilesRequest.builder() .applyMutation(listAuthenticationProfilesRequest).build()); } /** *

* This is a variant of * {@link #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)} * 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.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(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.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse 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 #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)} * operation. *

* * @param listAuthenticationProfilesRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListAuthenticationProfiles * @see AWS API Documentation */ default ListAuthenticationProfilesPublisher listAuthenticationProfilesPaginator( ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) { return new ListAuthenticationProfilesPublisher(this, listAuthenticationProfilesRequest); } /** *

* This is a variant of * {@link #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)} * 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.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(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.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse 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 #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)} * operation. *

*
*

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

* * @param listAuthenticationProfilesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListAuthenticationProfiles * @see AWS API Documentation */ default ListAuthenticationProfilesPublisher listAuthenticationProfilesPaginator( Consumer listAuthenticationProfilesRequest) { return listAuthenticationProfilesPaginator(ListAuthenticationProfilesRequest.builder() .applyMutation(listAuthenticationProfilesRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListBotsPublisher(this, listBotsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Lists contact evaluations in the specified Amazon Connect instance. *

* * @param listContactEvaluationsRequest * @return A Java Future containing the result of the ListContactEvaluations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListContactEvaluations * @see AWS API Documentation */ default CompletableFuture listContactEvaluations( ListContactEvaluationsRequest listContactEvaluationsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists contact evaluations in the specified Amazon Connect instance. *

*
*

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

* * @param listContactEvaluationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListContactEvaluations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListContactEvaluations * @see AWS API Documentation */ default CompletableFuture listContactEvaluations( Consumer listContactEvaluationsRequest) { return listContactEvaluations(ListContactEvaluationsRequest.builder().applyMutation(listContactEvaluationsRequest) .build()); } /** *

* This is a variant of * {@link #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)} * 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.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(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.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse 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 #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)} * operation. *

* * @param listContactEvaluationsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListContactEvaluations * @see AWS API Documentation */ default ListContactEvaluationsPublisher listContactEvaluationsPaginator( ListContactEvaluationsRequest listContactEvaluationsRequest) { return new ListContactEvaluationsPublisher(this, listContactEvaluationsRequest); } /** *

* This is a variant of * {@link #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)} * 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.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(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.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse 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 #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)} * operation. *

*
*

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

* * @param listContactEvaluationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListContactEvaluations * @see AWS API Documentation */ default ListContactEvaluationsPublisher listContactEvaluationsPaginator( Consumer listContactEvaluationsRequest) { return listContactEvaluationsPaginator(ListContactEvaluationsRequest.builder() .applyMutation(listContactEvaluationsRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListContactFlowModulesPublisher(this, listContactFlowModulesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListContactFlowsPublisher(this, listContactFlowsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. * References are links to documents that are related to a contact, such as emails, attachments, or URLs. *

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. * References are links to documents that are related to a contact, such as emails, attachments, or URLs. *

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListContactReferencesPublisher(this, listContactReferencesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListDefaultVocabulariesPublisher(this, listDefaultVocabulariesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param listEvaluationFormVersionsRequest * @return A Java Future containing the result of the ListEvaluationFormVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationFormVersions * @see AWS API Documentation */ default CompletableFuture listEvaluationFormVersions( ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param listEvaluationFormVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListEvaluationFormVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationFormVersions * @see AWS API Documentation */ default CompletableFuture listEvaluationFormVersions( Consumer listEvaluationFormVersionsRequest) { return listEvaluationFormVersions(ListEvaluationFormVersionsRequest.builder() .applyMutation(listEvaluationFormVersionsRequest).build()); } /** *

* This is a variant of * {@link #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)} * 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.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(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.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse 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 #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)} * operation. *

* * @param listEvaluationFormVersionsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationFormVersions * @see AWS API Documentation */ default ListEvaluationFormVersionsPublisher listEvaluationFormVersionsPaginator( ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) { return new ListEvaluationFormVersionsPublisher(this, listEvaluationFormVersionsRequest); } /** *

* This is a variant of * {@link #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)} * 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.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(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.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse 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 #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)} * operation. *

*
*

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

* * @param listEvaluationFormVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationFormVersions * @see AWS API Documentation */ default ListEvaluationFormVersionsPublisher listEvaluationFormVersionsPaginator( Consumer listEvaluationFormVersionsRequest) { return listEvaluationFormVersionsPaginator(ListEvaluationFormVersionsRequest.builder() .applyMutation(listEvaluationFormVersionsRequest).build()); } /** *

* Lists evaluation forms in the specified Amazon Connect instance. *

* * @param listEvaluationFormsRequest * @return A Java Future containing the result of the ListEvaluationForms operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationForms * @see AWS * API Documentation */ default CompletableFuture listEvaluationForms( ListEvaluationFormsRequest listEvaluationFormsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists evaluation forms in the specified Amazon Connect instance. *

*
*

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

* * @param listEvaluationFormsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListEvaluationForms operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationForms * @see AWS * API Documentation */ default CompletableFuture listEvaluationForms( Consumer listEvaluationFormsRequest) { return listEvaluationForms(ListEvaluationFormsRequest.builder().applyMutation(listEvaluationFormsRequest).build()); } /** *

* This is a variant of * {@link #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)} 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.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(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.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse 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 #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)} * operation. *

* * @param listEvaluationFormsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationForms * @see AWS * API Documentation */ default ListEvaluationFormsPublisher listEvaluationFormsPaginator(ListEvaluationFormsRequest listEvaluationFormsRequest) { return new ListEvaluationFormsPublisher(this, listEvaluationFormsRequest); } /** *

* This is a variant of * {@link #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)} 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.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(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.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse 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 #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)} * operation. *

*
*

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

* * @param listEvaluationFormsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListEvaluationForms * @see AWS * API Documentation */ default ListEvaluationFormsPublisher listEvaluationFormsPaginator( Consumer listEvaluationFormsRequest) { return listEvaluationFormsPaginator(ListEvaluationFormsRequest.builder().applyMutation(listEvaluationFormsRequest) .build()); } /** *

* List the flow association based on the filters. *

* * @param listFlowAssociationsRequest * @return A Java Future containing the result of the ListFlowAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListFlowAssociations * @see AWS * API Documentation */ default CompletableFuture listFlowAssociations( ListFlowAssociationsRequest listFlowAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* List the flow association based on the filters. *

*
*

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

* * @param listFlowAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListFlowAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListFlowAssociations * @see AWS * API Documentation */ default CompletableFuture listFlowAssociations( Consumer listFlowAssociationsRequest) { return listFlowAssociations(ListFlowAssociationsRequest.builder().applyMutation(listFlowAssociationsRequest).build()); } /** *

* This is a variant of * {@link #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)} * 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.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(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.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse 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 #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)} * operation. *

* * @param listFlowAssociationsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListFlowAssociations * @see AWS * API Documentation */ default ListFlowAssociationsPublisher listFlowAssociationsPaginator(ListFlowAssociationsRequest listFlowAssociationsRequest) { return new ListFlowAssociationsPublisher(this, listFlowAssociationsRequest); } /** *

* This is a variant of * {@link #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)} * 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.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(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.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse 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 #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)} * operation. *

*
*

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

* * @param listFlowAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListFlowAssociations * @see AWS * API Documentation */ default ListFlowAssociationsPublisher listFlowAssociationsPaginator( Consumer listFlowAssociationsRequest) { return listFlowAssociationsPaginator(ListFlowAssociationsRequest.builder().applyMutation(listFlowAssociationsRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListHoursOfOperationsPublisher(this, listHoursOfOperationsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListInstanceAttributesPublisher(this, listInstanceAttributesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListInstanceStorageConfigsPublisher(this, listInstanceStorageConfigsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListInstancesPublisher(this, listInstancesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListIntegrationAssociationsPublisher(this, listIntegrationAssociationsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListLambdaFunctionsPublisher(this, listLambdaFunctionsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListLexBotsPublisher(this, listLexBotsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. *

* *
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListPhoneNumbersPublisher(this, listPhoneNumbersRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. *

* *
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. *

* *
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListPhoneNumbersV2Publisher(this, listPhoneNumbersV2Request); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

* * @param listPredefinedAttributesRequest * @return A Java Future containing the result of the ListPredefinedAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListPredefinedAttributes * @see AWS API Documentation */ default CompletableFuture listPredefinedAttributes( ListPredefinedAttributesRequest listPredefinedAttributesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param listPredefinedAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListPredefinedAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListPredefinedAttributes * @see AWS API Documentation */ default CompletableFuture listPredefinedAttributes( Consumer listPredefinedAttributesRequest) { return listPredefinedAttributes(ListPredefinedAttributesRequest.builder().applyMutation(listPredefinedAttributesRequest) .build()); } /** *

* This is a variant of * {@link #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)} * 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.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(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.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse 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 #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)} * operation. *

* * @param listPredefinedAttributesRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListPredefinedAttributes * @see AWS API Documentation */ default ListPredefinedAttributesPublisher listPredefinedAttributesPaginator( ListPredefinedAttributesRequest listPredefinedAttributesRequest) { return new ListPredefinedAttributesPublisher(this, listPredefinedAttributesRequest); } /** *

* This is a variant of * {@link #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)} * 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.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(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.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse 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 #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)} * operation. *

*
*

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

* * @param listPredefinedAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListPredefinedAttributes * @see AWS API Documentation */ default ListPredefinedAttributesPublisher listPredefinedAttributesPaginator( Consumer listPredefinedAttributesRequest) { return listPredefinedAttributesPaginator(ListPredefinedAttributesRequest.builder() .applyMutation(listPredefinedAttributesRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListPromptsPublisher(this, listPromptsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListQueueQuickConnectsPublisher(this, listQueueQuickConnectsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListQueuesPublisher(this, listQueuesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListQuickConnectsPublisher(this, listQuickConnectsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* Provides a list of analysis segments for a real-time analysis session. *

* * @param listRealtimeContactAnalysisSegmentsV2Request * @return A Java Future containing the result of the ListRealtimeContactAnalysisSegmentsV2 operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for * a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` * Redaction policy set in Contact flow.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRealtimeContactAnalysisSegmentsV2 * @see AWS API Documentation */ default CompletableFuture listRealtimeContactAnalysisSegmentsV2( ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request) { throw new UnsupportedOperationException(); } /** *

* Provides a list of analysis segments for a real-time analysis session. *

*
*

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

* * @param listRealtimeContactAnalysisSegmentsV2Request * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request.Builder} * to create a request. * @return A Java Future containing the result of the ListRealtimeContactAnalysisSegmentsV2 operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for * a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` * Redaction policy set in Contact flow.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRealtimeContactAnalysisSegmentsV2 * @see AWS API Documentation */ default CompletableFuture listRealtimeContactAnalysisSegmentsV2( Consumer listRealtimeContactAnalysisSegmentsV2Request) { return listRealtimeContactAnalysisSegmentsV2(ListRealtimeContactAnalysisSegmentsV2Request.builder() .applyMutation(listRealtimeContactAnalysisSegmentsV2Request).build()); } /** *

* This is a variant of * {@link #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)} * 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.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(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.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response 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 #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)} * operation. *

* * @param listRealtimeContactAnalysisSegmentsV2Request * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for * a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` * Redaction policy set in Contact flow.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRealtimeContactAnalysisSegmentsV2 * @see AWS API Documentation */ default ListRealtimeContactAnalysisSegmentsV2Publisher listRealtimeContactAnalysisSegmentsV2Paginator( ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request) { return new ListRealtimeContactAnalysisSegmentsV2Publisher(this, listRealtimeContactAnalysisSegmentsV2Request); } /** *

* This is a variant of * {@link #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)} * 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.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(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.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response 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 #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)} * operation. *

*
*

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

* * @param listRealtimeContactAnalysisSegmentsV2Request * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for * a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` * Redaction policy set in Contact flow.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListRealtimeContactAnalysisSegmentsV2 * @see AWS API Documentation */ default ListRealtimeContactAnalysisSegmentsV2Publisher listRealtimeContactAnalysisSegmentsV2Paginator( Consumer listRealtimeContactAnalysisSegmentsV2Request) { return listRealtimeContactAnalysisSegmentsV2Paginator(ListRealtimeContactAnalysisSegmentsV2Request.builder() .applyMutation(listRealtimeContactAnalysisSegmentsV2Request).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListRoutingProfileQueuesPublisher(this, listRoutingProfileQueuesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListRoutingProfilesPublisher(this, listRoutingProfilesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListRulesPublisher(this, listRulesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListSecurityKeysPublisher(this, listSecurityKeysRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param listSecurityProfileApplicationsRequest * @return A Java Future containing the result of the ListSecurityProfileApplications operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListSecurityProfileApplications * @see AWS API Documentation */ default CompletableFuture listSecurityProfileApplications( ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param listSecurityProfileApplicationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListSecurityProfileApplications operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListSecurityProfileApplications * @see AWS API Documentation */ default CompletableFuture listSecurityProfileApplications( Consumer listSecurityProfileApplicationsRequest) { return listSecurityProfileApplications(ListSecurityProfileApplicationsRequest.builder() .applyMutation(listSecurityProfileApplicationsRequest).build()); } /** *

* This is a variant of * {@link #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)} * 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.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(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.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse 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 #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)} * operation. *

* * @param listSecurityProfileApplicationsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListSecurityProfileApplications * @see AWS API Documentation */ default ListSecurityProfileApplicationsPublisher listSecurityProfileApplicationsPaginator( ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) { return new ListSecurityProfileApplicationsPublisher(this, listSecurityProfileApplicationsRequest); } /** *

* This is a variant of * {@link #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)} * 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.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(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.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse 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 #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)} * operation. *

*
*

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

* * @param listSecurityProfileApplicationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListSecurityProfileApplications * @see AWS API Documentation */ default ListSecurityProfileApplicationsPublisher listSecurityProfileApplicationsPaginator( Consumer listSecurityProfileApplicationsRequest) { return listSecurityProfileApplicationsPaginator(ListSecurityProfileApplicationsRequest.builder() .applyMutation(listSecurityProfileApplicationsRequest).build()); } /** *

* Lists the permissions granted to a security profile. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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(); } /** *

* Lists the permissions granted to a security profile. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListSecurityProfilePermissionsPublisher(this, listSecurityProfilePermissionsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. For a mapping of the API name and user interface name of the * security profile permissions, see List of security profile * permissions. *

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. For a mapping of the API name and user interface name of the * security profile permissions, see List of security profile * permissions. *

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListSecurityProfilesPublisher(this, listSecurityProfilesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListTaskTemplatesPublisher(this, listTaskTemplatesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 group users. *

* * @param listTrafficDistributionGroupUsersRequest * @return A Java Future containing the result of the ListTrafficDistributionGroupUsers operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroupUsers * @see AWS API Documentation */ default CompletableFuture listTrafficDistributionGroupUsers( ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) { throw new UnsupportedOperationException(); } /** *

* Lists traffic distribution group users. *

*
*

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

* * @param listTrafficDistributionGroupUsersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListTrafficDistributionGroupUsers operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroupUsers * @see AWS API Documentation */ default CompletableFuture listTrafficDistributionGroupUsers( Consumer listTrafficDistributionGroupUsersRequest) { return listTrafficDistributionGroupUsers(ListTrafficDistributionGroupUsersRequest.builder() .applyMutation(listTrafficDistributionGroupUsersRequest).build()); } /** *

* This is a variant of * {@link #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)} * 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.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(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.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse 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 #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)} * operation. *

* * @param listTrafficDistributionGroupUsersRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroupUsers * @see AWS API Documentation */ default ListTrafficDistributionGroupUsersPublisher listTrafficDistributionGroupUsersPaginator( ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) { return new ListTrafficDistributionGroupUsersPublisher(this, listTrafficDistributionGroupUsersRequest); } /** *

* This is a variant of * {@link #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)} * 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.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(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.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse 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 #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)} * operation. *

*
*

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

* * @param listTrafficDistributionGroupUsersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListTrafficDistributionGroupUsers * @see AWS API Documentation */ default ListTrafficDistributionGroupUsersPublisher listTrafficDistributionGroupUsersPaginator( Consumer listTrafficDistributionGroupUsersRequest) { return listTrafficDistributionGroupUsersPaginator(ListTrafficDistributionGroupUsersRequest.builder() .applyMutation(listTrafficDistributionGroupUsersRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListTrafficDistributionGroupsPublisher(this, listTrafficDistributionGroupsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new ListUseCasesPublisher(this, listUseCasesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListUserHierarchyGroupsPublisher(this, listUserHierarchyGroupsRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* Lists proficiencies associated with a user. *

* * @param listUserProficienciesRequest * @return A Java Future containing the result of the ListUserProficiencies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListUserProficiencies * @see AWS * API Documentation */ default CompletableFuture listUserProficiencies( ListUserProficienciesRequest listUserProficienciesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists proficiencies associated with a user. *

*
*

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

* * @param listUserProficienciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListUserProficiencies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListUserProficiencies * @see AWS * API Documentation */ default CompletableFuture listUserProficiencies( Consumer listUserProficienciesRequest) { return listUserProficiencies(ListUserProficienciesRequest.builder().applyMutation(listUserProficienciesRequest).build()); } /** *

* This is a variant of * {@link #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)} * 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.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(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.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse 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 #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)} * operation. *

* * @param listUserProficienciesRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListUserProficiencies * @see AWS * API Documentation */ default ListUserProficienciesPublisher listUserProficienciesPaginator( ListUserProficienciesRequest listUserProficienciesRequest) { return new ListUserProficienciesPublisher(this, listUserProficienciesRequest); } /** *

* This is a variant of * {@link #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)} * 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.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(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.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse 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 #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)} * operation. *

*
*

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

* * @param listUserProficienciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.ListUserProficiencies * @see AWS * API Documentation */ default ListUserProficienciesPublisher listUserProficienciesPaginator( Consumer listUserProficienciesRequest) { return listUserProficienciesPaginator(ListUserProficienciesRequest.builder().applyMutation(listUserProficienciesRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new ListUsersPublisher(this, listUsersRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

*

* Results will be sorted from highest to lowest. *

* * @param listViewVersionsRequest * @return A Java Future containing the result of the ListViewVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViewVersions * @see AWS API * Documentation */ default CompletableFuture listViewVersions(ListViewVersionsRequest listViewVersionsRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Results will be sorted from highest to lowest. *

*
*

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

* * @param listViewVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListViewVersionsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListViewVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViewVersions * @see AWS API * Documentation */ default CompletableFuture listViewVersions( Consumer listViewVersionsRequest) { return listViewVersions(ListViewVersionsRequest.builder().applyMutation(listViewVersionsRequest).build()); } /** *

* This is a variant of * {@link #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} 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.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(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.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListViewVersionsResponse 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 #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} operation. *

* * @param listViewVersionsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViewVersions * @see AWS API * Documentation */ default ListViewVersionsPublisher listViewVersionsPaginator(ListViewVersionsRequest listViewVersionsRequest) { return new ListViewVersionsPublisher(this, listViewVersionsRequest); } /** *

* This is a variant of * {@link #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} 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.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(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.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListViewVersionsResponse 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 #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} operation. *

*
*

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

* * @param listViewVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListViewVersionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViewVersions * @see AWS API * Documentation */ default ListViewVersionsPublisher listViewVersionsPaginator(Consumer listViewVersionsRequest) { return listViewVersionsPaginator(ListViewVersionsRequest.builder().applyMutation(listViewVersionsRequest).build()); } /** *

* Returns views in the given instance. *

*

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

* * @param listViewsRequest * @return A Java Future containing the result of the ListViews operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViews * @see AWS API * Documentation */ default CompletableFuture listViews(ListViewsRequest listViewsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns views in the given instance. *

*

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

*
*

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

* * @param listViewsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListViewsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListViews operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViews * @see AWS API * Documentation */ default CompletableFuture listViews(Consumer listViewsRequest) { return listViews(ListViewsRequest.builder().applyMutation(listViewsRequest).build()); } /** *

* This is a variant of {@link #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)} * 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.ListViewsPublisher publisher = client.listViewsPaginator(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.ListViewsPublisher publisher = client.listViewsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListViewsResponse 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 #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)} operation. *

* * @param listViewsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViews * @see AWS API * Documentation */ default ListViewsPublisher listViewsPaginator(ListViewsRequest listViewsRequest) { return new ListViewsPublisher(this, listViewsRequest); } /** *

* This is a variant of {@link #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)} * 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.ListViewsPublisher publisher = client.listViewsPaginator(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.ListViewsPublisher publisher = client.listViewsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.ListViewsResponse 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 #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)} operation. *

*
*

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

* * @param listViewsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ListViewsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ListViews * @see AWS API * Documentation */ default ListViewsPublisher listViewsPaginator(Consumer listViewsRequest) { return listViewsPaginator(ListViewsRequest.builder().applyMutation(listViewsRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Allows pausing an ongoing task contact. *

* * @param pauseContactRequest * @return A Java Future containing the result of the PauseContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ConflictException Operation cannot be performed at this time as there is a conflict with another * operation or contact state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.PauseContact * @see AWS API * Documentation */ default CompletableFuture pauseContact(PauseContactRequest pauseContactRequest) { throw new UnsupportedOperationException(); } /** *

* Allows pausing an ongoing task contact. *

*
*

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

* * @param pauseContactRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.PauseContactRequest.Builder} to create a request. * @return A Java Future containing the result of the PauseContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ConflictException Operation cannot be performed at this time as there is a conflict with another * operation or contact state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.PauseContact * @see AWS API * Documentation */ default CompletableFuture pauseContact(Consumer pauseContactRequest) { return pauseContact(PauseContactRequest.builder().applyMutation(pauseContactRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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 admin website. *

*

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

*
*

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

*

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

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 admin website. *

*

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

*
*

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

*

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

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 and copies configuration * information for Amazon Connect resources across Amazon Web Services Regions. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 and copies configuration * information for Amazon Connect resources across Amazon Web Services Regions. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Allows resuming a task contact in a paused state. *

* * @param resumeContactRequest * @return A Java Future containing the result of the ResumeContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ConflictException Operation cannot be performed at this time as there is a conflict with another * operation or contact state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ResumeContact * @see AWS API * Documentation */ default CompletableFuture resumeContact(ResumeContactRequest resumeContactRequest) { throw new UnsupportedOperationException(); } /** *

* Allows resuming a task contact in a paused state. *

*
*

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

* * @param resumeContactRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.ResumeContactRequest.Builder} to create a request. * @return A Java Future containing the result of the ResumeContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ConflictException Operation cannot be performed at this time as there is a conflict with another * operation or contact state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.ResumeContact * @see AWS API * Documentation */ default CompletableFuture resumeContact(Consumer resumeContactRequest) { return resumeContact(ResumeContactRequest.builder().applyMutation(resumeContactRequest).build()); } /** *

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

*

* Voice and screen recordings are supported. *

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 whatever recording is selected in the flow configuration: call, screen, or both. If only call * recording or only screen recording is enabled, then it would resume. *

*

* Voice and screen recordings are supported. *

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 AgentStatuses in an Amazon Connect instance, with optional filtering. *

* * @param searchAgentStatusesRequest * @return A Java Future containing the result of the SearchAgentStatuses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchAgentStatuses * @see AWS * API Documentation */ default CompletableFuture searchAgentStatuses( SearchAgentStatusesRequest searchAgentStatusesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchAgentStatusesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchAgentStatuses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchAgentStatuses * @see AWS * API Documentation */ default CompletableFuture searchAgentStatuses( Consumer searchAgentStatusesRequest) { return searchAgentStatuses(SearchAgentStatusesRequest.builder().applyMutation(searchAgentStatusesRequest).build()); } /** *

* This is a variant of * {@link #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)} 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.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(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.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse 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 #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)} * operation. *

* * @param searchAgentStatusesRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchAgentStatuses * @see AWS * API Documentation */ default SearchAgentStatusesPublisher searchAgentStatusesPaginator(SearchAgentStatusesRequest searchAgentStatusesRequest) { return new SearchAgentStatusesPublisher(this, searchAgentStatusesRequest); } /** *

* This is a variant of * {@link #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)} 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.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(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.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse 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 #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)} * operation. *

*
*

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

* * @param searchAgentStatusesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchAgentStatuses * @see AWS * API Documentation */ default SearchAgentStatusesPublisher searchAgentStatusesPaginator( Consumer searchAgentStatusesRequest) { return searchAgentStatusesPaginator(SearchAgentStatusesRequest.builder().applyMutation(searchAgentStatusesRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new SearchAvailablePhoneNumbersPublisher(this, searchAvailablePhoneNumbersRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

* * @param searchContactFlowModulesRequest * @return A Java Future containing the result of the SearchContactFlowModules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlowModules * @see AWS API Documentation */ default CompletableFuture searchContactFlowModules( SearchContactFlowModulesRequest searchContactFlowModulesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchContactFlowModulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchContactFlowModules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlowModules * @see AWS API Documentation */ default CompletableFuture searchContactFlowModules( Consumer searchContactFlowModulesRequest) { return searchContactFlowModules(SearchContactFlowModulesRequest.builder().applyMutation(searchContactFlowModulesRequest) .build()); } /** *

* This is a variant of * {@link #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)} * 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.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(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.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse 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 #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)} * operation. *

* * @param searchContactFlowModulesRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlowModules * @see AWS API Documentation */ default SearchContactFlowModulesPublisher searchContactFlowModulesPaginator( SearchContactFlowModulesRequest searchContactFlowModulesRequest) { return new SearchContactFlowModulesPublisher(this, searchContactFlowModulesRequest); } /** *

* This is a variant of * {@link #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)} * 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.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(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.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse 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 #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)} * operation. *

*
*

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

* * @param searchContactFlowModulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlowModules * @see AWS API Documentation */ default SearchContactFlowModulesPublisher searchContactFlowModulesPaginator( Consumer searchContactFlowModulesRequest) { return searchContactFlowModulesPaginator(SearchContactFlowModulesRequest.builder() .applyMutation(searchContactFlowModulesRequest).build()); } /** *

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

* * @param searchContactFlowsRequest * @return A Java Future containing the result of the SearchContactFlows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlows * @see AWS * API Documentation */ default CompletableFuture searchContactFlows(SearchContactFlowsRequest searchContactFlowsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchContactFlowsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchContactFlows operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlows * @see AWS * API Documentation */ default CompletableFuture searchContactFlows( Consumer searchContactFlowsRequest) { return searchContactFlows(SearchContactFlowsRequest.builder().applyMutation(searchContactFlowsRequest).build()); } /** *

* This is a variant of * {@link #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)} 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.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(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.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse 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 #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)} * operation. *

* * @param searchContactFlowsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlows * @see AWS * API Documentation */ default SearchContactFlowsPublisher searchContactFlowsPaginator(SearchContactFlowsRequest searchContactFlowsRequest) { return new SearchContactFlowsPublisher(this, searchContactFlowsRequest); } /** *

* This is a variant of * {@link #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)} 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.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(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.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse 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 #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)} * operation. *

*
*

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

* * @param searchContactFlowsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchContactFlows * @see AWS * API Documentation */ default SearchContactFlowsPublisher searchContactFlowsPaginator( Consumer searchContactFlowsRequest) { return searchContactFlowsPaginator(SearchContactFlowsRequest.builder().applyMutation(searchContactFlowsRequest).build()); } /** *

* Searches contacts in an Amazon Connect instance. *

* * @param searchContactsRequest * @return A Java Future containing the result of the SearchContacts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.SearchContacts * @see AWS API * Documentation */ default CompletableFuture searchContacts(SearchContactsRequest searchContactsRequest) { throw new UnsupportedOperationException(); } /** *

* Searches contacts in an Amazon Connect instance. *

*
*

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

* * @param searchContactsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchContactsRequest.Builder} to create a request. * @return A Java Future containing the result of the SearchContacts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.SearchContacts * @see AWS API * Documentation */ default CompletableFuture searchContacts(Consumer searchContactsRequest) { return searchContacts(SearchContactsRequest.builder().applyMutation(searchContactsRequest).build()); } /** *

* This is a variant of {@link #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)} * 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.SearchContactsPublisher publisher = client.searchContactsPaginator(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.SearchContactsPublisher publisher = client.searchContactsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchContactsResponse 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 #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)} operation. *

* * @param searchContactsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.SearchContacts * @see AWS API * Documentation */ default SearchContactsPublisher searchContactsPaginator(SearchContactsRequest searchContactsRequest) { return new SearchContactsPublisher(this, searchContactsRequest); } /** *

* This is a variant of {@link #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)} * 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.SearchContactsPublisher publisher = client.searchContactsPaginator(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.SearchContactsPublisher publisher = client.searchContactsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchContactsResponse 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 #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)} operation. *

*
*

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

* * @param searchContactsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchContactsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.SearchContacts * @see AWS API * Documentation */ default SearchContactsPublisher searchContactsPaginator(Consumer searchContactsRequest) { return searchContactsPaginator(SearchContactsRequest.builder().applyMutation(searchContactsRequest).build()); } /** *

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

* * @param searchHoursOfOperationsRequest * @return A Java Future containing the result of the SearchHoursOfOperations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchHoursOfOperations * @see AWS API Documentation */ default CompletableFuture searchHoursOfOperations( SearchHoursOfOperationsRequest searchHoursOfOperationsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchHoursOfOperationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchHoursOfOperations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchHoursOfOperations * @see AWS API Documentation */ default CompletableFuture searchHoursOfOperations( Consumer searchHoursOfOperationsRequest) { return searchHoursOfOperations(SearchHoursOfOperationsRequest.builder().applyMutation(searchHoursOfOperationsRequest) .build()); } /** *

* This is a variant of * {@link #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)} * 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.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(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.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse 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 #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)} * operation. *

* * @param searchHoursOfOperationsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchHoursOfOperations * @see AWS API Documentation */ default SearchHoursOfOperationsPublisher searchHoursOfOperationsPaginator( SearchHoursOfOperationsRequest searchHoursOfOperationsRequest) { return new SearchHoursOfOperationsPublisher(this, searchHoursOfOperationsRequest); } /** *

* This is a variant of * {@link #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)} * 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.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(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.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse 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 #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)} * operation. *

*
*

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

* * @param searchHoursOfOperationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchHoursOfOperations * @see AWS API Documentation */ default SearchHoursOfOperationsPublisher searchHoursOfOperationsPaginator( Consumer searchHoursOfOperationsRequest) { return searchHoursOfOperationsPaginator(SearchHoursOfOperationsRequest.builder() .applyMutation(searchHoursOfOperationsRequest).build()); } /** *

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

* * @param searchPredefinedAttributesRequest * @return A Java Future containing the result of the SearchPredefinedAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPredefinedAttributes * @see AWS API Documentation */ default CompletableFuture searchPredefinedAttributes( SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchPredefinedAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest.Builder} to create * a request. * @return A Java Future containing the result of the SearchPredefinedAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPredefinedAttributes * @see AWS API Documentation */ default CompletableFuture searchPredefinedAttributes( Consumer searchPredefinedAttributesRequest) { return searchPredefinedAttributes(SearchPredefinedAttributesRequest.builder() .applyMutation(searchPredefinedAttributesRequest).build()); } /** *

* This is a variant of * {@link #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)} * 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.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(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.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse 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 #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)} * operation. *

* * @param searchPredefinedAttributesRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPredefinedAttributes * @see AWS API Documentation */ default SearchPredefinedAttributesPublisher searchPredefinedAttributesPaginator( SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) { return new SearchPredefinedAttributesPublisher(this, searchPredefinedAttributesRequest); } /** *

* This is a variant of * {@link #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)} * 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.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(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.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse 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 #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)} * operation. *

*
*

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

* * @param searchPredefinedAttributesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPredefinedAttributes * @see AWS API Documentation */ default SearchPredefinedAttributesPublisher searchPredefinedAttributesPaginator( Consumer searchPredefinedAttributesRequest) { return searchPredefinedAttributesPaginator(SearchPredefinedAttributesRequest.builder() .applyMutation(searchPredefinedAttributesRequest).build()); } /** *

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

* * @param searchPromptsRequest * @return A Java Future containing the result of the SearchPrompts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPrompts * @see AWS API * Documentation */ default CompletableFuture searchPrompts(SearchPromptsRequest searchPromptsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchPromptsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchPromptsRequest.Builder} to create a request. * @return A Java Future containing the result of the SearchPrompts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPrompts * @see AWS API * Documentation */ default CompletableFuture searchPrompts(Consumer searchPromptsRequest) { return searchPrompts(SearchPromptsRequest.builder().applyMutation(searchPromptsRequest).build()); } /** *

* This is a variant of {@link #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)} * 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.SearchPromptsPublisher publisher = client.searchPromptsPaginator(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.SearchPromptsPublisher publisher = client.searchPromptsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchPromptsResponse 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 #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)} operation. *

* * @param searchPromptsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPrompts * @see AWS API * Documentation */ default SearchPromptsPublisher searchPromptsPaginator(SearchPromptsRequest searchPromptsRequest) { return new SearchPromptsPublisher(this, searchPromptsRequest); } /** *

* This is a variant of {@link #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)} * 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.SearchPromptsPublisher publisher = client.searchPromptsPaginator(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.SearchPromptsPublisher publisher = client.searchPromptsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchPromptsResponse 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 #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)} operation. *

*
*

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

* * @param searchPromptsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchPromptsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchPrompts * @see AWS API * Documentation */ default SearchPromptsPublisher searchPromptsPaginator(Consumer searchPromptsRequest) { return searchPromptsPaginator(SearchPromptsRequest.builder().applyMutation(searchPromptsRequest).build()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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(); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new SearchQueuesPublisher(this, searchQueuesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

* * @param searchQuickConnectsRequest * @return A Java Future containing the result of the SearchQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchQuickConnects * @see AWS * API Documentation */ default CompletableFuture searchQuickConnects( SearchQuickConnectsRequest searchQuickConnectsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchQuickConnectsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchQuickConnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchQuickConnects * @see AWS * API Documentation */ default CompletableFuture searchQuickConnects( Consumer searchQuickConnectsRequest) { return searchQuickConnects(SearchQuickConnectsRequest.builder().applyMutation(searchQuickConnectsRequest).build()); } /** *

* This is a variant of * {@link #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)} 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.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(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.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse 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 #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)} * operation. *

* * @param searchQuickConnectsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchQuickConnects * @see AWS * API Documentation */ default SearchQuickConnectsPublisher searchQuickConnectsPaginator(SearchQuickConnectsRequest searchQuickConnectsRequest) { return new SearchQuickConnectsPublisher(this, searchQuickConnectsRequest); } /** *

* This is a variant of * {@link #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)} 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.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(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.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse 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 #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)} * operation. *

*
*

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

* * @param searchQuickConnectsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchQuickConnects * @see AWS * API Documentation */ default SearchQuickConnectsPublisher searchQuickConnectsPaginator( Consumer searchQuickConnectsRequest) { return searchQuickConnectsPaginator(SearchQuickConnectsRequest.builder().applyMutation(searchQuickConnectsRequest) .build()); } /** *

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

* * @param searchResourceTagsRequest * @return A Java Future containing the result of the SearchResourceTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. * Consider changing request parameters to get more tags.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchResourceTags * @see AWS * API Documentation */ default CompletableFuture searchResourceTags(SearchResourceTagsRequest searchResourceTagsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param searchResourceTagsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchResourceTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. * Consider changing request parameters to get more tags.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchResourceTags * @see AWS * API Documentation */ default CompletableFuture searchResourceTags( Consumer searchResourceTagsRequest) { return searchResourceTags(SearchResourceTagsRequest.builder().applyMutation(searchResourceTagsRequest).build()); } /** *

* This is a variant of * {@link #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)} 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.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(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.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse 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 #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)} * operation. *

* * @param searchResourceTagsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. * Consider changing request parameters to get more tags.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchResourceTags * @see AWS * API Documentation */ default SearchResourceTagsPublisher searchResourceTagsPaginator(SearchResourceTagsRequest searchResourceTagsRequest) { return new SearchResourceTagsPublisher(this, searchResourceTagsRequest); } /** *

* This is a variant of * {@link #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)} 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.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(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.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse 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 #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)} * operation. *

*
*

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

* * @param searchResourceTagsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. * Consider changing request parameters to get more tags.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SearchResourceTags * @see AWS * API Documentation */ default SearchResourceTagsPublisher searchResourceTagsPaginator( Consumer searchResourceTagsRequest) { return searchResourceTagsPaginator(SearchResourceTagsRequest.builder().applyMutation(searchResourceTagsRequest).build()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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(); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new SearchRoutingProfilesPublisher(this, searchRoutingProfilesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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(); } /** *

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

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new SearchSecurityProfilesPublisher(this, searchSecurityProfilesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 UserHierarchyGroups in an Amazon Connect instance, with optional filtering. *

* *

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

*
* * @param searchUserHierarchyGroupsRequest * @return A Java Future containing the result of the SearchUserHierarchyGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchUserHierarchyGroups * @see AWS API Documentation */ default CompletableFuture searchUserHierarchyGroups( SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

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

*

*

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

* * @param searchUserHierarchyGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest.Builder} to create a * request. * @return A Java Future containing the result of the SearchUserHierarchyGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchUserHierarchyGroups * @see AWS API Documentation */ default CompletableFuture searchUserHierarchyGroups( Consumer searchUserHierarchyGroupsRequest) { return searchUserHierarchyGroups(SearchUserHierarchyGroupsRequest.builder() .applyMutation(searchUserHierarchyGroupsRequest).build()); } /** *

* This is a variant of * {@link #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)} * 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.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(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.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse 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 #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)} * operation. *

* * @param searchUserHierarchyGroupsRequest * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchUserHierarchyGroups * @see AWS API Documentation */ default SearchUserHierarchyGroupsPublisher searchUserHierarchyGroupsPaginator( SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) { return new SearchUserHierarchyGroupsPublisher(this, searchUserHierarchyGroupsRequest); } /** *

* This is a variant of * {@link #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)} * 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.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(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.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse 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 #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)} * operation. *

*
*

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

* * @param searchUserHierarchyGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.SearchUserHierarchyGroups * @see AWS API Documentation */ default SearchUserHierarchyGroupsPublisher searchUserHierarchyGroupsPaginator( Consumer searchUserHierarchyGroupsRequest) { return searchUserHierarchyGroupsPaginator(SearchUserHierarchyGroupsRequest.builder() .applyMutation(searchUserHierarchyGroupsRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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) { return new SearchUsersPublisher(this, searchUsersRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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) { return new SearchVocabulariesPublisher(this, searchVocabulariesRequest); } /** *

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

*
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

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

*

* Access to this API is currently restricted to Amazon Pinpoint for supporting SMS integration. *

* * @param sendChatIntegrationEventRequest * @return A Java Future containing the result of the SendChatIntegrationEvent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.SendChatIntegrationEvent * @see AWS API Documentation */ default CompletableFuture sendChatIntegrationEvent( SendChatIntegrationEventRequest sendChatIntegrationEventRequest) { throw new UnsupportedOperationException(); } /** *

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

*
    *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

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

*

* Access to this API is currently restricted to Amazon Pinpoint for supporting SMS integration. *

*
*

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

* * @param sendChatIntegrationEventRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SendChatIntegrationEventRequest.Builder} to create a * request. * @return A Java Future containing the result of the SendChatIntegrationEvent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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.SendChatIntegrationEvent * @see AWS API Documentation */ default CompletableFuture sendChatIntegrationEvent( Consumer sendChatIntegrationEventRequest) { return sendChatIntegrationEvent(SendChatIntegrationEventRequest.builder().applyMutation(sendChatIntegrationEventRequest) .build()); } /** *

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

* *

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

*
* * @param startAttachedFileUploadRequest * @return A Java Future containing the result of the StartAttachedFileUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartAttachedFileUpload * @see AWS API Documentation */ default CompletableFuture startAttachedFileUpload( StartAttachedFileUploadRequest startAttachedFileUploadRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

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

*

*

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

* * @param startAttachedFileUploadRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.StartAttachedFileUploadRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartAttachedFileUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartAttachedFileUpload * @see AWS API Documentation */ default CompletableFuture startAttachedFileUpload( Consumer startAttachedFileUploadRequest) { return startAttachedFileUpload(StartAttachedFileUploadRequest.builder().applyMutation(startAttachedFileUploadRequest) .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 the following topics 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 the following topics 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the * particular contact. The evaluation form version used for the contact evaluation corresponds to the currently * activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started. *

* *

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

*
* * @param startContactEvaluationRequest * @return A Java Future containing the result of the StartContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartContactEvaluation * @see AWS API Documentation */ default CompletableFuture startContactEvaluation( StartContactEvaluationRequest startContactEvaluationRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

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

*

*

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

* * @param startContactEvaluationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.StartContactEvaluationRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartContactEvaluation * @see AWS API Documentation */ default CompletableFuture startContactEvaluation( Consumer startContactEvaluationRequest) { return startContactEvaluation(StartContactEvaluationRequest.builder().applyMutation(startContactEvaluationRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

* For more information about chat, see the following topics 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

* For more information about chat, see the following topics 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

*

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

*

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

*

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

* * * @param startOutboundChatContactRequest * @return A Java Future containing the result of the StartOutboundChatContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ConflictException Operation cannot be performed at this time as there is a conflict with another * operation or contact state.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartOutboundChatContact * @see AWS API Documentation */ default CompletableFuture startOutboundChatContact( StartOutboundChatContactRequest startOutboundChatContactRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*

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

*

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

* *
*

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

* * @param startOutboundChatContactRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.StartOutboundChatContactRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartOutboundChatContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ConflictException Operation cannot be performed at this time as there is a conflict with another * operation or contact state.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartOutboundChatContact * @see AWS API Documentation */ default CompletableFuture startOutboundChatContact( Consumer startOutboundChatContactRequest) { return startOutboundChatContact(StartOutboundChatContactRequest.builder().applyMutation(startOutboundChatContactRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in * the Amazon Connect Administrator Guide. *

*

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

*
    *
  • *

    * PreviousContactId *

    *
      *
    • *

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

      *
    • *
    • *

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

      *
    • *
    *
  • *
  • *

    * RelatedContactId *

    *
      *
    • *

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

      *
    • *
    • *

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

      *
    • *
    • *

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

      *
    • *
    *
  • *
*

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

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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 contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in * the Amazon Connect Administrator Guide. *

*

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

*
    *
  • *

    * PreviousContactId *

    *
      *
    • *

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

      *
    • *
    • *

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

      *
    • *
    *
  • *
  • *

    * RelatedContactId *

    *
      *
    • *

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

      *
    • *
    • *

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

      *
    • *
    • *

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

      *
    • *
    *
  • *
*

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

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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()); } /** *

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

* * @param startWebRtcContactRequest * @return A Java Future containing the result of the StartWebRTCContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartWebRTCContact * @see AWS * API Documentation */ default CompletableFuture startWebRTCContact(StartWebRtcContactRequest startWebRtcContactRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param startWebRtcContactRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.StartWebRtcContactRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartWebRTCContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • LimitExceededException The allowed limit for the resource has been exceeded.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.StartWebRTCContact * @see AWS * API Documentation */ default CompletableFuture startWebRTCContact( Consumer startWebRtcContactRequest) { return startWebRTCContact(StartWebRtcContactRequest.builder().applyMutation(startWebRtcContactRequest).build()); } /** *

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

*
    *
  • *

    * DISCONNECT *

    *
  • *
  • *

    * TRANSFER *

    *
  • *
  • *

    * QUEUE_TRANSFER *

    *
  • *
  • *

    * EXTERNAL_OUTBOUND *

    *
  • *
  • *

    * MONITOR *

    *
  • *
*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ContactNotFoundException The contact with the specified ID is not active or does not exist. Applies * to Voice calls only, not to Chat or Task contacts.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure 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. Use this API to stop queued callbacks. It does not work for voice contacts that use * the following initiation methods: *

*
    *
  • *

    * DISCONNECT *

    *
  • *
  • *

    * TRANSFER *

    *
  • *
  • *

    * QUEUE_TRANSFER *

    *
  • *
  • *

    * EXTERNAL_OUTBOUND *

    *
  • *
  • *

    * MONITOR *

    *
  • *
*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ContactNotFoundException The contact with the specified ID is not active or does not exist. Applies * to Voice calls only, not to Chat or Task contacts.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

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

*

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

* * @param submitContactEvaluationRequest * @return A Java Future containing the result of the SubmitContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SubmitContactEvaluation * @see AWS API Documentation */ default CompletableFuture submitContactEvaluation( SubmitContactEvaluationRequest submitContactEvaluationRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param submitContactEvaluationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.SubmitContactEvaluationRequest.Builder} to create a * request. * @return A Java Future containing the result of the SubmitContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.SubmitContactEvaluation * @see AWS API Documentation */ default CompletableFuture submitContactEvaluation( Consumer submitContactEvaluationRequest) { return submitContactEvaluation(SubmitContactEvaluationRequest.builder().applyMutation(submitContactEvaluationRequest) .build()); } /** *

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

*

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

*

* Voice and screen recordings are supported. *

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 whatever is selected in the flow configuration: * call, screen, or both. If only call recording or only screen recording is enabled, then it would be suspended. * For example, you might suspend the screen recording while collecting sensitive information, such as a credit card * number. Then use ResumeContactRecording to restart recording the screen. *

*

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

*

* Voice and screen recordings are supported. *

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 contact resource. For more information about this API is used, see Set up granular billing for a * detailed view of your Amazon Connect usage. *

* * @param tagContactRequest * @return A Java Future containing the result of the TagContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.TagContact * @see AWS API * Documentation */ default CompletableFuture tagContact(TagContactRequest tagContactRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param tagContactRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.TagContactRequest.Builder} to create a request. * @return A Java Future containing the result of the TagContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.TagContact * @see AWS API * Documentation */ default CompletableFuture tagContact(Consumer tagContactRequest) { return tagContact(TagContactRequest.builder().applyMutation(tagContactRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 contact resource. For more information about this API is used, see Set up granular billing for a * detailed view of your Amazon Connect usage. *

* * @param untagContactRequest * @return A Java Future containing the result of the UntagContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UntagContact * @see AWS API * Documentation */ default CompletableFuture untagContact(UntagContactRequest untagContactRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param untagContactRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UntagContactRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagContact operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UntagContact * @see AWS API * Documentation */ default CompletableFuture untagContact(Consumer untagContactRequest) { return untagContact(UntagContactRequest.builder().applyMutation(untagContactRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. To request access to this API, * contact Amazon Web Services Support. *

*

* Updates the selected authentication profile. *

* * @param updateAuthenticationProfileRequest * @return A Java Future containing the result of the UpdateAuthenticationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdateAuthenticationProfile * @see AWS API Documentation */ default CompletableFuture updateAuthenticationProfile( UpdateAuthenticationProfileRequest updateAuthenticationProfileRequest) { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the selected authentication profile. *

*
*

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

* * @param updateAuthenticationProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateAuthenticationProfileRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateAuthenticationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdateAuthenticationProfile * @see AWS API Documentation */ default CompletableFuture updateAuthenticationProfile( Consumer updateAuthenticationProfileRequest) { return updateAuthenticationProfile(UpdateAuthenticationProfileRequest.builder() .applyMutation(updateAuthenticationProfileRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 details about a contact evaluation in the specified Amazon Connect instance. A contact evaluation must be * in draft state. Answers included in the request are merged with existing answers for the given evaluation. An * answer or note can be deleted by passing an empty object ({}) to the question identifier. *

* * @param updateContactEvaluationRequest * @return A Java Future containing the result of the UpdateContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactEvaluation * @see AWS API Documentation */ default CompletableFuture updateContactEvaluation( UpdateContactEvaluationRequest updateContactEvaluationRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param updateContactEvaluationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateContactEvaluationRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateContactEvaluation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactEvaluation * @see AWS API Documentation */ default CompletableFuture updateContactEvaluation( Consumer updateContactEvaluationRequest) { return updateContactEvaluation(UpdateContactEvaluationRequest.builder().applyMutation(updateContactEvaluationRequest) .build()); } /** *

* Updates the specified flow. *

*

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

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). * These properties can be used to change a customer's position in the queue. For example, you can move a contact to * the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a * contact to the front of the queue by increasing the routing age which will make the contact look artificially * older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a * contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These * properties can also be updated by using the Set routing * priority / age flow block. *

* *

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

*
* * @param updateContactRoutingDataRequest * @return A Java Future containing the result of the UpdateContactRoutingData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceConflictException A resource already has that name.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactRoutingData * @see AWS API Documentation */ default CompletableFuture updateContactRoutingData( UpdateContactRoutingDataRequest updateContactRoutingDataRequest) { throw new UnsupportedOperationException(); } /** *

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

* *

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

*

*

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

* * @param updateContactRoutingDataRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateContactRoutingDataRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateContactRoutingData operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceConflictException A resource already has that name.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateContactRoutingData * @see AWS API Documentation */ default CompletableFuture updateContactRoutingData( Consumer updateContactRoutingDataRequest) { return updateContactRoutingData(UpdateContactRoutingDataRequest.builder().applyMutation(updateContactRoutingDataRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException 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()); } /** *

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

*

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

* * @param updateEvaluationFormRequest * @return A Java Future containing the result of the UpdateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateEvaluationForm * @see AWS * API Documentation */ default CompletableFuture updateEvaluationForm( UpdateEvaluationFormRequest updateEvaluationFormRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param updateEvaluationFormRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateEvaluationFormRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateEvaluationForm operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • ServiceQuotaExceededException The service quota has been exceeded.
  • *
  • ResourceConflictException A resource already has that name.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateEvaluationForm * @see AWS * API Documentation */ default CompletableFuture updateEvaluationForm( Consumer updateEvaluationFormRequest) { return updateEvaluationForm(UpdateEvaluationFormRequest.builder().applyMutation(updateEvaluationFormRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*

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

*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. *

* *

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

*

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

*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* Updates a phone number’s metadata. *

* *

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

*
* * @param updatePhoneNumberMetadataRequest * @return A Java Future containing the result of the UpdatePhoneNumberMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • IdempotencyException An entity with the same name already exists.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdatePhoneNumberMetadata * @see AWS API Documentation */ default CompletableFuture updatePhoneNumberMetadata( UpdatePhoneNumberMetadataRequest updatePhoneNumberMetadataRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a phone number’s metadata. *

* *

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

*

*

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

* * @param updatePhoneNumberMetadataRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdatePhoneNumberMetadataRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdatePhoneNumberMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • IdempotencyException An entity with the same name already exists.
  • *
  • ThrottlingException The throttling limit has been exceeded.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdatePhoneNumberMetadata * @see AWS API Documentation */ default CompletableFuture updatePhoneNumberMetadata( Consumer updatePhoneNumberMetadataRequest) { return updatePhoneNumberMetadata(UpdatePhoneNumberMetadataRequest.builder() .applyMutation(updatePhoneNumberMetadataRequest).build()); } /** *

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

* * @param updatePredefinedAttributeRequest * @return A Java Future containing the result of the UpdatePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdatePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture updatePredefinedAttribute( UpdatePredefinedAttributeRequest updatePredefinedAttributeRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param updatePredefinedAttributeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdatePredefinedAttributeRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdatePredefinedAttribute operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdatePredefinedAttribute * @see AWS API Documentation */ default CompletableFuture updatePredefinedAttribute( Consumer updatePredefinedAttributeRequest) { return updatePredefinedAttribute(UpdatePredefinedAttributeRequest.builder() .applyMutation(updatePredefinedAttributeRequest).build()); } /** *

* Updates a prompt. *

* * @param updatePromptRequest * @return A Java Future containing the result of the UpdatePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdatePrompt * @see AWS API * Documentation */ default CompletableFuture updatePrompt(UpdatePromptRequest updatePromptRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a prompt. *

*
*

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

* * @param updatePromptRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdatePromptRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdatePrompt operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdatePrompt * @see AWS API * Documentation */ default CompletableFuture updatePrompt(Consumer updatePromptRequest) { return updatePrompt(UpdatePromptRequest.builder().applyMutation(updatePromptRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon * Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for * OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group * that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that * is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is * provided in this scenario, you will receive a ResourceNotFoundException. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*
* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon * Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for * OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group * that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that * is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is * provided in this scenario, you will receive a ResourceNotFoundException. *

    *
  • *
  • *

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

    *
  • *
  • *

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

    *
  • *
*

*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

* * @param updateRoutingProfileAgentAvailabilityTimerRequest * @return A Java Future containing the result of the UpdateRoutingProfileAgentAvailabilityTimer operation returned * by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdateRoutingProfileAgentAvailabilityTimer * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileAgentAvailabilityTimer( UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param updateRoutingProfileAgentAvailabilityTimerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateRoutingProfileAgentAvailabilityTimerRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateRoutingProfileAgentAvailabilityTimer operation returned * by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdateRoutingProfileAgentAvailabilityTimer * @see AWS API Documentation */ default CompletableFuture updateRoutingProfileAgentAvailabilityTimer( Consumer updateRoutingProfileAgentAvailabilityTimerRequest) { return updateRoutingProfileAgentAvailabilityTimer(UpdateRoutingProfileAgentAvailabilityTimerRequest.builder() .applyMutation(updateRoutingProfileAgentAvailabilityTimerRequest).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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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()); } /** *

* Updates a security profile. *

*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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(); } /** *

* Updates a security profile. *

*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*
*

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

* * @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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. *

* *

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

*
*

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

*
*

* 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

* Updates the properties associated with the proficiencies of a user. *

* * @param updateUserProficienciesRequest * @return A Java Future containing the result of the UpdateUserProficiencies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdateUserProficiencies * @see AWS API Documentation */ default CompletableFuture updateUserProficiencies( UpdateUserProficienciesRequest updateUserProficienciesRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the properties associated with the proficiencies of a user. *

*
*

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

* * @param updateUserProficienciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateUserProficienciesRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateUserProficiencies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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.UpdateUserProficiencies * @see AWS API Documentation */ default CompletableFuture updateUserProficiencies( Consumer updateUserProficienciesRequest) { return updateUserProficiencies(UpdateUserProficienciesRequest.builder().applyMutation(updateUserProficienciesRequest) .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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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 software.amazon.awssdk.services.connect.model.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. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified 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()); } /** *

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

*

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

* * @param updateViewContentRequest * @return A Java Future containing the result of the UpdateViewContent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateViewContent * @see AWS API * Documentation */ default CompletableFuture updateViewContent(UpdateViewContentRequest updateViewContentRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param updateViewContentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateViewContentRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateViewContent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateViewContent * @see AWS API * Documentation */ default CompletableFuture updateViewContent( Consumer updateViewContentRequest) { return updateViewContent(UpdateViewContentRequest.builder().applyMutation(updateViewContentRequest).build()); } /** *

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

* * @param updateViewMetadataRequest * @return A Java Future containing the result of the UpdateViewMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateViewMetadata * @see AWS * API Documentation */ default CompletableFuture updateViewMetadata(UpdateViewMetadataRequest updateViewMetadataRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param updateViewMetadataRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.connect.model.UpdateViewMetadataRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateViewMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You do not have sufficient permissions to perform this action.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidParameterException One or more of the specified parameters are not valid.
  • *
  • ResourceNotFoundException The specified resource was not found.
  • *
  • InternalServiceException Request processing failed because of an error or failure with the service.
  • *
  • TooManyRequestsException Displayed when rate-related API limits are exceeded.
  • *
  • DuplicateResourceException A resource with the specified name already exists.
  • *
  • ResourceInUseException That resource is already in use. Please try another.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample ConnectAsyncClient.UpdateViewMetadata * @see AWS * API Documentation */ default CompletableFuture updateViewMetadata( Consumer updateViewMetadataRequest) { return updateViewMetadata(UpdateViewMetadataRequest.builder().applyMutation(updateViewMetadataRequest).build()); } @Override default ConnectServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * 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