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

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

Go to download

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

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

package software.amazon.awssdk.services.connect;

import java.util.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.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.connect.model.AccessDeniedException;
import software.amazon.awssdk.services.connect.model.AssociateApprovedOriginRequest;
import software.amazon.awssdk.services.connect.model.AssociateApprovedOriginResponse;
import software.amazon.awssdk.services.connect.model.AssociateBotRequest;
import software.amazon.awssdk.services.connect.model.AssociateBotResponse;
import software.amazon.awssdk.services.connect.model.AssociateDefaultVocabularyRequest;
import software.amazon.awssdk.services.connect.model.AssociateDefaultVocabularyResponse;
import software.amazon.awssdk.services.connect.model.AssociateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.AssociateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.AssociateLambdaFunctionRequest;
import software.amazon.awssdk.services.connect.model.AssociateLambdaFunctionResponse;
import software.amazon.awssdk.services.connect.model.AssociateLexBotRequest;
import software.amazon.awssdk.services.connect.model.AssociateLexBotResponse;
import software.amazon.awssdk.services.connect.model.AssociatePhoneNumberContactFlowRequest;
import software.amazon.awssdk.services.connect.model.AssociatePhoneNumberContactFlowResponse;
import software.amazon.awssdk.services.connect.model.AssociateQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.AssociateQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.AssociateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.AssociateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.AssociateSecurityKeyRequest;
import software.amazon.awssdk.services.connect.model.AssociateSecurityKeyResponse;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.ConnectException;
import software.amazon.awssdk.services.connect.model.ContactFlowNotPublishedException;
import software.amazon.awssdk.services.connect.model.ContactNotFoundException;
import software.amazon.awssdk.services.connect.model.CreateAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.CreateAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.CreateContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.CreateContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.CreateContactFlowRequest;
import software.amazon.awssdk.services.connect.model.CreateContactFlowResponse;
import software.amazon.awssdk.services.connect.model.CreateHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.CreateHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.CreateInstanceRequest;
import software.amazon.awssdk.services.connect.model.CreateInstanceResponse;
import software.amazon.awssdk.services.connect.model.CreateIntegrationAssociationRequest;
import software.amazon.awssdk.services.connect.model.CreateIntegrationAssociationResponse;
import software.amazon.awssdk.services.connect.model.CreateQueueRequest;
import software.amazon.awssdk.services.connect.model.CreateQueueResponse;
import software.amazon.awssdk.services.connect.model.CreateQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.CreateQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.CreateRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.CreateRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.CreateRuleRequest;
import software.amazon.awssdk.services.connect.model.CreateRuleResponse;
import software.amazon.awssdk.services.connect.model.CreateSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.CreateSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.CreateTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.CreateTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.CreateTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.CreateTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.CreateUseCaseRequest;
import software.amazon.awssdk.services.connect.model.CreateUseCaseResponse;
import software.amazon.awssdk.services.connect.model.CreateUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.CreateUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.CreateUserRequest;
import software.amazon.awssdk.services.connect.model.CreateUserResponse;
import software.amazon.awssdk.services.connect.model.CreateVocabularyRequest;
import software.amazon.awssdk.services.connect.model.CreateVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DeleteHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.DeleteHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.DeleteInstanceRequest;
import software.amazon.awssdk.services.connect.model.DeleteInstanceResponse;
import software.amazon.awssdk.services.connect.model.DeleteIntegrationAssociationRequest;
import software.amazon.awssdk.services.connect.model.DeleteIntegrationAssociationResponse;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.DeleteRuleRequest;
import software.amazon.awssdk.services.connect.model.DeleteRuleResponse;
import software.amazon.awssdk.services.connect.model.DeleteSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.DeleteSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.DeleteTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.DeleteTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.DeleteTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.DeleteTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.DeleteUseCaseRequest;
import software.amazon.awssdk.services.connect.model.DeleteUseCaseResponse;
import software.amazon.awssdk.services.connect.model.DeleteUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.DeleteUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.DeleteUserRequest;
import software.amazon.awssdk.services.connect.model.DeleteUserResponse;
import software.amazon.awssdk.services.connect.model.DeleteVocabularyRequest;
import software.amazon.awssdk.services.connect.model.DeleteVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DescribeAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.DescribeAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactResponse;
import software.amazon.awssdk.services.connect.model.DescribeHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.DescribeHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceAttributeRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceAttributeResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.DescribePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.DescribePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.DescribeQueueRequest;
import software.amazon.awssdk.services.connect.model.DescribeQueueResponse;
import software.amazon.awssdk.services.connect.model.DescribeQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.DescribeQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.DescribeRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeRuleRequest;
import software.amazon.awssdk.services.connect.model.DescribeRuleResponse;
import software.amazon.awssdk.services.connect.model.DescribeSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.DescribeTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyStructureRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyStructureResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserResponse;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyRequest;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DestinationNotAllowedException;
import software.amazon.awssdk.services.connect.model.DisassociateApprovedOriginRequest;
import software.amazon.awssdk.services.connect.model.DisassociateApprovedOriginResponse;
import software.amazon.awssdk.services.connect.model.DisassociateBotRequest;
import software.amazon.awssdk.services.connect.model.DisassociateBotResponse;
import software.amazon.awssdk.services.connect.model.DisassociateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.DisassociateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.DisassociateLambdaFunctionRequest;
import software.amazon.awssdk.services.connect.model.DisassociateLambdaFunctionResponse;
import software.amazon.awssdk.services.connect.model.DisassociateLexBotRequest;
import software.amazon.awssdk.services.connect.model.DisassociateLexBotResponse;
import software.amazon.awssdk.services.connect.model.DisassociatePhoneNumberContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DisassociatePhoneNumberContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DisassociateQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.DisassociateQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.DisassociateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.DisassociateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.DisassociateSecurityKeyRequest;
import software.amazon.awssdk.services.connect.model.DisassociateSecurityKeyResponse;
import software.amazon.awssdk.services.connect.model.DismissUserContactRequest;
import software.amazon.awssdk.services.connect.model.DismissUserContactResponse;
import software.amazon.awssdk.services.connect.model.DuplicateResourceException;
import software.amazon.awssdk.services.connect.model.GetContactAttributesRequest;
import software.amazon.awssdk.services.connect.model.GetContactAttributesResponse;
import software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest;
import software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse;
import software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest;
import software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse;
import software.amazon.awssdk.services.connect.model.GetFederationTokenRequest;
import software.amazon.awssdk.services.connect.model.GetFederationTokenResponse;
import software.amazon.awssdk.services.connect.model.GetMetricDataRequest;
import software.amazon.awssdk.services.connect.model.GetMetricDataResponse;
import software.amazon.awssdk.services.connect.model.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.IdempotencyException;
import software.amazon.awssdk.services.connect.model.InternalServiceException;
import software.amazon.awssdk.services.connect.model.InvalidContactFlowException;
import software.amazon.awssdk.services.connect.model.InvalidContactFlowModuleException;
import software.amazon.awssdk.services.connect.model.InvalidParameterException;
import software.amazon.awssdk.services.connect.model.InvalidRequestException;
import software.amazon.awssdk.services.connect.model.LimitExceededException;
import software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest;
import software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse;
import software.amazon.awssdk.services.connect.model.ListBotsRequest;
import software.amazon.awssdk.services.connect.model.ListBotsResponse;
import software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest;
import software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse;
import software.amazon.awssdk.services.connect.model.ListContactFlowsRequest;
import software.amazon.awssdk.services.connect.model.ListContactFlowsResponse;
import software.amazon.awssdk.services.connect.model.ListContactReferencesRequest;
import software.amazon.awssdk.services.connect.model.ListContactReferencesResponse;
import software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest;
import software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse;
import software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest;
import software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse;
import software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest;
import software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse;
import software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest;
import software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse;
import software.amazon.awssdk.services.connect.model.ListInstancesRequest;
import software.amazon.awssdk.services.connect.model.ListInstancesResponse;
import software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest;
import software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse;
import software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest;
import software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse;
import software.amazon.awssdk.services.connect.model.ListLexBotsRequest;
import software.amazon.awssdk.services.connect.model.ListLexBotsResponse;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response;
import software.amazon.awssdk.services.connect.model.ListPromptsRequest;
import software.amazon.awssdk.services.connect.model.ListPromptsResponse;
import software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.ListQueuesRequest;
import software.amazon.awssdk.services.connect.model.ListQueuesResponse;
import software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListRulesRequest;
import software.amazon.awssdk.services.connect.model.ListRulesResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.connect.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest;
import software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse;
import software.amazon.awssdk.services.connect.model.ListUseCasesRequest;
import software.amazon.awssdk.services.connect.model.ListUseCasesResponse;
import software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest;
import software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse;
import software.amazon.awssdk.services.connect.model.ListUsersRequest;
import software.amazon.awssdk.services.connect.model.ListUsersResponse;
import software.amazon.awssdk.services.connect.model.MonitorContactRequest;
import software.amazon.awssdk.services.connect.model.MonitorContactResponse;
import software.amazon.awssdk.services.connect.model.OutboundContactNotPermittedException;
import software.amazon.awssdk.services.connect.model.PropertyValidationException;
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.ResourceConflictException;
import software.amazon.awssdk.services.connect.model.ResourceInUseException;
import software.amazon.awssdk.services.connect.model.ResourceNotFoundException;
import software.amazon.awssdk.services.connect.model.ResourceNotReadyException;
import software.amazon.awssdk.services.connect.model.ResumeContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.ResumeContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse;
import software.amazon.awssdk.services.connect.model.SearchQueuesRequest;
import software.amazon.awssdk.services.connect.model.SearchQueuesResponse;
import software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest;
import software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse;
import software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.SearchUsersRequest;
import software.amazon.awssdk.services.connect.model.SearchUsersResponse;
import software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest;
import software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse;
import software.amazon.awssdk.services.connect.model.ServiceQuotaExceededException;
import software.amazon.awssdk.services.connect.model.StartChatContactRequest;
import software.amazon.awssdk.services.connect.model.StartChatContactResponse;
import software.amazon.awssdk.services.connect.model.StartContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.StartContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.StartContactStreamingRequest;
import software.amazon.awssdk.services.connect.model.StartContactStreamingResponse;
import software.amazon.awssdk.services.connect.model.StartOutboundVoiceContactRequest;
import software.amazon.awssdk.services.connect.model.StartOutboundVoiceContactResponse;
import software.amazon.awssdk.services.connect.model.StartTaskContactRequest;
import software.amazon.awssdk.services.connect.model.StartTaskContactResponse;
import software.amazon.awssdk.services.connect.model.StopContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.StopContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.StopContactRequest;
import software.amazon.awssdk.services.connect.model.StopContactResponse;
import software.amazon.awssdk.services.connect.model.StopContactStreamingRequest;
import software.amazon.awssdk.services.connect.model.StopContactStreamingResponse;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.TagResourceRequest;
import software.amazon.awssdk.services.connect.model.TagResourceResponse;
import software.amazon.awssdk.services.connect.model.ThrottlingException;
import software.amazon.awssdk.services.connect.model.TransferContactRequest;
import software.amazon.awssdk.services.connect.model.TransferContactResponse;
import software.amazon.awssdk.services.connect.model.UntagResourceRequest;
import software.amazon.awssdk.services.connect.model.UntagResourceResponse;
import software.amazon.awssdk.services.connect.model.UpdateAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.UpdateAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleResponse;
import software.amazon.awssdk.services.connect.model.UpdateHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.UpdateHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.UpdateInstanceAttributeRequest;
import software.amazon.awssdk.services.connect.model.UpdateInstanceAttributeResponse;
import software.amazon.awssdk.services.connect.model.UpdateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueMaxContactsRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueMaxContactsResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueOutboundCallerConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueOutboundCallerConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueStatusRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueStatusResponse;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileConcurrencyRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileConcurrencyResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileDefaultOutboundQueueRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileDefaultOutboundQueueResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.UpdateRuleRequest;
import software.amazon.awssdk.services.connect.model.UpdateRuleResponse;
import software.amazon.awssdk.services.connect.model.UpdateSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.UpdateTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.UpdateTrafficDistributionRequest;
import software.amazon.awssdk.services.connect.model.UpdateTrafficDistributionResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyGroupNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyGroupNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyStructureRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyStructureResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserIdentityInfoRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserIdentityInfoResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserPhoneConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserPhoneConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.UserNotFoundException;
import software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataIterable;
import software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataIterable;
import software.amazon.awssdk.services.connect.paginators.GetMetricDataIterable;
import software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable;
import software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable;
import software.amazon.awssdk.services.connect.paginators.ListBotsIterable;
import software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesIterable;
import software.amazon.awssdk.services.connect.paginators.ListContactFlowsIterable;
import software.amazon.awssdk.services.connect.paginators.ListContactReferencesIterable;
import software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesIterable;
import software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsIterable;
import software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesIterable;
import software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsIterable;
import software.amazon.awssdk.services.connect.paginators.ListInstancesIterable;
import software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsIterable;
import software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsIterable;
import software.amazon.awssdk.services.connect.paginators.ListLexBotsIterable;
import software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersIterable;
import software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Iterable;
import software.amazon.awssdk.services.connect.paginators.ListPromptsIterable;
import software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsIterable;
import software.amazon.awssdk.services.connect.paginators.ListQueuesIterable;
import software.amazon.awssdk.services.connect.paginators.ListQuickConnectsIterable;
import software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesIterable;
import software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesIterable;
import software.amazon.awssdk.services.connect.paginators.ListRulesIterable;
import software.amazon.awssdk.services.connect.paginators.ListSecurityKeysIterable;
import software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsIterable;
import software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesIterable;
import software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesIterable;
import software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsIterable;
import software.amazon.awssdk.services.connect.paginators.ListUseCasesIterable;
import software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsIterable;
import software.amazon.awssdk.services.connect.paginators.ListUsersIterable;
import software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable;
import software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchUsersIterable;
import software.amazon.awssdk.services.connect.paginators.SearchVocabulariesIterable;

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

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

*

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

*

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

*

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

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface ConnectClient extends SdkClient { String SERVICE_NAME = "connect"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "connect"; /** * Create a {@link ConnectClient} 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 ConnectClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link ConnectClient}. */ static ConnectClientBuilder builder() { return new DefaultConnectClientBuilder(); } /** *

* 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 Result of the AssociateApprovedOrigin operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateApprovedOrigin * @see AWS API Documentation */ default AssociateApprovedOriginResponse associateApprovedOrigin(AssociateApprovedOriginRequest associateApprovedOriginRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param associateApprovedOriginRequest * A {@link Consumer} that will call methods on {@link AssociateApprovedOriginRequest.Builder} to create a * request. * @return Result of the AssociateApprovedOrigin operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateApprovedOrigin * @see AWS API Documentation */ default AssociateApprovedOriginResponse associateApprovedOrigin( Consumer associateApprovedOriginRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the AssociateBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateBot * @see AWS API * Documentation */ default AssociateBotResponse associateBot(AssociateBotRequest associateBotRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, LimitExceededException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot. *

*
*

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

* * @param associateBotRequest * A {@link Consumer} that will call methods on {@link AssociateBotRequest.Builder} to create a request. * @return Result of the AssociateBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateBot * @see AWS API * Documentation */ default AssociateBotResponse associateBot(Consumer associateBotRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, LimitExceededException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the AssociateDefaultVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateDefaultVocabulary * @see AWS API Documentation */ default AssociateDefaultVocabularyResponse associateDefaultVocabulary( AssociateDefaultVocabularyRequest associateDefaultVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in * post-call and real-time analysis sessions for the given language. *

*
*

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

* * @param associateDefaultVocabularyRequest * A {@link Consumer} that will call methods on {@link AssociateDefaultVocabularyRequest.Builder} to create a * request. * @return Result of the AssociateDefaultVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateDefaultVocabulary * @see AWS API Documentation */ default AssociateDefaultVocabularyResponse associateDefaultVocabulary( Consumer associateDefaultVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return associateDefaultVocabulary(AssociateDefaultVocabularyRequest.builder() .applyMutation(associateDefaultVocabularyRequest).build()); } /** *

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

*

* Associates a storage resource type for the first time. You can only associate one type of storage configuration * in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing * chat transcripts. *

*

* This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the * resource being specified in the storage configuration, like an S3 bucket, exists when being used for association. *

* * @param associateInstanceStorageConfigRequest * @return Result of the AssociateInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateInstanceStorageConfig * @see AWS API Documentation */ default AssociateInstanceStorageConfigResponse associateInstanceStorageConfig( AssociateInstanceStorageConfigRequest associateInstanceStorageConfigRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Associates a storage resource type for the first time. You can only associate one type of storage configuration * in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing * chat transcripts. *

*

* This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the * resource being specified in the storage configuration, like an S3 bucket, exists when being used for association. *

*
*

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

* * @param associateInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link AssociateInstanceStorageConfigRequest.Builder} to * create a request. * @return Result of the AssociateInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateInstanceStorageConfig * @see AWS API Documentation */ default AssociateInstanceStorageConfigResponse associateInstanceStorageConfig( Consumer associateInstanceStorageConfigRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the AssociateLambdaFunction operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateLambdaFunction * @see AWS API Documentation */ default AssociateLambdaFunctionResponse associateLambdaFunction(AssociateLambdaFunctionRequest associateLambdaFunctionRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Allows the specified Amazon Connect instance to access the specified Lambda function. *

*
*

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

* * @param associateLambdaFunctionRequest * A {@link Consumer} that will call methods on {@link AssociateLambdaFunctionRequest.Builder} to create a * request. * @return Result of the AssociateLambdaFunction operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateLambdaFunction * @see AWS API Documentation */ default AssociateLambdaFunctionResponse associateLambdaFunction( Consumer associateLambdaFunctionRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 bot. *

* * @param associateLexBotRequest * @return Result of the AssociateLexBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateLexBot * @see AWS API * Documentation */ default AssociateLexBotResponse associateLexBot(AssociateLexBotRequest associateLexBotRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 bot. *

*
*

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

* * @param associateLexBotRequest * A {@link Consumer} that will call methods on {@link AssociateLexBotRequest.Builder} to create a request. * @return Result of the AssociateLexBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateLexBot * @see AWS API * Documentation */ default AssociateLexBotResponse associateLexBot(Consumer associateLexBotRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the AssociatePhoneNumberContactFlow operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociatePhoneNumberContactFlow * @see AWS API Documentation */ default AssociatePhoneNumberContactFlowResponse associatePhoneNumberContactFlow( AssociatePhoneNumberContactFlowRequest associatePhoneNumberContactFlowRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Associates a flow with a phone number claimed to your Amazon Connect instance. *

* *

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

*

*

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

* * @param associatePhoneNumberContactFlowRequest * A {@link Consumer} that will call methods on {@link AssociatePhoneNumberContactFlowRequest.Builder} to * create a request. * @return Result of the AssociatePhoneNumberContactFlow operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociatePhoneNumberContactFlow * @see AWS API Documentation */ default AssociatePhoneNumberContactFlowResponse associatePhoneNumberContactFlow( Consumer associatePhoneNumberContactFlowRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the AssociateQueueQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateQueueQuickConnects * @see AWS API Documentation */ default AssociateQueueQuickConnectsResponse associateQueueQuickConnects( AssociateQueueQuickConnectsRequest associateQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param associateQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link AssociateQueueQuickConnectsRequest.Builder} to create * a request. * @return Result of the AssociateQueueQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateQueueQuickConnects * @see AWS API Documentation */ default AssociateQueueQuickConnectsResponse associateQueueQuickConnects( Consumer associateQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return associateQueueQuickConnects(AssociateQueueQuickConnectsRequest.builder() .applyMutation(associateQueueQuickConnectsRequest).build()); } /** *

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

* * @param associateRoutingProfileQueuesRequest * @return Result of the AssociateRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateRoutingProfileQueues * @see AWS API Documentation */ default AssociateRoutingProfileQueuesResponse associateRoutingProfileQueues( AssociateRoutingProfileQueuesRequest associateRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param associateRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link AssociateRoutingProfileQueuesRequest.Builder} to * create a request. * @return Result of the AssociateRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateRoutingProfileQueues * @see AWS API Documentation */ default AssociateRoutingProfileQueuesResponse associateRoutingProfileQueues( Consumer associateRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the AssociateSecurityKey operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateSecurityKey * @see AWS * API Documentation */ default AssociateSecurityKeyResponse associateSecurityKey(AssociateSecurityKeyRequest associateSecurityKeyRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Associates a security key to the instance. *

*
*

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

* * @param associateSecurityKeyRequest * A {@link Consumer} that will call methods on {@link AssociateSecurityKeyRequest.Builder} to create a * request. * @return Result of the AssociateSecurityKey operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.AssociateSecurityKey * @see AWS * API Documentation */ default AssociateSecurityKeyResponse associateSecurityKey( Consumer associateSecurityKeyRequest) throws ResourceNotFoundException, ResourceConflictException, InternalServiceException, InvalidRequestException, InvalidParameterException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return associateSecurityKey(AssociateSecurityKeyRequest.builder().applyMutation(associateSecurityKeyRequest).build()); } /** *

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

*

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

* *

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

*
* * @param claimPhoneNumberRequest * @return Result of the ClaimPhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ClaimPhoneNumber * @see AWS API * Documentation */ default ClaimPhoneNumberResponse claimPhoneNumber(ClaimPhoneNumberRequest claimPhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

* *

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

*

*

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

* * @param claimPhoneNumberRequest * A {@link Consumer} that will call methods on {@link ClaimPhoneNumberRequest.Builder} to create a request. * @return Result of the ClaimPhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ClaimPhoneNumber * @see AWS API * Documentation */ default ClaimPhoneNumberResponse claimPhoneNumber(Consumer claimPhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return claimPhoneNumber(ClaimPhoneNumberRequest.builder().applyMutation(claimPhoneNumberRequest).build()); } /** *

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

*

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

* * @param createAgentStatusRequest * @return Result of the CreateAgentStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateAgentStatus * @see AWS API * Documentation */ default CreateAgentStatusResponse createAgentStatus(CreateAgentStatusRequest createAgentStatusRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param createAgentStatusRequest * A {@link Consumer} that will call methods on {@link CreateAgentStatusRequest.Builder} to create a request. * @return Result of the CreateAgentStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateAgentStatus * @see AWS API * Documentation */ default CreateAgentStatusResponse createAgentStatus(Consumer createAgentStatusRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the CreateContactFlow operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowException * The flow is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateContactFlow * @see AWS API * Documentation */ default CreateContactFlowResponse createContactFlow(CreateContactFlowRequest createContactFlowRequest) throws InvalidRequestException, InvalidContactFlowException, InvalidParameterException, DuplicateResourceException, LimitExceededException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param createContactFlowRequest * A {@link Consumer} that will call methods on {@link CreateContactFlowRequest.Builder} to create a request. * @return Result of the CreateContactFlow operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowException * The flow is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateContactFlow * @see AWS API * Documentation */ default CreateContactFlowResponse createContactFlow(Consumer createContactFlowRequest) throws InvalidRequestException, InvalidContactFlowException, InvalidParameterException, DuplicateResourceException, LimitExceededException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createContactFlow(CreateContactFlowRequest.builder().applyMutation(createContactFlowRequest).build()); } /** *

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

* * @param createContactFlowModuleRequest * @return Result of the CreateContactFlowModule operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowModuleException * The problems with the module. Please fix before trying again. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws IdempotencyException * An entity with the same name already exists. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateContactFlowModule * @see AWS API Documentation */ default CreateContactFlowModuleResponse createContactFlowModule(CreateContactFlowModuleRequest createContactFlowModuleRequest) throws AccessDeniedException, InvalidRequestException, InvalidContactFlowModuleException, InvalidParameterException, DuplicateResourceException, LimitExceededException, ResourceNotFoundException, ThrottlingException, IdempotencyException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createContactFlowModuleRequest * A {@link Consumer} that will call methods on {@link CreateContactFlowModuleRequest.Builder} to create a * request. * @return Result of the CreateContactFlowModule operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowModuleException * The problems with the module. Please fix before trying again. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws IdempotencyException * An entity with the same name already exists. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateContactFlowModule * @see AWS API Documentation */ default CreateContactFlowModuleResponse createContactFlowModule( Consumer createContactFlowModuleRequest) throws AccessDeniedException, InvalidRequestException, InvalidContactFlowModuleException, InvalidParameterException, DuplicateResourceException, LimitExceededException, ResourceNotFoundException, ThrottlingException, IdempotencyException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createContactFlowModule(CreateContactFlowModuleRequest.builder().applyMutation(createContactFlowModuleRequest) .build()); } /** *

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

*

* Creates hours of operation. *

* * @param createHoursOfOperationRequest * @return Result of the CreateHoursOfOperation operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateHoursOfOperation * @see AWS API Documentation */ default CreateHoursOfOperationResponse createHoursOfOperation(CreateHoursOfOperationRequest createHoursOfOperationRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Creates hours of operation. *

*
*

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

* * @param createHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link CreateHoursOfOperationRequest.Builder} to create a * request. * @return Result of the CreateHoursOfOperation operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateHoursOfOperation * @see AWS API Documentation */ default CreateHoursOfOperationResponse createHoursOfOperation( Consumer createHoursOfOperationRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createHoursOfOperation(CreateHoursOfOperationRequest.builder().applyMutation(createHoursOfOperationRequest) .build()); } /** *

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

*

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

*

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

* * @param createInstanceRequest * @return Result of the CreateInstance operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateInstance * @see AWS API * Documentation */ default CreateInstanceResponse createInstance(CreateInstanceRequest createInstanceRequest) throws InvalidRequestException, ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*

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

*
*

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

* * @param createInstanceRequest * A {@link Consumer} that will call methods on {@link CreateInstanceRequest.Builder} to create a request. * @return Result of the CreateInstance operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateInstance * @see AWS API * Documentation */ default CreateInstanceResponse createInstance(Consumer createInstanceRequest) throws InvalidRequestException, ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createInstance(CreateInstanceRequest.builder().applyMutation(createInstanceRequest).build()); } /** *

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

* * @param createIntegrationAssociationRequest * @return Result of the CreateIntegrationAssociation operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateIntegrationAssociation * @see AWS API Documentation */ default CreateIntegrationAssociationResponse createIntegrationAssociation( CreateIntegrationAssociationRequest createIntegrationAssociationRequest) throws DuplicateResourceException, ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createIntegrationAssociationRequest * A {@link Consumer} that will call methods on {@link CreateIntegrationAssociationRequest.Builder} to create * a request. * @return Result of the CreateIntegrationAssociation operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateIntegrationAssociation * @see AWS API Documentation */ default CreateIntegrationAssociationResponse createIntegrationAssociation( Consumer createIntegrationAssociationRequest) throws DuplicateResourceException, ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return createIntegrationAssociation(CreateIntegrationAssociationRequest.builder() .applyMutation(createIntegrationAssociationRequest).build()); } /** *

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

*

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

* *

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

*
* * @param createQueueRequest * @return Result of the CreateQueue operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateQueue * @see AWS API * Documentation */ default CreateQueueResponse createQueue(CreateQueueRequest createQueueRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

* *

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

*

*

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

* * @param createQueueRequest * A {@link Consumer} that will call methods on {@link CreateQueueRequest.Builder} to create a request. * @return Result of the CreateQueue operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateQueue * @see AWS API * Documentation */ default CreateQueueResponse createQueue(Consumer createQueueRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createQueue(CreateQueueRequest.builder().applyMutation(createQueueRequest).build()); } /** *

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

* * @param createQuickConnectRequest * @return Result of the CreateQuickConnect operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateQuickConnect * @see AWS * API Documentation */ default CreateQuickConnectResponse createQuickConnect(CreateQuickConnectRequest createQuickConnectRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createQuickConnectRequest * A {@link Consumer} that will call methods on {@link CreateQuickConnectRequest.Builder} to create a * request. * @return Result of the CreateQuickConnect operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateQuickConnect * @see AWS * API Documentation */ default CreateQuickConnectResponse createQuickConnect(Consumer createQuickConnectRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createQuickConnect(CreateQuickConnectRequest.builder().applyMutation(createQuickConnectRequest).build()); } /** *

* Creates a new routing profile. *

* * @param createRoutingProfileRequest * @return Result of the CreateRoutingProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateRoutingProfile * @see AWS * API Documentation */ default CreateRoutingProfileResponse createRoutingProfile(CreateRoutingProfileRequest createRoutingProfileRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Creates a new routing profile. *

*
*

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

* * @param createRoutingProfileRequest * A {@link Consumer} that will call methods on {@link CreateRoutingProfileRequest.Builder} to create a * request. * @return Result of the CreateRoutingProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateRoutingProfile * @see AWS * API Documentation */ default CreateRoutingProfileResponse createRoutingProfile( Consumer createRoutingProfileRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the CreateRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceConflictException * A resource already has that name. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateRule * @see AWS API * Documentation */ default CreateRuleResponse createRule(CreateRuleRequest createRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param createRuleRequest * A {@link Consumer} that will call methods on {@link CreateRuleRequest.Builder} to create a request. * @return Result of the CreateRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceConflictException * A resource already has that name. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateRule * @see AWS API * Documentation */ default CreateRuleResponse createRule(Consumer createRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ConnectException { return createRule(CreateRuleRequest.builder().applyMutation(createRuleRequest).build()); } /** *

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

*

* Creates a security profile. *

* * @param createSecurityProfileRequest * @return Result of the CreateSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateSecurityProfile * @see AWS * API Documentation */ default CreateSecurityProfileResponse createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, LimitExceededException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Creates a security profile. *

*
*

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

* * @param createSecurityProfileRequest * A {@link Consumer} that will call methods on {@link CreateSecurityProfileRequest.Builder} to create a * request. * @return Result of the CreateSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateSecurityProfile * @see AWS * API Documentation */ default CreateSecurityProfileResponse createSecurityProfile( Consumer createSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, LimitExceededException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createSecurityProfile(CreateSecurityProfileRequest.builder().applyMutation(createSecurityProfileRequest).build()); } /** *

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

* * @param createTaskTemplateRequest * @return Result of the CreateTaskTemplate operation returned by the service. * @throws PropertyValidationException * The property is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateTaskTemplate * @see AWS * API Documentation */ default CreateTaskTemplateResponse createTaskTemplate(CreateTaskTemplateRequest createTaskTemplateRequest) throws PropertyValidationException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param createTaskTemplateRequest * A {@link Consumer} that will call methods on {@link CreateTaskTemplateRequest.Builder} to create a * request. * @return Result of the CreateTaskTemplate operation returned by the service. * @throws PropertyValidationException * The property is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateTaskTemplate * @see AWS * API Documentation */ default CreateTaskTemplateResponse createTaskTemplate(Consumer createTaskTemplateRequest) throws PropertyValidationException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createTaskTemplate(CreateTaskTemplateRequest.builder().applyMutation(createTaskTemplateRequest).build()); } /** *

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

*

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

* * @param createTrafficDistributionGroupRequest * @return Result of the CreateTrafficDistributionGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceConflictException * A resource already has that name. * @throws ResourceNotReadyException * The resource is not ready. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateTrafficDistributionGroup * @see AWS API Documentation */ default CreateTrafficDistributionGroupResponse createTrafficDistributionGroup( CreateTrafficDistributionGroupRequest createTrafficDistributionGroupRequest) throws InvalidRequestException, AccessDeniedException, ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, InternalServiceException, ResourceConflictException, ResourceNotReadyException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param createTrafficDistributionGroupRequest * A {@link Consumer} that will call methods on {@link CreateTrafficDistributionGroupRequest.Builder} to * create a request. * @return Result of the CreateTrafficDistributionGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceConflictException * A resource already has that name. * @throws ResourceNotReadyException * The resource is not ready. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateTrafficDistributionGroup * @see AWS API Documentation */ default CreateTrafficDistributionGroupResponse createTrafficDistributionGroup( Consumer createTrafficDistributionGroupRequest) throws InvalidRequestException, AccessDeniedException, ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, InternalServiceException, ResourceConflictException, ResourceNotReadyException, AwsServiceException, SdkClientException, ConnectException { return createTrafficDistributionGroup(CreateTrafficDistributionGroupRequest.builder() .applyMutation(createTrafficDistributionGroupRequest).build()); } /** *

* Creates a use case for an integration association. *

* * @param createUseCaseRequest * @return Result of the CreateUseCase operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateUseCase * @see AWS API * Documentation */ default CreateUseCaseResponse createUseCase(CreateUseCaseRequest createUseCaseRequest) throws DuplicateResourceException, ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Creates a use case for an integration association. *

*
*

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

* * @param createUseCaseRequest * A {@link Consumer} that will call methods on {@link CreateUseCaseRequest.Builder} to create a request. * @return Result of the CreateUseCase operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateUseCase * @see AWS API * Documentation */ default CreateUseCaseResponse createUseCase(Consumer createUseCaseRequest) throws DuplicateResourceException, ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return createUseCase(CreateUseCaseRequest.builder().applyMutation(createUseCaseRequest).build()); } /** *

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

*

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

* * @param createUserRequest * @return Result of the CreateUser operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateUser * @see AWS API * Documentation */ default CreateUserResponse createUser(CreateUserRequest createUserRequest) throws InvalidRequestException, InvalidParameterException, LimitExceededException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param createUserRequest * A {@link Consumer} that will call methods on {@link CreateUserRequest.Builder} to create a request. * @return Result of the CreateUser operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateUser * @see AWS API * Documentation */ default CreateUserResponse createUser(Consumer createUserRequest) throws InvalidRequestException, InvalidParameterException, LimitExceededException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createUser(CreateUserRequest.builder().applyMutation(createUserRequest).build()); } /** *

* Creates a new user hierarchy group. *

* * @param createUserHierarchyGroupRequest * @return Result of the CreateUserHierarchyGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateUserHierarchyGroup * @see AWS API Documentation */ default CreateUserHierarchyGroupResponse createUserHierarchyGroup( CreateUserHierarchyGroupRequest createUserHierarchyGroupRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, LimitExceededException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Creates a new user hierarchy group. *

*
*

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

* * @param createUserHierarchyGroupRequest * A {@link Consumer} that will call methods on {@link CreateUserHierarchyGroupRequest.Builder} to create a * request. * @return Result of the CreateUserHierarchyGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateUserHierarchyGroup * @see AWS API Documentation */ default CreateUserHierarchyGroupResponse createUserHierarchyGroup( Consumer createUserHierarchyGroupRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, LimitExceededException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return createUserHierarchyGroup(CreateUserHierarchyGroupRequest.builder().applyMutation(createUserHierarchyGroupRequest) .build()); } /** *

* Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be * your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in * post-call and real-time contact analysis sessions for that language. *

* * @param createVocabularyRequest * @return Result of the CreateVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceConflictException * A resource already has that name. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateVocabulary * @see AWS API * Documentation */ default CreateVocabularyResponse createVocabulary(CreateVocabularyRequest createVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be * your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in * post-call and real-time contact analysis sessions for that language. *

*
*

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

* * @param createVocabularyRequest * A {@link Consumer} that will call methods on {@link CreateVocabularyRequest.Builder} to create a request. * @return Result of the CreateVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceConflictException * A resource already has that name. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.CreateVocabulary * @see AWS API * Documentation */ default CreateVocabularyResponse createVocabulary(Consumer createVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ConnectException { return createVocabulary(CreateVocabularyRequest.builder().applyMutation(createVocabularyRequest).build()); } /** *

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

* * @param deleteContactFlowRequest * @return Result of the DeleteContactFlow operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteContactFlow * @see AWS API * Documentation */ default DeleteContactFlowResponse deleteContactFlow(DeleteContactFlowRequest deleteContactFlowRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param deleteContactFlowRequest * A {@link Consumer} that will call methods on {@link DeleteContactFlowRequest.Builder} to create a request. * @return Result of the DeleteContactFlow operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteContactFlow * @see AWS API * Documentation */ default DeleteContactFlowResponse deleteContactFlow(Consumer deleteContactFlowRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return deleteContactFlow(DeleteContactFlowRequest.builder().applyMutation(deleteContactFlowRequest).build()); } /** *

* Deletes the specified flow module. *

* * @param deleteContactFlowModuleRequest * @return Result of the DeleteContactFlowModule operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteContactFlowModule * @see AWS API Documentation */ default DeleteContactFlowModuleResponse deleteContactFlowModule(DeleteContactFlowModuleRequest deleteContactFlowModuleRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Deletes the specified flow module. *

*
*

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

* * @param deleteContactFlowModuleRequest * A {@link Consumer} that will call methods on {@link DeleteContactFlowModuleRequest.Builder} to create a * request. * @return Result of the DeleteContactFlowModule operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteContactFlowModule * @see AWS API Documentation */ default DeleteContactFlowModuleResponse deleteContactFlowModule( Consumer deleteContactFlowModuleRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return deleteContactFlowModule(DeleteContactFlowModuleRequest.builder().applyMutation(deleteContactFlowModuleRequest) .build()); } /** *

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

*

* Deletes an hours of operation. *

* * @param deleteHoursOfOperationRequest * @return Result of the DeleteHoursOfOperation operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteHoursOfOperation * @see AWS API Documentation */ default DeleteHoursOfOperationResponse deleteHoursOfOperation(DeleteHoursOfOperationRequest deleteHoursOfOperationRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes an hours of operation. *

*
*

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

* * @param deleteHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link DeleteHoursOfOperationRequest.Builder} to create a * request. * @return Result of the DeleteHoursOfOperation operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteHoursOfOperation * @see AWS API Documentation */ default DeleteHoursOfOperationResponse deleteHoursOfOperation( Consumer deleteHoursOfOperationRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return deleteHoursOfOperation(DeleteHoursOfOperationRequest.builder().applyMutation(deleteHoursOfOperationRequest) .build()); } /** *

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

*

* Deletes the Amazon Connect instance. *

*

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

* * @param deleteInstanceRequest * @return Result of the DeleteInstance operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteInstance * @see AWS API * Documentation */ default DeleteInstanceResponse deleteInstance(DeleteInstanceRequest deleteInstanceRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes the Amazon Connect instance. *

*

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

*
*

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

* * @param deleteInstanceRequest * A {@link Consumer} that will call methods on {@link DeleteInstanceRequest.Builder} to create a request. * @return Result of the DeleteInstance operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteInstance * @see AWS API * Documentation */ default DeleteInstanceResponse deleteInstance(Consumer deleteInstanceRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DeleteIntegrationAssociation operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteIntegrationAssociation * @see AWS API Documentation */ default DeleteIntegrationAssociationResponse deleteIntegrationAssociation( DeleteIntegrationAssociationRequest deleteIntegrationAssociationRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param deleteIntegrationAssociationRequest * A {@link Consumer} that will call methods on {@link DeleteIntegrationAssociationRequest.Builder} to create * a request. * @return Result of the DeleteIntegrationAssociation operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteIntegrationAssociation * @see AWS API Documentation */ default DeleteIntegrationAssociationResponse deleteIntegrationAssociation( Consumer deleteIntegrationAssociationRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return deleteIntegrationAssociation(DeleteIntegrationAssociationRequest.builder() .applyMutation(deleteIntegrationAssociationRequest).build()); } /** *

* Deletes a quick connect. *

* * @param deleteQuickConnectRequest * @return Result of the DeleteQuickConnect operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteQuickConnect * @see AWS * API Documentation */ default DeleteQuickConnectResponse deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Deletes a quick connect. *

*
*

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

* * @param deleteQuickConnectRequest * A {@link Consumer} that will call methods on {@link DeleteQuickConnectRequest.Builder} to create a * request. * @return Result of the DeleteQuickConnect operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteQuickConnect * @see AWS * API Documentation */ default DeleteQuickConnectResponse deleteQuickConnect(Consumer deleteQuickConnectRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return deleteQuickConnect(DeleteQuickConnectRequest.builder().applyMutation(deleteQuickConnectRequest).build()); } /** *

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

* * @param deleteRuleRequest * @return Result of the DeleteRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteRule * @see AWS API * Documentation */ default DeleteRuleResponse deleteRule(DeleteRuleRequest deleteRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param deleteRuleRequest * A {@link Consumer} that will call methods on {@link DeleteRuleRequest.Builder} to create a request. * @return Result of the DeleteRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteRule * @see AWS API * Documentation */ default DeleteRuleResponse deleteRule(Consumer deleteRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return deleteRule(DeleteRuleRequest.builder().applyMutation(deleteRuleRequest).build()); } /** *

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

*

* Deletes a security profile. *

* * @param deleteSecurityProfileRequest * @return Result of the DeleteSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteSecurityProfile * @see AWS * API Documentation */ default DeleteSecurityProfileResponse deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, ResourceInUseException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes a security profile. *

*
*

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

* * @param deleteSecurityProfileRequest * A {@link Consumer} that will call methods on {@link DeleteSecurityProfileRequest.Builder} to create a * request. * @return Result of the DeleteSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteSecurityProfile * @see AWS * API Documentation */ default DeleteSecurityProfileResponse deleteSecurityProfile( Consumer deleteSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, ResourceInUseException, AwsServiceException, SdkClientException, ConnectException { return deleteSecurityProfile(DeleteSecurityProfileRequest.builder().applyMutation(deleteSecurityProfileRequest).build()); } /** *

* Deletes the task template. *

* * @param deleteTaskTemplateRequest * @return Result of the DeleteTaskTemplate operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteTaskTemplate * @see AWS * API Documentation */ default DeleteTaskTemplateResponse deleteTaskTemplate(DeleteTaskTemplateRequest deleteTaskTemplateRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Deletes the task template. *

*
*

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

* * @param deleteTaskTemplateRequest * A {@link Consumer} that will call methods on {@link DeleteTaskTemplateRequest.Builder} to create a * request. * @return Result of the DeleteTaskTemplate operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteTaskTemplate * @see AWS * API Documentation */ default DeleteTaskTemplateResponse deleteTaskTemplate(Consumer deleteTaskTemplateRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DeleteTrafficDistributionGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteTrafficDistributionGroup * @see AWS API Documentation */ default DeleteTrafficDistributionGroupResponse deleteTrafficDistributionGroup( DeleteTrafficDistributionGroupRequest deleteTrafficDistributionGroupRequest) throws InvalidRequestException, AccessDeniedException, ResourceInUseException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Deletes a traffic distribution group. This API can be called only in the Region where the traffic distribution * group is created. *

*

* For more information about deleting traffic distribution groups, see Delete * traffic distribution groups in the Amazon Connect Administrator Guide. *

*
*

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

* * @param deleteTrafficDistributionGroupRequest * A {@link Consumer} that will call methods on {@link DeleteTrafficDistributionGroupRequest.Builder} to * create a request. * @return Result of the DeleteTrafficDistributionGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteTrafficDistributionGroup * @see AWS API Documentation */ default DeleteTrafficDistributionGroupResponse deleteTrafficDistributionGroup( Consumer deleteTrafficDistributionGroupRequest) throws InvalidRequestException, AccessDeniedException, ResourceInUseException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return deleteTrafficDistributionGroup(DeleteTrafficDistributionGroupRequest.builder() .applyMutation(deleteTrafficDistributionGroupRequest).build()); } /** *

* Deletes a use case from an integration association. *

* * @param deleteUseCaseRequest * @return Result of the DeleteUseCase operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteUseCase * @see AWS API * Documentation */ default DeleteUseCaseResponse deleteUseCase(DeleteUseCaseRequest deleteUseCaseRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Deletes a use case from an integration association. *

*
*

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

* * @param deleteUseCaseRequest * A {@link Consumer} that will call methods on {@link DeleteUseCaseRequest.Builder} to create a request. * @return Result of the DeleteUseCase operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteUseCase * @see AWS API * Documentation */ default DeleteUseCaseResponse deleteUseCase(Consumer deleteUseCaseRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return deleteUseCase(DeleteUseCaseRequest.builder().applyMutation(deleteUseCaseRequest).build()); } /** *

* Deletes a user account from the specified Amazon Connect instance. *

*

* For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon * Connect Instance in the Amazon Connect Administrator Guide. *

* * @param deleteUserRequest * @return Result of the DeleteUser operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteUser * @see AWS API * Documentation */ default DeleteUserResponse deleteUser(DeleteUserRequest deleteUserRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Deletes a user account from the specified Amazon Connect instance. *

*

* For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon * Connect Instance in the Amazon Connect Administrator Guide. *

*
*

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

* * @param deleteUserRequest * A {@link Consumer} that will call methods on {@link DeleteUserRequest.Builder} to create a request. * @return Result of the DeleteUser operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteUser * @see AWS API * Documentation */ default DeleteUserResponse deleteUser(Consumer deleteUserRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DeleteUserHierarchyGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteUserHierarchyGroup * @see AWS API Documentation */ default DeleteUserHierarchyGroupResponse deleteUserHierarchyGroup( DeleteUserHierarchyGroupRequest deleteUserHierarchyGroupRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param deleteUserHierarchyGroupRequest * A {@link Consumer} that will call methods on {@link DeleteUserHierarchyGroupRequest.Builder} to create a * request. * @return Result of the DeleteUserHierarchyGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteUserHierarchyGroup * @see AWS API Documentation */ default DeleteUserHierarchyGroupResponse deleteUserHierarchyGroup( Consumer deleteUserHierarchyGroupRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return deleteUserHierarchyGroup(DeleteUserHierarchyGroupRequest.builder().applyMutation(deleteUserHierarchyGroupRequest) .build()); } /** *

* Deletes the vocabulary that has the given identifier. *

* * @param deleteVocabularyRequest * @return Result of the DeleteVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteVocabulary * @see AWS API * Documentation */ default DeleteVocabularyResponse deleteVocabulary(DeleteVocabularyRequest deleteVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceInUseException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Deletes the vocabulary that has the given identifier. *

*
*

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

* * @param deleteVocabularyRequest * A {@link Consumer} that will call methods on {@link DeleteVocabularyRequest.Builder} to create a request. * @return Result of the DeleteVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DeleteVocabulary * @see AWS API * Documentation */ default DeleteVocabularyResponse deleteVocabulary(Consumer deleteVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceInUseException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DescribeAgentStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeAgentStatus * @see AWS * API Documentation */ default DescribeAgentStatusResponse describeAgentStatus(DescribeAgentStatusRequest describeAgentStatusRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Describes an agent status. *

*
*

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

* * @param describeAgentStatusRequest * A {@link Consumer} that will call methods on {@link DescribeAgentStatusRequest.Builder} to create a * request. * @return Result of the DescribeAgentStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeAgentStatus * @see AWS * API Documentation */ default DescribeAgentStatusResponse describeAgentStatus( Consumer describeAgentStatusRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeAgentStatus(DescribeAgentStatusRequest.builder().applyMutation(describeAgentStatusRequest).build()); } /** *

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

*

* Describes the specified contact. *

* *

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

*

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

*
* * @param describeContactRequest * @return Result of the DescribeContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeContact * @see AWS API * Documentation */ default DescribeContactResponse describeContact(DescribeContactRequest describeContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the specified contact. *

* *

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

*

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

*

*

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

* * @param describeContactRequest * A {@link Consumer} that will call methods on {@link DescribeContactRequest.Builder} to create a request. * @return Result of the DescribeContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeContact * @see AWS API * Documentation */ default DescribeContactResponse describeContact(Consumer describeContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return describeContact(DescribeContactRequest.builder().applyMutation(describeContactRequest).build()); } /** *

* Describes the specified flow. *

*

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

* * @param describeContactFlowRequest * @return Result of the DescribeContactFlow operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ContactFlowNotPublishedException * The flow has not been published. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeContactFlow * @see AWS * API Documentation */ default DescribeContactFlowResponse describeContactFlow(DescribeContactFlowRequest describeContactFlowRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ContactFlowNotPublishedException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Describes the specified flow. *

*

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

*
*

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

* * @param describeContactFlowRequest * A {@link Consumer} that will call methods on {@link DescribeContactFlowRequest.Builder} to create a * request. * @return Result of the DescribeContactFlow operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ContactFlowNotPublishedException * The flow has not been published. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeContactFlow * @see AWS * API Documentation */ default DescribeContactFlowResponse describeContactFlow( Consumer describeContactFlowRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ContactFlowNotPublishedException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeContactFlow(DescribeContactFlowRequest.builder().applyMutation(describeContactFlowRequest).build()); } /** *

* Describes the specified flow module. *

* * @param describeContactFlowModuleRequest * @return Result of the DescribeContactFlowModule operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeContactFlowModule * @see AWS API Documentation */ default DescribeContactFlowModuleResponse describeContactFlowModule( DescribeContactFlowModuleRequest describeContactFlowModuleRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Describes the specified flow module. *

*
*

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

* * @param describeContactFlowModuleRequest * A {@link Consumer} that will call methods on {@link DescribeContactFlowModuleRequest.Builder} to create a * request. * @return Result of the DescribeContactFlowModule operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeContactFlowModule * @see AWS API Documentation */ default DescribeContactFlowModuleResponse describeContactFlowModule( Consumer describeContactFlowModuleRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeContactFlowModule(DescribeContactFlowModuleRequest.builder() .applyMutation(describeContactFlowModuleRequest).build()); } /** *

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

*

* Describes the hours of operation. *

* * @param describeHoursOfOperationRequest * @return Result of the DescribeHoursOfOperation operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeHoursOfOperation * @see AWS API Documentation */ default DescribeHoursOfOperationResponse describeHoursOfOperation( DescribeHoursOfOperationRequest describeHoursOfOperationRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the hours of operation. *

*
*

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

* * @param describeHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link DescribeHoursOfOperationRequest.Builder} to create a * request. * @return Result of the DescribeHoursOfOperation operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeHoursOfOperation * @see AWS API Documentation */ default DescribeHoursOfOperationResponse describeHoursOfOperation( Consumer describeHoursOfOperationRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DescribeInstance operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeInstance * @see AWS API * Documentation */ default DescribeInstanceResponse describeInstance(DescribeInstanceRequest describeInstanceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns the current state of the specified instance identifier. It tracks the instance while it is being created * and returns an error status, if applicable. *

*

* If an instance is not created successfully, the instance status reason field returns details relevant to the * reason. The instance in a failed state is returned only for 24 hours after the CreateInstance API was invoked. *

*
*

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

* * @param describeInstanceRequest * A {@link Consumer} that will call methods on {@link DescribeInstanceRequest.Builder} to create a request. * @return Result of the DescribeInstance operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeInstance * @see AWS API * Documentation */ default DescribeInstanceResponse describeInstance(Consumer describeInstanceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DescribeInstanceAttribute operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeInstanceAttribute * @see AWS API Documentation */ default DescribeInstanceAttributeResponse describeInstanceAttribute( DescribeInstanceAttributeRequest describeInstanceAttributeRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the specified instance attribute. *

*
*

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

* * @param describeInstanceAttributeRequest * A {@link Consumer} that will call methods on {@link DescribeInstanceAttributeRequest.Builder} to create a * request. * @return Result of the DescribeInstanceAttribute operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeInstanceAttribute * @see AWS API Documentation */ default DescribeInstanceAttributeResponse describeInstanceAttribute( Consumer describeInstanceAttributeRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DescribeInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeInstanceStorageConfig * @see AWS API Documentation */ default DescribeInstanceStorageConfigResponse describeInstanceStorageConfig( DescribeInstanceStorageConfigRequest describeInstanceStorageConfigRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Retrieves the current storage configurations for the specified resource type, association ID, and instance ID. *

*
*

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

* * @param describeInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link DescribeInstanceStorageConfigRequest.Builder} to * create a request. * @return Result of the DescribeInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeInstanceStorageConfig * @see AWS API Documentation */ default DescribeInstanceStorageConfigResponse describeInstanceStorageConfig( Consumer describeInstanceStorageConfigRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DescribePhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribePhoneNumber * @see AWS * API Documentation */ default DescribePhoneNumberResponse describePhoneNumber(DescribePhoneNumberRequest describePhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

* *

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

*

*

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

* * @param describePhoneNumberRequest * A {@link Consumer} that will call methods on {@link DescribePhoneNumberRequest.Builder} to create a * request. * @return Result of the DescribePhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribePhoneNumber * @see AWS * API Documentation */ default DescribePhoneNumberResponse describePhoneNumber( Consumer describePhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return describePhoneNumber(DescribePhoneNumberRequest.builder().applyMutation(describePhoneNumberRequest).build()); } /** *

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

*

* Describes the specified queue. *

* * @param describeQueueRequest * @return Result of the DescribeQueue operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeQueue * @see AWS API * Documentation */ default DescribeQueueResponse describeQueue(DescribeQueueRequest describeQueueRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Describes the specified queue. *

*
*

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

* * @param describeQueueRequest * A {@link Consumer} that will call methods on {@link DescribeQueueRequest.Builder} to create a request. * @return Result of the DescribeQueue operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeQueue * @see AWS API * Documentation */ default DescribeQueueResponse describeQueue(Consumer describeQueueRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeQueue(DescribeQueueRequest.builder().applyMutation(describeQueueRequest).build()); } /** *

* Describes the quick connect. *

* * @param describeQuickConnectRequest * @return Result of the DescribeQuickConnect operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeQuickConnect * @see AWS * API Documentation */ default DescribeQuickConnectResponse describeQuickConnect(DescribeQuickConnectRequest describeQuickConnectRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Describes the quick connect. *

*
*

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

* * @param describeQuickConnectRequest * A {@link Consumer} that will call methods on {@link DescribeQuickConnectRequest.Builder} to create a * request. * @return Result of the DescribeQuickConnect operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeQuickConnect * @see AWS * API Documentation */ default DescribeQuickConnectResponse describeQuickConnect( Consumer describeQuickConnectRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeQuickConnect(DescribeQuickConnectRequest.builder().applyMutation(describeQuickConnectRequest).build()); } /** *

* Describes the specified routing profile. *

* * @param describeRoutingProfileRequest * @return Result of the DescribeRoutingProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeRoutingProfile * @see AWS API Documentation */ default DescribeRoutingProfileResponse describeRoutingProfile(DescribeRoutingProfileRequest describeRoutingProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Describes the specified routing profile. *

*
*

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

* * @param describeRoutingProfileRequest * A {@link Consumer} that will call methods on {@link DescribeRoutingProfileRequest.Builder} to create a * request. * @return Result of the DescribeRoutingProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeRoutingProfile * @see AWS API Documentation */ default DescribeRoutingProfileResponse describeRoutingProfile( Consumer describeRoutingProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeRoutingProfile(DescribeRoutingProfileRequest.builder().applyMutation(describeRoutingProfileRequest) .build()); } /** *

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

* * @param describeRuleRequest * @return Result of the DescribeRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeRule * @see AWS API * Documentation */ default DescribeRuleResponse describeRule(DescribeRuleRequest describeRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param describeRuleRequest * A {@link Consumer} that will call methods on {@link DescribeRuleRequest.Builder} to create a request. * @return Result of the DescribeRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeRule * @see AWS API * Documentation */ default DescribeRuleResponse describeRule(Consumer describeRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return describeRule(DescribeRuleRequest.builder().applyMutation(describeRuleRequest).build()); } /** *

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

*

* Gets basic information about the security profle. *

* * @param describeSecurityProfileRequest * @return Result of the DescribeSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeSecurityProfile * @see AWS API Documentation */ default DescribeSecurityProfileResponse describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Gets basic information about the security profle. *

*
*

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

* * @param describeSecurityProfileRequest * A {@link Consumer} that will call methods on {@link DescribeSecurityProfileRequest.Builder} to create a * request. * @return Result of the DescribeSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeSecurityProfile * @see AWS API Documentation */ default DescribeSecurityProfileResponse describeSecurityProfile( Consumer describeSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeSecurityProfile(DescribeSecurityProfileRequest.builder().applyMutation(describeSecurityProfileRequest) .build()); } /** *

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

* * @param describeTrafficDistributionGroupRequest * @return Result of the DescribeTrafficDistributionGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeTrafficDistributionGroup * @see AWS API Documentation */ default DescribeTrafficDistributionGroupResponse describeTrafficDistributionGroup( DescribeTrafficDistributionGroupRequest describeTrafficDistributionGroupRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param describeTrafficDistributionGroupRequest * A {@link Consumer} that will call methods on {@link DescribeTrafficDistributionGroupRequest.Builder} to * create a request. * @return Result of the DescribeTrafficDistributionGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeTrafficDistributionGroup * @see AWS API Documentation */ default DescribeTrafficDistributionGroupResponse describeTrafficDistributionGroup( Consumer describeTrafficDistributionGroupRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return describeTrafficDistributionGroup(DescribeTrafficDistributionGroupRequest.builder() .applyMutation(describeTrafficDistributionGroupRequest).build()); } /** *

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

* * @param describeUserRequest * @return Result of the DescribeUser operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeUser * @see AWS API * Documentation */ default DescribeUserResponse describeUser(DescribeUserRequest describeUserRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param describeUserRequest * A {@link Consumer} that will call methods on {@link DescribeUserRequest.Builder} to create a request. * @return Result of the DescribeUser operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeUser * @see AWS API * Documentation */ default DescribeUserResponse describeUser(Consumer describeUserRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeUser(DescribeUserRequest.builder().applyMutation(describeUserRequest).build()); } /** *

* Describes the specified hierarchy group. *

* * @param describeUserHierarchyGroupRequest * @return Result of the DescribeUserHierarchyGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeUserHierarchyGroup * @see AWS API Documentation */ default DescribeUserHierarchyGroupResponse describeUserHierarchyGroup( DescribeUserHierarchyGroupRequest describeUserHierarchyGroupRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Describes the specified hierarchy group. *

*
*

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

* * @param describeUserHierarchyGroupRequest * A {@link Consumer} that will call methods on {@link DescribeUserHierarchyGroupRequest.Builder} to create a * request. * @return Result of the DescribeUserHierarchyGroup operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeUserHierarchyGroup * @see AWS API Documentation */ default DescribeUserHierarchyGroupResponse describeUserHierarchyGroup( Consumer describeUserHierarchyGroupRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeUserHierarchyGroup(DescribeUserHierarchyGroupRequest.builder() .applyMutation(describeUserHierarchyGroupRequest).build()); } /** *

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

* * @param describeUserHierarchyStructureRequest * @return Result of the DescribeUserHierarchyStructure operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeUserHierarchyStructure * @see AWS API Documentation */ default DescribeUserHierarchyStructureResponse describeUserHierarchyStructure( DescribeUserHierarchyStructureRequest describeUserHierarchyStructureRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param describeUserHierarchyStructureRequest * A {@link Consumer} that will call methods on {@link DescribeUserHierarchyStructureRequest.Builder} to * create a request. * @return Result of the DescribeUserHierarchyStructure operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeUserHierarchyStructure * @see AWS API Documentation */ default DescribeUserHierarchyStructureResponse describeUserHierarchyStructure( Consumer describeUserHierarchyStructureRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return describeUserHierarchyStructure(DescribeUserHierarchyStructureRequest.builder() .applyMutation(describeUserHierarchyStructureRequest).build()); } /** *

* Describes the specified vocabulary. *

* * @param describeVocabularyRequest * @return Result of the DescribeVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeVocabulary * @see AWS * API Documentation */ default DescribeVocabularyResponse describeVocabulary(DescribeVocabularyRequest describeVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Describes the specified vocabulary. *

*
*

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

* * @param describeVocabularyRequest * A {@link Consumer} that will call methods on {@link DescribeVocabularyRequest.Builder} to create a * request. * @return Result of the DescribeVocabulary operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DescribeVocabulary * @see AWS * API Documentation */ default DescribeVocabularyResponse describeVocabulary(Consumer describeVocabularyRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return describeVocabulary(DescribeVocabularyRequest.builder().applyMutation(describeVocabularyRequest).build()); } /** *

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

*

* Revokes access to integrated applications from Amazon Connect. *

* * @param disassociateApprovedOriginRequest * @return Result of the DisassociateApprovedOrigin operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateApprovedOrigin * @see AWS API Documentation */ default DisassociateApprovedOriginResponse disassociateApprovedOrigin( DisassociateApprovedOriginRequest disassociateApprovedOriginRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Revokes access to integrated applications from Amazon Connect. *

*
*

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

* * @param disassociateApprovedOriginRequest * A {@link Consumer} that will call methods on {@link DisassociateApprovedOriginRequest.Builder} to create a * request. * @return Result of the DisassociateApprovedOrigin operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateApprovedOrigin * @see AWS API Documentation */ default DisassociateApprovedOriginResponse disassociateApprovedOrigin( Consumer disassociateApprovedOriginRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DisassociateBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateBot * @see AWS API * Documentation */ default DisassociateBotResponse disassociateBot(DisassociateBotRequest disassociateBotRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Revokes authorization from the specified instance to access the specified Amazon Lex or Amazon Lex V2 bot. *

*
*

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

* * @param disassociateBotRequest * A {@link Consumer} that will call methods on {@link DisassociateBotRequest.Builder} to create a request. * @return Result of the DisassociateBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateBot * @see AWS API * Documentation */ default DisassociateBotResponse disassociateBot(Consumer disassociateBotRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return disassociateBot(DisassociateBotRequest.builder().applyMutation(disassociateBotRequest).build()); } /** *

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

*

* Removes the storage type configurations for the specified resource type and association ID. *

* * @param disassociateInstanceStorageConfigRequest * @return Result of the DisassociateInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateInstanceStorageConfig * @see AWS API Documentation */ default DisassociateInstanceStorageConfigResponse disassociateInstanceStorageConfig( DisassociateInstanceStorageConfigRequest disassociateInstanceStorageConfigRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Removes the storage type configurations for the specified resource type and association ID. *

*
*

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

* * @param disassociateInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link DisassociateInstanceStorageConfigRequest.Builder} to * create a request. * @return Result of the DisassociateInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateInstanceStorageConfig * @see AWS API Documentation */ default DisassociateInstanceStorageConfigResponse disassociateInstanceStorageConfig( Consumer disassociateInstanceStorageConfigRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DisassociateLambdaFunction operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateLambdaFunction * @see AWS API Documentation */ default DisassociateLambdaFunctionResponse disassociateLambdaFunction( DisassociateLambdaFunctionRequest disassociateLambdaFunctionRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Remove the Lambda function from the dropdown options available in the relevant flow blocks. *

*
*

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

* * @param disassociateLambdaFunctionRequest * A {@link Consumer} that will call methods on {@link DisassociateLambdaFunctionRequest.Builder} to create a * request. * @return Result of the DisassociateLambdaFunction operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateLambdaFunction * @see AWS API Documentation */ default DisassociateLambdaFunctionResponse disassociateLambdaFunction( Consumer disassociateLambdaFunctionRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DisassociateLexBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateLexBot * @see AWS * API Documentation */ default DisassociateLexBotResponse disassociateLexBot(DisassociateLexBotRequest disassociateLexBotRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Revokes authorization from the specified instance to access the specified Amazon Lex bot. *

*
*

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

* * @param disassociateLexBotRequest * A {@link Consumer} that will call methods on {@link DisassociateLexBotRequest.Builder} to create a * request. * @return Result of the DisassociateLexBot operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateLexBot * @see AWS * API Documentation */ default DisassociateLexBotResponse disassociateLexBot(Consumer disassociateLexBotRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DisassociatePhoneNumberContactFlow operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociatePhoneNumberContactFlow * @see AWS API Documentation */ default DisassociatePhoneNumberContactFlowResponse disassociatePhoneNumberContactFlow( DisassociatePhoneNumberContactFlowRequest disassociatePhoneNumberContactFlowRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Removes the flow association from a phone number claimed to your Amazon Connect instance. *

* *

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

*

*

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

* * @param disassociatePhoneNumberContactFlowRequest * A {@link Consumer} that will call methods on {@link DisassociatePhoneNumberContactFlowRequest.Builder} to * create a request. * @return Result of the DisassociatePhoneNumberContactFlow operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociatePhoneNumberContactFlow * @see AWS API Documentation */ default DisassociatePhoneNumberContactFlowResponse disassociatePhoneNumberContactFlow( Consumer disassociatePhoneNumberContactFlowRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DisassociateQueueQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateQueueQuickConnects * @see AWS API Documentation */ default DisassociateQueueQuickConnectsResponse disassociateQueueQuickConnects( DisassociateQueueQuickConnectsRequest disassociateQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param disassociateQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link DisassociateQueueQuickConnectsRequest.Builder} to * create a request. * @return Result of the DisassociateQueueQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateQueueQuickConnects * @see AWS API Documentation */ default DisassociateQueueQuickConnectsResponse disassociateQueueQuickConnects( Consumer disassociateQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return disassociateQueueQuickConnects(DisassociateQueueQuickConnectsRequest.builder() .applyMutation(disassociateQueueQuickConnectsRequest).build()); } /** *

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

* * @param disassociateRoutingProfileQueuesRequest * @return Result of the DisassociateRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateRoutingProfileQueues * @see AWS API Documentation */ default DisassociateRoutingProfileQueuesResponse disassociateRoutingProfileQueues( DisassociateRoutingProfileQueuesRequest disassociateRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param disassociateRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link DisassociateRoutingProfileQueuesRequest.Builder} to * create a request. * @return Result of the DisassociateRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateRoutingProfileQueues * @see AWS API Documentation */ default DisassociateRoutingProfileQueuesResponse disassociateRoutingProfileQueues( Consumer disassociateRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the DisassociateSecurityKey operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateSecurityKey * @see AWS API Documentation */ default DisassociateSecurityKeyResponse disassociateSecurityKey(DisassociateSecurityKeyRequest disassociateSecurityKeyRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Deletes the specified security key. *

*
*

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

* * @param disassociateSecurityKeyRequest * A {@link Consumer} that will call methods on {@link DisassociateSecurityKeyRequest.Builder} to create a * request. * @return Result of the DisassociateSecurityKey operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DisassociateSecurityKey * @see AWS API Documentation */ default DisassociateSecurityKeyResponse disassociateSecurityKey( Consumer disassociateSecurityKeyRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return disassociateSecurityKey(DisassociateSecurityKeyRequest.builder().applyMutation(disassociateSecurityKeyRequest) .build()); } /** *

* Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to * receive a new routed contact. Contacts can only be dismissed if they are in a MISSED, * ERROR, ENDED, or REJECTED state in the Agent Event Stream. *

* * @param dismissUserContactRequest * @return Result of the DismissUserContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DismissUserContact * @see AWS * API Documentation */ default DismissUserContactResponse dismissUserContact(DismissUserContactRequest dismissUserContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to * receive a new routed contact. Contacts can only be dismissed if they are in a MISSED, * ERROR, ENDED, or REJECTED state in the Agent Event Stream. *

*
*

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

* * @param dismissUserContactRequest * A {@link Consumer} that will call methods on {@link DismissUserContactRequest.Builder} to create a * request. * @return Result of the DismissUserContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.DismissUserContact * @see AWS * API Documentation */ default DismissUserContactResponse dismissUserContact(Consumer dismissUserContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return dismissUserContact(DismissUserContactRequest.builder().applyMutation(dismissUserContactRequest).build()); } /** *

* Retrieves the contact attributes for the specified contact. *

* * @param getContactAttributesRequest * @return Result of the GetContactAttributes operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetContactAttributes * @see AWS * API Documentation */ default GetContactAttributesResponse getContactAttributes(GetContactAttributesRequest getContactAttributesRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Retrieves the contact attributes for the specified contact. *

*
*

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

* * @param getContactAttributesRequest * A {@link Consumer} that will call methods on {@link GetContactAttributesRequest.Builder} to create a * request. * @return Result of the GetContactAttributes operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetContactAttributes * @see AWS * API Documentation */ default GetContactAttributesResponse getContactAttributes( Consumer getContactAttributesRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the GetCurrentMetricData operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentMetricData * @see AWS * API Documentation */ default GetCurrentMetricDataResponse getCurrentMetricData(GetCurrentMetricDataRequest getCurrentMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* For a description of each metric, see Real-time Metrics * Definitions in the Amazon Connect Administrator Guide. *

*
*

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

* * @param getCurrentMetricDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentMetricDataRequest.Builder} to create a * request. * @return Result of the GetCurrentMetricData operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentMetricData * @see AWS * API Documentation */ default GetCurrentMetricDataResponse getCurrentMetricData( Consumer getCurrentMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { return getCurrentMetricData(GetCurrentMetricDataRequest.builder().applyMutation(getCurrentMetricDataRequest).build()); } /** *

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

*

* For a description of each metric, see Real-time Metrics * Definitions in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataIterable responses = client.getCurrentMetricDataPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataIterable responses = client
     *             .getCurrentMetricDataPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataIterable responses = client.getCurrentMetricDataPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentMetricData * @see AWS * API Documentation */ default GetCurrentMetricDataIterable getCurrentMetricDataPaginator(GetCurrentMetricDataRequest getCurrentMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* For a description of each metric, see Real-time Metrics * Definitions in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataIterable responses = client.getCurrentMetricDataPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataIterable responses = client
     *             .getCurrentMetricDataPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataIterable responses = client.getCurrentMetricDataPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param getCurrentMetricDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentMetricDataRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentMetricData * @see AWS * API Documentation */ default GetCurrentMetricDataIterable getCurrentMetricDataPaginator( Consumer getCurrentMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { return getCurrentMetricDataPaginator(GetCurrentMetricDataRequest.builder().applyMutation(getCurrentMetricDataRequest) .build()); } /** *

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

* * @param getCurrentUserDataRequest * @return Result of the GetCurrentUserData operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentUserData * @see AWS * API Documentation */ default GetCurrentUserDataResponse getCurrentUserData(GetCurrentUserDataRequest getCurrentUserDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param getCurrentUserDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentUserDataRequest.Builder} to create a * request. * @return Result of the GetCurrentUserData operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentUserData * @see AWS * API Documentation */ default GetCurrentUserDataResponse getCurrentUserData(Consumer getCurrentUserDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { return getCurrentUserData(GetCurrentUserDataRequest.builder().applyMutation(getCurrentUserDataRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataIterable responses = client.getCurrentUserDataPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataIterable responses = client
     *             .getCurrentUserDataPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataIterable responses = client.getCurrentUserDataPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentUserData * @see AWS * API Documentation */ default GetCurrentUserDataIterable getCurrentUserDataPaginator(GetCurrentUserDataRequest getCurrentUserDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataIterable responses = client.getCurrentUserDataPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataIterable responses = client
     *             .getCurrentUserDataPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataIterable responses = client.getCurrentUserDataPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param getCurrentUserDataRequest * A {@link Consumer} that will call methods on {@link GetCurrentUserDataRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetCurrentUserData * @see AWS * API Documentation */ default GetCurrentUserDataIterable getCurrentUserDataPaginator( Consumer getCurrentUserDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { return getCurrentUserDataPaginator(GetCurrentUserDataRequest.builder().applyMutation(getCurrentUserDataRequest).build()); } /** *

* Retrieves a token for federation. *

* *

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

*

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

*
* * @param getFederationTokenRequest * @return Result of the GetFederationToken operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws UserNotFoundException * No user with the specified credentials was found in the Amazon Connect instance. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetFederationToken * @see AWS * API Documentation */ default GetFederationTokenResponse getFederationToken(GetFederationTokenRequest getFederationTokenRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, UserNotFoundException, InternalServiceException, DuplicateResourceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Retrieves a token for federation. *

* *

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

*

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

*

*

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

* * @param getFederationTokenRequest * A {@link Consumer} that will call methods on {@link GetFederationTokenRequest.Builder} to create a * request. * @return Result of the GetFederationToken operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws UserNotFoundException * No user with the specified credentials was found in the Amazon Connect instance. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetFederationToken * @see AWS * API Documentation */ default GetFederationTokenResponse getFederationToken(Consumer getFederationTokenRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, UserNotFoundException, InternalServiceException, DuplicateResourceException, AwsServiceException, SdkClientException, ConnectException { return getFederationToken(GetFederationTokenRequest.builder().applyMutation(getFederationTokenRequest).build()); } /** *

* Gets historical metric data from the specified Amazon Connect instance. *

*

* For a description of each historical metric, see Historical * Metrics Definitions in the Amazon Connect Administrator Guide. *

* * @param getMetricDataRequest * @return Result of the GetMetricData operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetMetricData * @see AWS API * Documentation */ default GetMetricDataResponse getMetricData(GetMetricDataRequest getMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Gets historical metric data from the specified Amazon Connect instance. *

*

* For a description of each historical metric, see Historical * Metrics Definitions in the Amazon Connect Administrator Guide. *

*
*

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

* * @param getMetricDataRequest * A {@link Consumer} that will call methods on {@link GetMetricDataRequest.Builder} to create a request. * @return Result of the GetMetricData operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetMetricData * @see AWS API * Documentation */ default GetMetricDataResponse getMetricData(Consumer getMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { return getMetricData(GetMetricDataRequest.builder().applyMutation(getMetricDataRequest).build()); } /** *

* Gets historical metric data from the specified Amazon Connect instance. *

*

* For a description of each historical metric, see Historical * Metrics Definitions in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of {@link #getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataIterable responses = client.getMetricDataPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.GetMetricDataIterable responses = client.getMetricDataPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.GetMetricDataResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataIterable responses = client.getMetricDataPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetMetricData * @see AWS API * Documentation */ default GetMetricDataIterable getMetricDataPaginator(GetMetricDataRequest getMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Gets historical metric data from the specified Amazon Connect instance. *

*

* For a description of each historical metric, see Historical * Metrics Definitions in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of {@link #getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataIterable responses = client.getMetricDataPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.GetMetricDataIterable responses = client.getMetricDataPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.GetMetricDataResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.GetMetricDataIterable responses = client.getMetricDataPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param getMetricDataRequest * A {@link Consumer} that will call methods on {@link GetMetricDataRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetMetricData * @see AWS API * Documentation */ default GetMetricDataIterable getMetricDataPaginator(Consumer getMetricDataRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { return getMetricDataPaginator(GetMetricDataRequest.builder().applyMutation(getMetricDataRequest).build()); } /** *

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

* * @param getTaskTemplateRequest * @return Result of the GetTaskTemplate operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetTaskTemplate * @see AWS API * Documentation */ default GetTaskTemplateResponse getTaskTemplate(GetTaskTemplateRequest getTaskTemplateRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param getTaskTemplateRequest * A {@link Consumer} that will call methods on {@link GetTaskTemplateRequest.Builder} to create a request. * @return Result of the GetTaskTemplate operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetTaskTemplate * @see AWS API * Documentation */ default GetTaskTemplateResponse getTaskTemplate(Consumer getTaskTemplateRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return getTaskTemplate(GetTaskTemplateRequest.builder().applyMutation(getTaskTemplateRequest).build()); } /** *

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

* * @param getTrafficDistributionRequest * @return Result of the GetTrafficDistribution operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetTrafficDistribution * @see AWS API Documentation */ default GetTrafficDistributionResponse getTrafficDistribution(GetTrafficDistributionRequest getTrafficDistributionRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param getTrafficDistributionRequest * A {@link Consumer} that will call methods on {@link GetTrafficDistributionRequest.Builder} to create a * request. * @return Result of the GetTrafficDistribution operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.GetTrafficDistribution * @see AWS API Documentation */ default GetTrafficDistributionResponse getTrafficDistribution( Consumer getTrafficDistributionRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return getTrafficDistribution(GetTrafficDistributionRequest.builder().applyMutation(getTrafficDistributionRequest) .build()); } /** *

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

*

* Lists agent statuses. *

* * @param listAgentStatusesRequest * @return Result of the ListAgentStatuses operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListAgentStatuses * @see AWS API * Documentation */ default ListAgentStatusesResponse listAgentStatuses(ListAgentStatusesRequest listAgentStatusesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Lists agent statuses. *

*
*

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

* * @param listAgentStatusesRequest * A {@link Consumer} that will call methods on {@link ListAgentStatusRequest.Builder} to create a request. * @return Result of the ListAgentStatuses operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListAgentStatuses * @see AWS API * Documentation */ default ListAgentStatusesResponse listAgentStatuses(Consumer listAgentStatusesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listAgentStatuses(ListAgentStatusesRequest.builder().applyMutation(listAgentStatusesRequest).build()); } /** *

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

*

* Lists agent statuses. *

*
*

* This is a variant of * {@link #listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable responses = client.listAgentStatusesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable responses = client
     *             .listAgentStatusesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable responses = client.listAgentStatusesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListAgentStatuses * @see AWS API * Documentation */ default ListAgentStatusesIterable listAgentStatusesPaginator(ListAgentStatusesRequest listAgentStatusesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Lists agent statuses. *

*
*

* This is a variant of * {@link #listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable responses = client.listAgentStatusesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable responses = client
     *             .listAgentStatusesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable responses = client.listAgentStatusesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listAgentStatusesRequest * A {@link Consumer} that will call methods on {@link ListAgentStatusRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListAgentStatuses * @see AWS API * Documentation */ default ListAgentStatusesIterable listAgentStatusesPaginator( Consumer listAgentStatusesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listAgentStatusesPaginator(ListAgentStatusesRequest.builder().applyMutation(listAgentStatusesRequest).build()); } /** *

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

*

* Returns a paginated list of all approved origins associated with the instance. *

* * @param listApprovedOriginsRequest * @return Result of the ListApprovedOrigins operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListApprovedOrigins * @see AWS * API Documentation */ default ListApprovedOriginsResponse listApprovedOrigins(ListApprovedOriginsRequest listApprovedOriginsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all approved origins associated with the instance. *

*
*

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

* * @param listApprovedOriginsRequest * A {@link Consumer} that will call methods on {@link ListApprovedOriginsRequest.Builder} to create a * request. * @return Result of the ListApprovedOrigins operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListApprovedOrigins * @see AWS * API Documentation */ default ListApprovedOriginsResponse listApprovedOrigins( Consumer listApprovedOriginsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listApprovedOrigins(ListApprovedOriginsRequest.builder().applyMutation(listApprovedOriginsRequest).build()); } /** *

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

*

* Returns a paginated list of all approved origins associated with the instance. *

*
*

* This is a variant of * {@link #listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable responses = client.listApprovedOriginsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable responses = client
     *             .listApprovedOriginsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable responses = client.listApprovedOriginsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListApprovedOrigins * @see AWS * API Documentation */ default ListApprovedOriginsIterable listApprovedOriginsPaginator(ListApprovedOriginsRequest listApprovedOriginsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all approved origins associated with the instance. *

*
*

* This is a variant of * {@link #listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable responses = client.listApprovedOriginsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable responses = client
     *             .listApprovedOriginsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable responses = client.listApprovedOriginsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listApprovedOriginsRequest * A {@link Consumer} that will call methods on {@link ListApprovedOriginsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListApprovedOrigins * @see AWS * API Documentation */ default ListApprovedOriginsIterable listApprovedOriginsPaginator( Consumer listApprovedOriginsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listApprovedOriginsPaginator(ListApprovedOriginsRequest.builder().applyMutation(listApprovedOriginsRequest) .build()); } /** *

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

*

* For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated * with the instance. Use this API to returns both Amazon Lex V1 and V2 bots. *

* * @param listBotsRequest * @return Result of the ListBots operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListBots * @see AWS API * Documentation */ default ListBotsResponse listBots(ListBotsRequest listBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated * with the instance. Use this API to returns both Amazon Lex V1 and V2 bots. *

*
*

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

* * @param listBotsRequest * A {@link Consumer} that will call methods on {@link ListBotsRequest.Builder} to create a request. * @return Result of the ListBots operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListBots * @see AWS API * Documentation */ default ListBotsResponse listBots(Consumer listBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listBots(ListBotsRequest.builder().applyMutation(listBotsRequest).build()); } /** *

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

*

* For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated * with the instance. Use this API to returns both Amazon Lex V1 and V2 bots. *

*
*

* This is a variant of {@link #listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListBotsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListBots * @see AWS API * Documentation */ default ListBotsIterable listBotsPaginator(ListBotsRequest listBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated * with the instance. Use this API to returns both Amazon Lex V1 and V2 bots. *

*
*

* This is a variant of {@link #listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListBotsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listBotsRequest * A {@link Consumer} that will call methods on {@link ListBotsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListBots * @see AWS API * Documentation */ default ListBotsIterable listBotsPaginator(Consumer listBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listBotsPaginator(ListBotsRequest.builder().applyMutation(listBotsRequest).build()); } /** *

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

* * @param listContactFlowModulesRequest * @return Result of the ListContactFlowModules operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlowModules * @see AWS API Documentation */ default ListContactFlowModulesResponse listContactFlowModules(ListContactFlowModulesRequest listContactFlowModulesRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param listContactFlowModulesRequest * A {@link Consumer} that will call methods on {@link ListContactFlowModulesRequest.Builder} to create a * request. * @return Result of the ListContactFlowModules operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlowModules * @see AWS API Documentation */ default ListContactFlowModulesResponse listContactFlowModules( Consumer listContactFlowModulesRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listContactFlowModules(ListContactFlowModulesRequest.builder().applyMutation(listContactFlowModulesRequest) .build()); } /** *

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

*
*

* This is a variant of * {@link #listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesIterable responses = client.listContactFlowModulesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesIterable responses = client
     *             .listContactFlowModulesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesIterable responses = client.listContactFlowModulesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlowModules * @see AWS API Documentation */ default ListContactFlowModulesIterable listContactFlowModulesPaginator( ListContactFlowModulesRequest listContactFlowModulesRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesIterable responses = client.listContactFlowModulesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesIterable responses = client
     *             .listContactFlowModulesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesIterable responses = client.listContactFlowModulesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listContactFlowModulesRequest * A {@link Consumer} that will call methods on {@link ListContactFlowModulesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlowModules * @see AWS API Documentation */ default ListContactFlowModulesIterable listContactFlowModulesPaginator( Consumer listContactFlowModulesRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListContactFlows operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlows * @see AWS API * Documentation */ default ListContactFlowsResponse listContactFlows(ListContactFlowsRequest listContactFlowsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the flows for the specified Amazon Connect instance. *

*

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

*

* For more information about flows, see Flows in the * Amazon Connect Administrator Guide. *

*
*

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

* * @param listContactFlowsRequest * A {@link Consumer} that will call methods on {@link ListContactFlowsRequest.Builder} to create a request. * @return Result of the ListContactFlows operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlows * @see AWS API * Documentation */ default ListContactFlowsResponse listContactFlows(Consumer listContactFlowsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listContactFlows(ListContactFlowsRequest.builder().applyMutation(listContactFlowsRequest).build()); } /** *

* Provides information about the flows for the specified Amazon Connect instance. *

*

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

*

* For more information about flows, see Flows in the * Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsIterable responses = client.listContactFlowsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListContactFlowsIterable responses = client
     *             .listContactFlowsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListContactFlowsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsIterable responses = client.listContactFlowsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlows * @see AWS API * Documentation */ default ListContactFlowsIterable listContactFlowsPaginator(ListContactFlowsRequest listContactFlowsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the flows for the specified Amazon Connect instance. *

*

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

*

* For more information about flows, see Flows in the * Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsIterable responses = client.listContactFlowsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListContactFlowsIterable responses = client
     *             .listContactFlowsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListContactFlowsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactFlowsIterable responses = client.listContactFlowsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listContactFlowsRequest * A {@link Consumer} that will call methods on {@link ListContactFlowsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactFlows * @see AWS API * Documentation */ default ListContactFlowsIterable listContactFlowsPaginator(Consumer listContactFlowsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listContactFlowsPaginator(ListContactFlowsRequest.builder().applyMutation(listContactFlowsRequest).build()); } /** *

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

*

* For the specified referenceTypes, returns a list of references associated with the contact. *

* * @param listContactReferencesRequest * @return Result of the ListContactReferences operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactReferences * @see AWS * API Documentation */ default ListContactReferencesResponse listContactReferences(ListContactReferencesRequest listContactReferencesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* For the specified referenceTypes, returns a list of references associated with the contact. *

*
*

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

* * @param listContactReferencesRequest * A {@link Consumer} that will call methods on {@link ListContactReferencesRequest.Builder} to create a * request. * @return Result of the ListContactReferences operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactReferences * @see AWS * API Documentation */ default ListContactReferencesResponse listContactReferences( Consumer listContactReferencesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listContactReferences(ListContactReferencesRequest.builder().applyMutation(listContactReferencesRequest).build()); } /** *

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

*

* For the specified referenceTypes, returns a list of references associated with the contact. *

*
*

* This is a variant of * {@link #listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesIterable responses = client.listContactReferencesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListContactReferencesIterable responses = client
     *             .listContactReferencesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListContactReferencesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesIterable responses = client.listContactReferencesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactReferences * @see AWS * API Documentation */ default ListContactReferencesIterable listContactReferencesPaginator(ListContactReferencesRequest listContactReferencesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* For the specified referenceTypes, returns a list of references associated with the contact. *

*
*

* This is a variant of * {@link #listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesIterable responses = client.listContactReferencesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListContactReferencesIterable responses = client
     *             .listContactReferencesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListContactReferencesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListContactReferencesIterable responses = client.listContactReferencesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listContactReferencesRequest * A {@link Consumer} that will call methods on {@link ListContactReferencesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListContactReferences * @see AWS * API Documentation */ default ListContactReferencesIterable listContactReferencesPaginator( Consumer listContactReferencesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listContactReferencesPaginator(ListContactReferencesRequest.builder().applyMutation(listContactReferencesRequest) .build()); } /** *

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

* * @param listDefaultVocabulariesRequest * @return Result of the ListDefaultVocabularies operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListDefaultVocabularies * @see AWS API Documentation */ default ListDefaultVocabulariesResponse listDefaultVocabularies(ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param listDefaultVocabulariesRequest * A {@link Consumer} that will call methods on {@link ListDefaultVocabulariesRequest.Builder} to create a * request. * @return Result of the ListDefaultVocabularies operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListDefaultVocabularies * @see AWS API Documentation */ default ListDefaultVocabulariesResponse listDefaultVocabularies( Consumer listDefaultVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return listDefaultVocabularies(ListDefaultVocabulariesRequest.builder().applyMutation(listDefaultVocabulariesRequest) .build()); } /** *

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

*
*

* This is a variant of * {@link #listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesIterable responses = client.listDefaultVocabulariesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesIterable responses = client
     *             .listDefaultVocabulariesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesIterable responses = client.listDefaultVocabulariesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListDefaultVocabularies * @see AWS API Documentation */ default ListDefaultVocabulariesIterable listDefaultVocabulariesPaginator( ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesIterable responses = client.listDefaultVocabulariesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesIterable responses = client
     *             .listDefaultVocabulariesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesIterable responses = client.listDefaultVocabulariesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listDefaultVocabulariesRequest * A {@link Consumer} that will call methods on {@link ListDefaultVocabulariesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListDefaultVocabularies * @see AWS API Documentation */ default ListDefaultVocabulariesIterable listDefaultVocabulariesPaginator( Consumer listDefaultVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return listDefaultVocabulariesPaginator(ListDefaultVocabulariesRequest.builder() .applyMutation(listDefaultVocabulariesRequest).build()); } /** *

* Provides information about the hours of operation for the specified Amazon Connect instance. *

*

* For more information about hours of operation, see Set the Hours of Operation * for a Queue in the Amazon Connect Administrator Guide. *

* * @param listHoursOfOperationsRequest * @return Result of the ListHoursOfOperations operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListHoursOfOperations * @see AWS * API Documentation */ default ListHoursOfOperationsResponse listHoursOfOperations(ListHoursOfOperationsRequest listHoursOfOperationsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the hours of operation for the specified Amazon Connect instance. *

*

* For more information about hours of operation, see Set the Hours of Operation * for a Queue in the Amazon Connect Administrator Guide. *

*
*

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

* * @param listHoursOfOperationsRequest * A {@link Consumer} that will call methods on {@link ListHoursOfOperationsRequest.Builder} to create a * request. * @return Result of the ListHoursOfOperations operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListHoursOfOperations * @see AWS * API Documentation */ default ListHoursOfOperationsResponse listHoursOfOperations( Consumer listHoursOfOperationsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listHoursOfOperations(ListHoursOfOperationsRequest.builder().applyMutation(listHoursOfOperationsRequest).build()); } /** *

* Provides information about the hours of operation for the specified Amazon Connect instance. *

*

* For more information about hours of operation, see Set the Hours of Operation * for a Queue in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsIterable responses = client.listHoursOfOperationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsIterable responses = client
     *             .listHoursOfOperationsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsIterable responses = client.listHoursOfOperationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListHoursOfOperations * @see AWS * API Documentation */ default ListHoursOfOperationsIterable listHoursOfOperationsPaginator(ListHoursOfOperationsRequest listHoursOfOperationsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the hours of operation for the specified Amazon Connect instance. *

*

* For more information about hours of operation, see Set the Hours of Operation * for a Queue in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsIterable responses = client.listHoursOfOperationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsIterable responses = client
     *             .listHoursOfOperationsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsIterable responses = client.listHoursOfOperationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listHoursOfOperationsRequest * A {@link Consumer} that will call methods on {@link ListHoursOfOperationsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListHoursOfOperations * @see AWS * API Documentation */ default ListHoursOfOperationsIterable listHoursOfOperationsPaginator( Consumer listHoursOfOperationsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListInstanceAttributes operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceAttributes * @see AWS API Documentation */ default ListInstanceAttributesResponse listInstanceAttributes(ListInstanceAttributesRequest listInstanceAttributesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all attribute types for the given instance. *

*
*

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

* * @param listInstanceAttributesRequest * A {@link Consumer} that will call methods on {@link ListInstanceAttributesRequest.Builder} to create a * request. * @return Result of the ListInstanceAttributes operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceAttributes * @see AWS API Documentation */ default ListInstanceAttributesResponse listInstanceAttributes( Consumer listInstanceAttributesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listInstanceAttributes(ListInstanceAttributesRequest.builder().applyMutation(listInstanceAttributesRequest) .build()); } /** *

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

*

* Returns a paginated list of all attribute types for the given instance. *

*
*

* This is a variant of * {@link #listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesIterable responses = client.listInstanceAttributesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesIterable responses = client
     *             .listInstanceAttributesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesIterable responses = client.listInstanceAttributesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceAttributes * @see AWS API Documentation */ default ListInstanceAttributesIterable listInstanceAttributesPaginator( ListInstanceAttributesRequest listInstanceAttributesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all attribute types for the given instance. *

*
*

* This is a variant of * {@link #listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesIterable responses = client.listInstanceAttributesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesIterable responses = client
     *             .listInstanceAttributesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesIterable responses = client.listInstanceAttributesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listInstanceAttributesRequest * A {@link Consumer} that will call methods on {@link ListInstanceAttributesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceAttributes * @see AWS API Documentation */ default ListInstanceAttributesIterable listInstanceAttributesPaginator( Consumer listInstanceAttributesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListInstanceStorageConfigs operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default ListInstanceStorageConfigsResponse listInstanceStorageConfigs( ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of storage configs for the identified instance and resource type. *

*
*

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

* * @param listInstanceStorageConfigsRequest * A {@link Consumer} that will call methods on {@link ListInstanceStorageConfigsRequest.Builder} to create a * request. * @return Result of the ListInstanceStorageConfigs operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default ListInstanceStorageConfigsResponse listInstanceStorageConfigs( Consumer listInstanceStorageConfigsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listInstanceStorageConfigs(ListInstanceStorageConfigsRequest.builder() .applyMutation(listInstanceStorageConfigsRequest).build()); } /** *

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

*

* Returns a paginated list of storage configs for the identified instance and resource type. *

*
*

* This is a variant of * {@link #listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsIterable responses = client.listInstanceStorageConfigsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsIterable responses = client
     *             .listInstanceStorageConfigsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsIterable responses = client.listInstanceStorageConfigsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default ListInstanceStorageConfigsIterable listInstanceStorageConfigsPaginator( ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of storage configs for the identified instance and resource type. *

*
*

* This is a variant of * {@link #listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsIterable responses = client.listInstanceStorageConfigsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsIterable responses = client
     *             .listInstanceStorageConfigsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsIterable responses = client.listInstanceStorageConfigsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listInstanceStorageConfigsRequest * A {@link Consumer} that will call methods on {@link ListInstanceStorageConfigsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstanceStorageConfigs * @see AWS API Documentation */ default ListInstanceStorageConfigsIterable listInstanceStorageConfigsPaginator( Consumer listInstanceStorageConfigsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListInstances operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstances * @see AWS API * Documentation */ default ListInstancesResponse listInstances(ListInstancesRequest listInstancesRequest) throws InvalidRequestException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances * that aren't successfully created (they are in a failed state) are returned only for 24 hours after the * CreateInstance API was invoked. *

*
*

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

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

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

*

* Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances * that aren't successfully created (they are in a failed state) are returned only for 24 hours after the * CreateInstance API was invoked. *

*
*

* This is a variant of {@link #listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListInstancesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstances * @see AWS API * Documentation */ default ListInstancesIterable listInstancesPaginator(ListInstancesRequest listInstancesRequest) throws InvalidRequestException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances * that aren't successfully created (they are in a failed state) are returned only for 24 hours after the * CreateInstance API was invoked. *

*
*

* This is a variant of {@link #listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListInstancesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listInstancesRequest * A {@link Consumer} that will call methods on {@link ListInstancesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListInstances * @see AWS API * Documentation */ default ListInstancesIterable listInstancesPaginator(Consumer listInstancesRequest) throws InvalidRequestException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListIntegrationAssociations operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListIntegrationAssociations * @see AWS API Documentation */ default ListIntegrationAssociationsResponse listIntegrationAssociations( ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

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

* * @param listIntegrationAssociationsRequest * A {@link Consumer} that will call methods on {@link ListIntegrationAssociationsRequest.Builder} to create * a request. * @return Result of the ListIntegrationAssociations operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListIntegrationAssociations * @see AWS API Documentation */ default ListIntegrationAssociationsResponse listIntegrationAssociations( Consumer listIntegrationAssociationsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listIntegrationAssociations(ListIntegrationAssociationsRequest.builder() .applyMutation(listIntegrationAssociationsRequest).build()); } /** *

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

*
*

* This is a variant of * {@link #listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsIterable responses = client.listIntegrationAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsIterable responses = client
     *             .listIntegrationAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsIterable responses = client.listIntegrationAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListIntegrationAssociations * @see AWS API Documentation */ default ListIntegrationAssociationsIterable listIntegrationAssociationsPaginator( ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a variant of * {@link #listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsIterable responses = client.listIntegrationAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsIterable responses = client
     *             .listIntegrationAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsIterable responses = client.listIntegrationAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listIntegrationAssociationsRequest * A {@link Consumer} that will call methods on {@link ListIntegrationAssociationsRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListIntegrationAssociations * @see AWS API Documentation */ default ListIntegrationAssociationsIterable listIntegrationAssociationsPaginator( Consumer listIntegrationAssociationsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListLambdaFunctions operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLambdaFunctions * @see AWS * API Documentation */ default ListLambdaFunctionsResponse listLambdaFunctions(ListLambdaFunctionsRequest listLambdaFunctionsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant flow * blocks. *

*
*

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

* * @param listLambdaFunctionsRequest * A {@link Consumer} that will call methods on {@link ListLambdaFunctionsRequest.Builder} to create a * request. * @return Result of the ListLambdaFunctions operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLambdaFunctions * @see AWS * API Documentation */ default ListLambdaFunctionsResponse listLambdaFunctions( Consumer listLambdaFunctionsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listLambdaFunctions(ListLambdaFunctionsRequest.builder().applyMutation(listLambdaFunctionsRequest).build()); } /** *

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

*

* Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant flow * blocks. *

*
*

* This is a variant of * {@link #listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsIterable responses = client.listLambdaFunctionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsIterable responses = client
     *             .listLambdaFunctionsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsIterable responses = client.listLambdaFunctionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLambdaFunctions * @see AWS * API Documentation */ default ListLambdaFunctionsIterable listLambdaFunctionsPaginator(ListLambdaFunctionsRequest listLambdaFunctionsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant flow * blocks. *

*
*

* This is a variant of * {@link #listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsIterable responses = client.listLambdaFunctionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsIterable responses = client
     *             .listLambdaFunctionsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsIterable responses = client.listLambdaFunctionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listLambdaFunctionsRequest * A {@link Consumer} that will call methods on {@link ListLambdaFunctionsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLambdaFunctions * @see AWS * API Documentation */ default ListLambdaFunctionsIterable listLambdaFunctionsPaginator( Consumer listLambdaFunctionsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListLexBots operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLexBots * @see AWS API * Documentation */ default ListLexBotsResponse listLexBots(ListLexBotsRequest listLexBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all the Amazon Lex V1 bots currently associated with the instance. To return both * Amazon Lex V1 and V2 bots, use the ListBots API. *

*
*

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

* * @param listLexBotsRequest * A {@link Consumer} that will call methods on {@link ListLexBotsRequest.Builder} to create a request. * @return Result of the ListLexBots operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLexBots * @see AWS API * Documentation */ default ListLexBotsResponse listLexBots(Consumer listLexBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listLexBots(ListLexBotsRequest.builder().applyMutation(listLexBotsRequest).build()); } /** *

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

*

* Returns a paginated list of all the Amazon Lex V1 bots currently associated with the instance. To return both * Amazon Lex V1 and V2 bots, use the ListBots API. *

*
*

* This is a variant of {@link #listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsIterable responses = client.listLexBotsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListLexBotsIterable responses = client.listLexBotsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListLexBotsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsIterable responses = client.listLexBotsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLexBots * @see AWS API * Documentation */ default ListLexBotsIterable listLexBotsPaginator(ListLexBotsRequest listLexBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all the Amazon Lex V1 bots currently associated with the instance. To return both * Amazon Lex V1 and V2 bots, use the ListBots API. *

*
*

* This is a variant of {@link #listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsIterable responses = client.listLexBotsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListLexBotsIterable responses = client.listLexBotsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListLexBotsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListLexBotsIterable responses = client.listLexBotsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listLexBotsRequest * A {@link Consumer} that will call methods on {@link ListLexBotsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListLexBots * @see AWS API * Documentation */ default ListLexBotsIterable listLexBotsPaginator(Consumer listLexBotsRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listLexBotsPaginator(ListLexBotsRequest.builder().applyMutation(listLexBotsRequest).build()); } /** *

* Provides information about the phone numbers for the specified Amazon Connect instance. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

* *

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

*
* * @param listPhoneNumbersRequest * @return Result of the ListPhoneNumbers operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbers * @see AWS API * Documentation */ default ListPhoneNumbersResponse listPhoneNumbers(ListPhoneNumbersRequest listPhoneNumbersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the phone numbers for the specified Amazon Connect instance. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

* *

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

*

*

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

* * @param listPhoneNumbersRequest * A {@link Consumer} that will call methods on {@link ListPhoneNumbersRequest.Builder} to create a request. * @return Result of the ListPhoneNumbers operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbers * @see AWS API * Documentation */ default ListPhoneNumbersResponse listPhoneNumbers(Consumer listPhoneNumbersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listPhoneNumbers(ListPhoneNumbersRequest.builder().applyMutation(listPhoneNumbersRequest).build()); } /** *

* Provides information about the phone numbers for the specified Amazon Connect instance. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

* *

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

*

*

* This is a variant of * {@link #listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersIterable responses = client.listPhoneNumbersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersIterable responses = client
     *             .listPhoneNumbersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersIterable responses = client.listPhoneNumbersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbers * @see AWS API * Documentation */ default ListPhoneNumbersIterable listPhoneNumbersPaginator(ListPhoneNumbersRequest listPhoneNumbersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the phone numbers for the specified Amazon Connect instance. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

* *

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

*

*

* This is a variant of * {@link #listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersIterable responses = client.listPhoneNumbersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersIterable responses = client
     *             .listPhoneNumbersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersIterable responses = client.listPhoneNumbersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listPhoneNumbersRequest * A {@link Consumer} that will call methods on {@link ListPhoneNumbersRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbers * @see AWS API * Documentation */ default ListPhoneNumbersIterable listPhoneNumbersPaginator(Consumer listPhoneNumbersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listPhoneNumbersPaginator(ListPhoneNumbersRequest.builder().applyMutation(listPhoneNumbersRequest).build()); } /** *

* Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided * TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions * associated with traffic distribution group. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

* * @param listPhoneNumbersV2Request * @return Result of the ListPhoneNumbersV2 operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default ListPhoneNumbersV2Response listPhoneNumbersV2(ListPhoneNumbersV2Request listPhoneNumbersV2Request) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided * TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions * associated with traffic distribution group. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

*
*

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

* * @param listPhoneNumbersV2Request * A {@link Consumer} that will call methods on {@link ListPhoneNumbersV2Request.Builder} to create a * request. * @return Result of the ListPhoneNumbersV2 operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default ListPhoneNumbersV2Response listPhoneNumbersV2(Consumer listPhoneNumbersV2Request) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return listPhoneNumbersV2(ListPhoneNumbersV2Request.builder().applyMutation(listPhoneNumbersV2Request).build()); } /** *

* Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided * TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions * associated with traffic distribution group. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Iterable responses = client.listPhoneNumbersV2Paginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Iterable responses = client
     *             .listPhoneNumbersV2Paginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Iterable responses = client.listPhoneNumbersV2Paginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default ListPhoneNumbersV2Iterable listPhoneNumbersV2Paginator(ListPhoneNumbersV2Request listPhoneNumbersV2Request) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided * TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions * associated with traffic distribution group. *

*

* For more information about phone numbers, see Set Up Phone * Numbers for Your Contact Center in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Iterable responses = client.listPhoneNumbersV2Paginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Iterable responses = client
     *             .listPhoneNumbersV2Paginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Iterable responses = client.listPhoneNumbersV2Paginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listPhoneNumbersV2Request * A {@link Consumer} that will call methods on {@link ListPhoneNumbersV2Request.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPhoneNumbersV2 * @see AWS * API Documentation */ default ListPhoneNumbersV2Iterable listPhoneNumbersV2Paginator( Consumer listPhoneNumbersV2Request) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return listPhoneNumbersV2Paginator(ListPhoneNumbersV2Request.builder().applyMutation(listPhoneNumbersV2Request).build()); } /** *

* Provides information about the prompts for the specified Amazon Connect instance. *

* * @param listPromptsRequest * @return Result of the ListPrompts operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPrompts * @see AWS API * Documentation */ default ListPromptsResponse listPrompts(ListPromptsRequest listPromptsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the prompts for the specified Amazon Connect instance. *

*
*

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

* * @param listPromptsRequest * A {@link Consumer} that will call methods on {@link ListPromptsRequest.Builder} to create a request. * @return Result of the ListPrompts operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPrompts * @see AWS API * Documentation */ default ListPromptsResponse listPrompts(Consumer listPromptsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listPrompts(ListPromptsRequest.builder().applyMutation(listPromptsRequest).build()); } /** *

* Provides information about the prompts for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsIterable responses = client.listPromptsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListPromptsIterable responses = client.listPromptsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListPromptsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsIterable responses = client.listPromptsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPrompts * @see AWS API * Documentation */ default ListPromptsIterable listPromptsPaginator(ListPromptsRequest listPromptsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the prompts for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsIterable responses = client.listPromptsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListPromptsIterable responses = client.listPromptsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListPromptsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListPromptsIterable responses = client.listPromptsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listPromptsRequest * A {@link Consumer} that will call methods on {@link ListPromptsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListPrompts * @see AWS API * Documentation */ default ListPromptsIterable listPromptsPaginator(Consumer listPromptsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListQueueQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueueQuickConnects * @see AWS API Documentation */ default ListQueueQuickConnectsResponse listQueueQuickConnects(ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the quick connects associated with a queue. *

*
*

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

* * @param listQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQueueQuickConnectsRequest.Builder} to create a * request. * @return Result of the ListQueueQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueueQuickConnects * @see AWS API Documentation */ default ListQueueQuickConnectsResponse listQueueQuickConnects( Consumer listQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listQueueQuickConnects(ListQueueQuickConnectsRequest.builder().applyMutation(listQueueQuickConnectsRequest) .build()); } /** *

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

*

* Lists the quick connects associated with a queue. *

*
*

* This is a variant of * {@link #listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsIterable responses = client.listQueueQuickConnectsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsIterable responses = client
     *             .listQueueQuickConnectsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsIterable responses = client.listQueueQuickConnectsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueueQuickConnects * @see AWS API Documentation */ default ListQueueQuickConnectsIterable listQueueQuickConnectsPaginator( ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the quick connects associated with a queue. *

*
*

* This is a variant of * {@link #listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsIterable responses = client.listQueueQuickConnectsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsIterable responses = client
     *             .listQueueQuickConnectsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsIterable responses = client.listQueueQuickConnectsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listQueueQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQueueQuickConnectsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueueQuickConnects * @see AWS API Documentation */ default ListQueueQuickConnectsIterable listQueueQuickConnectsPaginator( Consumer listQueueQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueues * @see AWS API * Documentation */ default ListQueuesResponse listQueues(ListQueuesRequest listQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the queues for the specified Amazon Connect instance. *

*

* If you do not specify a QueueTypes parameter, both standard and agent queues are returned. This * might cause an unexpected truncation of results if you have more than 1000 agents and you limit the number of * results of the API call in code. *

*

* For more information about queues, see Queues: * Standard and Agent in the Amazon Connect Administrator Guide. *

*
*

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

* * @param listQueuesRequest * A {@link Consumer} that will call methods on {@link ListQueuesRequest.Builder} to create a request. * @return Result of the ListQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueues * @see AWS API * Documentation */ default ListQueuesResponse listQueues(Consumer listQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listQueues(ListQueuesRequest.builder().applyMutation(listQueuesRequest).build()); } /** *

* Provides information about the queues for the specified Amazon Connect instance. *

*

* If you do not specify a QueueTypes parameter, both standard and agent queues are returned. This * might cause an unexpected truncation of results if you have more than 1000 agents and you limit the number of * results of the API call in code. *

*

* For more information about queues, see Queues: * Standard and Agent in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of {@link #listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListQueuesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueues * @see AWS API * Documentation */ default ListQueuesIterable listQueuesPaginator(ListQueuesRequest listQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the queues for the specified Amazon Connect instance. *

*

* If you do not specify a QueueTypes parameter, both standard and agent queues are returned. This * might cause an unexpected truncation of results if you have more than 1000 agents and you limit the number of * results of the API call in code. *

*

* For more information about queues, see Queues: * Standard and Agent in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of {@link #listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListQueuesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listQueuesRequest * A {@link Consumer} that will call methods on {@link ListQueuesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQueues * @see AWS API * Documentation */ default ListQueuesIterable listQueuesPaginator(Consumer listQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listQueuesPaginator(ListQueuesRequest.builder().applyMutation(listQueuesRequest).build()); } /** *

* Provides information about the quick connects for the specified Amazon Connect instance. *

* * @param listQuickConnectsRequest * @return Result of the ListQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQuickConnects * @see AWS API * Documentation */ default ListQuickConnectsResponse listQuickConnects(ListQuickConnectsRequest listQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the quick connects for the specified Amazon Connect instance. *

*
*

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

* * @param listQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQuickConnectsRequest.Builder} to create a request. * @return Result of the ListQuickConnects operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQuickConnects * @see AWS API * Documentation */ default ListQuickConnectsResponse listQuickConnects(Consumer listQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listQuickConnects(ListQuickConnectsRequest.builder().applyMutation(listQuickConnectsRequest).build()); } /** *

* Provides information about the quick connects for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsIterable responses = client.listQuickConnectsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListQuickConnectsIterable responses = client
     *             .listQuickConnectsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsIterable responses = client.listQuickConnectsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQuickConnects * @see AWS API * Documentation */ default ListQuickConnectsIterable listQuickConnectsPaginator(ListQuickConnectsRequest listQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides information about the quick connects for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsIterable responses = client.listQuickConnectsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListQuickConnectsIterable responses = client
     *             .listQuickConnectsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListQuickConnectsIterable responses = client.listQuickConnectsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listQuickConnectsRequest * A {@link Consumer} that will call methods on {@link ListQuickConnectsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListQuickConnects * @see AWS API * Documentation */ default ListQuickConnectsIterable listQuickConnectsPaginator( Consumer listQuickConnectsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listQuickConnectsPaginator(ListQuickConnectsRequest.builder().applyMutation(listQuickConnectsRequest).build()); } /** *

* Lists the queues associated with a routing profile. *

* * @param listRoutingProfileQueuesRequest * @return Result of the ListRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfileQueues * @see AWS API Documentation */ default ListRoutingProfileQueuesResponse listRoutingProfileQueues( ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists the queues associated with a routing profile. *

*
*

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

* * @param listRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfileQueuesRequest.Builder} to create a * request. * @return Result of the ListRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfileQueues * @see AWS API Documentation */ default ListRoutingProfileQueuesResponse listRoutingProfileQueues( Consumer listRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listRoutingProfileQueues(ListRoutingProfileQueuesRequest.builder().applyMutation(listRoutingProfileQueuesRequest) .build()); } /** *

* Lists the queues associated with a routing profile. *

*
*

* This is a variant of * {@link #listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesIterable responses = client.listRoutingProfileQueuesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesIterable responses = client
     *             .listRoutingProfileQueuesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesIterable responses = client.listRoutingProfileQueuesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfileQueues * @see AWS API Documentation */ default ListRoutingProfileQueuesIterable listRoutingProfileQueuesPaginator( ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists the queues associated with a routing profile. *

*
*

* This is a variant of * {@link #listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesIterable responses = client.listRoutingProfileQueuesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesIterable responses = client
     *             .listRoutingProfileQueuesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesIterable responses = client.listRoutingProfileQueuesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfileQueuesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfileQueues * @see AWS API Documentation */ default ListRoutingProfileQueuesIterable listRoutingProfileQueuesPaginator( Consumer listRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListRoutingProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfiles * @see AWS * API Documentation */ default ListRoutingProfilesResponse listRoutingProfiles(ListRoutingProfilesRequest listRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the routing profiles for the specified Amazon Connect instance. *

*

* For more information about routing profiles, see Routing Profiles and Create a Routing Profile * in the Amazon Connect Administrator Guide. *

*
*

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

* * @param listRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfilesRequest.Builder} to create a * request. * @return Result of the ListRoutingProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfiles * @see AWS * API Documentation */ default ListRoutingProfilesResponse listRoutingProfiles( Consumer listRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listRoutingProfiles(ListRoutingProfilesRequest.builder().applyMutation(listRoutingProfilesRequest).build()); } /** *

* Provides summary information about the routing profiles for the specified Amazon Connect instance. *

*

* For more information about routing profiles, see Routing Profiles and Create a Routing Profile * in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesIterable responses = client.listRoutingProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesIterable responses = client
     *             .listRoutingProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesIterable responses = client.listRoutingProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfiles * @see AWS * API Documentation */ default ListRoutingProfilesIterable listRoutingProfilesPaginator(ListRoutingProfilesRequest listRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the routing profiles for the specified Amazon Connect instance. *

*

* For more information about routing profiles, see Routing Profiles and Create a Routing Profile * in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesIterable responses = client.listRoutingProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesIterable responses = client
     *             .listRoutingProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesIterable responses = client.listRoutingProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link ListRoutingProfilesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRoutingProfiles * @see AWS * API Documentation */ default ListRoutingProfilesIterable listRoutingProfilesPaginator( Consumer listRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listRoutingProfilesPaginator(ListRoutingProfilesRequest.builder().applyMutation(listRoutingProfilesRequest) .build()); } /** *

* List all rules for the specified Amazon Connect instance. *

* * @param listRulesRequest * @return Result of the ListRules operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRules * @see AWS API * Documentation */ default ListRulesResponse listRules(ListRulesRequest listRulesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* List all rules for the specified Amazon Connect instance. *

*
*

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

* * @param listRulesRequest * A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request. * @return Result of the ListRules operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRules * @see AWS API * Documentation */ default ListRulesResponse listRules(Consumer listRulesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build()); } /** *

* List all rules for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListRulesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRules * @see AWS API * Documentation */ default ListRulesIterable listRulesPaginator(ListRulesRequest listRulesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* List all rules for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListRulesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListRulesIterable responses = client.listRulesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listRulesRequest * A {@link Consumer} that will call methods on {@link ListRulesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListRules * @see AWS API * Documentation */ default ListRulesIterable listRulesPaginator(Consumer listRulesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListSecurityKeys operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityKeys * @see AWS API * Documentation */ default ListSecurityKeysResponse listSecurityKeys(ListSecurityKeysRequest listSecurityKeysRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all security keys associated with the instance. *

*
*

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

* * @param listSecurityKeysRequest * A {@link Consumer} that will call methods on {@link ListSecurityKeysRequest.Builder} to create a request. * @return Result of the ListSecurityKeys operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityKeys * @see AWS API * Documentation */ default ListSecurityKeysResponse listSecurityKeys(Consumer listSecurityKeysRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listSecurityKeys(ListSecurityKeysRequest.builder().applyMutation(listSecurityKeysRequest).build()); } /** *

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

*

* Returns a paginated list of all security keys associated with the instance. *

*
*

* This is a variant of * {@link #listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysIterable responses = client.listSecurityKeysPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListSecurityKeysIterable responses = client
     *             .listSecurityKeysPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysIterable responses = client.listSecurityKeysPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityKeys * @see AWS API * Documentation */ default ListSecurityKeysIterable listSecurityKeysPaginator(ListSecurityKeysRequest listSecurityKeysRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Returns a paginated list of all security keys associated with the instance. *

*
*

* This is a variant of * {@link #listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysIterable responses = client.listSecurityKeysPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListSecurityKeysIterable responses = client
     *             .listSecurityKeysPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityKeysIterable responses = client.listSecurityKeysPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listSecurityKeysRequest * A {@link Consumer} that will call methods on {@link ListSecurityKeysRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityKeys * @see AWS API * Documentation */ default ListSecurityKeysIterable listSecurityKeysPaginator(Consumer listSecurityKeysRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listSecurityKeysPaginator(ListSecurityKeysRequest.builder().applyMutation(listSecurityKeysRequest).build()); } /** *

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

*

* Lists the permissions granted to a security profile. *

* * @param listSecurityProfilePermissionsRequest * @return Result of the ListSecurityProfilePermissions operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default ListSecurityProfilePermissionsResponse listSecurityProfilePermissions( ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the permissions granted to a security profile. *

*
*

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

* * @param listSecurityProfilePermissionsRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilePermissionsRequest.Builder} to * create a request. * @return Result of the ListSecurityProfilePermissions operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default ListSecurityProfilePermissionsResponse listSecurityProfilePermissions( Consumer listSecurityProfilePermissionsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listSecurityProfilePermissions(ListSecurityProfilePermissionsRequest.builder() .applyMutation(listSecurityProfilePermissionsRequest).build()); } /** *

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

*

* Lists the permissions granted to a security profile. *

*
*

* This is a variant of * {@link #listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsIterable responses = client.listSecurityProfilePermissionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsIterable responses = client
     *             .listSecurityProfilePermissionsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsIterable responses = client.listSecurityProfilePermissionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default ListSecurityProfilePermissionsIterable listSecurityProfilePermissionsPaginator( ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Lists the permissions granted to a security profile. *

*
*

* This is a variant of * {@link #listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsIterable responses = client.listSecurityProfilePermissionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsIterable responses = client
     *             .listSecurityProfilePermissionsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsIterable responses = client.listSecurityProfilePermissionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listSecurityProfilePermissionsRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilePermissionsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfilePermissions * @see AWS API Documentation */ default ListSecurityProfilePermissionsIterable listSecurityProfilePermissionsPaginator( Consumer listSecurityProfilePermissionsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listSecurityProfilePermissionsPaginator(ListSecurityProfilePermissionsRequest.builder() .applyMutation(listSecurityProfilePermissionsRequest).build()); } /** *

* Provides summary information about the security profiles for the specified Amazon Connect instance. *

*

* For more information about security profiles, see Security Profiles * in the Amazon Connect Administrator Guide. *

* * @param listSecurityProfilesRequest * @return Result of the ListSecurityProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfiles * @see AWS * API Documentation */ default ListSecurityProfilesResponse listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the security profiles for the specified Amazon Connect instance. *

*

* For more information about security profiles, see Security Profiles * in the Amazon Connect Administrator Guide. *

*
*

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

* * @param listSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilesRequest.Builder} to create a * request. * @return Result of the ListSecurityProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfiles * @see AWS * API Documentation */ default ListSecurityProfilesResponse listSecurityProfiles( Consumer listSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listSecurityProfiles(ListSecurityProfilesRequest.builder().applyMutation(listSecurityProfilesRequest).build()); } /** *

* Provides summary information about the security profiles for the specified Amazon Connect instance. *

*

* For more information about security profiles, see Security Profiles * in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesIterable responses = client
     *             .listSecurityProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfiles * @see AWS * API Documentation */ default ListSecurityProfilesIterable listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the security profiles for the specified Amazon Connect instance. *

*

* For more information about security profiles, see Security Profiles * in the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesIterable responses = client
     *             .listSecurityProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link ListSecurityProfilesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListSecurityProfiles * @see AWS * API Documentation */ default ListSecurityProfilesIterable listSecurityProfilesPaginator( Consumer listSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListTagsForResource operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists the tags for the specified resource. *

*

* For sample policies that use tags, see Amazon * Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide. *

*
*

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

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a * request. * @return Result of the ListTagsForResource operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Lists task templates for the specified Amazon Connect instance. *

* * @param listTaskTemplatesRequest * @return Result of the ListTaskTemplates operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTaskTemplates * @see AWS API * Documentation */ default ListTaskTemplatesResponse listTaskTemplates(ListTaskTemplatesRequest listTaskTemplatesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists task templates for the specified Amazon Connect instance. *

*
*

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

* * @param listTaskTemplatesRequest * A {@link Consumer} that will call methods on {@link ListTaskTemplatesRequest.Builder} to create a request. * @return Result of the ListTaskTemplates operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTaskTemplates * @see AWS API * Documentation */ default ListTaskTemplatesResponse listTaskTemplates(Consumer listTaskTemplatesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listTaskTemplates(ListTaskTemplatesRequest.builder().applyMutation(listTaskTemplatesRequest).build()); } /** *

* Lists task templates for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesIterable responses = client.listTaskTemplatesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesIterable responses = client
     *             .listTaskTemplatesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesIterable responses = client.listTaskTemplatesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTaskTemplates * @see AWS API * Documentation */ default ListTaskTemplatesIterable listTaskTemplatesPaginator(ListTaskTemplatesRequest listTaskTemplatesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists task templates for the specified Amazon Connect instance. *

*
*

* This is a variant of * {@link #listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesIterable responses = client.listTaskTemplatesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesIterable responses = client
     *             .listTaskTemplatesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesIterable responses = client.listTaskTemplatesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listTaskTemplatesRequest * A {@link Consumer} that will call methods on {@link ListTaskTemplatesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTaskTemplates * @see AWS API * Documentation */ default ListTaskTemplatesIterable listTaskTemplatesPaginator( Consumer listTaskTemplatesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listTaskTemplatesPaginator(ListTaskTemplatesRequest.builder().applyMutation(listTaskTemplatesRequest).build()); } /** *

* Lists traffic distribution groups. *

* * @param listTrafficDistributionGroupsRequest * @return Result of the ListTrafficDistributionGroups operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default ListTrafficDistributionGroupsResponse listTrafficDistributionGroups( ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists traffic distribution groups. *

*
*

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

* * @param listTrafficDistributionGroupsRequest * A {@link Consumer} that will call methods on {@link ListTrafficDistributionGroupsRequest.Builder} to * create a request. * @return Result of the ListTrafficDistributionGroups operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default ListTrafficDistributionGroupsResponse listTrafficDistributionGroups( Consumer listTrafficDistributionGroupsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listTrafficDistributionGroups(ListTrafficDistributionGroupsRequest.builder() .applyMutation(listTrafficDistributionGroupsRequest).build()); } /** *

* Lists traffic distribution groups. *

*
*

* This is a variant of * {@link #listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsIterable responses = client.listTrafficDistributionGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsIterable responses = client
     *             .listTrafficDistributionGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsIterable responses = client.listTrafficDistributionGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default ListTrafficDistributionGroupsIterable listTrafficDistributionGroupsPaginator( ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists traffic distribution groups. *

*
*

* This is a variant of * {@link #listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsIterable responses = client.listTrafficDistributionGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsIterable responses = client
     *             .listTrafficDistributionGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsIterable responses = client.listTrafficDistributionGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listTrafficDistributionGroupsRequest * A {@link Consumer} that will call methods on {@link ListTrafficDistributionGroupsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListTrafficDistributionGroups * @see AWS API Documentation */ default ListTrafficDistributionGroupsIterable listTrafficDistributionGroupsPaginator( Consumer listTrafficDistributionGroupsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListUseCases operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUseCases * @see AWS API * Documentation */ default ListUseCasesResponse listUseCases(ListUseCasesRequest listUseCasesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists the use cases for the integration association. *

*
*

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

* * @param listUseCasesRequest * A {@link Consumer} that will call methods on {@link ListUseCasesRequest.Builder} to create a request. * Provides summary information about the use cases for the specified integration association. * @return Result of the ListUseCases operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUseCases * @see AWS API * Documentation */ default ListUseCasesResponse listUseCases(Consumer listUseCasesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return listUseCases(ListUseCasesRequest.builder().applyMutation(listUseCasesRequest).build()); } /** *

* Lists the use cases for the integration association. *

*
*

* This is a variant of {@link #listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesIterable responses = client.listUseCasesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListUseCasesIterable responses = client.listUseCasesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListUseCasesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesIterable responses = client.listUseCasesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUseCases * @see AWS API * Documentation */ default ListUseCasesIterable listUseCasesPaginator(ListUseCasesRequest listUseCasesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Lists the use cases for the integration association. *

*
*

* This is a variant of {@link #listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesIterable responses = client.listUseCasesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListUseCasesIterable responses = client.listUseCasesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListUseCasesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUseCasesIterable responses = client.listUseCasesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listUseCasesRequest * A {@link Consumer} that will call methods on {@link ListUseCasesRequest.Builder} to create a request. * Provides summary information about the use cases for the specified integration association. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUseCases * @see AWS API * Documentation */ default ListUseCasesIterable listUseCasesPaginator(Consumer listUseCasesRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the ListUserHierarchyGroups operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUserHierarchyGroups * @see AWS API Documentation */ default ListUserHierarchyGroupsResponse listUserHierarchyGroups(ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the hierarchy groups for the specified Amazon Connect instance. *

*

* For more information about agent hierarchies, see Set Up Agent Hierarchies in * the Amazon Connect Administrator Guide. *

*
*

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

* * @param listUserHierarchyGroupsRequest * A {@link Consumer} that will call methods on {@link ListUserHierarchyGroupsRequest.Builder} to create a * request. * @return Result of the ListUserHierarchyGroups operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUserHierarchyGroups * @see AWS API Documentation */ default ListUserHierarchyGroupsResponse listUserHierarchyGroups( Consumer listUserHierarchyGroupsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listUserHierarchyGroups(ListUserHierarchyGroupsRequest.builder().applyMutation(listUserHierarchyGroupsRequest) .build()); } /** *

* Provides summary information about the hierarchy groups for the specified Amazon Connect instance. *

*

* For more information about agent hierarchies, see Set Up Agent Hierarchies in * the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsIterable responses = client.listUserHierarchyGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsIterable responses = client
     *             .listUserHierarchyGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsIterable responses = client.listUserHierarchyGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUserHierarchyGroups * @see AWS API Documentation */ default ListUserHierarchyGroupsIterable listUserHierarchyGroupsPaginator( ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the hierarchy groups for the specified Amazon Connect instance. *

*

* For more information about agent hierarchies, see Set Up Agent Hierarchies in * the Amazon Connect Administrator Guide. *

*
*

* This is a variant of * {@link #listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsIterable responses = client.listUserHierarchyGroupsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsIterable responses = client
     *             .listUserHierarchyGroupsPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsIterable responses = client.listUserHierarchyGroupsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listUserHierarchyGroupsRequest * A {@link Consumer} that will call methods on {@link ListUserHierarchyGroupsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUserHierarchyGroups * @see AWS API Documentation */ default ListUserHierarchyGroupsIterable listUserHierarchyGroupsPaginator( Consumer listUserHierarchyGroupsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listUserHierarchyGroupsPaginator(ListUserHierarchyGroupsRequest.builder() .applyMutation(listUserHierarchyGroupsRequest).build()); } /** *

* Provides summary information about the users for the specified Amazon Connect instance. *

* * @param listUsersRequest * @return Result of the ListUsers operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUsers * @see AWS API * Documentation */ default ListUsersResponse listUsers(ListUsersRequest listUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the users for the specified Amazon Connect instance. *

*
*

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

* * @param listUsersRequest * A {@link Consumer} that will call methods on {@link ListUsersRequest.Builder} to create a request. * @return Result of the ListUsers operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUsers * @see AWS API * Documentation */ default ListUsersResponse listUsers(Consumer listUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listUsers(ListUsersRequest.builder().applyMutation(listUsersRequest).build()); } /** *

* Provides summary information about the users for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListUsersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUsers * @see AWS API * Documentation */ default ListUsersIterable listUsersPaginator(ListUsersRequest listUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Provides summary information about the users for the specified Amazon Connect instance. *

*
*

* This is a variant of {@link #listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.ListUsersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param listUsersRequest * A {@link Consumer} that will call methods on {@link ListUsersRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ListUsers * @see AWS API * Documentation */ default ListUsersIterable listUsersPaginator(Consumer listUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return listUsersPaginator(ListUsersRequest.builder().applyMutation(listUsersRequest).build()); } /** *

* Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId * will be set to silent monitoring mode on the contact. *

* * @param monitorContactRequest * @return Result of the MonitorContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.MonitorContact * @see AWS API * Documentation */ default MonitorContactResponse monitorContact(MonitorContactRequest monitorContactRequest) throws InvalidRequestException, IdempotencyException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId * will be set to silent monitoring mode on the contact. *

*
*

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

* * @param monitorContactRequest * A {@link Consumer} that will call methods on {@link MonitorContactRequest.Builder} to create a request. * @return Result of the MonitorContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.MonitorContact * @see AWS API * Documentation */ default MonitorContactResponse monitorContact(Consumer monitorContactRequest) throws InvalidRequestException, IdempotencyException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return monitorContact(MonitorContactRequest.builder().applyMutation(monitorContactRequest).build()); } /** *

* Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, * this sets the agent's next status. *

*

* For more information, see Agent status and Set your next status in the * Amazon Connect Administrator Guide. *

* * @param putUserStatusRequest * @return Result of the PutUserStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.PutUserStatus * @see AWS API * Documentation */ default PutUserStatusResponse putUserStatus(PutUserStatusRequest putUserStatusRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, * this sets the agent's next status. *

*

* For more information, see Agent status and Set your next status in the * Amazon Connect Administrator Guide. *

*
*

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

* * @param putUserStatusRequest * A {@link Consumer} that will call methods on {@link PutUserStatusRequest.Builder} to create a request. * @return Result of the PutUserStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.PutUserStatus * @see AWS API * Documentation */ default PutUserStatusResponse putUserStatus(Consumer putUserStatusRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return putUserStatus(PutUserStatusRequest.builder().applyMutation(putUserStatusRequest).build()); } /** *

* Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can * call this API only in the Amazon Web Services Region where the number was claimed. *

* *

* To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the * Amazon Connect console. *

*

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

*
* * @param releasePhoneNumberRequest * @return Result of the ReleasePhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ReleasePhoneNumber * @see AWS * API Documentation */ default ReleasePhoneNumberResponse releasePhoneNumber(ReleasePhoneNumberRequest releasePhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceInUseException, IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can * call this API only in the Amazon Web Services Region where the number was claimed. *

* *

* To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the * Amazon Connect console. *

*

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

*

*

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

* * @param releasePhoneNumberRequest * A {@link Consumer} that will call methods on {@link ReleasePhoneNumberRequest.Builder} to create a * request. * @return Result of the ReleasePhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ReleasePhoneNumber * @see AWS * API Documentation */ default ReleasePhoneNumberResponse releasePhoneNumber(Consumer releasePhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceInUseException, IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return releasePhoneNumber(ReleasePhoneNumberRequest.builder().applyMutation(releasePhoneNumberRequest).build()); } /** *

* Replicates an Amazon Connect instance in the specified Amazon Web Services Region. *

*

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

* * @param replicateInstanceRequest * @return Result of the ReplicateInstance operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotReadyException * The resource is not ready. * @throws ResourceConflictException * A resource already has that name. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ReplicateInstance * @see AWS API * Documentation */ default ReplicateInstanceResponse replicateInstance(ReplicateInstanceRequest replicateInstanceRequest) throws InvalidRequestException, AccessDeniedException, ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, InternalServiceException, ResourceNotReadyException, ResourceConflictException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Replicates an Amazon Connect instance in the specified Amazon Web Services Region. *

*

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

*
*

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

* * @param replicateInstanceRequest * A {@link Consumer} that will call methods on {@link ReplicateInstanceRequest.Builder} to create a request. * @return Result of the ReplicateInstance operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotReadyException * The resource is not ready. * @throws ResourceConflictException * A resource already has that name. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ReplicateInstance * @see AWS API * Documentation */ default ReplicateInstanceResponse replicateInstance(Consumer replicateInstanceRequest) throws InvalidRequestException, AccessDeniedException, ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, InternalServiceException, ResourceNotReadyException, ResourceConflictException, AwsServiceException, SdkClientException, ConnectException { return replicateInstance(ReplicateInstanceRequest.builder().applyMutation(replicateInstanceRequest).build()); } /** *

* When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API * resumes recording the call. *

*

* Only voice recordings are supported at this time. *

* * @param resumeContactRecordingRequest * @return Result of the ResumeContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ResumeContactRecording * @see AWS API Documentation */ default ResumeContactRecordingResponse resumeContactRecording(ResumeContactRecordingRequest resumeContactRecordingRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API * resumes recording the call. *

*

* Only voice recordings are supported at this time. *

*
*

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

* * @param resumeContactRecordingRequest * A {@link Consumer} that will call methods on {@link ResumeContactRecordingRequest.Builder} to create a * request. * @return Result of the ResumeContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.ResumeContactRecording * @see AWS API Documentation */ default ResumeContactRecordingResponse resumeContactRecording( Consumer resumeContactRecordingRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return resumeContactRecording(ResumeContactRecordingRequest.builder().applyMutation(resumeContactRecordingRequest) .build()); } /** *

* Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. If the provided TargetArn is a traffic distribution group, you can call this API in both * Amazon Web Services Regions associated with the traffic distribution group. *

* * @param searchAvailablePhoneNumbersRequest * @return Result of the SearchAvailablePhoneNumbers operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default SearchAvailablePhoneNumbersResponse searchAvailablePhoneNumbers( SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) throws InvalidParameterException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. If the provided TargetArn is a traffic distribution group, you can call this API in both * Amazon Web Services Regions associated with the traffic distribution group. *

*
*

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

* * @param searchAvailablePhoneNumbersRequest * A {@link Consumer} that will call methods on {@link SearchAvailablePhoneNumbersRequest.Builder} to create * a request. * @return Result of the SearchAvailablePhoneNumbers operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default SearchAvailablePhoneNumbersResponse searchAvailablePhoneNumbers( Consumer searchAvailablePhoneNumbersRequest) throws InvalidParameterException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return searchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest.builder() .applyMutation(searchAvailablePhoneNumbersRequest).build()); } /** *

* Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. If the provided TargetArn is a traffic distribution group, you can call this API in both * Amazon Web Services Regions associated with the traffic distribution group. *

*
*

* This is a variant of * {@link #searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable responses = client.searchAvailablePhoneNumbersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable responses = client
     *             .searchAvailablePhoneNumbersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable responses = client.searchAvailablePhoneNumbersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default SearchAvailablePhoneNumbersIterable searchAvailablePhoneNumbersPaginator( SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) throws InvalidParameterException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution * group. If the provided TargetArn is a traffic distribution group, you can call this API in both * Amazon Web Services Regions associated with the traffic distribution group. *

*
*

* This is a variant of * {@link #searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable responses = client.searchAvailablePhoneNumbersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable responses = client
     *             .searchAvailablePhoneNumbersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable responses = client.searchAvailablePhoneNumbersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param searchAvailablePhoneNumbersRequest * A {@link Consumer} that will call methods on {@link SearchAvailablePhoneNumbersRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchAvailablePhoneNumbers * @see AWS API Documentation */ default SearchAvailablePhoneNumbersIterable searchAvailablePhoneNumbersPaginator( Consumer searchAvailablePhoneNumbersRequest) throws InvalidParameterException, ThrottlingException, InternalServiceException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return searchAvailablePhoneNumbersPaginator(SearchAvailablePhoneNumbersRequest.builder() .applyMutation(searchAvailablePhoneNumbersRequest).build()); } /** *

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

*

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

* * @param searchQueuesRequest * @return Result of the SearchQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchQueues * @see AWS API * Documentation */ default SearchQueuesResponse searchQueues(SearchQueuesRequest searchQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param searchQueuesRequest * A {@link Consumer} that will call methods on {@link SearchQueuesRequest.Builder} to create a request. * @return Result of the SearchQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchQueues * @see AWS API * Documentation */ default SearchQueuesResponse searchQueues(Consumer searchQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchQueues(SearchQueuesRequest.builder().applyMutation(searchQueuesRequest).build()); } /** *

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

*

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

*
*

* This is a variant of {@link #searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable responses = client.searchQueuesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable responses = client.searchQueuesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchQueuesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable responses = client.searchQueuesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchQueues * @see AWS API * Documentation */ default SearchQueuesIterable searchQueuesPaginator(SearchQueuesRequest searchQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a variant of {@link #searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable responses = client.searchQueuesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable responses = client.searchQueuesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchQueuesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable responses = client.searchQueuesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param searchQueuesRequest * A {@link Consumer} that will call methods on {@link SearchQueuesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchQueues * @see AWS API * Documentation */ default SearchQueuesIterable searchQueuesPaginator(Consumer searchQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchQueuesPaginator(SearchQueuesRequest.builder().applyMutation(searchQueuesRequest).build()); } /** *

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

*

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

* * @param searchRoutingProfilesRequest * @return Result of the SearchRoutingProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchRoutingProfiles * @see AWS * API Documentation */ default SearchRoutingProfilesResponse searchRoutingProfiles(SearchRoutingProfilesRequest searchRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param searchRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link SearchRoutingProfilesRequest.Builder} to create a * request. * @return Result of the SearchRoutingProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchRoutingProfiles * @see AWS * API Documentation */ default SearchRoutingProfilesResponse searchRoutingProfiles( Consumer searchRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchRoutingProfiles(SearchRoutingProfilesRequest.builder().applyMutation(searchRoutingProfilesRequest).build()); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable responses = client.searchRoutingProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable responses = client
     *             .searchRoutingProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable responses = client.searchRoutingProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchRoutingProfiles * @see AWS * API Documentation */ default SearchRoutingProfilesIterable searchRoutingProfilesPaginator(SearchRoutingProfilesRequest searchRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable responses = client.searchRoutingProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable responses = client
     *             .searchRoutingProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable responses = client.searchRoutingProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param searchRoutingProfilesRequest * A {@link Consumer} that will call methods on {@link SearchRoutingProfilesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchRoutingProfiles * @see AWS * API Documentation */ default SearchRoutingProfilesIterable searchRoutingProfilesPaginator( Consumer searchRoutingProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchRoutingProfilesPaginator(SearchRoutingProfilesRequest.builder().applyMutation(searchRoutingProfilesRequest) .build()); } /** *

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

*

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

* * @param searchSecurityProfilesRequest * @return Result of the SearchSecurityProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchSecurityProfiles * @see AWS API Documentation */ default SearchSecurityProfilesResponse searchSecurityProfiles(SearchSecurityProfilesRequest searchSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param searchSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link SearchSecurityProfilesRequest.Builder} to create a * request. * @return Result of the SearchSecurityProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchSecurityProfiles * @see AWS API Documentation */ default SearchSecurityProfilesResponse searchSecurityProfiles( Consumer searchSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchSecurityProfiles(SearchSecurityProfilesRequest.builder().applyMutation(searchSecurityProfilesRequest) .build()); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable responses = client.searchSecurityProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable responses = client
     *             .searchSecurityProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable responses = client.searchSecurityProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchSecurityProfiles * @see AWS API Documentation */ default SearchSecurityProfilesIterable searchSecurityProfilesPaginator( SearchSecurityProfilesRequest searchSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a variant of * {@link #searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable responses = client.searchSecurityProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable responses = client
     *             .searchSecurityProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable responses = client.searchSecurityProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param searchSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link SearchSecurityProfilesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchSecurityProfiles * @see AWS API Documentation */ default SearchSecurityProfilesIterable searchSecurityProfilesPaginator( Consumer searchSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchSecurityProfilesPaginator(SearchSecurityProfilesRequest.builder() .applyMutation(searchSecurityProfilesRequest).build()); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*
* * @param searchUsersRequest * @return Result of the SearchUsers operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchUsers * @see AWS API * Documentation */ default SearchUsersResponse searchUsers(SearchUsersRequest searchUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*

*

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

* * @param searchUsersRequest * A {@link Consumer} that will call methods on {@link SearchUsersRequest.Builder} to create a request. * @return Result of the SearchUsers operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchUsers * @see AWS API * Documentation */ default SearchUsersResponse searchUsers(Consumer searchUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchUsers(SearchUsersRequest.builder().applyMutation(searchUsersRequest).build()); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*

*

* This is a variant of {@link #searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersIterable responses = client.searchUsersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchUsersIterable responses = client.searchUsersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchUsersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersIterable responses = client.searchUsersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchUsers * @see AWS API * Documentation */ default SearchUsersIterable searchUsersPaginator(SearchUsersRequest searchUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

* *

* AfterContactWorkTimeLimit is returned in milliseconds. *

*

*

* This is a variant of {@link #searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersIterable responses = client.searchUsersPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchUsersIterable responses = client.searchUsersPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchUsersResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchUsersIterable responses = client.searchUsersPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param searchUsersRequest * A {@link Consumer} that will call methods on {@link SearchUsersRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchUsers * @see AWS API * Documentation */ default SearchUsersIterable searchUsersPaginator(Consumer searchUsersRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return searchUsersPaginator(SearchUsersRequest.builder().applyMutation(searchUsersRequest).build()); } /** *

* Searches for vocabularies within a specific Amazon Connect instance using State, * NameStartsWith, and LanguageCode. *

* * @param searchVocabulariesRequest * @return Result of the SearchVocabularies operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchVocabularies * @see AWS * API Documentation */ default SearchVocabulariesResponse searchVocabularies(SearchVocabulariesRequest searchVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Searches for vocabularies within a specific Amazon Connect instance using State, * NameStartsWith, and LanguageCode. *

*
*

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

* * @param searchVocabulariesRequest * A {@link Consumer} that will call methods on {@link SearchVocabulariesRequest.Builder} to create a * request. * @return Result of the SearchVocabularies operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchVocabularies * @see AWS * API Documentation */ default SearchVocabulariesResponse searchVocabularies(Consumer searchVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return searchVocabularies(SearchVocabulariesRequest.builder().applyMutation(searchVocabulariesRequest).build()); } /** *

* Searches for vocabularies within a specific Amazon Connect instance using State, * NameStartsWith, and LanguageCode. *

*
*

* This is a variant of * {@link #searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesIterable responses = client.searchVocabulariesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchVocabulariesIterable responses = client
     *             .searchVocabulariesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesIterable responses = client.searchVocabulariesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchVocabularies * @see AWS * API Documentation */ default SearchVocabulariesIterable searchVocabulariesPaginator(SearchVocabulariesRequest searchVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Searches for vocabularies within a specific Amazon Connect instance using State, * NameStartsWith, and LanguageCode. *

*
*

* This is a variant of * {@link #searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesIterable responses = client.searchVocabulariesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.connect.paginators.SearchVocabulariesIterable responses = client
     *             .searchVocabulariesPaginator(request);
     *     for (software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.connect.paginators.SearchVocabulariesIterable responses = client.searchVocabulariesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

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

*

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

*

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

* * @param searchVocabulariesRequest * A {@link Consumer} that will call methods on {@link SearchVocabulariesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InvalidRequestException * The request is not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SearchVocabularies * @see AWS * API Documentation */ default SearchVocabulariesIterable searchVocabulariesPaginator( Consumer searchVocabulariesRequest) throws InvalidRequestException, InternalServiceException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return searchVocabulariesPaginator(SearchVocabulariesRequest.builder().applyMutation(searchVocabulariesRequest).build()); } /** *

* Initiates a flow to start a new chat for the customer. Response of this API provides a token required to obtain * credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service. *

*

* When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the * created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS. *

*

* A 429 error occurs in the following situations: *

*
    *
  • *

    * API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception. *

    *
  • *
  • *

    * The quota for * concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException. *

    *
  • *
*

* If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support * the ability to configure custom chat durations. For more information, contact Amazon Web Services Support. *

*

* For more information about chat, see Chat in the Amazon Connect * Administrator Guide. *

* * @param startChatContactRequest * @return Result of the StartChatContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartChatContact * @see AWS API * Documentation */ default StartChatContactResponse startChatContact(StartChatContactRequest startChatContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, LimitExceededException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Initiates a flow to start a new chat for the customer. Response of this API provides a token required to obtain * credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service. *

*

* When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the * created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS. *

*

* A 429 error occurs in the following situations: *

*
    *
  • *

    * API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception. *

    *
  • *
  • *

    * The quota for * concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException. *

    *
  • *
*

* If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support * the ability to configure custom chat durations. For more information, contact Amazon Web Services Support. *

*

* For more information about chat, see Chat in the Amazon Connect * Administrator Guide. *

*
*

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

* * @param startChatContactRequest * A {@link Consumer} that will call methods on {@link StartChatContactRequest.Builder} to create a request. * @return Result of the StartChatContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartChatContact * @see AWS API * Documentation */ default StartChatContactResponse startChatContact(Consumer startChatContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, LimitExceededException, AwsServiceException, SdkClientException, ConnectException { return startChatContact(StartChatContactRequest.builder().applyMutation(startChatContactRequest).build()); } /** *

* Starts recording the contact: *

*
    *
  • *

    * If the API is called before the agent joins the call, recording starts when the agent joins the call. *

    *
  • *
  • *

    * If the API is called after the agent joins the call, recording starts at the time of the API call. *

    *
  • *
*

* StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an * ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started * and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card * number), use SuspendContactRecording and ResumeContactRecording. *

*

* You can use this API to override the recording behavior configured in the Set recording * behavior block. *

*

* Only voice recordings are supported at this time. *

* * @param startContactRecordingRequest * @return Result of the StartContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartContactRecording * @see AWS * API Documentation */ default StartContactRecordingResponse startContactRecording(StartContactRecordingRequest startContactRecordingRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Starts recording the contact: *

*
    *
  • *

    * If the API is called before the agent joins the call, recording starts when the agent joins the call. *

    *
  • *
  • *

    * If the API is called after the agent joins the call, recording starts at the time of the API call. *

    *
  • *
*

* StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an * ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started * and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card * number), use SuspendContactRecording and ResumeContactRecording. *

*

* You can use this API to override the recording behavior configured in the Set recording * behavior block. *

*

* Only voice recordings are supported at this time. *

*
*

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

* * @param startContactRecordingRequest * A {@link Consumer} that will call methods on {@link StartContactRecordingRequest.Builder} to create a * request. * @return Result of the StartContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartContactRecording * @see AWS * API Documentation */ default StartContactRecordingResponse startContactRecording( Consumer startContactRecordingRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return startContactRecording(StartContactRecordingRequest.builder().applyMutation(startContactRecordingRequest).build()); } /** *

* Initiates real-time message streaming for a new chat contact. *

*

* For more information about message streaming, see Enable real-time chat * message streaming in the Amazon Connect Administrator Guide. *

* * @param startContactStreamingRequest * @return Result of the StartContactStreaming operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartContactStreaming * @see AWS * API Documentation */ default StartContactStreamingResponse startContactStreaming(StartContactStreamingRequest startContactStreamingRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, LimitExceededException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Initiates real-time message streaming for a new chat contact. *

*

* For more information about message streaming, see Enable real-time chat * message streaming in the Amazon Connect Administrator Guide. *

*
*

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

* * @param startContactStreamingRequest * A {@link Consumer} that will call methods on {@link StartContactStreamingRequest.Builder} to create a * request. * @return Result of the StartContactStreaming operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartContactStreaming * @see AWS * API Documentation */ default StartContactStreamingResponse startContactStreaming( Consumer startContactStreamingRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, LimitExceededException, AwsServiceException, SdkClientException, ConnectException { return startContactStreaming(StartContactStreamingRequest.builder().applyMutation(startContactStreamingRequest).build()); } /** *

* Places an outbound call to a contact, and then initiates the flow. It performs the actions in the flow that's * specified (in ContactFlowId). *

*

* Agents do not initiate the outbound API, which means that they do not dial the contact. If the flow places an * outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any * other inbound case. *

*

* There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails. *

* *

* UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must * submit a service quota increase request. For more information, see Amazon Connect * Service Quotas in the Amazon Connect Administrator Guide. *

*
*

* Campaign calls are not allowed by default. Before you can make a call with TrafficType = * CAMPAIGN, you must submit a service quota increase request to the quota Amazon Connect campaigns. *

*
* * @param startOutboundVoiceContactRequest * @return Result of the StartOutboundVoiceContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws DestinationNotAllowedException * Outbound calls to the destination number are not allowed. * @throws OutboundContactNotPermittedException * The contact is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartOutboundVoiceContact * @see AWS API Documentation */ default StartOutboundVoiceContactResponse startOutboundVoiceContact( StartOutboundVoiceContactRequest startOutboundVoiceContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, LimitExceededException, DestinationNotAllowedException, OutboundContactNotPermittedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Places an outbound call to a contact, and then initiates the flow. It performs the actions in the flow that's * specified (in ContactFlowId). *

*

* Agents do not initiate the outbound API, which means that they do not dial the contact. If the flow places an * outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any * other inbound case. *

*

* There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails. *

* *

* UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must * submit a service quota increase request. For more information, see Amazon Connect * Service Quotas in the Amazon Connect Administrator Guide. *

*
*

* Campaign calls are not allowed by default. Before you can make a call with TrafficType = * CAMPAIGN, you must submit a service quota increase request to the quota Amazon Connect campaigns. *

*

*

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

* * @param startOutboundVoiceContactRequest * A {@link Consumer} that will call methods on {@link StartOutboundVoiceContactRequest.Builder} to create a * request. * @return Result of the StartOutboundVoiceContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws DestinationNotAllowedException * Outbound calls to the destination number are not allowed. * @throws OutboundContactNotPermittedException * The contact is not permitted. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartOutboundVoiceContact * @see AWS API Documentation */ default StartOutboundVoiceContactResponse startOutboundVoiceContact( Consumer startOutboundVoiceContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, LimitExceededException, DestinationNotAllowedException, OutboundContactNotPermittedException, AwsServiceException, SdkClientException, ConnectException { return startOutboundVoiceContact(StartOutboundVoiceContactRequest.builder() .applyMutation(startOutboundVoiceContactRequest).build()); } /** *

* Initiates a flow to start a new task. *

* * @param startTaskContactRequest * @return Result of the StartTaskContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartTaskContact * @see AWS API * Documentation */ default StartTaskContactResponse startTaskContact(StartTaskContactRequest startTaskContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Initiates a flow to start a new task. *

*
*

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

* * @param startTaskContactRequest * A {@link Consumer} that will call methods on {@link StartTaskContactRequest.Builder} to create a request. * @return Result of the StartTaskContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StartTaskContact * @see AWS API * Documentation */ default StartTaskContactResponse startTaskContact(Consumer startTaskContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return startTaskContact(StartTaskContactRequest.builder().applyMutation(startTaskContactRequest).build()); } /** *

* Ends the specified contact. This call does not work for the following initiation methods: *

*
    *
  • *

    * DISCONNECT *

    *
  • *
  • *

    * TRANSFER *

    *
  • *
  • *

    * QUEUE_TRANSFER *

    *
  • *
* * @param stopContactRequest * @return Result of the StopContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ContactNotFoundException * The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to * Chat, Task, or Voice Callback. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StopContact * @see AWS API * Documentation */ default StopContactResponse stopContact(StopContactRequest stopContactRequest) throws InvalidRequestException, ContactNotFoundException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Ends the specified contact. This call does not work for the following initiation methods: *

*
    *
  • *

    * DISCONNECT *

    *
  • *
  • *

    * TRANSFER *

    *
  • *
  • *

    * QUEUE_TRANSFER *

    *
  • *
*
*

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

* * @param stopContactRequest * A {@link Consumer} that will call methods on {@link StopContactRequest.Builder} to create a request. * @return Result of the StopContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ContactNotFoundException * The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to * Chat, Task, or Voice Callback. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StopContact * @see AWS API * Documentation */ default StopContactResponse stopContact(Consumer stopContactRequest) throws InvalidRequestException, ContactNotFoundException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the StopContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StopContactRecording * @see AWS * API Documentation */ default StopContactRecordingResponse stopContactRecording(StopContactRecordingRequest stopContactRecordingRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use * StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For * scenarios where the recording has started and you want to suspend it for sensitive information (for example, to * collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording. *

*

* Only voice recordings are supported at this time. *

*
*

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

* * @param stopContactRecordingRequest * A {@link Consumer} that will call methods on {@link StopContactRecordingRequest.Builder} to create a * request. * @return Result of the StopContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StopContactRecording * @see AWS * API Documentation */ default StopContactRecordingResponse stopContactRecording( Consumer stopContactRecordingRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the StopContactStreaming operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StopContactStreaming * @see AWS * API Documentation */ default StopContactStreamingResponse stopContactStreaming(StopContactStreamingRequest stopContactStreamingRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API. *

*
*

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

* * @param stopContactStreamingRequest * A {@link Consumer} that will call methods on {@link StopContactStreamingRequest.Builder} to create a * request. * @return Result of the StopContactStreaming operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.StopContactStreaming * @see AWS * API Documentation */ default StopContactStreamingResponse stopContactStreaming( Consumer stopContactStreamingRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return stopContactStreaming(StopContactStreamingRequest.builder().applyMutation(stopContactStreamingRequest).build()); } /** *

* When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call * recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording * to restart recording. *

*

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

*

* Only voice recordings are supported at this time. *

* * @param suspendContactRecordingRequest * @return Result of the SuspendContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SuspendContactRecording * @see AWS API Documentation */ default SuspendContactRecordingResponse suspendContactRecording(SuspendContactRecordingRequest suspendContactRecordingRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call * recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording * to restart recording. *

*

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

*

* Only voice recordings are supported at this time. *

*
*

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

* * @param suspendContactRecordingRequest * A {@link Consumer} that will call methods on {@link SuspendContactRecordingRequest.Builder} to create a * request. * @return Result of the SuspendContactRecording operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.SuspendContactRecording * @see AWS API Documentation */ default SuspendContactRecordingResponse suspendContactRecording( Consumer suspendContactRecordingRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return suspendContactRecording(SuspendContactRecordingRequest.builder().applyMutation(suspendContactRecordingRequest) .build()); } /** *

* Adds the specified tags to the specified resource. *

*

* Some of the supported resource types are agents, routing profiles, queues, quick connects, contact flows, agent * statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon * Connect. *

*

* For sample policies that use tags, see Amazon * Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Adds the specified tags to the specified resource. *

*

* Some of the supported resource types are agents, routing profiles, queues, quick connects, contact flows, agent * statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon * Connect. *

*

* For sample policies that use tags, see Amazon * Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide. *

*
*

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

* * @param tagResourceRequest * A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request. * @return Result of the TagResource operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the TransferContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.TransferContact * @see AWS API * Documentation */ default TransferContactResponse transferContact(TransferContactRequest transferContactRequest) throws InvalidRequestException, IdempotencyException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created. You * can transfer a contact to another queue by providing the flow which orchestrates the contact to the destination * queue. This gives you more control over contact handling and helps you adhere to the service level agreement * (SLA) guaranteed to your customers. *

*

* Note the following requirements: *

*
    *
  • *

    * Transfer is supported for only TASK contacts. *

    *
  • *
  • *

    * Do not use both QueueId and UserId in the same call. *

    *
  • *
  • *

    * The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer to queue flow. *

    *
  • *
  • *

    * The TransferContact API can be called only on active contacts. *

    *
  • *
  • *

    * A contact cannot be transferred more than 11 times. *

    *
  • *
*
*

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

* * @param transferContactRequest * A {@link Consumer} that will call methods on {@link TransferContactRequest.Builder} to create a request. * @return Result of the TransferContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.TransferContact * @see AWS API * Documentation */ default TransferContactResponse transferContact(Consumer transferContactRequest) throws InvalidRequestException, IdempotencyException, AccessDeniedException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return transferContact(TransferContactRequest.builder().applyMutation(transferContactRequest).build()); } /** *

* Removes the specified tags from the specified resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Removes the specified tags from the specified resource. *

*
*

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

* * @param untagResourceRequest * A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request. * @return Result of the UntagResource operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws InvalidRequestException, InvalidParameterException, InternalServiceException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateAgentStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateAgentStatus * @see AWS API * Documentation */ default UpdateAgentStatusResponse updateAgentStatus(UpdateAgentStatusRequest updateAgentStatusRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates agent status. *

*
*

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

* * @param updateAgentStatusRequest * A {@link Consumer} that will call methods on {@link UpdateAgentStatusRequest.Builder} to create a request. * @return Result of the UpdateAgentStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateAgentStatus * @see AWS API * Documentation */ default UpdateAgentStatusResponse updateAgentStatus(Consumer updateAgentStatusRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, LimitExceededException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateAgentStatus(UpdateAgentStatusRequest.builder().applyMutation(updateAgentStatusRequest).build()); } /** *

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

*

* Adds or updates user-defined contact information associated with the specified contact. At least one field to be * updated must be present in the request. *

* *

* You can add or update user-defined contact information for both ongoing and completed contacts. *

*
* * @param updateContactRequest * @return Result of the UpdateContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContact * @see AWS API * Documentation */ default UpdateContactResponse updateContact(UpdateContactRequest updateContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Adds or updates user-defined contact information associated with the specified contact. At least one field to be * updated must be present in the request. *

* *

* You can add or update user-defined contact information for both ongoing and completed contacts. *

*

*

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

* * @param updateContactRequest * A {@link Consumer} that will call methods on {@link UpdateContactRequest.Builder} to create a request. * @return Result of the UpdateContact operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContact * @see AWS API * Documentation */ default UpdateContactResponse updateContact(Consumer updateContactRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateContactAttributes operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactAttributes * @see AWS API Documentation */ default UpdateContactAttributesResponse updateContactAttributes(UpdateContactAttributesRequest updateContactAttributesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Creates or updates user-defined contact attributes associated with the specified contact. *

*

* You can create or update user-defined attributes for both ongoing and completed contacts. For example, while the * call is active, you can update the customer's name or the reason the customer called. You can add notes about * steps that the agent took during the call that display to the next agent that takes the call. You can also update * attributes for a contact using data from your CRM application and save the data with the contact in Amazon * Connect. You could also flag calls for additional analysis, such as legal review or to identify abusive callers. *

*

* Contact attributes are available in Amazon Connect for 24 months, and are then deleted. For information about * contact record retention and the maximum size of the contact record attributes section, see Feature specifications in the Amazon Connect Administrator Guide. *

*
*

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

* * @param updateContactAttributesRequest * A {@link Consumer} that will call methods on {@link UpdateContactAttributesRequest.Builder} to create a * request. * @return Result of the UpdateContactAttributes operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactAttributes * @see AWS API Documentation */ default UpdateContactAttributesResponse updateContactAttributes( Consumer updateContactAttributesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateContactAttributes(UpdateContactAttributesRequest.builder().applyMutation(updateContactAttributesRequest) .build()); } /** *

* Updates the specified flow. *

*

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

* * @param updateContactFlowContentRequest * @return Result of the UpdateContactFlowContent operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowException * The flow is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowContent * @see AWS API Documentation */ default UpdateContactFlowContentResponse updateContactFlowContent( UpdateContactFlowContentRequest updateContactFlowContentRequest) throws InvalidRequestException, InvalidContactFlowException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the specified flow. *

*

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

*
*

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

* * @param updateContactFlowContentRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowContentRequest.Builder} to create a * request. * @return Result of the UpdateContactFlowContent operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowException * The flow is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowContent * @see AWS API Documentation */ default UpdateContactFlowContentResponse updateContactFlowContent( Consumer updateContactFlowContentRequest) throws InvalidRequestException, InvalidContactFlowException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateContactFlowContent(UpdateContactFlowContentRequest.builder().applyMutation(updateContactFlowContentRequest) .build()); } /** *

* Updates metadata about specified flow. *

* * @param updateContactFlowMetadataRequest * @return Result of the UpdateContactFlowMetadata operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowMetadata * @see AWS API Documentation */ default UpdateContactFlowMetadataResponse updateContactFlowMetadata( UpdateContactFlowMetadataRequest updateContactFlowMetadataRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates metadata about specified flow. *

*
*

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

* * @param updateContactFlowMetadataRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowMetadataRequest.Builder} to create a * request. * @return Result of the UpdateContactFlowMetadata operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowMetadata * @see AWS API Documentation */ default UpdateContactFlowMetadataResponse updateContactFlowMetadata( Consumer updateContactFlowMetadataRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateContactFlowMetadata(UpdateContactFlowMetadataRequest.builder() .applyMutation(updateContactFlowMetadataRequest).build()); } /** *

* Updates specified flow module for the specified Amazon Connect instance. *

* * @param updateContactFlowModuleContentRequest * @return Result of the UpdateContactFlowModuleContent operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowModuleException * The problems with the module. Please fix before trying again. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowModuleContent * @see AWS API Documentation */ default UpdateContactFlowModuleContentResponse updateContactFlowModuleContent( UpdateContactFlowModuleContentRequest updateContactFlowModuleContentRequest) throws AccessDeniedException, InvalidRequestException, InvalidContactFlowModuleException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates specified flow module for the specified Amazon Connect instance. *

*
*

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

* * @param updateContactFlowModuleContentRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowModuleContentRequest.Builder} to * create a request. * @return Result of the UpdateContactFlowModuleContent operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidContactFlowModuleException * The problems with the module. Please fix before trying again. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowModuleContent * @see AWS API Documentation */ default UpdateContactFlowModuleContentResponse updateContactFlowModuleContent( Consumer updateContactFlowModuleContentRequest) throws AccessDeniedException, InvalidRequestException, InvalidContactFlowModuleException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateContactFlowModuleContent(UpdateContactFlowModuleContentRequest.builder() .applyMutation(updateContactFlowModuleContentRequest).build()); } /** *

* Updates metadata about specified flow module. *

* * @param updateContactFlowModuleMetadataRequest * @return Result of the UpdateContactFlowModuleMetadata operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowModuleMetadata * @see AWS API Documentation */ default UpdateContactFlowModuleMetadataResponse updateContactFlowModuleMetadata( UpdateContactFlowModuleMetadataRequest updateContactFlowModuleMetadataRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates metadata about specified flow module. *

*
*

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

* * @param updateContactFlowModuleMetadataRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowModuleMetadataRequest.Builder} to * create a request. * @return Result of the UpdateContactFlowModuleMetadata operation returned by the service. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowModuleMetadata * @see AWS API Documentation */ default UpdateContactFlowModuleMetadataResponse updateContactFlowModuleMetadata( Consumer updateContactFlowModuleMetadataRequest) throws AccessDeniedException, InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateContactFlowName operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowName * @see AWS * API Documentation */ default UpdateContactFlowNameResponse updateContactFlowName(UpdateContactFlowNameRequest updateContactFlowNameRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* The name of the flow. *

*

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

*
*

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

* * @param updateContactFlowNameRequest * A {@link Consumer} that will call methods on {@link UpdateContactFlowNameRequest.Builder} to create a * request. * @return Result of the UpdateContactFlowName operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactFlowName * @see AWS * API Documentation */ default UpdateContactFlowNameResponse updateContactFlowName( Consumer updateContactFlowNameRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateContactFlowName(UpdateContactFlowNameRequest.builder().applyMutation(updateContactFlowNameRequest).build()); } /** *

* Updates the scheduled time of a task contact that is already scheduled. *

* * @param updateContactScheduleRequest * @return Result of the UpdateContactSchedule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactSchedule * @see AWS * API Documentation */ default UpdateContactScheduleResponse updateContactSchedule(UpdateContactScheduleRequest updateContactScheduleRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, LimitExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the scheduled time of a task contact that is already scheduled. *

*
*

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

* * @param updateContactScheduleRequest * A {@link Consumer} that will call methods on {@link UpdateContactScheduleRequest.Builder} to create a * request. * @return Result of the UpdateContactSchedule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws LimitExceededException * The allowed limit for the resource has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateContactSchedule * @see AWS * API Documentation */ default UpdateContactScheduleResponse updateContactSchedule( Consumer updateContactScheduleRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, LimitExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateContactSchedule(UpdateContactScheduleRequest.builder().applyMutation(updateContactScheduleRequest).build()); } /** *

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

*

* Updates the hours of operation. *

* * @param updateHoursOfOperationRequest * @return Result of the UpdateHoursOfOperation operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateHoursOfOperation * @see AWS API Documentation */ default UpdateHoursOfOperationResponse updateHoursOfOperation(UpdateHoursOfOperationRequest updateHoursOfOperationRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the hours of operation. *

*
*

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

* * @param updateHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link UpdateHoursOfOperationRequest.Builder} to create a * request. * @return Result of the UpdateHoursOfOperation operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateHoursOfOperation * @see AWS API Documentation */ default UpdateHoursOfOperationResponse updateHoursOfOperation( Consumer updateHoursOfOperationRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateInstanceAttribute operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateInstanceAttribute * @see AWS API Documentation */ default UpdateInstanceAttributeResponse updateInstanceAttribute(UpdateInstanceAttributeRequest updateInstanceAttributeRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the value for the specified attribute type. *

*
*

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

* * @param updateInstanceAttributeRequest * A {@link Consumer} that will call methods on {@link UpdateInstanceAttributeRequest.Builder} to create a * request. * @return Result of the UpdateInstanceAttribute operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateInstanceAttribute * @see AWS API Documentation */ default UpdateInstanceAttributeResponse updateInstanceAttribute( Consumer updateInstanceAttributeRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateInstanceStorageConfig * @see AWS API Documentation */ default UpdateInstanceStorageConfigResponse updateInstanceStorageConfig( UpdateInstanceStorageConfigRequest updateInstanceStorageConfigRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates an existing configuration for a resource type. This API is idempotent. *

*
*

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

* * @param updateInstanceStorageConfigRequest * A {@link Consumer} that will call methods on {@link UpdateInstanceStorageConfigRequest.Builder} to create * a request. * @return Result of the UpdateInstanceStorageConfig operation returned by the service. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateInstanceStorageConfig * @see AWS API Documentation */ default UpdateInstanceStorageConfigResponse updateInstanceStorageConfig( Consumer updateInstanceStorageConfigRequest) throws ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException { return updateInstanceStorageConfig(UpdateInstanceStorageConfigRequest.builder() .applyMutation(updateInstanceStorageConfigRequest).build()); } /** *

* Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to * another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region. *

* *

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

*
* * @param updatePhoneNumberRequest * @return Result of the UpdatePhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdatePhoneNumber * @see AWS API * Documentation */ default UpdatePhoneNumberResponse updatePhoneNumber(UpdatePhoneNumberRequest updatePhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceInUseException, IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to * another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region. *

* *

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

*

*

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

* * @param updatePhoneNumberRequest * A {@link Consumer} that will call methods on {@link UpdatePhoneNumberRequest.Builder} to create a request. * @return Result of the UpdatePhoneNumber operation returned by the service. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws IdempotencyException * An entity with the same name already exists. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdatePhoneNumber * @see AWS API * Documentation */ default UpdatePhoneNumberResponse updatePhoneNumber(Consumer updatePhoneNumberRequest) throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceInUseException, IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException { return updatePhoneNumber(UpdatePhoneNumberRequest.builder().applyMutation(updatePhoneNumberRequest).build()); } /** *

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

*

* Updates the hours of operation for the specified queue. *

* * @param updateQueueHoursOfOperationRequest * @return Result of the UpdateQueueHoursOfOperation operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueHoursOfOperation * @see AWS API Documentation */ default UpdateQueueHoursOfOperationResponse updateQueueHoursOfOperation( UpdateQueueHoursOfOperationRequest updateQueueHoursOfOperationRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the hours of operation for the specified queue. *

*
*

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

* * @param updateQueueHoursOfOperationRequest * A {@link Consumer} that will call methods on {@link UpdateQueueHoursOfOperationRequest.Builder} to create * a request. * @return Result of the UpdateQueueHoursOfOperation operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueHoursOfOperation * @see AWS API Documentation */ default UpdateQueueHoursOfOperationResponse updateQueueHoursOfOperation( Consumer updateQueueHoursOfOperationRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateQueueMaxContacts operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueMaxContacts * @see AWS API Documentation */ default UpdateQueueMaxContactsResponse updateQueueMaxContacts(UpdateQueueMaxContactsRequest updateQueueMaxContactsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the maximum number of contacts allowed in a queue before it is considered full. *

*
*

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

* * @param updateQueueMaxContactsRequest * A {@link Consumer} that will call methods on {@link UpdateQueueMaxContactsRequest.Builder} to create a * request. * @return Result of the UpdateQueueMaxContacts operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueMaxContacts * @see AWS API Documentation */ default UpdateQueueMaxContactsResponse updateQueueMaxContacts( Consumer updateQueueMaxContactsRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateQueueName operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueName * @see AWS API * Documentation */ default UpdateQueueNameResponse updateQueueName(UpdateQueueNameRequest updateQueueNameRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the name and description of a queue. At least Name or Description must be * provided. *

*
*

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

* * @param updateQueueNameRequest * A {@link Consumer} that will call methods on {@link UpdateQueueNameRequest.Builder} to create a request. * @return Result of the UpdateQueueName operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueName * @see AWS API * Documentation */ default UpdateQueueNameResponse updateQueueName(Consumer updateQueueNameRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateQueueName(UpdateQueueNameRequest.builder().applyMutation(updateQueueNameRequest).build()); } /** *

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

*

* Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue. *

* *

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

*
* * @param updateQueueOutboundCallerConfigRequest * @return Result of the UpdateQueueOutboundCallerConfig operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueOutboundCallerConfig * @see AWS API Documentation */ default UpdateQueueOutboundCallerConfigResponse updateQueueOutboundCallerConfig( UpdateQueueOutboundCallerConfigRequest updateQueueOutboundCallerConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue. *

* *

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

*

*

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

* * @param updateQueueOutboundCallerConfigRequest * A {@link Consumer} that will call methods on {@link UpdateQueueOutboundCallerConfigRequest.Builder} to * create a request. * @return Result of the UpdateQueueOutboundCallerConfig operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueOutboundCallerConfig * @see AWS API Documentation */ default UpdateQueueOutboundCallerConfigResponse updateQueueOutboundCallerConfig( Consumer updateQueueOutboundCallerConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateQueueStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueStatus * @see AWS API * Documentation */ default UpdateQueueStatusResponse updateQueueStatus(UpdateQueueStatusRequest updateQueueStatusRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates the status of the queue. *

*
*

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

* * @param updateQueueStatusRequest * A {@link Consumer} that will call methods on {@link UpdateQueueStatusRequest.Builder} to create a request. * @return Result of the UpdateQueueStatus operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQueueStatus * @see AWS API * Documentation */ default UpdateQueueStatusResponse updateQueueStatus(Consumer updateQueueStatusRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateQueueStatus(UpdateQueueStatusRequest.builder().applyMutation(updateQueueStatusRequest).build()); } /** *

* Updates the configuration settings for the specified quick connect. *

* * @param updateQuickConnectConfigRequest * @return Result of the UpdateQuickConnectConfig operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQuickConnectConfig * @see AWS API Documentation */ default UpdateQuickConnectConfigResponse updateQuickConnectConfig( UpdateQuickConnectConfigRequest updateQuickConnectConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the configuration settings for the specified quick connect. *

*
*

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

* * @param updateQuickConnectConfigRequest * A {@link Consumer} that will call methods on {@link UpdateQuickConnectConfigRequest.Builder} to create a * request. * @return Result of the UpdateQuickConnectConfig operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQuickConnectConfig * @see AWS API Documentation */ default UpdateQuickConnectConfigResponse updateQuickConnectConfig( Consumer updateQuickConnectConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateQuickConnectName operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQuickConnectName * @see AWS API Documentation */ default UpdateQuickConnectNameResponse updateQuickConnectName(UpdateQuickConnectNameRequest updateQuickConnectNameRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the name and description of a quick connect. The request accepts the following data in JSON format. At * least Name or Description must be provided. *

*
*

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

* * @param updateQuickConnectNameRequest * A {@link Consumer} that will call methods on {@link UpdateQuickConnectNameRequest.Builder} to create a * request. * @return Result of the UpdateQuickConnectName operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateQuickConnectName * @see AWS API Documentation */ default UpdateQuickConnectNameResponse updateQuickConnectName( Consumer updateQuickConnectNameRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateQuickConnectName(UpdateQuickConnectNameRequest.builder().applyMutation(updateQuickConnectNameRequest) .build()); } /** *

* Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile. *

* * @param updateRoutingProfileConcurrencyRequest * @return Result of the UpdateRoutingProfileConcurrency operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileConcurrency * @see AWS API Documentation */ default UpdateRoutingProfileConcurrencyResponse updateRoutingProfileConcurrency( UpdateRoutingProfileConcurrencyRequest updateRoutingProfileConcurrencyRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile. *

*
*

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

* * @param updateRoutingProfileConcurrencyRequest * A {@link Consumer} that will call methods on {@link UpdateRoutingProfileConcurrencyRequest.Builder} to * create a request. * @return Result of the UpdateRoutingProfileConcurrency operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileConcurrency * @see AWS API Documentation */ default UpdateRoutingProfileConcurrencyResponse updateRoutingProfileConcurrency( Consumer updateRoutingProfileConcurrencyRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateRoutingProfileConcurrency(UpdateRoutingProfileConcurrencyRequest.builder() .applyMutation(updateRoutingProfileConcurrencyRequest).build()); } /** *

* Updates the default outbound queue of a routing profile. *

* * @param updateRoutingProfileDefaultOutboundQueueRequest * @return Result of the UpdateRoutingProfileDefaultOutboundQueue operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileDefaultOutboundQueue * @see AWS API Documentation */ default UpdateRoutingProfileDefaultOutboundQueueResponse updateRoutingProfileDefaultOutboundQueue( UpdateRoutingProfileDefaultOutboundQueueRequest updateRoutingProfileDefaultOutboundQueueRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the default outbound queue of a routing profile. *

*
*

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

* * @param updateRoutingProfileDefaultOutboundQueueRequest * A {@link Consumer} that will call methods on * {@link UpdateRoutingProfileDefaultOutboundQueueRequest.Builder} to create a request. * @return Result of the UpdateRoutingProfileDefaultOutboundQueue operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileDefaultOutboundQueue * @see AWS API Documentation */ default UpdateRoutingProfileDefaultOutboundQueueResponse updateRoutingProfileDefaultOutboundQueue( Consumer updateRoutingProfileDefaultOutboundQueueRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateRoutingProfileName operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileName * @see AWS API Documentation */ default UpdateRoutingProfileNameResponse updateRoutingProfileName( UpdateRoutingProfileNameRequest updateRoutingProfileNameRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the name and description of a routing profile. The request accepts the following data in JSON format. At * least Name or Description must be provided. *

*
*

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

* * @param updateRoutingProfileNameRequest * A {@link Consumer} that will call methods on {@link UpdateRoutingProfileNameRequest.Builder} to create a * request. * @return Result of the UpdateRoutingProfileName operation returned by the service. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileName * @see AWS API Documentation */ default UpdateRoutingProfileNameResponse updateRoutingProfileName( Consumer updateRoutingProfileNameRequest) throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateRoutingProfileName(UpdateRoutingProfileNameRequest.builder().applyMutation(updateRoutingProfileNameRequest) .build()); } /** *

* Updates the properties associated with a set of queues for a routing profile. *

* * @param updateRoutingProfileQueuesRequest * @return Result of the UpdateRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileQueues * @see AWS API Documentation */ default UpdateRoutingProfileQueuesResponse updateRoutingProfileQueues( UpdateRoutingProfileQueuesRequest updateRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the properties associated with a set of queues for a routing profile. *

*
*

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

* * @param updateRoutingProfileQueuesRequest * A {@link Consumer} that will call methods on {@link UpdateRoutingProfileQueuesRequest.Builder} to create a * request. * @return Result of the UpdateRoutingProfileQueues operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRoutingProfileQueues * @see AWS API Documentation */ default UpdateRoutingProfileQueuesResponse updateRoutingProfileQueues( Consumer updateRoutingProfileQueuesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceConflictException * A resource already has that name. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRule * @see AWS API * Documentation */ default UpdateRuleResponse updateRule(UpdateRuleRequest updateRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceConflictException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

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

* * @param updateRuleRequest * A {@link Consumer} that will call methods on {@link UpdateRuleRequest.Builder} to create a request. * @return Result of the UpdateRule operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceConflictException * A resource already has that name. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateRule * @see AWS API * Documentation */ default UpdateRuleResponse updateRule(Consumer updateRuleRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ThrottlingException, AccessDeniedException, ResourceConflictException, AwsServiceException, SdkClientException, ConnectException { return updateRule(UpdateRuleRequest.builder().applyMutation(updateRuleRequest).build()); } /** *

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

*

* Updates a security profile. *

* * @param updateSecurityProfileRequest * @return Result of the UpdateSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateSecurityProfile * @see AWS * API Documentation */ default UpdateSecurityProfileResponse updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

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

*

* Updates a security profile. *

*
*

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

* * @param updateSecurityProfileRequest * A {@link Consumer} that will call methods on {@link UpdateSecurityProfileRequest.Builder} to create a * request. * @return Result of the UpdateSecurityProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateSecurityProfile * @see AWS * API Documentation */ default UpdateSecurityProfileResponse updateSecurityProfile( Consumer updateSecurityProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateTaskTemplate operation returned by the service. * @throws PropertyValidationException * The property is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateTaskTemplate * @see AWS * API Documentation */ default UpdateTaskTemplateResponse updateTaskTemplate(UpdateTaskTemplateRequest updateTaskTemplateRequest) throws PropertyValidationException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates details about a specific task template in the specified Amazon Connect instance. This operation does not * support partial updates. Instead it does a full update of template content. *

*
*

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

* * @param updateTaskTemplateRequest * A {@link Consumer} that will call methods on {@link UpdateTaskTemplateRequest.Builder} to create a * request. * @return Result of the UpdateTaskTemplate operation returned by the service. * @throws PropertyValidationException * The property is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws ServiceQuotaExceededException * The service quota has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateTaskTemplate * @see AWS * API Documentation */ default UpdateTaskTemplateResponse updateTaskTemplate(Consumer updateTaskTemplateRequest) throws PropertyValidationException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateTaskTemplate(UpdateTaskTemplateRequest.builder().applyMutation(updateTaskTemplateRequest).build()); } /** *

* Updates the traffic distribution for a given traffic distribution group. *

*

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

* * @param updateTrafficDistributionRequest * @return Result of the UpdateTrafficDistribution operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateTrafficDistribution * @see AWS API Documentation */ default UpdateTrafficDistributionResponse updateTrafficDistribution( UpdateTrafficDistributionRequest updateTrafficDistributionRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceConflictException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the traffic distribution for a given traffic distribution group. *

*

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

*
*

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

* * @param updateTrafficDistributionRequest * A {@link Consumer} that will call methods on {@link UpdateTrafficDistributionRequest.Builder} to create a * request. * @return Result of the UpdateTrafficDistribution operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws AccessDeniedException * You do not have sufficient permissions to perform this action. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceConflictException * A resource already has that name. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateTrafficDistribution * @see AWS API Documentation */ default UpdateTrafficDistributionResponse updateTrafficDistribution( Consumer updateTrafficDistributionRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceConflictException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateTrafficDistribution(UpdateTrafficDistributionRequest.builder() .applyMutation(updateTrafficDistributionRequest).build()); } /** *

* Assigns the specified hierarchy group to the specified user. *

* * @param updateUserHierarchyRequest * @return Result of the UpdateUserHierarchy operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserHierarchy * @see AWS * API Documentation */ default UpdateUserHierarchyResponse updateUserHierarchy(UpdateUserHierarchyRequest updateUserHierarchyRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Assigns the specified hierarchy group to the specified user. *

*
*

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

* * @param updateUserHierarchyRequest * A {@link Consumer} that will call methods on {@link UpdateUserHierarchyRequest.Builder} to create a * request. * @return Result of the UpdateUserHierarchy operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserHierarchy * @see AWS * API Documentation */ default UpdateUserHierarchyResponse updateUserHierarchy( Consumer updateUserHierarchyRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateUserHierarchy(UpdateUserHierarchyRequest.builder().applyMutation(updateUserHierarchyRequest).build()); } /** *

* Updates the name of the user hierarchy group. *

* * @param updateUserHierarchyGroupNameRequest * @return Result of the UpdateUserHierarchyGroupName operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserHierarchyGroupName * @see AWS API Documentation */ default UpdateUserHierarchyGroupNameResponse updateUserHierarchyGroupName( UpdateUserHierarchyGroupNameRequest updateUserHierarchyGroupNameRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the name of the user hierarchy group. *

*
*

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

* * @param updateUserHierarchyGroupNameRequest * A {@link Consumer} that will call methods on {@link UpdateUserHierarchyGroupNameRequest.Builder} to create * a request. * @return Result of the UpdateUserHierarchyGroupName operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws DuplicateResourceException * A resource with the specified name already exists. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserHierarchyGroupName * @see AWS API Documentation */ default UpdateUserHierarchyGroupNameResponse updateUserHierarchyGroupName( Consumer updateUserHierarchyGroupNameRequest) throws InvalidRequestException, InvalidParameterException, DuplicateResourceException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateUserHierarchyGroupName(UpdateUserHierarchyGroupNameRequest.builder() .applyMutation(updateUserHierarchyGroupNameRequest).build()); } /** *

* Updates the user hierarchy structure: add, remove, and rename user hierarchy levels. *

* * @param updateUserHierarchyStructureRequest * @return Result of the UpdateUserHierarchyStructure operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserHierarchyStructure * @see AWS API Documentation */ default UpdateUserHierarchyStructureResponse updateUserHierarchyStructure( UpdateUserHierarchyStructureRequest updateUserHierarchyStructureRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the user hierarchy structure: add, remove, and rename user hierarchy levels. *

*
*

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

* * @param updateUserHierarchyStructureRequest * A {@link Consumer} that will call methods on {@link UpdateUserHierarchyStructureRequest.Builder} to create * a request. * @return Result of the UpdateUserHierarchyStructure operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ResourceInUseException * That resource is already in use. Please try another. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserHierarchyStructure * @see AWS API Documentation */ default UpdateUserHierarchyStructureResponse updateUserHierarchyStructure( Consumer updateUserHierarchyStructureRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { 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 Result of the UpdateUserIdentityInfo operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserIdentityInfo * @see AWS API Documentation */ default UpdateUserIdentityInfoResponse updateUserIdentityInfo(UpdateUserIdentityInfoRequest updateUserIdentityInfoRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the identity information for the specified user. *

* *

* We strongly recommend limiting who has the ability to invoke UpdateUserIdentityInfo. Someone with * that ability can change the login credentials of other users by changing their email address. This poses a * security risk to your organization. They can change the email address of a user to the attacker's email address, * and then reset the password through email. For more information, see Best Practices * for Security Profiles in the Amazon Connect Administrator Guide. *

*

*

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

* * @param updateUserIdentityInfoRequest * A {@link Consumer} that will call methods on {@link UpdateUserIdentityInfoRequest.Builder} to create a * request. * @return Result of the UpdateUserIdentityInfo operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserIdentityInfo * @see AWS API Documentation */ default UpdateUserIdentityInfoResponse updateUserIdentityInfo( Consumer updateUserIdentityInfoRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateUserIdentityInfo(UpdateUserIdentityInfoRequest.builder().applyMutation(updateUserIdentityInfoRequest) .build()); } /** *

* Updates the phone configuration settings for the specified user. *

* * @param updateUserPhoneConfigRequest * @return Result of the UpdateUserPhoneConfig operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserPhoneConfig * @see AWS * API Documentation */ default UpdateUserPhoneConfigResponse updateUserPhoneConfig(UpdateUserPhoneConfigRequest updateUserPhoneConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Updates the phone configuration settings for the specified user. *

*
*

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

* * @param updateUserPhoneConfigRequest * A {@link Consumer} that will call methods on {@link UpdateUserPhoneConfigRequest.Builder} to create a * request. * @return Result of the UpdateUserPhoneConfig operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserPhoneConfig * @see AWS * API Documentation */ default UpdateUserPhoneConfigResponse updateUserPhoneConfig( Consumer updateUserPhoneConfigRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateUserPhoneConfig(UpdateUserPhoneConfigRequest.builder().applyMutation(updateUserPhoneConfigRequest).build()); } /** *

* Assigns the specified routing profile to the specified user. *

* * @param updateUserRoutingProfileRequest * @return Result of the UpdateUserRoutingProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserRoutingProfile * @see AWS API Documentation */ default UpdateUserRoutingProfileResponse updateUserRoutingProfile( UpdateUserRoutingProfileRequest updateUserRoutingProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Assigns the specified routing profile to the specified user. *

*
*

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

* * @param updateUserRoutingProfileRequest * A {@link Consumer} that will call methods on {@link UpdateUserRoutingProfileRequest.Builder} to create a * request. * @return Result of the UpdateUserRoutingProfile operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserRoutingProfile * @see AWS API Documentation */ default UpdateUserRoutingProfileResponse updateUserRoutingProfile( Consumer updateUserRoutingProfileRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateUserRoutingProfile(UpdateUserRoutingProfileRequest.builder().applyMutation(updateUserRoutingProfileRequest) .build()); } /** *

* Assigns the specified security profiles to the specified user. *

* * @param updateUserSecurityProfilesRequest * @return Result of the UpdateUserSecurityProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserSecurityProfiles * @see AWS API Documentation */ default UpdateUserSecurityProfilesResponse updateUserSecurityProfiles( UpdateUserSecurityProfilesRequest updateUserSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { throw new UnsupportedOperationException(); } /** *

* Assigns the specified security profiles to the specified user. *

*
*

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

* * @param updateUserSecurityProfilesRequest * A {@link Consumer} that will call methods on {@link UpdateUserSecurityProfilesRequest.Builder} to create a * request. * @return Result of the UpdateUserSecurityProfiles operation returned by the service. * @throws InvalidRequestException * The request is not valid. * @throws InvalidParameterException * One or more of the specified parameters are not valid. * @throws ResourceNotFoundException * The specified resource was not found. * @throws ThrottlingException * The throttling limit has been exceeded. * @throws InternalServiceException * Request processing failed because of an error or failure with the service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws ConnectException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample ConnectClient.UpdateUserSecurityProfiles * @see AWS API Documentation */ default UpdateUserSecurityProfilesResponse updateUserSecurityProfiles( Consumer updateUserSecurityProfilesRequest) throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException { return updateUserSecurityProfiles(UpdateUserSecurityProfilesRequest.builder() .applyMutation(updateUserSecurityProfilesRequest).build()); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy