software.amazon.awssdk.services.connect.ConnectClient Maven / Gradle / Ivy
Show all versions of connect Show documentation
/*
* 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.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
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.ActivateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.ActivateEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.AssociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.AssociateAnalyticsDataSetResponse;
import software.amazon.awssdk.services.connect.model.AssociateApprovedOriginRequest;
import software.amazon.awssdk.services.connect.model.AssociateApprovedOriginResponse;
import software.amazon.awssdk.services.connect.model.AssociateBotRequest;
import software.amazon.awssdk.services.connect.model.AssociateBotResponse;
import software.amazon.awssdk.services.connect.model.AssociateDefaultVocabularyRequest;
import software.amazon.awssdk.services.connect.model.AssociateDefaultVocabularyResponse;
import software.amazon.awssdk.services.connect.model.AssociateFlowRequest;
import software.amazon.awssdk.services.connect.model.AssociateFlowResponse;
import software.amazon.awssdk.services.connect.model.AssociateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.AssociateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.AssociateLambdaFunctionRequest;
import software.amazon.awssdk.services.connect.model.AssociateLambdaFunctionResponse;
import software.amazon.awssdk.services.connect.model.AssociateLexBotRequest;
import software.amazon.awssdk.services.connect.model.AssociateLexBotResponse;
import software.amazon.awssdk.services.connect.model.AssociatePhoneNumberContactFlowRequest;
import software.amazon.awssdk.services.connect.model.AssociatePhoneNumberContactFlowResponse;
import software.amazon.awssdk.services.connect.model.AssociateQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.AssociateQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.AssociateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.AssociateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.AssociateSecurityKeyRequest;
import software.amazon.awssdk.services.connect.model.AssociateSecurityKeyResponse;
import software.amazon.awssdk.services.connect.model.AssociateTrafficDistributionGroupUserRequest;
import software.amazon.awssdk.services.connect.model.AssociateTrafficDistributionGroupUserResponse;
import software.amazon.awssdk.services.connect.model.AssociateUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.AssociateUserProficienciesResponse;
import software.amazon.awssdk.services.connect.model.BatchAssociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.BatchAssociateAnalyticsDataSetResponse;
import software.amazon.awssdk.services.connect.model.BatchDisassociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.BatchDisassociateAnalyticsDataSetResponse;
import software.amazon.awssdk.services.connect.model.BatchGetAttachedFileMetadataRequest;
import software.amazon.awssdk.services.connect.model.BatchGetAttachedFileMetadataResponse;
import software.amazon.awssdk.services.connect.model.BatchGetFlowAssociationRequest;
import software.amazon.awssdk.services.connect.model.BatchGetFlowAssociationResponse;
import software.amazon.awssdk.services.connect.model.BatchPutContactRequest;
import software.amazon.awssdk.services.connect.model.BatchPutContactResponse;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.ClaimPhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.CompleteAttachedFileUploadRequest;
import software.amazon.awssdk.services.connect.model.CompleteAttachedFileUploadResponse;
import software.amazon.awssdk.services.connect.model.ConflictException;
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.CreateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.CreateEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.CreateHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.CreateHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.CreateInstanceRequest;
import software.amazon.awssdk.services.connect.model.CreateInstanceResponse;
import software.amazon.awssdk.services.connect.model.CreateIntegrationAssociationRequest;
import software.amazon.awssdk.services.connect.model.CreateIntegrationAssociationResponse;
import software.amazon.awssdk.services.connect.model.CreateParticipantRequest;
import software.amazon.awssdk.services.connect.model.CreateParticipantResponse;
import software.amazon.awssdk.services.connect.model.CreatePersistentContactAssociationRequest;
import software.amazon.awssdk.services.connect.model.CreatePersistentContactAssociationResponse;
import software.amazon.awssdk.services.connect.model.CreatePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.CreatePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.CreatePromptRequest;
import software.amazon.awssdk.services.connect.model.CreatePromptResponse;
import software.amazon.awssdk.services.connect.model.CreateQueueRequest;
import software.amazon.awssdk.services.connect.model.CreateQueueResponse;
import software.amazon.awssdk.services.connect.model.CreateQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.CreateQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.CreateRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.CreateRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.CreateRuleRequest;
import software.amazon.awssdk.services.connect.model.CreateRuleResponse;
import software.amazon.awssdk.services.connect.model.CreateSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.CreateSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.CreateTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.CreateTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.CreateTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.CreateTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.CreateUseCaseRequest;
import software.amazon.awssdk.services.connect.model.CreateUseCaseResponse;
import software.amazon.awssdk.services.connect.model.CreateUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.CreateUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.CreateUserRequest;
import software.amazon.awssdk.services.connect.model.CreateUserResponse;
import software.amazon.awssdk.services.connect.model.CreateViewRequest;
import software.amazon.awssdk.services.connect.model.CreateViewResponse;
import software.amazon.awssdk.services.connect.model.CreateViewVersionRequest;
import software.amazon.awssdk.services.connect.model.CreateViewVersionResponse;
import software.amazon.awssdk.services.connect.model.CreateVocabularyRequest;
import software.amazon.awssdk.services.connect.model.CreateVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DeactivateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.DeactivateEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.DeleteAttachedFileRequest;
import software.amazon.awssdk.services.connect.model.DeleteAttachedFileResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactEvaluationResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DeleteContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DeleteEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.DeleteEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.DeleteHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.DeleteHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.DeleteInstanceRequest;
import software.amazon.awssdk.services.connect.model.DeleteInstanceResponse;
import software.amazon.awssdk.services.connect.model.DeleteIntegrationAssociationRequest;
import software.amazon.awssdk.services.connect.model.DeleteIntegrationAssociationResponse;
import software.amazon.awssdk.services.connect.model.DeletePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.DeletePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.DeletePromptRequest;
import software.amazon.awssdk.services.connect.model.DeletePromptResponse;
import software.amazon.awssdk.services.connect.model.DeleteQueueRequest;
import software.amazon.awssdk.services.connect.model.DeleteQueueResponse;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.DeleteQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.DeleteRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.DeleteRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.DeleteRuleRequest;
import software.amazon.awssdk.services.connect.model.DeleteRuleResponse;
import software.amazon.awssdk.services.connect.model.DeleteSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.DeleteSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.DeleteTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.DeleteTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.DeleteTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.DeleteTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.DeleteUseCaseRequest;
import software.amazon.awssdk.services.connect.model.DeleteUseCaseResponse;
import software.amazon.awssdk.services.connect.model.DeleteUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.DeleteUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.DeleteUserRequest;
import software.amazon.awssdk.services.connect.model.DeleteUserResponse;
import software.amazon.awssdk.services.connect.model.DeleteViewRequest;
import software.amazon.awssdk.services.connect.model.DeleteViewResponse;
import software.amazon.awssdk.services.connect.model.DeleteViewVersionRequest;
import software.amazon.awssdk.services.connect.model.DeleteViewVersionResponse;
import software.amazon.awssdk.services.connect.model.DeleteVocabularyRequest;
import software.amazon.awssdk.services.connect.model.DeleteVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DescribeAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.DescribeAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.DescribeAuthenticationProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeAuthenticationProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactEvaluationResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowModuleRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowModuleResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DescribeContactRequest;
import software.amazon.awssdk.services.connect.model.DescribeContactResponse;
import software.amazon.awssdk.services.connect.model.DescribeEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.DescribeEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.DescribeHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.DescribeHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceAttributeRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceAttributeResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceResponse;
import software.amazon.awssdk.services.connect.model.DescribeInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.DescribeInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.DescribePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.DescribePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.DescribePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.DescribePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.DescribePromptRequest;
import software.amazon.awssdk.services.connect.model.DescribePromptResponse;
import software.amazon.awssdk.services.connect.model.DescribeQueueRequest;
import software.amazon.awssdk.services.connect.model.DescribeQueueResponse;
import software.amazon.awssdk.services.connect.model.DescribeQuickConnectRequest;
import software.amazon.awssdk.services.connect.model.DescribeQuickConnectResponse;
import software.amazon.awssdk.services.connect.model.DescribeRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeRuleRequest;
import software.amazon.awssdk.services.connect.model.DescribeRuleResponse;
import software.amazon.awssdk.services.connect.model.DescribeSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.DescribeSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.DescribeTrafficDistributionGroupRequest;
import software.amazon.awssdk.services.connect.model.DescribeTrafficDistributionGroupResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyGroupRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyGroupResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyStructureRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserHierarchyStructureResponse;
import software.amazon.awssdk.services.connect.model.DescribeUserRequest;
import software.amazon.awssdk.services.connect.model.DescribeUserResponse;
import software.amazon.awssdk.services.connect.model.DescribeViewRequest;
import software.amazon.awssdk.services.connect.model.DescribeViewResponse;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyRequest;
import software.amazon.awssdk.services.connect.model.DescribeVocabularyResponse;
import software.amazon.awssdk.services.connect.model.DestinationNotAllowedException;
import software.amazon.awssdk.services.connect.model.DisassociateAnalyticsDataSetRequest;
import software.amazon.awssdk.services.connect.model.DisassociateAnalyticsDataSetResponse;
import software.amazon.awssdk.services.connect.model.DisassociateApprovedOriginRequest;
import software.amazon.awssdk.services.connect.model.DisassociateApprovedOriginResponse;
import software.amazon.awssdk.services.connect.model.DisassociateBotRequest;
import software.amazon.awssdk.services.connect.model.DisassociateBotResponse;
import software.amazon.awssdk.services.connect.model.DisassociateFlowRequest;
import software.amazon.awssdk.services.connect.model.DisassociateFlowResponse;
import software.amazon.awssdk.services.connect.model.DisassociateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.DisassociateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.DisassociateLambdaFunctionRequest;
import software.amazon.awssdk.services.connect.model.DisassociateLambdaFunctionResponse;
import software.amazon.awssdk.services.connect.model.DisassociateLexBotRequest;
import software.amazon.awssdk.services.connect.model.DisassociateLexBotResponse;
import software.amazon.awssdk.services.connect.model.DisassociatePhoneNumberContactFlowRequest;
import software.amazon.awssdk.services.connect.model.DisassociatePhoneNumberContactFlowResponse;
import software.amazon.awssdk.services.connect.model.DisassociateQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.DisassociateQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.DisassociateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.DisassociateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.DisassociateSecurityKeyRequest;
import software.amazon.awssdk.services.connect.model.DisassociateSecurityKeyResponse;
import software.amazon.awssdk.services.connect.model.DisassociateTrafficDistributionGroupUserRequest;
import software.amazon.awssdk.services.connect.model.DisassociateTrafficDistributionGroupUserResponse;
import software.amazon.awssdk.services.connect.model.DisassociateUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.DisassociateUserProficienciesResponse;
import software.amazon.awssdk.services.connect.model.DismissUserContactRequest;
import software.amazon.awssdk.services.connect.model.DismissUserContactResponse;
import software.amazon.awssdk.services.connect.model.DuplicateResourceException;
import software.amazon.awssdk.services.connect.model.GetAttachedFileRequest;
import software.amazon.awssdk.services.connect.model.GetAttachedFileResponse;
import software.amazon.awssdk.services.connect.model.GetContactAttributesRequest;
import software.amazon.awssdk.services.connect.model.GetContactAttributesResponse;
import software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest;
import software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse;
import software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest;
import software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse;
import software.amazon.awssdk.services.connect.model.GetFederationTokenRequest;
import software.amazon.awssdk.services.connect.model.GetFederationTokenResponse;
import software.amazon.awssdk.services.connect.model.GetFlowAssociationRequest;
import software.amazon.awssdk.services.connect.model.GetFlowAssociationResponse;
import software.amazon.awssdk.services.connect.model.GetMetricDataRequest;
import software.amazon.awssdk.services.connect.model.GetMetricDataResponse;
import software.amazon.awssdk.services.connect.model.GetMetricDataV2Request;
import software.amazon.awssdk.services.connect.model.GetMetricDataV2Response;
import software.amazon.awssdk.services.connect.model.GetPromptFileRequest;
import software.amazon.awssdk.services.connect.model.GetPromptFileResponse;
import software.amazon.awssdk.services.connect.model.GetTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.GetTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.GetTrafficDistributionRequest;
import software.amazon.awssdk.services.connect.model.GetTrafficDistributionResponse;
import software.amazon.awssdk.services.connect.model.IdempotencyException;
import software.amazon.awssdk.services.connect.model.ImportPhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.ImportPhoneNumberResponse;
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.ListAnalyticsDataAssociationsRequest;
import software.amazon.awssdk.services.connect.model.ListAnalyticsDataAssociationsResponse;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest;
import software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse;
import software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListBotsRequest;
import software.amazon.awssdk.services.connect.model.ListBotsResponse;
import software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest;
import software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse;
import software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest;
import software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse;
import software.amazon.awssdk.services.connect.model.ListContactFlowsRequest;
import software.amazon.awssdk.services.connect.model.ListContactFlowsResponse;
import software.amazon.awssdk.services.connect.model.ListContactReferencesRequest;
import software.amazon.awssdk.services.connect.model.ListContactReferencesResponse;
import software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest;
import software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse;
import software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest;
import software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse;
import software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest;
import software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse;
import software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest;
import software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse;
import software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest;
import software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse;
import software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest;
import software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse;
import software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest;
import software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse;
import software.amazon.awssdk.services.connect.model.ListInstancesRequest;
import software.amazon.awssdk.services.connect.model.ListInstancesResponse;
import software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest;
import software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse;
import software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest;
import software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse;
import software.amazon.awssdk.services.connect.model.ListLexBotsRequest;
import software.amazon.awssdk.services.connect.model.ListLexBotsResponse;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request;
import software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response;
import software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest;
import software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse;
import software.amazon.awssdk.services.connect.model.ListPromptsRequest;
import software.amazon.awssdk.services.connect.model.ListPromptsResponse;
import software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.ListQueuesRequest;
import software.amazon.awssdk.services.connect.model.ListQueuesResponse;
import software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request;
import software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response;
import software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListRulesRequest;
import software.amazon.awssdk.services.connect.model.ListRulesResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.connect.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest;
import software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest;
import software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse;
import software.amazon.awssdk.services.connect.model.ListUseCasesRequest;
import software.amazon.awssdk.services.connect.model.ListUseCasesResponse;
import software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest;
import software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse;
import software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse;
import software.amazon.awssdk.services.connect.model.ListUsersRequest;
import software.amazon.awssdk.services.connect.model.ListUsersResponse;
import software.amazon.awssdk.services.connect.model.ListViewVersionsRequest;
import software.amazon.awssdk.services.connect.model.ListViewVersionsResponse;
import software.amazon.awssdk.services.connect.model.ListViewsRequest;
import software.amazon.awssdk.services.connect.model.ListViewsResponse;
import software.amazon.awssdk.services.connect.model.MaximumResultReturnedException;
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.OutputTypeNotFoundException;
import software.amazon.awssdk.services.connect.model.PauseContactRequest;
import software.amazon.awssdk.services.connect.model.PauseContactResponse;
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.ResumeContactRequest;
import software.amazon.awssdk.services.connect.model.ResumeContactResponse;
import software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest;
import software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest;
import software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse;
import software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest;
import software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse;
import software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest;
import software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse;
import software.amazon.awssdk.services.connect.model.SearchContactsRequest;
import software.amazon.awssdk.services.connect.model.SearchContactsResponse;
import software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest;
import software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse;
import software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest;
import software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse;
import software.amazon.awssdk.services.connect.model.SearchPromptsRequest;
import software.amazon.awssdk.services.connect.model.SearchPromptsResponse;
import software.amazon.awssdk.services.connect.model.SearchQueuesRequest;
import software.amazon.awssdk.services.connect.model.SearchQueuesResponse;
import software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest;
import software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse;
import software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest;
import software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse;
import software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest;
import software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse;
import software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest;
import software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse;
import software.amazon.awssdk.services.connect.model.SearchUsersRequest;
import software.amazon.awssdk.services.connect.model.SearchUsersResponse;
import software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest;
import software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse;
import software.amazon.awssdk.services.connect.model.SendChatIntegrationEventRequest;
import software.amazon.awssdk.services.connect.model.SendChatIntegrationEventResponse;
import software.amazon.awssdk.services.connect.model.ServiceQuotaExceededException;
import software.amazon.awssdk.services.connect.model.StartAttachedFileUploadRequest;
import software.amazon.awssdk.services.connect.model.StartAttachedFileUploadResponse;
import software.amazon.awssdk.services.connect.model.StartChatContactRequest;
import software.amazon.awssdk.services.connect.model.StartChatContactResponse;
import software.amazon.awssdk.services.connect.model.StartContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.StartContactEvaluationResponse;
import software.amazon.awssdk.services.connect.model.StartContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.StartContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.StartContactStreamingRequest;
import software.amazon.awssdk.services.connect.model.StartContactStreamingResponse;
import software.amazon.awssdk.services.connect.model.StartOutboundVoiceContactRequest;
import software.amazon.awssdk.services.connect.model.StartOutboundVoiceContactResponse;
import software.amazon.awssdk.services.connect.model.StartTaskContactRequest;
import software.amazon.awssdk.services.connect.model.StartTaskContactResponse;
import software.amazon.awssdk.services.connect.model.StartWebRtcContactRequest;
import software.amazon.awssdk.services.connect.model.StartWebRtcContactResponse;
import software.amazon.awssdk.services.connect.model.StopContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.StopContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.StopContactRequest;
import software.amazon.awssdk.services.connect.model.StopContactResponse;
import software.amazon.awssdk.services.connect.model.StopContactStreamingRequest;
import software.amazon.awssdk.services.connect.model.StopContactStreamingResponse;
import software.amazon.awssdk.services.connect.model.SubmitContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.SubmitContactEvaluationResponse;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingRequest;
import software.amazon.awssdk.services.connect.model.SuspendContactRecordingResponse;
import software.amazon.awssdk.services.connect.model.TagContactRequest;
import software.amazon.awssdk.services.connect.model.TagContactResponse;
import software.amazon.awssdk.services.connect.model.TagResourceRequest;
import software.amazon.awssdk.services.connect.model.TagResourceResponse;
import software.amazon.awssdk.services.connect.model.ThrottlingException;
import software.amazon.awssdk.services.connect.model.TooManyRequestsException;
import software.amazon.awssdk.services.connect.model.TransferContactRequest;
import software.amazon.awssdk.services.connect.model.TransferContactResponse;
import software.amazon.awssdk.services.connect.model.UntagContactRequest;
import software.amazon.awssdk.services.connect.model.UntagContactResponse;
import software.amazon.awssdk.services.connect.model.UntagResourceRequest;
import software.amazon.awssdk.services.connect.model.UntagResourceResponse;
import software.amazon.awssdk.services.connect.model.UpdateAgentStatusRequest;
import software.amazon.awssdk.services.connect.model.UpdateAgentStatusResponse;
import software.amazon.awssdk.services.connect.model.UpdateAuthenticationProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateAuthenticationProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactAttributesResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactEvaluationRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactEvaluationResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowModuleMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactFlowNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactRoutingDataRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactRoutingDataResponse;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleRequest;
import software.amazon.awssdk.services.connect.model.UpdateContactScheduleResponse;
import software.amazon.awssdk.services.connect.model.UpdateEvaluationFormRequest;
import software.amazon.awssdk.services.connect.model.UpdateEvaluationFormResponse;
import software.amazon.awssdk.services.connect.model.UpdateHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.UpdateHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.UpdateInstanceAttributeRequest;
import software.amazon.awssdk.services.connect.model.UpdateInstanceAttributeResponse;
import software.amazon.awssdk.services.connect.model.UpdateInstanceStorageConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateInstanceStorageConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateParticipantRoleConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateParticipantRoleConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberMetadataResponse;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberRequest;
import software.amazon.awssdk.services.connect.model.UpdatePhoneNumberResponse;
import software.amazon.awssdk.services.connect.model.UpdatePredefinedAttributeRequest;
import software.amazon.awssdk.services.connect.model.UpdatePredefinedAttributeResponse;
import software.amazon.awssdk.services.connect.model.UpdatePromptRequest;
import software.amazon.awssdk.services.connect.model.UpdatePromptResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueHoursOfOperationRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueHoursOfOperationResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueMaxContactsRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueMaxContactsResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueOutboundCallerConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueOutboundCallerConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateQueueStatusRequest;
import software.amazon.awssdk.services.connect.model.UpdateQueueStatusResponse;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateQuickConnectNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileAgentAvailabilityTimerRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileAgentAvailabilityTimerResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileConcurrencyRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileConcurrencyResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileDefaultOutboundQueueRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileDefaultOutboundQueueResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileQueuesRequest;
import software.amazon.awssdk.services.connect.model.UpdateRoutingProfileQueuesResponse;
import software.amazon.awssdk.services.connect.model.UpdateRuleRequest;
import software.amazon.awssdk.services.connect.model.UpdateRuleResponse;
import software.amazon.awssdk.services.connect.model.UpdateSecurityProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateSecurityProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateTaskTemplateRequest;
import software.amazon.awssdk.services.connect.model.UpdateTaskTemplateResponse;
import software.amazon.awssdk.services.connect.model.UpdateTrafficDistributionRequest;
import software.amazon.awssdk.services.connect.model.UpdateTrafficDistributionResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyGroupNameRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyGroupNameResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyStructureRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserHierarchyStructureResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserIdentityInfoRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserIdentityInfoResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserPhoneConfigRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserPhoneConfigResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserProficienciesRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserProficienciesResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserRoutingProfileRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserRoutingProfileResponse;
import software.amazon.awssdk.services.connect.model.UpdateUserSecurityProfilesRequest;
import software.amazon.awssdk.services.connect.model.UpdateUserSecurityProfilesResponse;
import software.amazon.awssdk.services.connect.model.UpdateViewContentRequest;
import software.amazon.awssdk.services.connect.model.UpdateViewContentResponse;
import software.amazon.awssdk.services.connect.model.UpdateViewMetadataRequest;
import software.amazon.awssdk.services.connect.model.UpdateViewMetadataResponse;
import software.amazon.awssdk.services.connect.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.GetMetricDataV2Iterable;
import software.amazon.awssdk.services.connect.paginators.ListAgentStatusesIterable;
import software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsIterable;
import software.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesIterable;
import software.amazon.awssdk.services.connect.paginators.ListBotsIterable;
import software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsIterable;
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.ListEvaluationFormVersionsIterable;
import software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsIterable;
import software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsIterable;
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.ListPredefinedAttributesIterable;
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.ListRealtimeContactAnalysisSegmentsV2Iterable;
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.ListSecurityProfileApplicationsIterable;
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.ListTrafficDistributionGroupUsersIterable;
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.ListUserProficienciesIterable;
import software.amazon.awssdk.services.connect.paginators.ListUsersIterable;
import software.amazon.awssdk.services.connect.paginators.ListViewVersionsIterable;
import software.amazon.awssdk.services.connect.paginators.ListViewsIterable;
import software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersIterable;
import software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchContactFlowsIterable;
import software.amazon.awssdk.services.connect.paginators.SearchContactsIterable;
import software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsIterable;
import software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchPromptsIterable;
import software.amazon.awssdk.services.connect.paginators.SearchQueuesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsIterable;
import software.amazon.awssdk.services.connect.paginators.SearchResourceTagsIterable;
import software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesIterable;
import software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsIterable;
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 AwsClient {
String SERVICE_NAME = "connect";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "connect";
/**
*
* Activates an evaluation form in the specified Amazon Connect instance. After the evaluation form is activated, it
* is available to start new evaluations based on the form.
*
*
* @param activateEvaluationFormRequest
* @return Result of the ActivateEvaluationForm 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 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.ActivateEvaluationForm
* @see AWS API Documentation
*/
default ActivateEvaluationFormResponse activateEvaluationForm(ActivateEvaluationFormRequest activateEvaluationFormRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
ResourceConflictException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Activates an evaluation form in the specified Amazon Connect instance. After the evaluation form is activated, it
* is available to start new evaluations based on the form.
*
*
*
* This is a convenience which creates an instance of the {@link ActivateEvaluationFormRequest.Builder} avoiding the
* need to create one manually via {@link ActivateEvaluationFormRequest#builder()}
*
*
* @param activateEvaluationFormRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ActivateEvaluationFormRequest.Builder} to create a
* request.
* @return Result of the ActivateEvaluationForm 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 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.ActivateEvaluationForm
* @see AWS API Documentation
*/
default ActivateEvaluationFormResponse activateEvaluationForm(
Consumer activateEvaluationFormRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceConflictException,
AwsServiceException, SdkClientException, ConnectException {
return activateEvaluationForm(ActivateEvaluationFormRequest.builder().applyMutation(activateEvaluationFormRequest)
.build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Associates the specified dataset for a Amazon Connect instance with the target account. You can associate only
* one dataset in a single call.
*
*
* @param associateAnalyticsDataSetRequest
* @return Result of the AssociateAnalyticsDataSet 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.AssociateAnalyticsDataSet
* @see AWS API Documentation
*/
default AssociateAnalyticsDataSetResponse associateAnalyticsDataSet(
AssociateAnalyticsDataSetRequest associateAnalyticsDataSetRequest) 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.
*
*
* Associates the specified dataset for a Amazon Connect instance with the target account. You can associate only
* one dataset in a single call.
*
*
*
* This is a convenience which creates an instance of the {@link AssociateAnalyticsDataSetRequest.Builder} avoiding
* the need to create one manually via {@link AssociateAnalyticsDataSetRequest#builder()}
*
*
* @param associateAnalyticsDataSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.AssociateAnalyticsDataSetRequest.Builder} to create a
* request.
* @return Result of the AssociateAnalyticsDataSet 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.AssociateAnalyticsDataSet
* @see AWS API Documentation
*/
default AssociateAnalyticsDataSetResponse associateAnalyticsDataSet(
Consumer associateAnalyticsDataSetRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return associateAnalyticsDataSet(AssociateAnalyticsDataSetRequest.builder()
.applyMutation(associateAnalyticsDataSetRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Associates an approved origin to an Amazon Connect instance.
*
*
* @param associateApprovedOriginRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Associates a connect resource to a flow.
*
*
* @param associateFlowRequest
* @return Result of the AssociateFlow operation returned by the service.
* @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 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.AssociateFlow
* @see AWS API
* Documentation
*/
default AssociateFlowResponse associateFlow(AssociateFlowRequest associateFlowRequest) throws AccessDeniedException,
ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Associates a connect resource to a flow.
*
*
*
* This is a convenience which creates an instance of the {@link AssociateFlowRequest.Builder} avoiding the need to
* create one manually via {@link AssociateFlowRequest#builder()}
*
*
* @param associateFlowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.AssociateFlowRequest.Builder} to create a request.
* @return Result of the AssociateFlow operation returned by the service.
* @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 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.AssociateFlow
* @see AWS API
* Documentation
*/
default AssociateFlowResponse associateFlow(Consumer associateFlowRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return associateFlow(AssociateFlowRequest.builder().applyMutation(associateFlowRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Associates a storage resource type for the first time. You can only associate one type of storage configuration
* in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing
* chat transcripts.
*
*
* This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the
* resource being specified in the storage configuration, like an S3 bucket, exists when being used for association.
*
*
* @param associateInstanceStorageConfigRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 V1 bot. This API only supports
* the association of Amazon Lex V1 bots.
*
*
* @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 V1 bot. This API only supports
* the association of Amazon Lex V1 bots.
*
*
*
* This is a convenience which creates an instance of the {@link AssociateLexBotRequest.Builder} avoiding the need
* to create one manually via {@link AssociateLexBotRequest#builder()}
*
*
* @param associateLexBotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.AssociateLexBotRequest.Builder} to create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Associates an agent with a traffic distribution group.
*
*
* @param associateTrafficDistributionGroupUserRequest
* @return Result of the AssociateTrafficDistributionGroupUser 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.AssociateTrafficDistributionGroupUser
* @see AWS API Documentation
*/
default AssociateTrafficDistributionGroupUserResponse associateTrafficDistributionGroupUser(
AssociateTrafficDistributionGroupUserRequest associateTrafficDistributionGroupUserRequest)
throws InvalidRequestException, AccessDeniedException, ThrottlingException, ResourceNotFoundException,
ResourceConflictException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Associates an agent with a traffic distribution group.
*
*
*
* This is a convenience which creates an instance of the
* {@link AssociateTrafficDistributionGroupUserRequest.Builder} avoiding the need to create one manually via
* {@link AssociateTrafficDistributionGroupUserRequest#builder()}
*
*
* @param associateTrafficDistributionGroupUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.AssociateTrafficDistributionGroupUserRequest.Builder}
* to create a request.
* @return Result of the AssociateTrafficDistributionGroupUser 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.AssociateTrafficDistributionGroupUser
* @see AWS API Documentation
*/
default AssociateTrafficDistributionGroupUserResponse associateTrafficDistributionGroupUser(
Consumer associateTrafficDistributionGroupUserRequest)
throws InvalidRequestException, AccessDeniedException, ThrottlingException, ResourceNotFoundException,
ResourceConflictException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return associateTrafficDistributionGroupUser(AssociateTrafficDistributionGroupUserRequest.builder()
.applyMutation(associateTrafficDistributionGroupUserRequest).build());
}
/**
*
* >Associates a set of proficiencies with a user.
*
*
* @param associateUserProficienciesRequest
* @return Result of the AssociateUserProficiencies 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.AssociateUserProficiencies
* @see AWS API Documentation
*/
default AssociateUserProficienciesResponse associateUserProficiencies(
AssociateUserProficienciesRequest associateUserProficienciesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* >Associates a set of proficiencies with a user.
*
*
*
* This is a convenience which creates an instance of the {@link AssociateUserProficienciesRequest.Builder} avoiding
* the need to create one manually via {@link AssociateUserProficienciesRequest#builder()}
*
*
* @param associateUserProficienciesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.AssociateUserProficienciesRequest.Builder} to create
* a request.
* @return Result of the AssociateUserProficiencies 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.AssociateUserProficiencies
* @see AWS API Documentation
*/
default AssociateUserProficienciesResponse associateUserProficiencies(
Consumer associateUserProficienciesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return associateUserProficiencies(AssociateUserProficienciesRequest.builder()
.applyMutation(associateUserProficienciesRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Associates a list of analytics datasets for a given Amazon Connect instance to a target account. You can
* associate multiple datasets in a single call.
*
*
* @param batchAssociateAnalyticsDataSetRequest
* @return Result of the BatchAssociateAnalyticsDataSet 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.BatchAssociateAnalyticsDataSet
* @see AWS API Documentation
*/
default BatchAssociateAnalyticsDataSetResponse batchAssociateAnalyticsDataSet(
BatchAssociateAnalyticsDataSetRequest batchAssociateAnalyticsDataSetRequest) 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.
*
*
* Associates a list of analytics datasets for a given Amazon Connect instance to a target account. You can
* associate multiple datasets in a single call.
*
*
*
* This is a convenience which creates an instance of the {@link BatchAssociateAnalyticsDataSetRequest.Builder}
* avoiding the need to create one manually via {@link BatchAssociateAnalyticsDataSetRequest#builder()}
*
*
* @param batchAssociateAnalyticsDataSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.BatchAssociateAnalyticsDataSetRequest.Builder} to
* create a request.
* @return Result of the BatchAssociateAnalyticsDataSet 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.BatchAssociateAnalyticsDataSet
* @see AWS API Documentation
*/
default BatchAssociateAnalyticsDataSetResponse batchAssociateAnalyticsDataSet(
Consumer batchAssociateAnalyticsDataSetRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return batchAssociateAnalyticsDataSet(BatchAssociateAnalyticsDataSetRequest.builder()
.applyMutation(batchAssociateAnalyticsDataSetRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Removes a list of analytics datasets associated with a given Amazon Connect instance. You can disassociate
* multiple datasets in a single call.
*
*
* @param batchDisassociateAnalyticsDataSetRequest
* @return Result of the BatchDisassociateAnalyticsDataSet 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.BatchDisassociateAnalyticsDataSet
* @see AWS API Documentation
*/
default BatchDisassociateAnalyticsDataSetResponse batchDisassociateAnalyticsDataSet(
BatchDisassociateAnalyticsDataSetRequest batchDisassociateAnalyticsDataSetRequest) 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.
*
*
* Removes a list of analytics datasets associated with a given Amazon Connect instance. You can disassociate
* multiple datasets in a single call.
*
*
*
* This is a convenience which creates an instance of the {@link BatchDisassociateAnalyticsDataSetRequest.Builder}
* avoiding the need to create one manually via {@link BatchDisassociateAnalyticsDataSetRequest#builder()}
*
*
* @param batchDisassociateAnalyticsDataSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.BatchDisassociateAnalyticsDataSetRequest.Builder} to
* create a request.
* @return Result of the BatchDisassociateAnalyticsDataSet 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.BatchDisassociateAnalyticsDataSet
* @see AWS API Documentation
*/
default BatchDisassociateAnalyticsDataSetResponse batchDisassociateAnalyticsDataSet(
Consumer batchDisassociateAnalyticsDataSetRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return batchDisassociateAnalyticsDataSet(BatchDisassociateAnalyticsDataSetRequest.builder()
.applyMutation(batchDisassociateAnalyticsDataSetRequest).build());
}
/**
*
* Allows you to retrieve metadata about multiple attached files on an associated resource. Each attached file
* provided in the input list must be associated with the input AssociatedResourceArn.
*
*
* @param batchGetAttachedFileMetadataRequest
* @return Result of the BatchGetAttachedFileMetadata 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 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.BatchGetAttachedFileMetadata
* @see AWS API Documentation
*/
default BatchGetAttachedFileMetadataResponse batchGetAttachedFileMetadata(
BatchGetAttachedFileMetadataRequest batchGetAttachedFileMetadataRequest) throws AccessDeniedException,
InvalidRequestException, InternalServiceException, ResourceNotFoundException, ThrottlingException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Allows you to retrieve metadata about multiple attached files on an associated resource. Each attached file
* provided in the input list must be associated with the input AssociatedResourceArn.
*
*
*
* This is a convenience which creates an instance of the {@link BatchGetAttachedFileMetadataRequest.Builder}
* avoiding the need to create one manually via {@link BatchGetAttachedFileMetadataRequest#builder()}
*
*
* @param batchGetAttachedFileMetadataRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.BatchGetAttachedFileMetadataRequest.Builder} to
* create a request.
* @return Result of the BatchGetAttachedFileMetadata 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 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.BatchGetAttachedFileMetadata
* @see AWS API Documentation
*/
default BatchGetAttachedFileMetadataResponse batchGetAttachedFileMetadata(
Consumer batchGetAttachedFileMetadataRequest)
throws AccessDeniedException, InvalidRequestException, InternalServiceException, ResourceNotFoundException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return batchGetAttachedFileMetadata(BatchGetAttachedFileMetadataRequest.builder()
.applyMutation(batchGetAttachedFileMetadataRequest).build());
}
/**
*
* Retrieve the flow associations for the given resources.
*
*
* @param batchGetFlowAssociationRequest
* @return Result of the BatchGetFlowAssociation operation returned by the service.
* @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 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.BatchGetFlowAssociation
* @see AWS API Documentation
*/
default BatchGetFlowAssociationResponse batchGetFlowAssociation(BatchGetFlowAssociationRequest batchGetFlowAssociationRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieve the flow associations for the given resources.
*
*
*
* This is a convenience which creates an instance of the {@link BatchGetFlowAssociationRequest.Builder} avoiding
* the need to create one manually via {@link BatchGetFlowAssociationRequest#builder()}
*
*
* @param batchGetFlowAssociationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.BatchGetFlowAssociationRequest.Builder} to create a
* request.
* @return Result of the BatchGetFlowAssociation operation returned by the service.
* @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 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.BatchGetFlowAssociation
* @see AWS API Documentation
*/
default BatchGetFlowAssociationResponse batchGetFlowAssociation(
Consumer batchGetFlowAssociationRequest) throws AccessDeniedException,
ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return batchGetFlowAssociation(BatchGetFlowAssociationRequest.builder().applyMutation(batchGetFlowAssociationRequest)
.build());
}
/**
*
*
* Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call
* this API.
*
*
*
* Allows you to create a batch of contacts in Amazon Connect. The outbound campaigns capability ingests dial
* requests via the PutDialRequestBatch API. It then uses BatchPutContact to create contacts corresponding to those dial
* requests. If agents are available, the dial requests are dialed out, which results in a voice call. The resulting
* voice call uses the same contactId that was created by BatchPutContact.
*
*
* @param batchPutContactRequest
* @return Result of the BatchPutContact operation returned by the service.
* @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 InvalidRequestException
* The request is not valid.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws LimitExceededException
* The allowed limit for the resource has been exceeded.
* @throws IdempotencyException
* An entity with the same 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.BatchPutContact
* @see AWS API
* Documentation
*/
default BatchPutContactResponse batchPutContact(BatchPutContactRequest batchPutContactRequest) throws AccessDeniedException,
InternalServiceException, InvalidRequestException, ResourceNotFoundException, LimitExceededException,
IdempotencyException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
*
* Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call
* this API.
*
*
*
* Allows you to create a batch of contacts in Amazon Connect. The outbound campaigns capability ingests dial
* requests via the PutDialRequestBatch API. It then uses BatchPutContact to create contacts corresponding to those dial
* requests. If agents are available, the dial requests are dialed out, which results in a voice call. The resulting
* voice call uses the same contactId that was created by BatchPutContact.
*
*
*
* This is a convenience which creates an instance of the {@link BatchPutContactRequest.Builder} avoiding the need
* to create one manually via {@link BatchPutContactRequest#builder()}
*
*
* @param batchPutContactRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.BatchPutContactRequest.Builder} to create a request.
* @return Result of the BatchPutContact operation returned by the service.
* @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 InvalidRequestException
* The request is not valid.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @throws LimitExceededException
* The allowed limit for the resource has been exceeded.
* @throws IdempotencyException
* An entity with the same 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.BatchPutContact
* @see AWS API
* Documentation
*/
default BatchPutContactResponse batchPutContact(Consumer batchPutContactRequest)
throws AccessDeniedException, InternalServiceException, InvalidRequestException, ResourceNotFoundException,
LimitExceededException, IdempotencyException, AwsServiceException, SdkClientException, ConnectException {
return batchPutContact(BatchPutContactRequest.builder().applyMutation(batchPutContactRequest).build());
}
/**
*
* Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this
* API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group
* was created.
*
*
* For more information about how to use this operation, see Claim a phone number in your
* country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide.
*
*
*
* You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber
* operation.
*
*
*
* If you plan to claim and release numbers frequently, contact us for a service quota exception. Otherwise, it is
* possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest
* number released has expired.
*
*
* By default you can claim and release up to 200% of your maximum number of active phone numbers. If you claim and
* release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number
* service level quota, you will be blocked from claiming any more numbers until 180 days past the oldest number
* released has expired.
*
*
* For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180
* day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point
* you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
*
*
* @param claimPhoneNumberRequest
* @return 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.
*
*
*
* If you plan to claim and release numbers frequently, contact us for a service quota exception. Otherwise, it is
* possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest
* number released has expired.
*
*
* By default you can claim and release up to 200% of your maximum number of active phone numbers. If you claim and
* release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number
* service level quota, you will be blocked from claiming any more numbers until 180 days past the oldest number
* released has expired.
*
*
* For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180
* day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point
* you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
*
*
*
* This is a convenience which creates an instance of the {@link ClaimPhoneNumberRequest.Builder} avoiding the need
* to create one manually via {@link ClaimPhoneNumberRequest#builder()}
*
*
* @param claimPhoneNumberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ClaimPhoneNumberRequest.Builder} to create a request.
* @return 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());
}
/**
*
* Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the
* StartAttachedFileUpload API.
*
*
* @param completeAttachedFileUploadRequest
* Request to CompleteAttachedFileUpload API
* @return Result of the CompleteAttachedFileUpload 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 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.CompleteAttachedFileUpload
* @see AWS API Documentation
*/
default CompleteAttachedFileUploadResponse completeAttachedFileUpload(
CompleteAttachedFileUploadRequest completeAttachedFileUploadRequest) throws AccessDeniedException,
InvalidRequestException, InternalServiceException, ResourceNotFoundException, ThrottlingException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the
* StartAttachedFileUpload API.
*
*
*
* This is a convenience which creates an instance of the {@link CompleteAttachedFileUploadRequest.Builder} avoiding
* the need to create one manually via {@link CompleteAttachedFileUploadRequest#builder()}
*
*
* @param completeAttachedFileUploadRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CompleteAttachedFileUploadRequest.Builder} to create
* a request. Request to CompleteAttachedFileUpload API
* @return Result of the CompleteAttachedFileUpload 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 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.CompleteAttachedFileUpload
* @see AWS API Documentation
*/
default CompleteAttachedFileUploadResponse completeAttachedFileUpload(
Consumer completeAttachedFileUploadRequest) throws AccessDeniedException,
InvalidRequestException, InternalServiceException, ResourceNotFoundException, ThrottlingException,
AwsServiceException, SdkClientException, ConnectException {
return completeAttachedFileUpload(CompleteAttachedFileUploadRequest.builder()
.applyMutation(completeAttachedFileUploadRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Creates an agent status for the specified Amazon Connect instance.
*
*
* @param createAgentStatusRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define questions
* related to agent performance, and create sections to organize such questions. Question and section identifiers
* cannot be duplicated within the same evaluation form.
*
*
* @param createEvaluationFormRequest
* @return Result of the CreateEvaluationForm operation returned by the service.
* @throws InternalServiceException
* Request processing failed because of an error or failure with 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 ServiceQuotaExceededException
* The service quota has been exceeded.
* @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.CreateEvaluationForm
* @see AWS
* API Documentation
*/
default CreateEvaluationFormResponse createEvaluationForm(CreateEvaluationFormRequest createEvaluationFormRequest)
throws InternalServiceException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
ServiceQuotaExceededException, ResourceConflictException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define questions
* related to agent performance, and create sections to organize such questions. Question and section identifiers
* cannot be duplicated within the same evaluation form.
*
*
*
* This is a convenience which creates an instance of the {@link CreateEvaluationFormRequest.Builder} avoiding the
* need to create one manually via {@link CreateEvaluationFormRequest#builder()}
*
*
* @param createEvaluationFormRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateEvaluationFormRequest.Builder} to create a
* request.
* @return Result of the CreateEvaluationForm operation returned by the service.
* @throws InternalServiceException
* Request processing failed because of an error or failure with 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 ServiceQuotaExceededException
* The service quota has been exceeded.
* @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.CreateEvaluationForm
* @see AWS
* API Documentation
*/
default CreateEvaluationFormResponse createEvaluationForm(
Consumer createEvaluationFormRequest) throws InternalServiceException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException,
ResourceConflictException, AwsServiceException, SdkClientException, ConnectException {
return createEvaluationForm(CreateEvaluationFormRequest.builder().applyMutation(createEvaluationFormRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Creates hours of operation.
*
*
* @param createHoursOfOperationRequest
* @return 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 software.amazon.awssdk.services.connect.model.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.
*
*
* For more information, see Create an Amazon
* Connect instance in the Amazon Connect Administrator Guide.
*
*
* Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you
* exceed this limit, you will get an error message indicating there has been an excessive number of attempts at
* creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in
* your account.
*
*
* @param createInstanceRequest
* @return 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.
*
*
* For more information, see Create an Amazon
* Connect instance in the Amazon Connect Administrator Guide.
*
*
* Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you
* exceed this limit, you will get an error message indicating there has been an excessive number of attempts at
* creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in
* your account.
*
*
*
* This is a convenience which creates an instance of the {@link CreateInstanceRequest.Builder} avoiding the need to
* create one manually via {@link CreateInstanceRequest#builder()}
*
*
* @param createInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateInstanceRequest.Builder} to create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Adds a new participant into an on-going chat contact. For more information, see Customize chat flow
* experiences by integrating custom participants.
*
*
* @param createParticipantRequest
* @return Result of the CreateParticipant 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 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.CreateParticipant
* @see AWS API
* Documentation
*/
default CreateParticipantResponse createParticipant(CreateParticipantRequest createParticipantRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ServiceQuotaExceededException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Adds a new participant into an on-going chat contact. For more information, see Customize chat flow
* experiences by integrating custom participants.
*
*
*
* This is a convenience which creates an instance of the {@link CreateParticipantRequest.Builder} avoiding the need
* to create one manually via {@link CreateParticipantRequest#builder()}
*
*
* @param createParticipantRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateParticipantRequest.Builder} to create a
* request.
* @return Result of the CreateParticipant 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 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.CreateParticipant
* @see AWS API
* Documentation
*/
default CreateParticipantResponse createParticipant(Consumer createParticipantRequest)
throws InvalidRequestException, ResourceNotFoundException, InternalServiceException, ServiceQuotaExceededException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return createParticipant(CreateParticipantRequest.builder().applyMutation(createParticipantRequest).build());
}
/**
*
* Enables rehydration of chats for the lifespan of a contact. For more information about chat rehydration, see Enable persistent chat in
* the Amazon Connect Administrator Guide.
*
*
* @param createPersistentContactAssociationRequest
* @return Result of the CreatePersistentContactAssociation 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 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.CreatePersistentContactAssociation
* @see AWS API Documentation
*/
default CreatePersistentContactAssociationResponse createPersistentContactAssociation(
CreatePersistentContactAssociationRequest createPersistentContactAssociationRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, AccessDeniedException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Enables rehydration of chats for the lifespan of a contact. For more information about chat rehydration, see Enable persistent chat in
* the Amazon Connect Administrator Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePersistentContactAssociationRequest.Builder}
* avoiding the need to create one manually via {@link CreatePersistentContactAssociationRequest#builder()}
*
*
* @param createPersistentContactAssociationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreatePersistentContactAssociationRequest.Builder} to
* create a request.
* @return Result of the CreatePersistentContactAssociation 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 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.CreatePersistentContactAssociation
* @see AWS API Documentation
*/
default CreatePersistentContactAssociationResponse createPersistentContactAssociation(
Consumer createPersistentContactAssociationRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, AccessDeniedException,
ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return createPersistentContactAssociation(CreatePersistentContactAssociationRequest.builder()
.applyMutation(createPersistentContactAssociationRequest).build());
}
/**
*
* Creates a new predefined attribute for the specified Amazon Connect instance. Predefined attributes are
* attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within
* a queue. For more information, see Create predefined
* attributes for routing contacts to agents.
*
*
* @param createPredefinedAttributeRequest
* @return Result of the CreatePredefinedAttribute 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 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.CreatePredefinedAttribute
* @see AWS API Documentation
*/
default CreatePredefinedAttributeResponse createPredefinedAttribute(
CreatePredefinedAttributeRequest createPredefinedAttributeRequest) throws DuplicateResourceException,
InvalidRequestException, InvalidParameterException, LimitExceededException, ResourceNotFoundException,
ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new predefined attribute for the specified Amazon Connect instance. Predefined attributes are
* attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within
* a queue. For more information, see Create predefined
* attributes for routing contacts to agents.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePredefinedAttributeRequest.Builder} avoiding
* the need to create one manually via {@link CreatePredefinedAttributeRequest#builder()}
*
*
* @param createPredefinedAttributeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreatePredefinedAttributeRequest.Builder} to create a
* request.
* @return Result of the CreatePredefinedAttribute 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 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.CreatePredefinedAttribute
* @see AWS API Documentation
*/
default CreatePredefinedAttributeResponse createPredefinedAttribute(
Consumer createPredefinedAttributeRequest)
throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, LimitExceededException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return createPredefinedAttribute(CreatePredefinedAttributeRequest.builder()
.applyMutation(createPredefinedAttributeRequest).build());
}
/**
*
* Creates a prompt. For more information about prompts, such as supported file types and maximum length, see Create prompts in the Amazon
* Connect Administrator Guide.
*
*
* @param createPromptRequest
* @return Result of the CreatePrompt 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 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.CreatePrompt
* @see AWS API
* Documentation
*/
default CreatePromptResponse createPrompt(CreatePromptRequest createPromptRequest) throws DuplicateResourceException,
InvalidRequestException, InvalidParameterException, LimitExceededException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a prompt. For more information about prompts, such as supported file types and maximum length, see Create prompts in the Amazon
* Connect Administrator Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePromptRequest.Builder} avoiding the need to
* create one manually via {@link CreatePromptRequest#builder()}
*
*
* @param createPromptRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreatePromptRequest.Builder} to create a request.
* @return Result of the CreatePrompt 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 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.CreatePrompt
* @see AWS API
* Documentation
*/
default CreatePromptResponse createPrompt(Consumer createPromptRequest)
throws DuplicateResourceException, InvalidRequestException, InvalidParameterException, LimitExceededException,
ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return createPrompt(CreatePromptRequest.builder().applyMutation(createPromptRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Creates a new queue for the specified Amazon Connect instance.
*
*
*
* -
*
* If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon
* Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for
* OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group
* that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that
* is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is
* provided in this scenario, you will receive a ResourceNotFoundException
.
*
*
* -
*
* Only use the phone number ARN format that doesn't contain instance
in the path, for example,
* arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned
* when you call the ListPhoneNumbersV2
* API.
*
*
* -
*
* If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic
* distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
*
*
*
*
*
* @param createQueueRequest
* @return 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon
* Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for
* OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group
* that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that
* is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is
* provided in this scenario, you will receive a ResourceNotFoundException
.
*
*
* -
*
* Only use the phone number ARN format that doesn't contain instance
in the path, for example,
* arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned
* when you call the ListPhoneNumbersV2
* API.
*
*
* -
*
* If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic
* distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link CreateQueueRequest.Builder} avoiding the need to
* create one manually via {@link CreateQueueRequest#builder()}
*
*
* @param createQueueRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateQueueRequest.Builder} to create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Creates a security profile.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
* @param createSecurityProfileRequest
* @return 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();
}
/**
*
* Creates a security profile.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateSecurityProfileRequest.Builder} avoiding the
* need to create one manually via {@link CreateSecurityProfileRequest#builder()}
*
*
* @param createSecurityProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateSecurityProfileRequest.Builder} to create a
* request.
* @return 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 software.amazon.awssdk.services.connect.model.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.
*
*
*
* The SignInConfig
distribution is available only on a default TrafficDistributionGroup
* (see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified
* SignInConfig
and a non-default TrafficDistributionGroup
, an
* InvalidRequestException
is returned.
*
*
*
* For more information about creating traffic distribution groups, see Set up
* traffic distribution groups in the Amazon Connect Administrator Guide.
*
*
* @param createTrafficDistributionGroupRequest
* @return 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.
*
*
*
* The SignInConfig
distribution is available only on a default TrafficDistributionGroup
* (see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified
* SignInConfig
and a non-default TrafficDistributionGroup
, an
* InvalidRequestException
is returned.
*
*
*
* For more information about creating traffic distribution groups, see Set up
* traffic distribution groups in the Amazon Connect Administrator Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreateTrafficDistributionGroupRequest.Builder}
* avoiding the need to create one manually via {@link CreateTrafficDistributionGroupRequest#builder()}
*
*
* @param createTrafficDistributionGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateTrafficDistributionGroupRequest.Builder} to
* create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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.
*
*
*
* Certain UserIdentityInfo
* parameters are required in some situations. For example, Email
is required if you are using SAML for
* identity management. FirstName
and LastName
are required if you are using Amazon
* Connect or SAML for identity management.
*
*
*
* For information about how to create users using the Amazon Connect admin website, see Add Users in the Amazon
* Connect Administrator Guide.
*
*
* @param createUserRequest
* @return 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.
*
*
*
* Certain UserIdentityInfo
* parameters are required in some situations. For example, Email
is required if you are using SAML for
* identity management. FirstName
and LastName
are required if you are using Amazon
* Connect or SAML for identity management.
*
*
*
* For information about how to create users using the Amazon Connect admin website, see Add Users in the Amazon
* Connect Administrator Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreateUserRequest.Builder} avoiding the need to
* create one manually via {@link CreateUserRequest#builder()}
*
*
* @param createUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateUserRequest.Builder} to create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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 new view with the possible status of SAVED
or PUBLISHED
.
*
*
* The views will have a unique name for each connect instance.
*
*
* It performs basic content validation if the status is SAVED
or full content validation if the status
* is set to PUBLISHED
. An error is returned if validation fails. It associates either the
* $SAVED
qualifier or both of the $SAVED
and $LATEST
qualifiers
* with the provided view content based on the status. The view is idempotent if ClientToken is provided.
*
*
* @param createViewRequest
* @return Result of the CreateView 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 DuplicateResourceException
* A resource with the specified name already exists.
* @throws ServiceQuotaExceededException
* The service quota has been exceeded.
* @throws TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @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.CreateView
* @see AWS API
* Documentation
*/
default CreateViewResponse createView(CreateViewRequest createViewRequest) throws AccessDeniedException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
DuplicateResourceException, ServiceQuotaExceededException, TooManyRequestsException, ResourceInUseException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new view with the possible status of SAVED
or PUBLISHED
.
*
*
* The views will have a unique name for each connect instance.
*
*
* It performs basic content validation if the status is SAVED
or full content validation if the status
* is set to PUBLISHED
. An error is returned if validation fails. It associates either the
* $SAVED
qualifier or both of the $SAVED
and $LATEST
qualifiers
* with the provided view content based on the status. The view is idempotent if ClientToken is provided.
*
*
*
* This is a convenience which creates an instance of the {@link CreateViewRequest.Builder} avoiding the need to
* create one manually via {@link CreateViewRequest#builder()}
*
*
* @param createViewRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateViewRequest.Builder} to create a request.
* @return Result of the CreateView 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 DuplicateResourceException
* A resource with the specified name already exists.
* @throws ServiceQuotaExceededException
* The service quota has been exceeded.
* @throws TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @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.CreateView
* @see AWS API
* Documentation
*/
default CreateViewResponse createView(Consumer createViewRequest) throws AccessDeniedException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
DuplicateResourceException, ServiceQuotaExceededException, TooManyRequestsException, ResourceInUseException,
AwsServiceException, SdkClientException, ConnectException {
return createView(CreateViewRequest.builder().applyMutation(createViewRequest).build());
}
/**
*
* Publishes a new version of the view identifier.
*
*
* Versions are immutable and monotonically increasing.
*
*
* It returns the highest version if there is no change in content compared to that version. An error is displayed
* if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST
alias.
*
*
* @param createViewVersionRequest
* @return Result of the CreateViewVersion 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 TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @throws ServiceQuotaExceededException
* The service quota has been exceeded.
* @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.CreateViewVersion
* @see AWS API
* Documentation
*/
default CreateViewVersionResponse createViewVersion(CreateViewVersionRequest createViewVersionRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, ServiceQuotaExceededException, ResourceInUseException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Publishes a new version of the view identifier.
*
*
* Versions are immutable and monotonically increasing.
*
*
* It returns the highest version if there is no change in content compared to that version. An error is displayed
* if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST
alias.
*
*
*
* This is a convenience which creates an instance of the {@link CreateViewVersionRequest.Builder} avoiding the need
* to create one manually via {@link CreateViewVersionRequest#builder()}
*
*
* @param createViewVersionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.CreateViewVersionRequest.Builder} to create a
* request.
* @return Result of the CreateViewVersion 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 TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @throws ServiceQuotaExceededException
* The service quota has been exceeded.
* @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.CreateViewVersion
* @see AWS API
* Documentation
*/
default CreateViewVersionResponse createViewVersion(Consumer createViewVersionRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, ServiceQuotaExceededException, ResourceInUseException,
AwsServiceException, SdkClientException, ConnectException {
return createViewVersion(CreateViewVersionRequest.builder().applyMutation(createViewVersionRequest).build());
}
/**
*
* Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be
* your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in
* post-call and real-time contact analysis sessions for that language.
*
*
* @param createVocabularyRequest
* @return 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Deactivates an evaluation form in the specified Amazon Connect instance. After a form is deactivated, it is no
* longer available for users to start new evaluations based on the form.
*
*
* @param deactivateEvaluationFormRequest
* @return Result of the DeactivateEvaluationForm 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 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.DeactivateEvaluationForm
* @see AWS API Documentation
*/
default DeactivateEvaluationFormResponse deactivateEvaluationForm(
DeactivateEvaluationFormRequest deactivateEvaluationFormRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceConflictException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deactivates an evaluation form in the specified Amazon Connect instance. After a form is deactivated, it is no
* longer available for users to start new evaluations based on the form.
*
*
*
* This is a convenience which creates an instance of the {@link DeactivateEvaluationFormRequest.Builder} avoiding
* the need to create one manually via {@link DeactivateEvaluationFormRequest#builder()}
*
*
* @param deactivateEvaluationFormRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeactivateEvaluationFormRequest.Builder} to create a
* request.
* @return Result of the DeactivateEvaluationForm 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 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.DeactivateEvaluationForm
* @see AWS API Documentation
*/
default DeactivateEvaluationFormResponse deactivateEvaluationForm(
Consumer deactivateEvaluationFormRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceConflictException,
AwsServiceException, SdkClientException, ConnectException {
return deactivateEvaluationForm(DeactivateEvaluationFormRequest.builder().applyMutation(deactivateEvaluationFormRequest)
.build());
}
/**
*
* Deletes an attached file along with the underlying S3 Object.
*
*
*
* The attached file is permanently deleted if S3 bucket versioning is not enabled.
*
*
*
* @param deleteAttachedFileRequest
* Request to DeleteAttachedFile API
* @return Result of the DeleteAttachedFile 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 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.DeleteAttachedFile
* @see AWS
* API Documentation
*/
default DeleteAttachedFileResponse deleteAttachedFile(DeleteAttachedFileRequest deleteAttachedFileRequest)
throws AccessDeniedException, InvalidRequestException, InternalServiceException, ResourceNotFoundException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an attached file along with the underlying S3 Object.
*
*
*
* The attached file is permanently deleted if S3 bucket versioning is not enabled.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAttachedFileRequest.Builder} avoiding the
* need to create one manually via {@link DeleteAttachedFileRequest#builder()}
*
*
* @param deleteAttachedFileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteAttachedFileRequest.Builder} to create a
* request. Request to DeleteAttachedFile API
* @return Result of the DeleteAttachedFile 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 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.DeleteAttachedFile
* @see AWS
* API Documentation
*/
default DeleteAttachedFileResponse deleteAttachedFile(Consumer deleteAttachedFileRequest)
throws AccessDeniedException, InvalidRequestException, InternalServiceException, ResourceNotFoundException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return deleteAttachedFile(DeleteAttachedFileRequest.builder().applyMutation(deleteAttachedFileRequest).build());
}
/**
*
* Deletes a contact evaluation in the specified Amazon Connect instance.
*
*
* @param deleteContactEvaluationRequest
* @return Result of the DeleteContactEvaluation 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 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.DeleteContactEvaluation
* @see AWS API Documentation
*/
default DeleteContactEvaluationResponse deleteContactEvaluation(DeleteContactEvaluationRequest deleteContactEvaluationRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
ResourceConflictException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a contact evaluation in the specified Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteContactEvaluationRequest.Builder} avoiding
* the need to create one manually via {@link DeleteContactEvaluationRequest#builder()}
*
*
* @param deleteContactEvaluationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteContactEvaluationRequest.Builder} to create a
* request.
* @return Result of the DeleteContactEvaluation 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 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.DeleteContactEvaluation
* @see AWS API Documentation
*/
default DeleteContactEvaluationResponse deleteContactEvaluation(
Consumer deleteContactEvaluationRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceConflictException,
AwsServiceException, SdkClientException, ConnectException {
return deleteContactEvaluation(DeleteContactEvaluationRequest.builder().applyMutation(deleteContactEvaluationRequest)
.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Deletes an evaluation form in the specified Amazon Connect instance.
*
*
* -
*
* If the version property is provided, only the specified version of the evaluation form is deleted.
*
*
* -
*
* If no version is provided, then the full form (all versions) is deleted.
*
*
*
*
* @param deleteEvaluationFormRequest
* @return Result of the DeleteEvaluationForm 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 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.DeleteEvaluationForm
* @see AWS
* API Documentation
*/
default DeleteEvaluationFormResponse deleteEvaluationForm(DeleteEvaluationFormRequest deleteEvaluationFormRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
ResourceConflictException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an evaluation form in the specified Amazon Connect instance.
*
*
* -
*
* If the version property is provided, only the specified version of the evaluation form is deleted.
*
*
* -
*
* If no version is provided, then the full form (all versions) is deleted.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEvaluationFormRequest.Builder} avoiding the
* need to create one manually via {@link DeleteEvaluationFormRequest#builder()}
*
*
* @param deleteEvaluationFormRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteEvaluationFormRequest.Builder} to create a
* request.
* @return Result of the DeleteEvaluationForm 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 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.DeleteEvaluationForm
* @see AWS
* API Documentation
*/
default DeleteEvaluationFormResponse deleteEvaluationForm(
Consumer deleteEvaluationFormRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, ResourceConflictException,
AwsServiceException, SdkClientException, ConnectException {
return deleteEvaluationForm(DeleteEvaluationFormRequest.builder().applyMutation(deleteEvaluationFormRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Deletes an hours of operation.
*
*
* @param deleteHoursOfOperationRequest
* @return 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 software.amazon.awssdk.services.connect.model.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. For more information, see Delete your Amazon
* Connect instance in the Amazon Connect Administrator Guide.
*
*
* Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you
* exceed this limit, you will get an error message indicating there has been an excessive number of attempts at
* creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in
* your account.
*
*
* @param deleteInstanceRequest
* @return 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. For more information, see Delete your Amazon
* Connect instance in the Amazon Connect Administrator Guide.
*
*
* Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you
* exceed this limit, you will get an error message indicating there has been an excessive number of attempts at
* creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in
* your account.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteInstanceRequest.Builder} avoiding the need to
* create one manually via {@link DeleteInstanceRequest#builder()}
*
*
* @param deleteInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteInstanceRequest.Builder} to create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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 predefined attribute from the specified Amazon Connect instance.
*
*
* @param deletePredefinedAttributeRequest
* @return Result of the DeletePredefinedAttribute operation returned by the service.
* @throws ResourceInUseException
* That resource is already in use. Please try another.
* @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.DeletePredefinedAttribute
* @see AWS API Documentation
*/
default DeletePredefinedAttributeResponse deletePredefinedAttribute(
DeletePredefinedAttributeRequest deletePredefinedAttributeRequest) throws ResourceInUseException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a predefined attribute from the specified Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePredefinedAttributeRequest.Builder} avoiding
* the need to create one manually via {@link DeletePredefinedAttributeRequest#builder()}
*
*
* @param deletePredefinedAttributeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeletePredefinedAttributeRequest.Builder} to create a
* request.
* @return Result of the DeletePredefinedAttribute operation returned by the service.
* @throws ResourceInUseException
* That resource is already in use. Please try another.
* @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.DeletePredefinedAttribute
* @see AWS API Documentation
*/
default DeletePredefinedAttributeResponse deletePredefinedAttribute(
Consumer deletePredefinedAttributeRequest) throws ResourceInUseException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return deletePredefinedAttribute(DeletePredefinedAttributeRequest.builder()
.applyMutation(deletePredefinedAttributeRequest).build());
}
/**
*
* Deletes a prompt.
*
*
* @param deletePromptRequest
* @return Result of the DeletePrompt 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.DeletePrompt
* @see AWS API
* Documentation
*/
default DeletePromptResponse deletePrompt(DeletePromptRequest deletePromptRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a prompt.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePromptRequest.Builder} avoiding the need to
* create one manually via {@link DeletePromptRequest#builder()}
*
*
* @param deletePromptRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeletePromptRequest.Builder} to create a request.
* @return Result of the DeletePrompt 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.DeletePrompt
* @see AWS API
* Documentation
*/
default DeletePromptResponse deletePrompt(Consumer deletePromptRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return deletePrompt(DeletePromptRequest.builder().applyMutation(deletePromptRequest).build());
}
/**
*
* Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website.
*
*
* @param deleteQueueRequest
* @return Result of the DeleteQueue 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.DeleteQueue
* @see AWS API
* Documentation
*/
default DeleteQueueResponse deleteQueue(DeleteQueueRequest deleteQueueRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteQueueRequest.Builder} avoiding the need to
* create one manually via {@link DeleteQueueRequest#builder()}
*
*
* @param deleteQueueRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteQueueRequest.Builder} to create a request.
* @return Result of the DeleteQueue 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.DeleteQueue
* @see AWS API
* Documentation
*/
default DeleteQueueResponse deleteQueue(Consumer deleteQueueRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceInUseException,
ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return deleteQueue(DeleteQueueRequest.builder().applyMutation(deleteQueueRequest).build());
}
/**
*
* Deletes a quick connect.
*
*
*
* After calling DeleteUser, it's important
* to call DeleteQuickConnect
to delete any records related to the deleted users. This will help you:
*
*
* -
*
* Avoid dangling resources that impact your service quotas.
*
*
* -
*
* Remove deleted users so they don't appear to agents as transfer options.
*
*
* -
*
* Avoid the disruption of other Amazon Connect processes, such as instance replication and syncing if you're using
* Amazon
* Connect Global Resiliency.
*
*
*
*
*
* @param deleteQuickConnectRequest
* @return 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.
*
*
*
* After calling DeleteUser, it's important
* to call DeleteQuickConnect
to delete any records related to the deleted users. This will help you:
*
*
* -
*
* Avoid dangling resources that impact your service quotas.
*
*
* -
*
* Remove deleted users so they don't appear to agents as transfer options.
*
*
* -
*
* Avoid the disruption of other Amazon Connect processes, such as instance replication and syncing if you're using
* Amazon
* Connect Global Resiliency.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link DeleteQuickConnectRequest.Builder} avoiding the
* need to create one manually via {@link DeleteQuickConnectRequest#builder()}
*
*
* @param deleteQuickConnectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteQuickConnectRequest.Builder} to create a
* request.
* @return 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 routing profile.
*
*
* @param deleteRoutingProfileRequest
* @return Result of the DeleteRoutingProfile 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.DeleteRoutingProfile
* @see AWS
* API Documentation
*/
default DeleteRoutingProfileResponse deleteRoutingProfile(DeleteRoutingProfileRequest deleteRoutingProfileRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ResourceInUseException,
ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a routing profile.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRoutingProfileRequest.Builder} avoiding the
* need to create one manually via {@link DeleteRoutingProfileRequest#builder()}
*
*
* @param deleteRoutingProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteRoutingProfileRequest.Builder} to create a
* request.
* @return Result of the DeleteRoutingProfile 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.DeleteRoutingProfile
* @see AWS
* API Documentation
*/
default DeleteRoutingProfileResponse deleteRoutingProfile(
Consumer deleteRoutingProfileRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ResourceInUseException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return deleteRoutingProfile(DeleteRoutingProfileRequest.builder().applyMutation(deleteRoutingProfileRequest).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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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();
}
/**
*
* Deletes a security profile.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteSecurityProfileRequest.Builder} avoiding the
* need to create one manually via {@link DeleteSecurityProfileRequest#builder()}
*
*
* @param deleteSecurityProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteSecurityProfileRequest.Builder} to create a
* request.
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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.
*
*
*
* After calling DeleteUser, call DeleteQuickConnect
* to delete any records related to the deleted users. This will help you:
*
*
* -
*
* Avoid dangling resources that impact your service quotas.
*
*
* -
*
* Remove deleted users so they don't appear to agents as transfer options.
*
*
* -
*
* Avoid the disruption of other Amazon Connect processes, such as instance replication and syncing if you're using
* Amazon
* Connect Global Resiliency.
*
*
*
*
*
* @param deleteUserRequest
* @return 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.
*
*
*
* After calling DeleteUser, call DeleteQuickConnect
* to delete any records related to the deleted users. This will help you:
*
*
* -
*
* Avoid dangling resources that impact your service quotas.
*
*
* -
*
* Remove deleted users so they don't appear to agents as transfer options.
*
*
* -
*
* Avoid the disruption of other Amazon Connect processes, such as instance replication and syncing if you're using
* Amazon
* Connect Global Resiliency.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link DeleteUserRequest.Builder} avoiding the need to
* create one manually via {@link DeleteUserRequest#builder()}
*
*
* @param deleteUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteUserRequest.Builder} to create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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 view entirely. It deletes the view and all associated qualifiers (versions and aliases).
*
*
* @param deleteViewRequest
* @return Result of the DeleteView 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 TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @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.DeleteView
* @see AWS API
* Documentation
*/
default DeleteViewResponse deleteView(DeleteViewRequest deleteViewRequest) throws AccessDeniedException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
TooManyRequestsException, ResourceInUseException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
*
*
*
* This is a convenience which creates an instance of the {@link DeleteViewRequest.Builder} avoiding the need to
* create one manually via {@link DeleteViewRequest#builder()}
*
*
* @param deleteViewRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteViewRequest.Builder} to create a request.
* @return Result of the DeleteView 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 TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @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.DeleteView
* @see AWS API
* Documentation
*/
default DeleteViewResponse deleteView(Consumer deleteViewRequest) throws AccessDeniedException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
TooManyRequestsException, ResourceInUseException, AwsServiceException, SdkClientException, ConnectException {
return deleteView(DeleteViewRequest.builder().applyMutation(deleteViewRequest).build());
}
/**
*
* Deletes the particular version specified in ViewVersion
identifier.
*
*
* @param deleteViewVersionRequest
* @return Result of the DeleteViewVersion 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 TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @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.DeleteViewVersion
* @see AWS API
* Documentation
*/
default DeleteViewVersionResponse deleteViewVersion(DeleteViewVersionRequest deleteViewVersionRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, ResourceInUseException, AwsServiceException, SdkClientException,
ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the particular version specified in ViewVersion
identifier.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteViewVersionRequest.Builder} avoiding the need
* to create one manually via {@link DeleteViewVersionRequest#builder()}
*
*
* @param deleteViewVersionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DeleteViewVersionRequest.Builder} to create a
* request.
* @return Result of the DeleteViewVersion 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 TooManyRequestsException
* Displayed when rate-related API limits are exceeded.
* @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.DeleteViewVersion
* @see AWS API
* Documentation
*/
default DeleteViewVersionResponse deleteViewVersion(Consumer deleteViewVersionRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, ResourceInUseException, AwsServiceException, SdkClientException,
ConnectException {
return deleteViewVersion(DeleteViewVersionRequest.builder().applyMutation(deleteViewVersionRequest).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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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. To request access to this API,
* contact Amazon Web Services Support.
*
*
* Describes the target authentication profile.
*
*
* @param describeAuthenticationProfileRequest
* @return Result of the DescribeAuthenticationProfile 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.DescribeAuthenticationProfile
* @see AWS API Documentation
*/
default DescribeAuthenticationProfileResponse describeAuthenticationProfile(
DescribeAuthenticationProfileRequest describeAuthenticationProfileRequest) 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. To request access to this API,
* contact Amazon Web Services Support.
*
*
* Describes the target authentication profile.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAuthenticationProfileRequest.Builder}
* avoiding the need to create one manually via {@link DescribeAuthenticationProfileRequest#builder()}
*
*
* @param describeAuthenticationProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeAuthenticationProfileRequest.Builder} to
* create a request.
* @return Result of the DescribeAuthenticationProfile 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.DescribeAuthenticationProfile
* @see AWS API Documentation
*/
default DescribeAuthenticationProfileResponse describeAuthenticationProfile(
Consumer describeAuthenticationProfileRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return describeAuthenticationProfile(DescribeAuthenticationProfileRequest.builder()
.applyMutation(describeAuthenticationProfileRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Describes the specified contact.
*
*
*
* Contact information remains available in Amazon Connect for 24 months, 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 software.amazon.awssdk.services.connect.model.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 a contact evaluation in the specified Amazon Connect instance.
*
*
* @param describeContactEvaluationRequest
* @return Result of the DescribeContactEvaluation 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.DescribeContactEvaluation
* @see AWS API Documentation
*/
default DescribeContactEvaluationResponse describeContactEvaluation(
DescribeContactEvaluationRequest describeContactEvaluationRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Describes a contact evaluation in the specified Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeContactEvaluationRequest.Builder} avoiding
* the need to create one manually via {@link DescribeContactEvaluationRequest#builder()}
*
*
* @param describeContactEvaluationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeContactEvaluationRequest.Builder} to create a
* request.
* @return Result of the DescribeContactEvaluation 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.DescribeContactEvaluation
* @see AWS API Documentation
*/
default DescribeContactEvaluationResponse describeContactEvaluation(
Consumer describeContactEvaluationRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return describeContactEvaluation(DescribeContactEvaluationRequest.builder()
.applyMutation(describeContactEvaluationRequest).build());
}
/**
*
* Describes the specified flow.
*
*
* You can also create and update flows using the Amazon Connect Flow
* language.
*
*
* Use the $SAVED
alias in the request to describe the SAVED
content of a Flow. For
* example, arn:aws:.../contact-flow/{id}:$SAVED
. Once a contact flow is published,
* $SAVED
needs to be supplied to view saved content that has not been published.
*
*
* In the response, Status indicates the flow status as either SAVED
or PUBLISHED
.
* The PUBLISHED
status will initiate validation on the content. SAVED
does not initiate
* validation of the content. SAVED
| PUBLISHED
*
*
* @param describeContactFlowRequest
* @return 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.
*
*
* Use the $SAVED
alias in the request to describe the SAVED
content of a Flow. For
* example, arn:aws:.../contact-flow/{id}:$SAVED
. Once a contact flow is published,
* $SAVED
needs to be supplied to view saved content that has not been published.
*
*
* In the response, Status indicates the flow status as either SAVED
or PUBLISHED
.
* The PUBLISHED
status will initiate validation on the content. SAVED
does not initiate
* validation of the content. SAVED
| PUBLISHED
*
*
*
* This is a convenience which creates an instance of the {@link DescribeContactFlowRequest.Builder} avoiding the
* need to create one manually via {@link DescribeContactFlowRequest#builder()}
*
*
* @param describeContactFlowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeContactFlowRequest.Builder} to create a
* request.
* @return 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.
*
*
* Use the $SAVED
alias in the request to describe the SAVED
content of a Flow. For
* example, arn:aws:.../contact-flow/{id}:$SAVED
. Once a contact flow is published,
* $SAVED
needs to be supplied to view saved content that has not been published.
*
*
* @param describeContactFlowModuleRequest
* @return 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.
*
*
* Use the $SAVED
alias in the request to describe the SAVED
content of a Flow. For
* example, arn:aws:.../contact-flow/{id}:$SAVED
. Once a contact flow is published,
* $SAVED
needs to be supplied to view saved content that has not been published.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeContactFlowModuleRequest.Builder} avoiding
* the need to create one manually via {@link DescribeContactFlowModuleRequest#builder()}
*
*
* @param describeContactFlowModuleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeContactFlowModuleRequest.Builder} to create a
* request.
* @return 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());
}
/**
*
* Describes an evaluation form in the specified Amazon Connect instance. If the version property is not provided,
* the latest version of the evaluation form is described.
*
*
* @param describeEvaluationFormRequest
* @return Result of the DescribeEvaluationForm 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.DescribeEvaluationForm
* @see AWS API Documentation
*/
default DescribeEvaluationFormResponse describeEvaluationForm(DescribeEvaluationFormRequest describeEvaluationFormRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Describes an evaluation form in the specified Amazon Connect instance. If the version property is not provided,
* the latest version of the evaluation form is described.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEvaluationFormRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEvaluationFormRequest#builder()}
*
*
* @param describeEvaluationFormRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeEvaluationFormRequest.Builder} to create a
* request.
* @return Result of the DescribeEvaluationForm 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.DescribeEvaluationForm
* @see AWS API Documentation
*/
default DescribeEvaluationFormResponse describeEvaluationForm(
Consumer describeEvaluationFormRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return describeEvaluationForm(DescribeEvaluationFormRequest.builder().applyMutation(describeEvaluationFormRequest)
.build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Describes the hours of operation.
*
*
* @param describeHoursOfOperationRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Describes a predefined attribute for the specified Amazon Connect instance. Predefined attributes are
* attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within
* a queue. For more information, see Create predefined
* attributes for routing contacts to agents.
*
*
* @param describePredefinedAttributeRequest
* @return Result of the DescribePredefinedAttribute 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.DescribePredefinedAttribute
* @see AWS API Documentation
*/
default DescribePredefinedAttributeResponse describePredefinedAttribute(
DescribePredefinedAttributeRequest describePredefinedAttributeRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Describes a predefined attribute for the specified Amazon Connect instance. Predefined attributes are
* attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within
* a queue. For more information, see Create predefined
* attributes for routing contacts to agents.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePredefinedAttributeRequest.Builder}
* avoiding the need to create one manually via {@link DescribePredefinedAttributeRequest#builder()}
*
*
* @param describePredefinedAttributeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribePredefinedAttributeRequest.Builder} to create
* a request.
* @return Result of the DescribePredefinedAttribute 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.DescribePredefinedAttribute
* @see AWS API Documentation
*/
default DescribePredefinedAttributeResponse describePredefinedAttribute(
Consumer describePredefinedAttributeRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return describePredefinedAttribute(DescribePredefinedAttributeRequest.builder()
.applyMutation(describePredefinedAttributeRequest).build());
}
/**
*
* Describes the prompt.
*
*
* @param describePromptRequest
* @return Result of the DescribePrompt 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.DescribePrompt
* @see AWS API
* Documentation
*/
default DescribePromptResponse describePrompt(DescribePromptRequest describePromptRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Describes the prompt.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePromptRequest.Builder} avoiding the need to
* create one manually via {@link DescribePromptRequest#builder()}
*
*
* @param describePromptRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribePromptRequest.Builder} to create a request.
* @return Result of the DescribePrompt 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.DescribePrompt
* @see AWS API
* Documentation
*/
default DescribePromptResponse describePrompt(Consumer describePromptRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return describePrompt(DescribePromptRequest.builder().applyMutation(describePromptRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Describes the specified queue.
*
*
* @param describeQueueRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Gets basic information about the security profile.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
* @param describeSecurityProfileRequest
* @return 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();
}
/**
*
* Gets basic information about the security profile.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeSecurityProfileRequest.Builder} avoiding
* the need to create one manually via {@link DescribeSecurityProfileRequest#builder()}
*
*
* @param describeSecurityProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeSecurityProfileRequest.Builder} to create a
* request.
* @return 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 software.amazon.awssdk.services.connect.model.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. You can find the instance ID in the
* Amazon Connect console (it’s the final part of the ARN). The console does not display the user IDs. Instead,
* list the users and note the IDs provided in the output.
*
*
* @param describeUserRequest
* @return 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. You can find the instance ID in the
* Amazon Connect console (it’s the final part of the ARN). The console does not display the user IDs. Instead,
* list the users and note the IDs provided in the output.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeUserRequest.Builder} avoiding the need to
* create one manually via {@link DescribeUserRequest#builder()}
*
*
* @param describeUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeUserRequest.Builder} to create a request.
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Retrieves the view for the specified Amazon Connect instance and view identifier.
*
*
* The view identifier can be supplied as a ViewId or ARN.
*
*
* $SAVED
needs to be supplied if a view is unpublished.
*
*
* The view identifier can contain an optional qualifier, for example, <view-id>:$SAVED
, which
* is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST
. If
* it is not supplied, then $LATEST
is assumed for customer managed views and an error is returned
* if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.
*
*
* @param describeViewRequest
* @return Result of the DescribeView 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 TooManyRequestsException
* Displayed when rate-related API limits are 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.DescribeView
* @see AWS API
* Documentation
*/
default DescribeViewResponse describeView(DescribeViewRequest describeViewRequest) throws AccessDeniedException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the view for the specified Amazon Connect instance and view identifier.
*
*
* The view identifier can be supplied as a ViewId or ARN.
*
*
* $SAVED
needs to be supplied if a view is unpublished.
*
*
* The view identifier can contain an optional qualifier, for example, <view-id>:$SAVED
, which
* is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST
. If
* it is not supplied, then $LATEST
is assumed for customer managed views and an error is returned
* if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeViewRequest.Builder} avoiding the need to
* create one manually via {@link DescribeViewRequest#builder()}
*
*
* @param describeViewRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DescribeViewRequest.Builder} to create a request.
* @return Result of the DescribeView 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 TooManyRequestsException
* Displayed when rate-related API limits are 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.DescribeView
* @see AWS API
* Documentation
*/
default DescribeViewResponse describeView(Consumer describeViewRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
return describeView(DescribeViewRequest.builder().applyMutation(describeViewRequest).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 software.amazon.awssdk.services.connect.model.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.
*
*
* Removes the dataset ID associated with a given Amazon Connect instance.
*
*
* @param disassociateAnalyticsDataSetRequest
* @return Result of the DisassociateAnalyticsDataSet 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.DisassociateAnalyticsDataSet
* @see AWS API Documentation
*/
default DisassociateAnalyticsDataSetResponse disassociateAnalyticsDataSet(
DisassociateAnalyticsDataSetRequest disassociateAnalyticsDataSetRequest) 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.
*
*
* Removes the dataset ID associated with a given Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link DisassociateAnalyticsDataSetRequest.Builder}
* avoiding the need to create one manually via {@link DisassociateAnalyticsDataSetRequest#builder()}
*
*
* @param disassociateAnalyticsDataSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DisassociateAnalyticsDataSetRequest.Builder} to
* create a request.
* @return Result of the DisassociateAnalyticsDataSet 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.DisassociateAnalyticsDataSet
* @see AWS API Documentation
*/
default DisassociateAnalyticsDataSetResponse disassociateAnalyticsDataSet(
Consumer disassociateAnalyticsDataSetRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return disassociateAnalyticsDataSet(DisassociateAnalyticsDataSetRequest.builder()
.applyMutation(disassociateAnalyticsDataSetRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Revokes access to integrated applications from Amazon Connect.
*
*
* @param disassociateApprovedOriginRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Disassociates a connect resource from a flow.
*
*
* @param disassociateFlowRequest
* @return Result of the DisassociateFlow operation returned by the service.
* @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 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.DisassociateFlow
* @see AWS API
* Documentation
*/
default DisassociateFlowResponse disassociateFlow(DisassociateFlowRequest disassociateFlowRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates a connect resource from a flow.
*
*
*
* This is a convenience which creates an instance of the {@link DisassociateFlowRequest.Builder} avoiding the need
* to create one manually via {@link DisassociateFlowRequest#builder()}
*
*
* @param disassociateFlowRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DisassociateFlowRequest.Builder} to create a request.
* @return Result of the DisassociateFlow operation returned by the service.
* @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 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.DisassociateFlow
* @see AWS API
* Documentation
*/
default DisassociateFlowResponse disassociateFlow(Consumer disassociateFlowRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return disassociateFlow(DisassociateFlowRequest.builder().applyMutation(disassociateFlowRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Removes the storage type configurations for the specified resource type and association ID.
*
*
* @param disassociateInstanceStorageConfigRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Disassociates an agent from a traffic distribution group.
*
*
* @param disassociateTrafficDistributionGroupUserRequest
* @return Result of the DisassociateTrafficDistributionGroupUser 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.DisassociateTrafficDistributionGroupUser
* @see AWS API Documentation
*/
default DisassociateTrafficDistributionGroupUserResponse disassociateTrafficDistributionGroupUser(
DisassociateTrafficDistributionGroupUserRequest disassociateTrafficDistributionGroupUserRequest)
throws InvalidRequestException, AccessDeniedException, ThrottlingException, ResourceNotFoundException,
ResourceConflictException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates an agent from a traffic distribution group.
*
*
*
* This is a convenience which creates an instance of the
* {@link DisassociateTrafficDistributionGroupUserRequest.Builder} avoiding the need to create one manually via
* {@link DisassociateTrafficDistributionGroupUserRequest#builder()}
*
*
* @param disassociateTrafficDistributionGroupUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DisassociateTrafficDistributionGroupUserRequest.Builder}
* to create a request.
* @return Result of the DisassociateTrafficDistributionGroupUser 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.DisassociateTrafficDistributionGroupUser
* @see AWS API Documentation
*/
default DisassociateTrafficDistributionGroupUserResponse disassociateTrafficDistributionGroupUser(
Consumer disassociateTrafficDistributionGroupUserRequest)
throws InvalidRequestException, AccessDeniedException, ThrottlingException, ResourceNotFoundException,
ResourceConflictException, InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return disassociateTrafficDistributionGroupUser(DisassociateTrafficDistributionGroupUserRequest.builder()
.applyMutation(disassociateTrafficDistributionGroupUserRequest).build());
}
/**
*
* Disassociates a set of proficiencies from a user.
*
*
* @param disassociateUserProficienciesRequest
* @return Result of the DisassociateUserProficiencies 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.DisassociateUserProficiencies
* @see AWS API Documentation
*/
default DisassociateUserProficienciesResponse disassociateUserProficiencies(
DisassociateUserProficienciesRequest disassociateUserProficienciesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates a set of proficiencies from a user.
*
*
*
* This is a convenience which creates an instance of the {@link DisassociateUserProficienciesRequest.Builder}
* avoiding the need to create one manually via {@link DisassociateUserProficienciesRequest#builder()}
*
*
* @param disassociateUserProficienciesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.DisassociateUserProficienciesRequest.Builder} to
* create a request.
* @return Result of the DisassociateUserProficiencies 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.DisassociateUserProficiencies
* @see AWS API Documentation
*/
default DisassociateUserProficienciesResponse disassociateUserProficiencies(
Consumer disassociateUserProficienciesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return disassociateUserProficiencies(DisassociateUserProficienciesRequest.builder()
.applyMutation(disassociateUserProficienciesRequest).build());
}
/**
*
* Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to
* receive a new routed contact. Contacts can only be dismissed if they are in a MISSED
,
* ERROR
, ENDED
, or REJECTED
state in the Agent Event Stream.
*
*
* @param dismissUserContactRequest
* @return 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Provides a pre-signed URL for download of an approved attached file. This API also returns metadata about the
* attached file. It will only return a downloadURL if the status of the attached file is APPROVED
.
*
*
* @param getAttachedFileRequest
* Request to GetAttachedFile API.
* @return Result of the GetAttachedFile 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 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.GetAttachedFile
* @see AWS API
* Documentation
*/
default GetAttachedFileResponse getAttachedFile(GetAttachedFileRequest getAttachedFileRequest) throws AccessDeniedException,
InvalidRequestException, InternalServiceException, ResourceNotFoundException, ThrottlingException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Provides a pre-signed URL for download of an approved attached file. This API also returns metadata about the
* attached file. It will only return a downloadURL if the status of the attached file is APPROVED
.
*
*
*
* This is a convenience which creates an instance of the {@link GetAttachedFileRequest.Builder} avoiding the need
* to create one manually via {@link GetAttachedFileRequest#builder()}
*
*
* @param getAttachedFileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.GetAttachedFileRequest.Builder} to create a request.
* Request to GetAttachedFile API.
* @return Result of the GetAttachedFile 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 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.GetAttachedFile
* @see AWS API
* Documentation
*/
default GetAttachedFileResponse getAttachedFile(Consumer getAttachedFileRequest)
throws AccessDeniedException, InvalidRequestException, InternalServiceException, ResourceNotFoundException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return getAttachedFile(GetAttachedFileRequest.builder().applyMutation(getAttachedFileRequest).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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new GetCurrentMetricDataIterable(this, getCurrentMetricDataRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new GetCurrentUserDataIterable(this, getCurrentUserDataRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect
* user which corresponds to the IAM credentials that were used to invoke this action.
*
*
* For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for
* Amazon Connect in the Amazon Connect Administrator Guide.
*
*
*
* This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error
* message similar to the following one appears:
*
*
* Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
*
*
*
* @param getFederationTokenRequest
* @return 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();
}
/**
*
* Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect
* user which corresponds to the IAM credentials that were used to invoke this action.
*
*
* For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for
* Amazon Connect in the Amazon Connect Administrator Guide.
*
*
*
* This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error
* message similar to the following one appears:
*
*
* Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
*
*
*
* This is a convenience which creates an instance of the {@link GetFederationTokenRequest.Builder} avoiding the
* need to create one manually via {@link GetFederationTokenRequest#builder()}
*
*
* @param getFederationTokenRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.GetFederationTokenRequest.Builder} to create a
* request.
* @return 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());
}
/**
*
* Retrieves the flow associated for a given resource.
*
*
* @param getFlowAssociationRequest
* @return Result of the GetFlowAssociation operation returned by the service.
* @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 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.GetFlowAssociation
* @see AWS
* API Documentation
*/
default GetFlowAssociationResponse getFlowAssociation(GetFlowAssociationRequest getFlowAssociationRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the flow associated for a given resource.
*
*
*
* This is a convenience which creates an instance of the {@link GetFlowAssociationRequest.Builder} avoiding the
* need to create one manually via {@link GetFlowAssociationRequest#builder()}
*
*
* @param getFlowAssociationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.GetFlowAssociationRequest.Builder} to create a
* request.
* @return Result of the GetFlowAssociation operation returned by the service.
* @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 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.GetFlowAssociation
* @see AWS
* API Documentation
*/
default GetFlowAssociationResponse getFlowAssociation(Consumer getFlowAssociationRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return getFlowAssociation(GetFlowAssociationRequest.builder().applyMutation(getFlowAssociationRequest).build());
}
/**
*
* Gets historical metric data from the specified Amazon Connect instance.
*
*
* For a description of each historical metric, see Historical
* Metrics Definitions in the Amazon Connect Administrator Guide.
*
*
*
* We recommend using the GetMetricDataV2 API.
* It provides more flexibility, features, and the ability to query longer time ranges than
* GetMetricData
. Use it to retrieve historical agent and contact metrics for the last 3 months, at
* varying intervals. You can also use it to build custom dashboards to measure historical queue and agent
* performance. For example, you can track the number of incoming contacts for the last 7 days, with data split by
* day, to see how contact volume changed per day of the week.
*
*
*
* @param getMetricDataRequest
* @return 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.
*
*
*
* We recommend using the GetMetricDataV2 API.
* It provides more flexibility, features, and the ability to query longer time ranges than
* GetMetricData
. Use it to retrieve historical agent and contact metrics for the last 3 months, at
* varying intervals. You can also use it to build custom dashboards to measure historical queue and agent
* performance. For example, you can track the number of incoming contacts for the last 7 days, with data split by
* day, to see how contact volume changed per day of the week.
*
*
*
* This is a convenience which creates an instance of the {@link GetMetricDataRequest.Builder} avoiding the need to
* create one manually via {@link GetMetricDataRequest#builder()}
*
*
* @param getMetricDataRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.GetMetricDataRequest.Builder} to create a request.
* @return 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());
}
/**
*
* 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 {
return new GetMetricDataIterable(this, getMetricDataRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 metric data from the specified Amazon Connect instance.
*
*
* GetMetricDataV2
offers more features than GetMetricData, the
* previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to
* filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve
* historical data for the last 3 months, at varying intervals.
*
*
* For a description of the historical metrics that are supported by GetMetricDataV2
and
* GetMetricData
, see Historical
* metrics definitions in the Amazon Connect Administrator Guide.
*
*
* @param getMetricDataV2Request
* @return Result of the GetMetricDataV2 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.GetMetricDataV2
* @see AWS API
* Documentation
*/
default GetMetricDataV2Response getMetricDataV2(GetMetricDataV2Request getMetricDataV2Request)
throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException,
ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Gets metric data from the specified Amazon Connect instance.
*
*
* GetMetricDataV2
offers more features than GetMetricData, the
* previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to
* filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve
* historical data for the last 3 months, at varying intervals.
*
*
* For a description of the historical metrics that are supported by GetMetricDataV2
and
* GetMetricData
, see Historical
* metrics definitions in the Amazon Connect Administrator Guide.
*
*
*
* This is a convenience which creates an instance of the {@link GetMetricDataV2Request.Builder} avoiding the need
* to create one manually via {@link GetMetricDataV2Request#builder()}
*
*
* @param getMetricDataV2Request
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.GetMetricDataV2Request.Builder} to create a request.
* @return Result of the GetMetricDataV2 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.GetMetricDataV2
* @see AWS API
* Documentation
*/
default GetMetricDataV2Response getMetricDataV2(Consumer getMetricDataV2Request)
throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException,
ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException {
return getMetricDataV2(GetMetricDataV2Request.builder().applyMutation(getMetricDataV2Request).build());
}
/**
*
* This is a variant of
* {@link #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} operation. The
* return type is a custom 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.GetMetricDataV2Iterable responses = client.getMetricDataV2Paginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Iterable responses = client
* .getMetricDataV2Paginator(request);
* for (software.amazon.awssdk.services.connect.model.GetMetricDataV2Response response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Iterable responses = client.getMetricDataV2Paginator(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 #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} operation.
*
*
* @param getMetricDataV2Request
* @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.GetMetricDataV2
* @see AWS API
* Documentation
*/
default GetMetricDataV2Iterable getMetricDataV2Paginator(GetMetricDataV2Request getMetricDataV2Request)
throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException,
ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException {
return new GetMetricDataV2Iterable(this, getMetricDataV2Request);
}
/**
*
* This is a variant of
* {@link #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} 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.GetMetricDataV2Iterable responses = client.getMetricDataV2Paginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Iterable responses = client
* .getMetricDataV2Paginator(request);
* for (software.amazon.awssdk.services.connect.model.GetMetricDataV2Response response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Iterable responses = client.getMetricDataV2Paginator(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 #getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link GetMetricDataV2Request.Builder} avoiding the need
* to create one manually via {@link GetMetricDataV2Request#builder()}
*
*
* @param getMetricDataV2Request
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.GetMetricDataV2Request.Builder} to create a request.
* @return A custom 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.GetMetricDataV2
* @see AWS API
* Documentation
*/
default GetMetricDataV2Iterable getMetricDataV2Paginator(Consumer getMetricDataV2Request)
throws InvalidRequestException, InvalidParameterException, InternalServiceException, ThrottlingException,
ResourceNotFoundException, AwsServiceException, SdkClientException, ConnectException {
return getMetricDataV2Paginator(GetMetricDataV2Request.builder().applyMutation(getMetricDataV2Request).build());
}
/**
*
* Gets the prompt file.
*
*
* @param getPromptFileRequest
* @return Result of the GetPromptFile operation returned by the service.
* @throws InvalidParameterException
* One or more of the specified parameters are not valid.
* @throws InvalidRequestException
* The request is 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.GetPromptFile
* @see AWS API
* Documentation
*/
default GetPromptFileResponse getPromptFile(GetPromptFileRequest getPromptFileRequest) throws InvalidParameterException,
InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Gets the prompt file.
*
*
*
* This is a convenience which creates an instance of the {@link GetPromptFileRequest.Builder} avoiding the need to
* create one manually via {@link GetPromptFileRequest#builder()}
*
*
* @param getPromptFileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.GetPromptFileRequest.Builder} to create a request.
* @return Result of the GetPromptFile operation returned by the service.
* @throws InvalidParameterException
* One or more of the specified parameters are not valid.
* @throws InvalidRequestException
* The request is 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.GetPromptFile
* @see AWS API
* Documentation
*/
default GetPromptFileResponse getPromptFile(Consumer getPromptFileRequest)
throws InvalidParameterException, InvalidRequestException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return getPromptFile(GetPromptFileRequest.builder().applyMutation(getPromptFileRequest).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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect
* instance. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance was
* created.
*
*
*
* Call the DescribePhoneNumber
* API to verify the status of a previous ImportPhoneNumber
operation.
*
*
*
* If you plan to claim or import numbers and then release numbers frequently, contact us for a service quota
* exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until up to
* 180 days past the oldest number released has expired.
*
*
* By default you can claim or import and then release up to 200% of your maximum number of active phone numbers. If
* you claim or import and then release phone numbers using the UI or API during a rolling 180 day cycle that
* exceeds 200% of your phone number service level quota, you will be blocked from claiming or importing any more
* numbers until 180 days past the oldest number released has expired.
*
*
* For example, if you already have 99 claimed or imported numbers and a service level quota of 99 phone numbers,
* and in any 180 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit.
* At that point you are blocked from claiming any more numbers until you open an Amazon Web Services Support
* ticket.
*
*
* @param importPhoneNumberRequest
* @return Result of the ImportPhoneNumber 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.ImportPhoneNumber
* @see AWS API
* Documentation
*/
default ImportPhoneNumberResponse importPhoneNumber(ImportPhoneNumberRequest importPhoneNumberRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect
* instance. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance was
* created.
*
*
*
* Call the DescribePhoneNumber
* API to verify the status of a previous ImportPhoneNumber
operation.
*
*
*
* If you plan to claim or import numbers and then release numbers frequently, contact us for a service quota
* exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until up to
* 180 days past the oldest number released has expired.
*
*
* By default you can claim or import and then release up to 200% of your maximum number of active phone numbers. If
* you claim or import and then release phone numbers using the UI or API during a rolling 180 day cycle that
* exceeds 200% of your phone number service level quota, you will be blocked from claiming or importing any more
* numbers until 180 days past the oldest number released has expired.
*
*
* For example, if you already have 99 claimed or imported numbers and a service level quota of 99 phone numbers,
* and in any 180 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit.
* At that point you are blocked from claiming any more numbers until you open an Amazon Web Services Support
* ticket.
*
*
*
* This is a convenience which creates an instance of the {@link ImportPhoneNumberRequest.Builder} avoiding the need
* to create one manually via {@link ImportPhoneNumberRequest#builder()}
*
*
* @param importPhoneNumberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ImportPhoneNumberRequest.Builder} to create a
* request.
* @return Result of the ImportPhoneNumber 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.ImportPhoneNumber
* @see AWS API
* Documentation
*/
default ImportPhoneNumberResponse importPhoneNumber(Consumer importPhoneNumberRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
IdempotencyException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectException {
return importPhoneNumber(ImportPhoneNumberRequest.builder().applyMutation(importPhoneNumberRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Lists agent statuses.
*
*
* @param listAgentStatusesRequest
* @return 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 software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest.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 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 {
return new ListAgentStatusesIterable(this, listAgentStatusesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest.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.
*
*
* Lists the association status of requested dataset ID for a given Amazon Connect instance.
*
*
* @param listAnalyticsDataAssociationsRequest
* @return Result of the ListAnalyticsDataAssociations 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.ListAnalyticsDataAssociations
* @see AWS API Documentation
*/
default ListAnalyticsDataAssociationsResponse listAnalyticsDataAssociations(
ListAnalyticsDataAssociationsRequest listAnalyticsDataAssociationsRequest) 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 association status of requested dataset ID for a given Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListAnalyticsDataAssociationsRequest.Builder}
* avoiding the need to create one manually via {@link ListAnalyticsDataAssociationsRequest#builder()}
*
*
* @param listAnalyticsDataAssociationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListAnalyticsDataAssociationsRequest.Builder} to
* create a request.
* @return Result of the ListAnalyticsDataAssociations 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.ListAnalyticsDataAssociations
* @see AWS API Documentation
*/
default ListAnalyticsDataAssociationsResponse listAnalyticsDataAssociations(
Consumer listAnalyticsDataAssociationsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return listAnalyticsDataAssociations(ListAnalyticsDataAssociationsRequest.builder()
.applyMutation(listAnalyticsDataAssociationsRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* Returns a paginated list of all approved origins associated with the instance.
*
*
* @param listApprovedOriginsRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListApprovedOriginsIterable(this, listApprovedOriginsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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. To request access to this API,
* contact Amazon Web Services Support.
*
*
* Provides summary information about the authentication profiles in a specified Amazon Connect instance.
*
*
* @param listAuthenticationProfilesRequest
* @return Result of the ListAuthenticationProfiles 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.ListAuthenticationProfiles
* @see AWS API Documentation
*/
default ListAuthenticationProfilesResponse listAuthenticationProfiles(
ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) 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. To request access to this API,
* contact Amazon Web Services Support.
*
*
* Provides summary information about the authentication profiles in a specified Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListAuthenticationProfilesRequest.Builder} avoiding
* the need to create one manually via {@link ListAuthenticationProfilesRequest#builder()}
*
*
* @param listAuthenticationProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest.Builder} to create
* a request.
* @return Result of the ListAuthenticationProfiles 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.ListAuthenticationProfiles
* @see AWS API Documentation
*/
default ListAuthenticationProfilesResponse listAuthenticationProfiles(
Consumer listAuthenticationProfilesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return listAuthenticationProfiles(ListAuthenticationProfilesRequest.builder()
.applyMutation(listAuthenticationProfilesRequest).build());
}
/**
*
* This is a variant of
* {@link #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)}
* operation. The return type is a custom 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.ListAuthenticationProfilesIterable responses = client.listAuthenticationProfilesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesIterable responses = client
* .listAuthenticationProfilesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesIterable responses = client.listAuthenticationProfilesPaginator(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 #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)}
* operation.
*
*
* @param listAuthenticationProfilesRequest
* @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.ListAuthenticationProfiles
* @see AWS API Documentation
*/
default ListAuthenticationProfilesIterable listAuthenticationProfilesPaginator(
ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new ListAuthenticationProfilesIterable(this, listAuthenticationProfilesRequest);
}
/**
*
* This is a variant of
* {@link #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)}
* 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.ListAuthenticationProfilesIterable responses = client.listAuthenticationProfilesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesIterable responses = client
* .listAuthenticationProfilesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesIterable responses = client.listAuthenticationProfilesPaginator(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 #listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListAuthenticationProfilesRequest.Builder} avoiding
* the need to create one manually via {@link ListAuthenticationProfilesRequest#builder()}
*
*
* @param listAuthenticationProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest.Builder} to create
* a request.
* @return A custom 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.ListAuthenticationProfiles
* @see AWS API Documentation
*/
default ListAuthenticationProfilesIterable listAuthenticationProfilesPaginator(
Consumer listAuthenticationProfilesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return listAuthenticationProfilesPaginator(ListAuthenticationProfilesRequest.builder()
.applyMutation(listAuthenticationProfilesRequest).build());
}
/**
*
* This API is in preview release for Amazon Connect and is subject to change.
*
*
* For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated
* with the instance. Use this API to returns both Amazon Lex V1 and V2 bots.
*
*
* @param listBotsRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListBotsIterable(this, listBotsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Lists contact evaluations in the specified Amazon Connect instance.
*
*
* @param listContactEvaluationsRequest
* @return Result of the ListContactEvaluations 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListContactEvaluations
* @see AWS API Documentation
*/
default ListContactEvaluationsResponse listContactEvaluations(ListContactEvaluationsRequest listContactEvaluationsRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Lists contact evaluations in the specified Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListContactEvaluationsRequest.Builder} avoiding the
* need to create one manually via {@link ListContactEvaluationsRequest#builder()}
*
*
* @param listContactEvaluationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest.Builder} to create a
* request.
* @return Result of the ListContactEvaluations 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListContactEvaluations
* @see AWS API Documentation
*/
default ListContactEvaluationsResponse listContactEvaluations(
Consumer listContactEvaluationsRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return listContactEvaluations(ListContactEvaluationsRequest.builder().applyMutation(listContactEvaluationsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)}
* operation. The return type is a custom 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.ListContactEvaluationsIterable responses = client.listContactEvaluationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsIterable responses = client
* .listContactEvaluationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsIterable responses = client.listContactEvaluationsPaginator(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 #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)}
* operation.
*
*
* @param listContactEvaluationsRequest
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListContactEvaluations
* @see AWS API Documentation
*/
default ListContactEvaluationsIterable listContactEvaluationsPaginator(
ListContactEvaluationsRequest listContactEvaluationsRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return new ListContactEvaluationsIterable(this, listContactEvaluationsRequest);
}
/**
*
* This is a variant of
* {@link #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)}
* 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.ListContactEvaluationsIterable responses = client.listContactEvaluationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsIterable responses = client
* .listContactEvaluationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsIterable responses = client.listContactEvaluationsPaginator(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 #listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListContactEvaluationsRequest.Builder} avoiding the
* need to create one manually via {@link ListContactEvaluationsRequest#builder()}
*
*
* @param listContactEvaluationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest.Builder} to create a
* request.
* @return A custom 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListContactEvaluations
* @see AWS API Documentation
*/
default ListContactEvaluationsIterable listContactEvaluationsPaginator(
Consumer listContactEvaluationsRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return listContactEvaluationsPaginator(ListContactEvaluationsRequest.builder()
.applyMutation(listContactEvaluationsRequest).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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListContactFlowModulesIterable(this, listContactFlowModulesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListContactFlowsIterable(this, listContactFlowsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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.
* References are links to documents that are related to a contact, such as emails, attachments, or URLs.
*
*
* @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.
* References are links to documents that are related to a contact, such as emails, attachments, or URLs.
*
*
*
* This is a convenience which creates an instance of the {@link ListContactReferencesRequest.Builder} avoiding the
* need to create one manually via {@link ListContactReferencesRequest#builder()}
*
*
* @param listContactReferencesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListContactReferencesRequest.Builder} to create a
* request.
* @return 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 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 {
return new ListContactReferencesIterable(this, listContactReferencesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListDefaultVocabulariesIterable(this, listDefaultVocabulariesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Lists versions of an evaluation form in the specified Amazon Connect instance.
*
*
* @param listEvaluationFormVersionsRequest
* @return Result of the ListEvaluationFormVersions 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationFormVersions
* @see AWS API Documentation
*/
default ListEvaluationFormVersionsResponse listEvaluationFormVersions(
ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Lists versions of an evaluation form in the specified Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListEvaluationFormVersionsRequest.Builder} avoiding
* the need to create one manually via {@link ListEvaluationFormVersionsRequest#builder()}
*
*
* @param listEvaluationFormVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest.Builder} to create
* a request.
* @return Result of the ListEvaluationFormVersions 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationFormVersions
* @see AWS API Documentation
*/
default ListEvaluationFormVersionsResponse listEvaluationFormVersions(
Consumer listEvaluationFormVersionsRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return listEvaluationFormVersions(ListEvaluationFormVersionsRequest.builder()
.applyMutation(listEvaluationFormVersionsRequest).build());
}
/**
*
* This is a variant of
* {@link #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)}
* operation. The return type is a custom 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.ListEvaluationFormVersionsIterable responses = client.listEvaluationFormVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsIterable responses = client
* .listEvaluationFormVersionsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsIterable responses = client.listEvaluationFormVersionsPaginator(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 #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)}
* operation.
*
*
* @param listEvaluationFormVersionsRequest
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationFormVersions
* @see AWS API Documentation
*/
default ListEvaluationFormVersionsIterable listEvaluationFormVersionsPaginator(
ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return new ListEvaluationFormVersionsIterable(this, listEvaluationFormVersionsRequest);
}
/**
*
* This is a variant of
* {@link #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)}
* 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.ListEvaluationFormVersionsIterable responses = client.listEvaluationFormVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsIterable responses = client
* .listEvaluationFormVersionsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsIterable responses = client.listEvaluationFormVersionsPaginator(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 #listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListEvaluationFormVersionsRequest.Builder} avoiding
* the need to create one manually via {@link ListEvaluationFormVersionsRequest#builder()}
*
*
* @param listEvaluationFormVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest.Builder} to create
* a request.
* @return A custom 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationFormVersions
* @see AWS API Documentation
*/
default ListEvaluationFormVersionsIterable listEvaluationFormVersionsPaginator(
Consumer listEvaluationFormVersionsRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return listEvaluationFormVersionsPaginator(ListEvaluationFormVersionsRequest.builder()
.applyMutation(listEvaluationFormVersionsRequest).build());
}
/**
*
* Lists evaluation forms in the specified Amazon Connect instance.
*
*
* @param listEvaluationFormsRequest
* @return Result of the ListEvaluationForms 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationForms
* @see AWS
* API Documentation
*/
default ListEvaluationFormsResponse listEvaluationForms(ListEvaluationFormsRequest listEvaluationFormsRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Lists evaluation forms in the specified Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link ListEvaluationFormsRequest.Builder} avoiding the
* need to create one manually via {@link ListEvaluationFormsRequest#builder()}
*
*
* @param listEvaluationFormsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest.Builder} to create a
* request.
* @return Result of the ListEvaluationForms 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationForms
* @see AWS
* API Documentation
*/
default ListEvaluationFormsResponse listEvaluationForms(
Consumer listEvaluationFormsRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return listEvaluationForms(ListEvaluationFormsRequest.builder().applyMutation(listEvaluationFormsRequest).build());
}
/**
*
* This is a variant of
* {@link #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)} operation.
* The return type is a custom 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.ListEvaluationFormsIterable responses = client.listEvaluationFormsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsIterable responses = client
* .listEvaluationFormsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsIterable responses = client.listEvaluationFormsPaginator(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 #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)}
* operation.
*
*
* @param listEvaluationFormsRequest
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationForms
* @see AWS
* API Documentation
*/
default ListEvaluationFormsIterable listEvaluationFormsPaginator(ListEvaluationFormsRequest listEvaluationFormsRequest)
throws InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new ListEvaluationFormsIterable(this, listEvaluationFormsRequest);
}
/**
*
* This is a variant of
* {@link #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)} 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.ListEvaluationFormsIterable responses = client.listEvaluationFormsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsIterable responses = client
* .listEvaluationFormsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsIterable responses = client.listEvaluationFormsPaginator(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 #listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListEvaluationFormsRequest.Builder} avoiding the
* need to create one manually via {@link ListEvaluationFormsRequest#builder()}
*
*
* @param listEvaluationFormsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest.Builder} to create a
* request.
* @return A custom 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListEvaluationForms
* @see AWS
* API Documentation
*/
default ListEvaluationFormsIterable listEvaluationFormsPaginator(
Consumer listEvaluationFormsRequest) throws InvalidParameterException,
ResourceNotFoundException, ThrottlingException, InternalServiceException, AwsServiceException, SdkClientException,
ConnectException {
return listEvaluationFormsPaginator(ListEvaluationFormsRequest.builder().applyMutation(listEvaluationFormsRequest)
.build());
}
/**
*
* List the flow association based on the filters.
*
*
* @param listFlowAssociationsRequest
* @return Result of the ListFlowAssociations operation returned by the service.
* @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 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.ListFlowAssociations
* @see AWS
* API Documentation
*/
default ListFlowAssociationsResponse listFlowAssociations(ListFlowAssociationsRequest listFlowAssociationsRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* List the flow association based on the filters.
*
*
*
* This is a convenience which creates an instance of the {@link ListFlowAssociationsRequest.Builder} avoiding the
* need to create one manually via {@link ListFlowAssociationsRequest#builder()}
*
*
* @param listFlowAssociationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest.Builder} to create a
* request.
* @return Result of the ListFlowAssociations operation returned by the service.
* @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 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.ListFlowAssociations
* @see AWS
* API Documentation
*/
default ListFlowAssociationsResponse listFlowAssociations(
Consumer listFlowAssociationsRequest) throws AccessDeniedException,
ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return listFlowAssociations(ListFlowAssociationsRequest.builder().applyMutation(listFlowAssociationsRequest).build());
}
/**
*
* This is a variant of
* {@link #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)}
* operation. The return type is a custom 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.ListFlowAssociationsIterable responses = client.listFlowAssociationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsIterable responses = client
* .listFlowAssociationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsIterable responses = client.listFlowAssociationsPaginator(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 #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)}
* operation.
*
*
* @param listFlowAssociationsRequest
* @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 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.ListFlowAssociations
* @see AWS
* API Documentation
*/
default ListFlowAssociationsIterable listFlowAssociationsPaginator(ListFlowAssociationsRequest listFlowAssociationsRequest)
throws AccessDeniedException, ResourceNotFoundException, InternalServiceException, InvalidRequestException,
InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return new ListFlowAssociationsIterable(this, listFlowAssociationsRequest);
}
/**
*
* This is a variant of
* {@link #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)}
* 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.ListFlowAssociationsIterable responses = client.listFlowAssociationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsIterable responses = client
* .listFlowAssociationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsIterable responses = client.listFlowAssociationsPaginator(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 #listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListFlowAssociationsRequest.Builder} avoiding the
* need to create one manually via {@link ListFlowAssociationsRequest#builder()}
*
*
* @param listFlowAssociationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest.Builder} to create a
* request.
* @return A custom 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 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.ListFlowAssociations
* @see AWS
* API Documentation
*/
default ListFlowAssociationsIterable listFlowAssociationsPaginator(
Consumer listFlowAssociationsRequest) throws AccessDeniedException,
ResourceNotFoundException, InternalServiceException, InvalidRequestException, InvalidParameterException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return listFlowAssociationsPaginator(ListFlowAssociationsRequest.builder().applyMutation(listFlowAssociationsRequest)
.build());
}
/**
*
* Provides information about the hours of operation for the specified Amazon Connect instance.
*
*
* For more information about hours of operation, see Set the Hours of Operation
* for a Queue in the Amazon Connect Administrator Guide.
*
*
* @param listHoursOfOperationsRequest
* @return 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListHoursOfOperationsIterable(this, listHoursOfOperationsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListInstanceAttributesIterable(this, listInstanceAttributesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListInstanceStorageConfigsIterable(this, listInstanceStorageConfigsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListInstancesIterable(this, listInstancesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListIntegrationAssociationsIterable(this, listIntegrationAssociationsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListLambdaFunctionsIterable(this, listLambdaFunctionsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListLexBotsIterable(this, listLexBotsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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.
*
*
*
* -
*
* We recommend using ListPhoneNumbersV2
* to return phone number types. ListPhoneNumbers doesn't support number types UIFN
,
* SHARED
, THIRD_PARTY_TF
, and THIRD_PARTY_DID
. While it returns numbers of
* those types, it incorrectly lists them as TOLL_FREE
or DID
.
*
*
* -
*
* The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a
* ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2
* API. It returns the new phone number ARN that can be used to tag phone number resources.
*
*
*
*
*
* @param listPhoneNumbersRequest
* @return 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.
*
*
*
* -
*
* We recommend using ListPhoneNumbersV2
* to return phone number types. ListPhoneNumbers doesn't support number types UIFN
,
* SHARED
, THIRD_PARTY_TF
, and THIRD_PARTY_DID
. While it returns numbers of
* those types, it incorrectly lists them as TOLL_FREE
or DID
.
*
*
* -
*
* The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a
* ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2
* API. It returns the new phone number ARN that can be used to tag phone number resources.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link ListPhoneNumbersRequest.Builder} avoiding the need
* to create one manually via {@link ListPhoneNumbersRequest#builder()}
*
*
* @param listPhoneNumbersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest.Builder} to create a request.
* @return 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());
}
/**
*
* 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 {
return new ListPhoneNumbersIterable(this, listPhoneNumbersRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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.
*
*
*
* -
*
* When given an instance ARN, ListPhoneNumbersV2
returns only the phone numbers claimed to the
* instance.
*
*
* -
*
* When given a traffic distribution group ARN ListPhoneNumbersV2
returns only the phone numbers
* claimed to the traffic distribution group.
*
*
*
*
*
* @param listPhoneNumbersV2Request
* @return 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.
*
*
*
* -
*
* When given an instance ARN, ListPhoneNumbersV2
returns only the phone numbers claimed to the
* instance.
*
*
* -
*
* When given a traffic distribution group ARN ListPhoneNumbersV2
returns only the phone numbers
* claimed to the traffic distribution group.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link ListPhoneNumbersV2Request.Builder} avoiding the
* need to create one manually via {@link ListPhoneNumbersV2Request#builder()}
*
*
* @param listPhoneNumbersV2Request
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request.Builder} to create a
* request.
* @return 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());
}
/**
*
* 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 {
return new ListPhoneNumbersV2Iterable(this, listPhoneNumbersV2Request);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Lists predefined attributes for the specified Amazon Connect instance. Predefined attributes are
* attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within
* a queue. For more information, see Create predefined
* attributes for routing contacts to agents.
*
*
* @param listPredefinedAttributesRequest
* @return Result of the ListPredefinedAttributes 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.ListPredefinedAttributes
* @see AWS API Documentation
*/
default ListPredefinedAttributesResponse listPredefinedAttributes(
ListPredefinedAttributesRequest listPredefinedAttributesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Lists predefined attributes for the specified Amazon Connect instance. Predefined attributes are
* attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within
* a queue. For more information, see Create predefined
* attributes for routing contacts to agents.
*
*
*
* This is a convenience which creates an instance of the {@link ListPredefinedAttributesRequest.Builder} avoiding
* the need to create one manually via {@link ListPredefinedAttributesRequest#builder()}
*
*
* @param listPredefinedAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest.Builder} to create a
* request.
* @return Result of the ListPredefinedAttributes 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.ListPredefinedAttributes
* @see AWS API Documentation
*/
default ListPredefinedAttributesResponse listPredefinedAttributes(
Consumer listPredefinedAttributesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return listPredefinedAttributes(ListPredefinedAttributesRequest.builder().applyMutation(listPredefinedAttributesRequest)
.build());
}
/**
*
* This is a variant of
* {@link #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)}
* operation. The return type is a custom 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.ListPredefinedAttributesIterable responses = client.listPredefinedAttributesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesIterable responses = client
* .listPredefinedAttributesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesIterable responses = client.listPredefinedAttributesPaginator(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 #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)}
* operation.
*
*
* @param listPredefinedAttributesRequest
* @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.ListPredefinedAttributes
* @see AWS API Documentation
*/
default ListPredefinedAttributesIterable listPredefinedAttributesPaginator(
ListPredefinedAttributesRequest listPredefinedAttributesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new ListPredefinedAttributesIterable(this, listPredefinedAttributesRequest);
}
/**
*
* This is a variant of
* {@link #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)}
* 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.ListPredefinedAttributesIterable responses = client.listPredefinedAttributesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesIterable responses = client
* .listPredefinedAttributesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesIterable responses = client.listPredefinedAttributesPaginator(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 #listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListPredefinedAttributesRequest.Builder} avoiding
* the need to create one manually via {@link ListPredefinedAttributesRequest#builder()}
*
*
* @param listPredefinedAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest.Builder} to create a
* request.
* @return A custom 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.ListPredefinedAttributes
* @see AWS API Documentation
*/
default ListPredefinedAttributesIterable listPredefinedAttributesPaginator(
Consumer listPredefinedAttributesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return listPredefinedAttributesPaginator(ListPredefinedAttributesRequest.builder()
.applyMutation(listPredefinedAttributesRequest).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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListPromptsIterable(this, listPromptsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListQueueQuickConnectsIterable(this, listQueueQuickConnectsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListQueuesIterable(this, listQueuesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListQuickConnectsIterable(this, listQuickConnectsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Provides a list of analysis segments for a real-time analysis session.
*
*
* @param listRealtimeContactAnalysisSegmentsV2Request
* @return Result of the ListRealtimeContactAnalysisSegmentsV2 operation returned by the service.
* @throws OutputTypeNotFoundException
* Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example,
* if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact
* flow.
* @throws AccessDeniedException
* You do not have sufficient permissions to perform this action.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListRealtimeContactAnalysisSegmentsV2
* @see AWS API Documentation
*/
default ListRealtimeContactAnalysisSegmentsV2Response listRealtimeContactAnalysisSegmentsV2(
ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request)
throws OutputTypeNotFoundException, AccessDeniedException, ResourceNotFoundException, InvalidRequestException,
InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Provides a list of analysis segments for a real-time analysis session.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListRealtimeContactAnalysisSegmentsV2Request.Builder} avoiding the need to create one manually via
* {@link ListRealtimeContactAnalysisSegmentsV2Request#builder()}
*
*
* @param listRealtimeContactAnalysisSegmentsV2Request
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request.Builder}
* to create a request.
* @return Result of the ListRealtimeContactAnalysisSegmentsV2 operation returned by the service.
* @throws OutputTypeNotFoundException
* Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example,
* if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact
* flow.
* @throws AccessDeniedException
* You do not have sufficient permissions to perform this action.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListRealtimeContactAnalysisSegmentsV2
* @see AWS API Documentation
*/
default ListRealtimeContactAnalysisSegmentsV2Response listRealtimeContactAnalysisSegmentsV2(
Consumer listRealtimeContactAnalysisSegmentsV2Request)
throws OutputTypeNotFoundException, AccessDeniedException, ResourceNotFoundException, InvalidRequestException,
InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return listRealtimeContactAnalysisSegmentsV2(ListRealtimeContactAnalysisSegmentsV2Request.builder()
.applyMutation(listRealtimeContactAnalysisSegmentsV2Request).build());
}
/**
*
* This is a variant of
* {@link #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)}
* operation. The return type is a custom 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.ListRealtimeContactAnalysisSegmentsV2Iterable responses = client.listRealtimeContactAnalysisSegmentsV2Paginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Iterable responses = client
* .listRealtimeContactAnalysisSegmentsV2Paginator(request);
* for (software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Iterable responses = client.listRealtimeContactAnalysisSegmentsV2Paginator(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 #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)}
* operation.
*
*
* @param listRealtimeContactAnalysisSegmentsV2Request
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws OutputTypeNotFoundException
* Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example,
* if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact
* flow.
* @throws AccessDeniedException
* You do not have sufficient permissions to perform this action.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListRealtimeContactAnalysisSegmentsV2
* @see AWS API Documentation
*/
default ListRealtimeContactAnalysisSegmentsV2Iterable listRealtimeContactAnalysisSegmentsV2Paginator(
ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request)
throws OutputTypeNotFoundException, AccessDeniedException, ResourceNotFoundException, InvalidRequestException,
InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return new ListRealtimeContactAnalysisSegmentsV2Iterable(this, listRealtimeContactAnalysisSegmentsV2Request);
}
/**
*
* This is a variant of
* {@link #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)}
* 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.ListRealtimeContactAnalysisSegmentsV2Iterable responses = client.listRealtimeContactAnalysisSegmentsV2Paginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Iterable responses = client
* .listRealtimeContactAnalysisSegmentsV2Paginator(request);
* for (software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Iterable responses = client.listRealtimeContactAnalysisSegmentsV2Paginator(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 #listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)}
* operation.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListRealtimeContactAnalysisSegmentsV2Request.Builder} avoiding the need to create one manually via
* {@link ListRealtimeContactAnalysisSegmentsV2Request#builder()}
*
*
* @param listRealtimeContactAnalysisSegmentsV2Request
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request.Builder}
* to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws OutputTypeNotFoundException
* Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example,
* if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact
* flow.
* @throws AccessDeniedException
* You do not have sufficient permissions to perform this action.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ListRealtimeContactAnalysisSegmentsV2
* @see AWS API Documentation
*/
default ListRealtimeContactAnalysisSegmentsV2Iterable listRealtimeContactAnalysisSegmentsV2Paginator(
Consumer listRealtimeContactAnalysisSegmentsV2Request)
throws OutputTypeNotFoundException, AccessDeniedException, ResourceNotFoundException, InvalidRequestException,
InternalServiceException, ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return listRealtimeContactAnalysisSegmentsV2Paginator(ListRealtimeContactAnalysisSegmentsV2Request.builder()
.applyMutation(listRealtimeContactAnalysisSegmentsV2Request).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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListRoutingProfileQueuesIterable(this, listRoutingProfileQueuesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListRoutingProfilesIterable(this, listRoutingProfilesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListRulesIterable(this, listRulesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 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 {
return new ListSecurityKeysIterable(this, listSecurityKeysRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Returns a list of third-party applications in a specific security profile.
*
*
* @param listSecurityProfileApplicationsRequest
* @return Result of the ListSecurityProfileApplications 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.ListSecurityProfileApplications
* @see AWS API Documentation
*/
default ListSecurityProfileApplicationsResponse listSecurityProfileApplications(
ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of third-party applications in a specific security profile.
*
*
*
* This is a convenience which creates an instance of the {@link ListSecurityProfileApplicationsRequest.Builder}
* avoiding the need to create one manually via {@link ListSecurityProfileApplicationsRequest#builder()}
*
*
* @param listSecurityProfileApplicationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest.Builder} to
* create a request.
* @return Result of the ListSecurityProfileApplications 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.ListSecurityProfileApplications
* @see AWS API Documentation
*/
default ListSecurityProfileApplicationsResponse listSecurityProfileApplications(
Consumer listSecurityProfileApplicationsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return listSecurityProfileApplications(ListSecurityProfileApplicationsRequest.builder()
.applyMutation(listSecurityProfileApplicationsRequest).build());
}
/**
*
* This is a variant of
* {@link #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)}
* operation. The return type is a custom 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.ListSecurityProfileApplicationsIterable responses = client.listSecurityProfileApplicationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsIterable responses = client
* .listSecurityProfileApplicationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsIterable responses = client.listSecurityProfileApplicationsPaginator(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 #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)}
* operation.
*
*
* @param listSecurityProfileApplicationsRequest
* @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.ListSecurityProfileApplications
* @see AWS API Documentation
*/
default ListSecurityProfileApplicationsIterable listSecurityProfileApplicationsPaginator(
ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new ListSecurityProfileApplicationsIterable(this, listSecurityProfileApplicationsRequest);
}
/**
*
* This is a variant of
* {@link #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)}
* 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.ListSecurityProfileApplicationsIterable responses = client.listSecurityProfileApplicationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsIterable responses = client
* .listSecurityProfileApplicationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsIterable responses = client.listSecurityProfileApplicationsPaginator(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 #listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListSecurityProfileApplicationsRequest.Builder}
* avoiding the need to create one manually via {@link ListSecurityProfileApplicationsRequest#builder()}
*
*
* @param listSecurityProfileApplicationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest.Builder} to
* create a request.
* @return A custom 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.ListSecurityProfileApplications
* @see AWS API Documentation
*/
default ListSecurityProfileApplicationsIterable listSecurityProfileApplicationsPaginator(
Consumer listSecurityProfileApplicationsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return listSecurityProfileApplicationsPaginator(ListSecurityProfileApplicationsRequest.builder()
.applyMutation(listSecurityProfileApplicationsRequest).build());
}
/**
*
* Lists the permissions granted to a security profile.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
* @param listSecurityProfilePermissionsRequest
* @return 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();
}
/**
*
* Lists the permissions granted to a security profile.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
*
* This is a convenience which creates an instance of the {@link ListSecurityProfilePermissionsRequest.Builder}
* avoiding the need to create one manually via {@link ListSecurityProfilePermissionsRequest#builder()}
*
*
* @param listSecurityProfilePermissionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest.Builder} to
* create a request.
* @return 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 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 {
return new ListSecurityProfilePermissionsIterable(this, listSecurityProfilePermissionsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
* @param listSecurityProfilesRequest
* @return 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. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
*
* This is a convenience which creates an instance of the {@link ListSecurityProfilesRequest.Builder} avoiding the
* need to create one manually via {@link ListSecurityProfilesRequest#builder()}
*
*
* @param listSecurityProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest.Builder} to create a
* request.
* @return 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());
}
/**
*
* 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 {
return new ListSecurityProfilesIterable(this, listSecurityProfilesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListTaskTemplatesIterable(this, listTaskTemplatesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 group users.
*
*
* @param listTrafficDistributionGroupUsersRequest
* @return Result of the ListTrafficDistributionGroupUsers operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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.ListTrafficDistributionGroupUsers
* @see AWS API Documentation
*/
default ListTrafficDistributionGroupUsersResponse listTrafficDistributionGroupUsers(
ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) throws ResourceNotFoundException,
InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceException, AwsServiceException,
SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Lists traffic distribution group users.
*
*
*
* This is a convenience which creates an instance of the {@link ListTrafficDistributionGroupUsersRequest.Builder}
* avoiding the need to create one manually via {@link ListTrafficDistributionGroupUsersRequest#builder()}
*
*
* @param listTrafficDistributionGroupUsersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest.Builder} to
* create a request.
* @return Result of the ListTrafficDistributionGroupUsers operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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.ListTrafficDistributionGroupUsers
* @see AWS API Documentation
*/
default ListTrafficDistributionGroupUsersResponse listTrafficDistributionGroupUsers(
Consumer listTrafficDistributionGroupUsersRequest)
throws ResourceNotFoundException, InvalidRequestException, AccessDeniedException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return listTrafficDistributionGroupUsers(ListTrafficDistributionGroupUsersRequest.builder()
.applyMutation(listTrafficDistributionGroupUsersRequest).build());
}
/**
*
* This is a variant of
* {@link #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)}
* operation. The return type is a custom 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.ListTrafficDistributionGroupUsersIterable responses = client.listTrafficDistributionGroupUsersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersIterable responses = client
* .listTrafficDistributionGroupUsersPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersIterable responses = client.listTrafficDistributionGroupUsersPaginator(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 #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)}
* operation.
*
*
* @param listTrafficDistributionGroupUsersRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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.ListTrafficDistributionGroupUsers
* @see AWS API Documentation
*/
default ListTrafficDistributionGroupUsersIterable listTrafficDistributionGroupUsersPaginator(
ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) throws ResourceNotFoundException,
InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceException, AwsServiceException,
SdkClientException, ConnectException {
return new ListTrafficDistributionGroupUsersIterable(this, listTrafficDistributionGroupUsersRequest);
}
/**
*
* This is a variant of
* {@link #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)}
* 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.ListTrafficDistributionGroupUsersIterable responses = client.listTrafficDistributionGroupUsersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersIterable responses = client
* .listTrafficDistributionGroupUsersPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersIterable responses = client.listTrafficDistributionGroupUsersPaginator(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 #listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListTrafficDistributionGroupUsersRequest.Builder}
* avoiding the need to create one manually via {@link ListTrafficDistributionGroupUsersRequest#builder()}
*
*
* @param listTrafficDistributionGroupUsersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The specified resource was not found.
* @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.ListTrafficDistributionGroupUsers
* @see AWS API Documentation
*/
default ListTrafficDistributionGroupUsersIterable listTrafficDistributionGroupUsersPaginator(
Consumer listTrafficDistributionGroupUsersRequest)
throws ResourceNotFoundException, InvalidRequestException, AccessDeniedException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return listTrafficDistributionGroupUsersPaginator(ListTrafficDistributionGroupUsersRequest.builder()
.applyMutation(listTrafficDistributionGroupUsersRequest).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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListTrafficDistributionGroupsIterable(this, listTrafficDistributionGroupsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 software.amazon.awssdk.services.connect.model.ListUseCasesRequest.Builder} to create a request.
* Provides summary information about the use cases for the specified integration association.
* @return 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());
}
/**
*
* 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 {
return new ListUseCasesIterable(this, listUseCasesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.ListUseCasesRequest.Builder} to create a request.
* Provides summary information about the use cases for the specified integration association.
* @return A custom 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListUserHierarchyGroupsIterable(this, listUserHierarchyGroupsRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Lists proficiencies associated with a user.
*
*
* @param listUserProficienciesRequest
* @return Result of the ListUserProficiencies 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.ListUserProficiencies
* @see AWS
* API Documentation
*/
default ListUserProficienciesResponse listUserProficiencies(ListUserProficienciesRequest listUserProficienciesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Lists proficiencies associated with a user.
*
*
*
* This is a convenience which creates an instance of the {@link ListUserProficienciesRequest.Builder} avoiding the
* need to create one manually via {@link ListUserProficienciesRequest#builder()}
*
*
* @param listUserProficienciesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest.Builder} to create a
* request.
* @return Result of the ListUserProficiencies 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.ListUserProficiencies
* @see AWS
* API Documentation
*/
default ListUserProficienciesResponse listUserProficiencies(
Consumer listUserProficienciesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return listUserProficiencies(ListUserProficienciesRequest.builder().applyMutation(listUserProficienciesRequest).build());
}
/**
*
* This is a variant of
* {@link #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)}
* operation. The return type is a custom 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.ListUserProficienciesIterable responses = client.listUserProficienciesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListUserProficienciesIterable responses = client
* .listUserProficienciesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListUserProficienciesIterable responses = client.listUserProficienciesPaginator(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 #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)}
* operation.
*
*
* @param listUserProficienciesRequest
* @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.ListUserProficiencies
* @see AWS
* API Documentation
*/
default ListUserProficienciesIterable listUserProficienciesPaginator(ListUserProficienciesRequest listUserProficienciesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return new ListUserProficienciesIterable(this, listUserProficienciesRequest);
}
/**
*
* This is a variant of
* {@link #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)}
* 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.ListUserProficienciesIterable responses = client.listUserProficienciesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListUserProficienciesIterable responses = client
* .listUserProficienciesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListUserProficienciesIterable responses = client.listUserProficienciesPaginator(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 #listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListUserProficienciesRequest.Builder} avoiding the
* need to create one manually via {@link ListUserProficienciesRequest#builder()}
*
*
* @param listUserProficienciesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest.Builder} to create a
* request.
* @return A custom 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.ListUserProficiencies
* @see AWS
* API Documentation
*/
default ListUserProficienciesIterable listUserProficienciesPaginator(
Consumer listUserProficienciesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return listUserProficienciesPaginator(ListUserProficienciesRequest.builder().applyMutation(listUserProficienciesRequest)
.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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new ListUsersIterable(this, listUsersRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Returns all the available versions for the specified Amazon Connect instance and view identifier.
*
*
* Results will be sorted from highest to lowest.
*
*
* @param listViewVersionsRequest
* @return Result of the ListViewVersions 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 TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViewVersions
* @see AWS API
* Documentation
*/
default ListViewVersionsResponse listViewVersions(ListViewVersionsRequest listViewVersionsRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Returns all the available versions for the specified Amazon Connect instance and view identifier.
*
*
* Results will be sorted from highest to lowest.
*
*
*
* This is a convenience which creates an instance of the {@link ListViewVersionsRequest.Builder} avoiding the need
* to create one manually via {@link ListViewVersionsRequest#builder()}
*
*
* @param listViewVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListViewVersionsRequest.Builder} to create a request.
* @return Result of the ListViewVersions 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 TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViewVersions
* @see AWS API
* Documentation
*/
default ListViewVersionsResponse listViewVersions(Consumer listViewVersionsRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
return listViewVersions(ListViewVersionsRequest.builder().applyMutation(listViewVersionsRequest).build());
}
/**
*
* This is a variant of
* {@link #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} operation. The
* return type is a custom 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.ListViewVersionsIterable responses = client.listViewVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListViewVersionsIterable responses = client
* .listViewVersionsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListViewVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListViewVersionsIterable responses = client.listViewVersionsPaginator(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 #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} operation.
*
*
* @param listViewVersionsRequest
* @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 InternalServiceException
* Request processing failed because of an error or failure with the service.
* @throws TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViewVersions
* @see AWS API
* Documentation
*/
default ListViewVersionsIterable listViewVersionsPaginator(ListViewVersionsRequest listViewVersionsRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
return new ListViewVersionsIterable(this, listViewVersionsRequest);
}
/**
*
* This is a variant of
* {@link #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} 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.ListViewVersionsIterable responses = client.listViewVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListViewVersionsIterable responses = client
* .listViewVersionsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListViewVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListViewVersionsIterable responses = client.listViewVersionsPaginator(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 #listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListViewVersionsRequest.Builder} avoiding the need
* to create one manually via {@link ListViewVersionsRequest#builder()}
*
*
* @param listViewVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListViewVersionsRequest.Builder} to create a request.
* @return A custom 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 InternalServiceException
* Request processing failed because of an error or failure with the service.
* @throws TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViewVersions
* @see AWS API
* Documentation
*/
default ListViewVersionsIterable listViewVersionsPaginator(Consumer listViewVersionsRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
return listViewVersionsPaginator(ListViewVersionsRequest.builder().applyMutation(listViewVersionsRequest).build());
}
/**
*
* Returns views in the given instance.
*
*
* Results are sorted primarily by type, and secondarily by name.
*
*
* @param listViewsRequest
* @return Result of the ListViews 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 TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViews
* @see AWS API
* Documentation
*/
default ListViewsResponse listViews(ListViewsRequest listViewsRequest) throws AccessDeniedException, InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, InternalServiceException, TooManyRequestsException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Returns views in the given instance.
*
*
* Results are sorted primarily by type, and secondarily by name.
*
*
*
* This is a convenience which creates an instance of the {@link ListViewsRequest.Builder} avoiding the need to
* create one manually via {@link ListViewsRequest#builder()}
*
*
* @param listViewsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListViewsRequest.Builder} to create a request.
* @return Result of the ListViews 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 TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViews
* @see AWS API
* Documentation
*/
default ListViewsResponse listViews(Consumer listViewsRequest) throws AccessDeniedException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
return listViews(ListViewsRequest.builder().applyMutation(listViewsRequest).build());
}
/**
*
* This is a variant of {@link #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)}
* operation. The return type is a custom 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.ListViewsIterable responses = client.listViewsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListViewsIterable responses = client.listViewsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListViewsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListViewsIterable responses = client.listViewsPaginator(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 #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)} operation.
*
*
* @param listViewsRequest
* @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 InternalServiceException
* Request processing failed because of an error or failure with the service.
* @throws TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViews
* @see AWS API
* Documentation
*/
default ListViewsIterable listViewsPaginator(ListViewsRequest listViewsRequest) throws AccessDeniedException,
InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
return new ListViewsIterable(this, listViewsRequest);
}
/**
*
* This is a variant of {@link #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)}
* 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.ListViewsIterable responses = client.listViewsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.ListViewsIterable responses = client.listViewsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.ListViewsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.ListViewsIterable responses = client.listViewsPaginator(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 #listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListViewsRequest.Builder} avoiding the need to
* create one manually via {@link ListViewsRequest#builder()}
*
*
* @param listViewsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ListViewsRequest.Builder} to create a request.
* @return A custom 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 InternalServiceException
* Request processing failed because of an error or failure with the service.
* @throws TooManyRequestsException
* Displayed when rate-related API limits are 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.ListViews
* @see AWS API
* Documentation
*/
default ListViewsIterable listViewsPaginator(Consumer listViewsRequest)
throws AccessDeniedException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
InternalServiceException, TooManyRequestsException, AwsServiceException, SdkClientException, ConnectException {
return listViewsPaginator(ListViewsRequest.builder().applyMutation(listViewsRequest).build());
}
/**
*
* Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId
* will be set to silent monitoring mode on the contact.
*
*
* @param monitorContactRequest
* @return 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Allows pausing an ongoing task contact.
*
*
* @param pauseContactRequest
* @return Result of the PauseContact operation returned by the service.
* @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 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 ConflictException
* Operation cannot be performed at this time as there is a conflict with another operation or contact
* state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.PauseContact
* @see AWS API
* Documentation
*/
default PauseContactResponse pauseContact(PauseContactRequest pauseContactRequest) throws AccessDeniedException,
InternalServiceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
ThrottlingException, LimitExceededException, ConflictException, AwsServiceException, SdkClientException,
ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Allows pausing an ongoing task contact.
*
*
*
* This is a convenience which creates an instance of the {@link PauseContactRequest.Builder} avoiding the need to
* create one manually via {@link PauseContactRequest#builder()}
*
*
* @param pauseContactRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.PauseContactRequest.Builder} to create a request.
* @return Result of the PauseContact operation returned by the service.
* @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 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 ConflictException
* Operation cannot be performed at this time as there is a conflict with another operation or contact
* state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.PauseContact
* @see AWS API
* Documentation
*/
default PauseContactResponse pauseContact(Consumer pauseContactRequest)
throws AccessDeniedException, InternalServiceException, InvalidRequestException, InvalidParameterException,
ResourceNotFoundException, ThrottlingException, LimitExceededException, ConflictException, AwsServiceException,
SdkClientException, ConnectException {
return pauseContact(PauseContactRequest.builder().applyMutation(pauseContactRequest).build());
}
/**
*
* Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact,
* this sets the agent's next status.
*
*
* For more information, see Agent status and Set your next status in the
* Amazon Connect Administrator Guide.
*
*
* @param putUserStatusRequest
* @return 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 software.amazon.awssdk.services.connect.model.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 admin website.
*
*
* After releasing a phone number, the phone number enters into a cooldown period for up to 180 days. It cannot be
* searched for or claimed again until the period has ended. If you accidentally release a phone number, contact
* Amazon Web Services Support.
*
*
*
* If you plan to claim and release numbers frequently, contact us for a service quota exception. Otherwise, it is
* possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest
* number released has expired.
*
*
* By default you can claim and release up to 200% of your maximum number of active phone numbers. If you claim and
* release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number
* service level quota, you will be blocked from claiming any more numbers until 180 days past the oldest number
* released has expired.
*
*
* For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180
* day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point
* you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
*
*
* @param releasePhoneNumberRequest
* @return 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 admin website.
*
*
* After releasing a phone number, the phone number enters into a cooldown period for up to 180 days. It cannot be
* searched for or claimed again until the period has ended. If you accidentally release a phone number, contact
* Amazon Web Services Support.
*
*
*
* If you plan to claim and release numbers frequently, contact us for a service quota exception. Otherwise, it is
* possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest
* number released has expired.
*
*
* By default you can claim and release up to 200% of your maximum number of active phone numbers. If you claim and
* release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number
* service level quota, you will be blocked from claiming any more numbers until 180 days past the oldest number
* released has expired.
*
*
* For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180
* day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point
* you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
*
*
*
* This is a convenience which creates an instance of the {@link ReleasePhoneNumberRequest.Builder} avoiding the
* need to create one manually via {@link ReleasePhoneNumberRequest#builder()}
*
*
* @param releasePhoneNumberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ReleasePhoneNumberRequest.Builder} to create a
* request.
* @return 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 and copies configuration
* information for Amazon Connect resources across Amazon Web Services Regions.
*
*
* For more information about replicating an Amazon Connect instance, see Create a
* replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
*
*
* @param replicateInstanceRequest
* @return 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 and copies configuration
* information for Amazon Connect resources across Amazon Web Services Regions.
*
*
* For more information about replicating an Amazon Connect instance, see Create a
* replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
*
*
*
* This is a convenience which creates an instance of the {@link ReplicateInstanceRequest.Builder} avoiding the need
* to create one manually via {@link ReplicateInstanceRequest#builder()}
*
*
* @param replicateInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ReplicateInstanceRequest.Builder} to create a
* request.
* @return 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());
}
/**
*
* Allows resuming a task contact in a paused state.
*
*
* @param resumeContactRequest
* @return Result of the ResumeContact operation returned by the service.
* @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 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 ConflictException
* Operation cannot be performed at this time as there is a conflict with another operation or contact
* state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ResumeContact
* @see AWS API
* Documentation
*/
default ResumeContactResponse resumeContact(ResumeContactRequest resumeContactRequest) throws AccessDeniedException,
InternalServiceException, InvalidRequestException, InvalidParameterException, ResourceNotFoundException,
ThrottlingException, ConflictException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Allows resuming a task contact in a paused state.
*
*
*
* This is a convenience which creates an instance of the {@link ResumeContactRequest.Builder} avoiding the need to
* create one manually via {@link ResumeContactRequest#builder()}
*
*
* @param resumeContactRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ResumeContactRequest.Builder} to create a request.
* @return Result of the ResumeContact operation returned by the service.
* @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 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 ConflictException
* Operation cannot be performed at this time as there is a conflict with another operation or contact
* state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.ResumeContact
* @see AWS API
* Documentation
*/
default ResumeContactResponse resumeContact(Consumer resumeContactRequest)
throws AccessDeniedException, InternalServiceException, InvalidRequestException, InvalidParameterException,
ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException,
ConnectException {
return resumeContact(ResumeContactRequest.builder().applyMutation(resumeContactRequest).build());
}
/**
*
* When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API
* resumes recording whatever recording is selected in the flow configuration: call, screen, or both. If only call
* recording or only screen recording is enabled, then it would resume.
*
*
* Voice and screen recordings are supported.
*
*
* @param resumeContactRecordingRequest
* @return 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 whatever recording is selected in the flow configuration: call, screen, or both. If only call
* recording or only screen recording is enabled, then it would resume.
*
*
* Voice and screen recordings are supported.
*
*
*
* This is a convenience which creates an instance of the {@link ResumeContactRecordingRequest.Builder} avoiding the
* need to create one manually via {@link ResumeContactRecordingRequest#builder()}
*
*
* @param resumeContactRecordingRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.ResumeContactRecordingRequest.Builder} to create a
* request.
* @return 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 AgentStatuses in an Amazon Connect instance, with optional filtering.
*
*
* @param searchAgentStatusesRequest
* @return Result of the SearchAgentStatuses 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.SearchAgentStatuses
* @see AWS
* API Documentation
*/
default SearchAgentStatusesResponse searchAgentStatuses(SearchAgentStatusesRequest searchAgentStatusesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches AgentStatuses in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchAgentStatusesRequest.Builder} avoiding the
* need to create one manually via {@link SearchAgentStatusesRequest#builder()}
*
*
* @param searchAgentStatusesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest.Builder} to create a
* request.
* @return Result of the SearchAgentStatuses 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.SearchAgentStatuses
* @see AWS
* API Documentation
*/
default SearchAgentStatusesResponse searchAgentStatuses(
Consumer searchAgentStatusesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchAgentStatuses(SearchAgentStatusesRequest.builder().applyMutation(searchAgentStatusesRequest).build());
}
/**
*
* This is a variant of
* {@link #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)} operation.
* The return type is a custom 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.SearchAgentStatusesIterable responses = client.searchAgentStatusesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesIterable responses = client
* .searchAgentStatusesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesIterable responses = client.searchAgentStatusesPaginator(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 #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)}
* operation.
*
*
* @param searchAgentStatusesRequest
* @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.SearchAgentStatuses
* @see AWS
* API Documentation
*/
default SearchAgentStatusesIterable searchAgentStatusesPaginator(SearchAgentStatusesRequest searchAgentStatusesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return new SearchAgentStatusesIterable(this, searchAgentStatusesRequest);
}
/**
*
* This is a variant of
* {@link #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)} 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.SearchAgentStatusesIterable responses = client.searchAgentStatusesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesIterable responses = client
* .searchAgentStatusesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesIterable responses = client.searchAgentStatusesPaginator(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 #searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchAgentStatusesRequest.Builder} avoiding the
* need to create one manually via {@link SearchAgentStatusesRequest#builder()}
*
*
* @param searchAgentStatusesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest.Builder} to create a
* request.
* @return A custom 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.SearchAgentStatuses
* @see AWS
* API Documentation
*/
default SearchAgentStatusesIterable searchAgentStatusesPaginator(
Consumer searchAgentStatusesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchAgentStatusesPaginator(SearchAgentStatusesRequest.builder().applyMutation(searchAgentStatusesRequest)
.build());
}
/**
*
* Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution
* group. If the provided TargetArn
is a traffic distribution group, you can call this API in both
* Amazon Web Services Regions associated with the traffic distribution group.
*
*
* @param searchAvailablePhoneNumbersRequest
* @return 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new SearchAvailablePhoneNumbersIterable(this, searchAvailablePhoneNumbersRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Searches the flow modules in an Amazon Connect instance, with optional filtering.
*
*
* @param searchContactFlowModulesRequest
* @return Result of the SearchContactFlowModules 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.SearchContactFlowModules
* @see AWS API Documentation
*/
default SearchContactFlowModulesResponse searchContactFlowModules(
SearchContactFlowModulesRequest searchContactFlowModulesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches the flow modules in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchContactFlowModulesRequest.Builder} avoiding
* the need to create one manually via {@link SearchContactFlowModulesRequest#builder()}
*
*
* @param searchContactFlowModulesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest.Builder} to create a
* request.
* @return Result of the SearchContactFlowModules 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.SearchContactFlowModules
* @see AWS API Documentation
*/
default SearchContactFlowModulesResponse searchContactFlowModules(
Consumer searchContactFlowModulesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchContactFlowModules(SearchContactFlowModulesRequest.builder().applyMutation(searchContactFlowModulesRequest)
.build());
}
/**
*
* This is a variant of
* {@link #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)}
* operation. The return type is a custom 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.SearchContactFlowModulesIterable responses = client.searchContactFlowModulesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesIterable responses = client
* .searchContactFlowModulesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesIterable responses = client.searchContactFlowModulesPaginator(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 #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)}
* operation.
*
*
* @param searchContactFlowModulesRequest
* @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.SearchContactFlowModules
* @see AWS API Documentation
*/
default SearchContactFlowModulesIterable searchContactFlowModulesPaginator(
SearchContactFlowModulesRequest searchContactFlowModulesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new SearchContactFlowModulesIterable(this, searchContactFlowModulesRequest);
}
/**
*
* This is a variant of
* {@link #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)}
* 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.SearchContactFlowModulesIterable responses = client.searchContactFlowModulesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesIterable responses = client
* .searchContactFlowModulesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesIterable responses = client.searchContactFlowModulesPaginator(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 #searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchContactFlowModulesRequest.Builder} avoiding
* the need to create one manually via {@link SearchContactFlowModulesRequest#builder()}
*
*
* @param searchContactFlowModulesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest.Builder} to create a
* request.
* @return A custom 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.SearchContactFlowModules
* @see AWS API Documentation
*/
default SearchContactFlowModulesIterable searchContactFlowModulesPaginator(
Consumer searchContactFlowModulesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchContactFlowModulesPaginator(SearchContactFlowModulesRequest.builder()
.applyMutation(searchContactFlowModulesRequest).build());
}
/**
*
* Searches the contact flows in an Amazon Connect instance, with optional filtering.
*
*
* @param searchContactFlowsRequest
* @return Result of the SearchContactFlows 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.SearchContactFlows
* @see AWS
* API Documentation
*/
default SearchContactFlowsResponse searchContactFlows(SearchContactFlowsRequest searchContactFlowsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches the contact flows in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchContactFlowsRequest.Builder} avoiding the
* need to create one manually via {@link SearchContactFlowsRequest#builder()}
*
*
* @param searchContactFlowsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest.Builder} to create a
* request.
* @return Result of the SearchContactFlows 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.SearchContactFlows
* @see AWS
* API Documentation
*/
default SearchContactFlowsResponse searchContactFlows(Consumer searchContactFlowsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return searchContactFlows(SearchContactFlowsRequest.builder().applyMutation(searchContactFlowsRequest).build());
}
/**
*
* This is a variant of
* {@link #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)} operation.
* The return type is a custom 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.SearchContactFlowsIterable responses = client.searchContactFlowsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowsIterable responses = client
* .searchContactFlowsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowsIterable responses = client.searchContactFlowsPaginator(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 #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)}
* operation.
*
*
* @param searchContactFlowsRequest
* @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.SearchContactFlows
* @see AWS
* API Documentation
*/
default SearchContactFlowsIterable searchContactFlowsPaginator(SearchContactFlowsRequest searchContactFlowsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return new SearchContactFlowsIterable(this, searchContactFlowsRequest);
}
/**
*
* This is a variant of
* {@link #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)} 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.SearchContactFlowsIterable responses = client.searchContactFlowsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowsIterable responses = client
* .searchContactFlowsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchContactFlowsIterable responses = client.searchContactFlowsPaginator(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 #searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchContactFlowsRequest.Builder} avoiding the
* need to create one manually via {@link SearchContactFlowsRequest#builder()}
*
*
* @param searchContactFlowsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest.Builder} to create a
* request.
* @return A custom 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.SearchContactFlows
* @see AWS
* API Documentation
*/
default SearchContactFlowsIterable searchContactFlowsPaginator(
Consumer searchContactFlowsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchContactFlowsPaginator(SearchContactFlowsRequest.builder().applyMutation(searchContactFlowsRequest).build());
}
/**
*
* Searches contacts in an Amazon Connect instance.
*
*
* @param searchContactsRequest
* @return Result of the SearchContacts 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.SearchContacts
* @see AWS API
* Documentation
*/
default SearchContactsResponse searchContacts(SearchContactsRequest searchContactsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, InternalServiceException, ThrottlingException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches contacts in an Amazon Connect instance.
*
*
*
* This is a convenience which creates an instance of the {@link SearchContactsRequest.Builder} avoiding the need to
* create one manually via {@link SearchContactsRequest#builder()}
*
*
* @param searchContactsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchContactsRequest.Builder} to create a request.
* @return Result of the SearchContacts 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.SearchContacts
* @see AWS API
* Documentation
*/
default SearchContactsResponse searchContacts(Consumer searchContactsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return searchContacts(SearchContactsRequest.builder().applyMutation(searchContactsRequest).build());
}
/**
*
* This is a variant of {@link #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)}
* operation. The return type is a custom 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.SearchContactsIterable responses = client.searchContactsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchContactsIterable responses = client.searchContactsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchContactsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchContactsIterable responses = client.searchContactsPaginator(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 #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)} operation.
*
*
* @param searchContactsRequest
* @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.SearchContacts
* @see AWS API
* Documentation
*/
default SearchContactsIterable searchContactsPaginator(SearchContactsRequest searchContactsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return new SearchContactsIterable(this, searchContactsRequest);
}
/**
*
* This is a variant of {@link #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)}
* 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.SearchContactsIterable responses = client.searchContactsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchContactsIterable responses = client.searchContactsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchContactsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchContactsIterable responses = client.searchContactsPaginator(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 #searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchContactsRequest.Builder} avoiding the need to
* create one manually via {@link SearchContactsRequest#builder()}
*
*
* @param searchContactsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchContactsRequest.Builder} to create a request.
* @return A custom 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.SearchContacts
* @see AWS API
* Documentation
*/
default SearchContactsIterable searchContactsPaginator(Consumer searchContactsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, InternalServiceException,
ThrottlingException, AwsServiceException, SdkClientException, ConnectException {
return searchContactsPaginator(SearchContactsRequest.builder().applyMutation(searchContactsRequest).build());
}
/**
*
* Searches the hours of operation in an Amazon Connect instance, with optional filtering.
*
*
* @param searchHoursOfOperationsRequest
* @return Result of the SearchHoursOfOperations 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.SearchHoursOfOperations
* @see AWS API Documentation
*/
default SearchHoursOfOperationsResponse searchHoursOfOperations(SearchHoursOfOperationsRequest searchHoursOfOperationsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches the hours of operation in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchHoursOfOperationsRequest.Builder} avoiding
* the need to create one manually via {@link SearchHoursOfOperationsRequest#builder()}
*
*
* @param searchHoursOfOperationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest.Builder} to create a
* request.
* @return Result of the SearchHoursOfOperations 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.SearchHoursOfOperations
* @see AWS API Documentation
*/
default SearchHoursOfOperationsResponse searchHoursOfOperations(
Consumer searchHoursOfOperationsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchHoursOfOperations(SearchHoursOfOperationsRequest.builder().applyMutation(searchHoursOfOperationsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)}
* operation. The return type is a custom 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.SearchHoursOfOperationsIterable responses = client.searchHoursOfOperationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsIterable responses = client
* .searchHoursOfOperationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsIterable responses = client.searchHoursOfOperationsPaginator(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 #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)}
* operation.
*
*
* @param searchHoursOfOperationsRequest
* @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.SearchHoursOfOperations
* @see AWS API Documentation
*/
default SearchHoursOfOperationsIterable searchHoursOfOperationsPaginator(
SearchHoursOfOperationsRequest searchHoursOfOperationsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new SearchHoursOfOperationsIterable(this, searchHoursOfOperationsRequest);
}
/**
*
* This is a variant of
* {@link #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)}
* 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.SearchHoursOfOperationsIterable responses = client.searchHoursOfOperationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsIterable responses = client
* .searchHoursOfOperationsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsIterable responses = client.searchHoursOfOperationsPaginator(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 #searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchHoursOfOperationsRequest.Builder} avoiding
* the need to create one manually via {@link SearchHoursOfOperationsRequest#builder()}
*
*
* @param searchHoursOfOperationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest.Builder} to create a
* request.
* @return A custom 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.SearchHoursOfOperations
* @see AWS API Documentation
*/
default SearchHoursOfOperationsIterable searchHoursOfOperationsPaginator(
Consumer searchHoursOfOperationsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchHoursOfOperationsPaginator(SearchHoursOfOperationsRequest.builder()
.applyMutation(searchHoursOfOperationsRequest).build());
}
/**
*
* Searches predefined attributes that meet certain criteria. Predefined attributes are attributes in an
* Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For
* more information, see Create predefined
* attributes for routing contacts to agents.
*
*
* @param searchPredefinedAttributesRequest
* @return Result of the SearchPredefinedAttributes 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.SearchPredefinedAttributes
* @see AWS API Documentation
*/
default SearchPredefinedAttributesResponse searchPredefinedAttributes(
SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches predefined attributes that meet certain criteria. Predefined attributes are attributes in an
* Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For
* more information, see Create predefined
* attributes for routing contacts to agents.
*
*
*
* This is a convenience which creates an instance of the {@link SearchPredefinedAttributesRequest.Builder} avoiding
* the need to create one manually via {@link SearchPredefinedAttributesRequest#builder()}
*
*
* @param searchPredefinedAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest.Builder} to create
* a request.
* @return Result of the SearchPredefinedAttributes 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.SearchPredefinedAttributes
* @see AWS API Documentation
*/
default SearchPredefinedAttributesResponse searchPredefinedAttributes(
Consumer searchPredefinedAttributesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return searchPredefinedAttributes(SearchPredefinedAttributesRequest.builder()
.applyMutation(searchPredefinedAttributesRequest).build());
}
/**
*
* This is a variant of
* {@link #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)}
* operation. The return type is a custom 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.SearchPredefinedAttributesIterable responses = client.searchPredefinedAttributesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesIterable responses = client
* .searchPredefinedAttributesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesIterable responses = client.searchPredefinedAttributesPaginator(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 #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)}
* operation.
*
*
* @param searchPredefinedAttributesRequest
* @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.SearchPredefinedAttributes
* @see AWS API Documentation
*/
default SearchPredefinedAttributesIterable searchPredefinedAttributesPaginator(
SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new SearchPredefinedAttributesIterable(this, searchPredefinedAttributesRequest);
}
/**
*
* This is a variant of
* {@link #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)}
* 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.SearchPredefinedAttributesIterable responses = client.searchPredefinedAttributesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesIterable responses = client
* .searchPredefinedAttributesPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesIterable responses = client.searchPredefinedAttributesPaginator(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 #searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchPredefinedAttributesRequest.Builder} avoiding
* the need to create one manually via {@link SearchPredefinedAttributesRequest#builder()}
*
*
* @param searchPredefinedAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest.Builder} to create
* a request.
* @return A custom 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.SearchPredefinedAttributes
* @see AWS API Documentation
*/
default SearchPredefinedAttributesIterable searchPredefinedAttributesPaginator(
Consumer searchPredefinedAttributesRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return searchPredefinedAttributesPaginator(SearchPredefinedAttributesRequest.builder()
.applyMutation(searchPredefinedAttributesRequest).build());
}
/**
*
* Searches prompts in an Amazon Connect instance, with optional filtering.
*
*
* @param searchPromptsRequest
* @return Result of the SearchPrompts 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.SearchPrompts
* @see AWS API
* Documentation
*/
default SearchPromptsResponse searchPrompts(SearchPromptsRequest searchPromptsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches prompts in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchPromptsRequest.Builder} avoiding the need to
* create one manually via {@link SearchPromptsRequest#builder()}
*
*
* @param searchPromptsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchPromptsRequest.Builder} to create a request.
* @return Result of the SearchPrompts 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.SearchPrompts
* @see AWS API
* Documentation
*/
default SearchPromptsResponse searchPrompts(Consumer searchPromptsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return searchPrompts(SearchPromptsRequest.builder().applyMutation(searchPromptsRequest).build());
}
/**
*
* This is a variant of {@link #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)}
* operation. The return type is a custom 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.SearchPromptsIterable responses = client.searchPromptsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchPromptsIterable responses = client.searchPromptsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchPromptsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchPromptsIterable responses = client.searchPromptsPaginator(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 #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)} operation.
*
*
* @param searchPromptsRequest
* @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.SearchPrompts
* @see AWS API
* Documentation
*/
default SearchPromptsIterable searchPromptsPaginator(SearchPromptsRequest searchPromptsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return new SearchPromptsIterable(this, searchPromptsRequest);
}
/**
*
* This is a variant of {@link #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)}
* 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.SearchPromptsIterable responses = client.searchPromptsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchPromptsIterable responses = client.searchPromptsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchPromptsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchPromptsIterable responses = client.searchPromptsPaginator(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 #searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchPromptsRequest.Builder} avoiding the need to
* create one manually via {@link SearchPromptsRequest#builder()}
*
*
* @param searchPromptsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchPromptsRequest.Builder} to create a request.
* @return A custom 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.SearchPrompts
* @see AWS API
* Documentation
*/
default SearchPromptsIterable searchPromptsPaginator(Consumer searchPromptsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return searchPromptsPaginator(SearchPromptsRequest.builder().applyMutation(searchPromptsRequest).build());
}
/**
*
* 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();
}
/**
*
* Searches queues in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchQueuesRequest.Builder} avoiding the need to
* create one manually via {@link SearchQueuesRequest#builder()}
*
*
* @param searchQueuesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchQueuesRequest.Builder} to create a request.
* @return 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 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 {
return new SearchQueuesIterable(this, searchQueuesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Searches quick connects in an Amazon Connect instance, with optional filtering.
*
*
* @param searchQuickConnectsRequest
* @return Result of the SearchQuickConnects 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.SearchQuickConnects
* @see AWS
* API Documentation
*/
default SearchQuickConnectsResponse searchQuickConnects(SearchQuickConnectsRequest searchQuickConnectsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches quick connects in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchQuickConnectsRequest.Builder} avoiding the
* need to create one manually via {@link SearchQuickConnectsRequest#builder()}
*
*
* @param searchQuickConnectsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest.Builder} to create a
* request.
* @return Result of the SearchQuickConnects 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.SearchQuickConnects
* @see AWS
* API Documentation
*/
default SearchQuickConnectsResponse searchQuickConnects(
Consumer searchQuickConnectsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchQuickConnects(SearchQuickConnectsRequest.builder().applyMutation(searchQuickConnectsRequest).build());
}
/**
*
* This is a variant of
* {@link #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)} operation.
* The return type is a custom 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.SearchQuickConnectsIterable responses = client.searchQuickConnectsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsIterable responses = client
* .searchQuickConnectsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsIterable responses = client.searchQuickConnectsPaginator(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 #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)}
* operation.
*
*
* @param searchQuickConnectsRequest
* @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.SearchQuickConnects
* @see AWS
* API Documentation
*/
default SearchQuickConnectsIterable searchQuickConnectsPaginator(SearchQuickConnectsRequest searchQuickConnectsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, AwsServiceException, SdkClientException, ConnectException {
return new SearchQuickConnectsIterable(this, searchQuickConnectsRequest);
}
/**
*
* This is a variant of
* {@link #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)} 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.SearchQuickConnectsIterable responses = client.searchQuickConnectsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsIterable responses = client
* .searchQuickConnectsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsIterable responses = client.searchQuickConnectsPaginator(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 #searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchQuickConnectsRequest.Builder} avoiding the
* need to create one manually via {@link SearchQuickConnectsRequest#builder()}
*
*
* @param searchQuickConnectsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest.Builder} to create a
* request.
* @return A custom 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.SearchQuickConnects
* @see AWS
* API Documentation
*/
default SearchQuickConnectsIterable searchQuickConnectsPaginator(
Consumer searchQuickConnectsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchQuickConnectsPaginator(SearchQuickConnectsRequest.builder().applyMutation(searchQuickConnectsRequest)
.build());
}
/**
*
* Searches tags used in an Amazon Connect instance using optional search criteria.
*
*
* @param searchResourceTagsRequest
* @return Result of the SearchResourceTags 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 MaximumResultReturnedException
* Maximum number (1000) of tags have been returned with current request. Consider changing request
* parameters to get more tags.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.SearchResourceTags
* @see AWS
* API Documentation
*/
default SearchResourceTagsResponse searchResourceTags(SearchResourceTagsRequest searchResourceTagsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, MaximumResultReturnedException, AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches tags used in an Amazon Connect instance using optional search criteria.
*
*
*
* This is a convenience which creates an instance of the {@link SearchResourceTagsRequest.Builder} avoiding the
* need to create one manually via {@link SearchResourceTagsRequest#builder()}
*
*
* @param searchResourceTagsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest.Builder} to create a
* request.
* @return Result of the SearchResourceTags 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 MaximumResultReturnedException
* Maximum number (1000) of tags have been returned with current request. Consider changing request
* parameters to get more tags.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.SearchResourceTags
* @see AWS
* API Documentation
*/
default SearchResourceTagsResponse searchResourceTags(Consumer searchResourceTagsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, MaximumResultReturnedException, AwsServiceException, SdkClientException, ConnectException {
return searchResourceTags(SearchResourceTagsRequest.builder().applyMutation(searchResourceTagsRequest).build());
}
/**
*
* This is a variant of
* {@link #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)} operation.
* The return type is a custom 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.SearchResourceTagsIterable responses = client.searchResourceTagsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchResourceTagsIterable responses = client
* .searchResourceTagsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchResourceTagsIterable responses = client.searchResourceTagsPaginator(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 #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)}
* operation.
*
*
* @param searchResourceTagsRequest
* @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 MaximumResultReturnedException
* Maximum number (1000) of tags have been returned with current request. Consider changing request
* parameters to get more tags.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.SearchResourceTags
* @see AWS
* API Documentation
*/
default SearchResourceTagsIterable searchResourceTagsPaginator(SearchResourceTagsRequest searchResourceTagsRequest)
throws InvalidRequestException, InvalidParameterException, ResourceNotFoundException, ThrottlingException,
InternalServiceException, MaximumResultReturnedException, AwsServiceException, SdkClientException, ConnectException {
return new SearchResourceTagsIterable(this, searchResourceTagsRequest);
}
/**
*
* This is a variant of
* {@link #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)} 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.SearchResourceTagsIterable responses = client.searchResourceTagsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchResourceTagsIterable responses = client
* .searchResourceTagsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchResourceTagsIterable responses = client.searchResourceTagsPaginator(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 #searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchResourceTagsRequest.Builder} avoiding the
* need to create one manually via {@link SearchResourceTagsRequest#builder()}
*
*
* @param searchResourceTagsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest.Builder} to create a
* request.
* @return A custom 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 MaximumResultReturnedException
* Maximum number (1000) of tags have been returned with current request. Consider changing request
* parameters to get more tags.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ConnectClient.SearchResourceTags
* @see AWS
* API Documentation
*/
default SearchResourceTagsIterable searchResourceTagsPaginator(
Consumer searchResourceTagsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
MaximumResultReturnedException, AwsServiceException, SdkClientException, ConnectException {
return searchResourceTagsPaginator(SearchResourceTagsRequest.builder().applyMutation(searchResourceTagsRequest).build());
}
/**
*
* 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();
}
/**
*
* Searches routing profiles in an Amazon Connect instance, with optional filtering.
*
*
*
* This is a convenience which creates an instance of the {@link SearchRoutingProfilesRequest.Builder} avoiding the
* need to create one manually via {@link SearchRoutingProfilesRequest#builder()}
*
*
* @param searchRoutingProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest.Builder} to create a
* request.
* @return 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 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 {
return new SearchRoutingProfilesIterable(this, searchRoutingProfilesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* Searches security profiles in an Amazon Connect instance, with optional filtering.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
* @param searchSecurityProfilesRequest
* @return 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();
}
/**
*
* Searches security profiles in an Amazon Connect instance, with optional filtering.
*
*
* For information about security profiles, see Security Profiles
* in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the
* security profile permissions, see List of security profile
* permissions.
*
*
*
* This is a convenience which creates an instance of the {@link SearchSecurityProfilesRequest.Builder} avoiding the
* need to create one manually via {@link SearchSecurityProfilesRequest#builder()}
*
*
* @param searchSecurityProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest.Builder} to create a
* request.
* @return 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 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 {
return new SearchSecurityProfilesIterable(this, searchSecurityProfilesRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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 UserHierarchyGroups in an Amazon Connect instance, with optional filtering.
*
*
*
* The UserHierarchyGroup with "LevelId": "0"
is the foundation for building levels on top of an
* instance. It is not user-definable, nor is it visible in the UI.
*
*
*
* @param searchUserHierarchyGroupsRequest
* @return Result of the SearchUserHierarchyGroups 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.SearchUserHierarchyGroups
* @see AWS API Documentation
*/
default SearchUserHierarchyGroupsResponse searchUserHierarchyGroups(
SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Searches UserHierarchyGroups in an Amazon Connect instance, with optional filtering.
*
*
*
* The UserHierarchyGroup with "LevelId": "0"
is the foundation for building levels on top of an
* instance. It is not user-definable, nor is it visible in the UI.
*
*
*
* This is a convenience which creates an instance of the {@link SearchUserHierarchyGroupsRequest.Builder} avoiding
* the need to create one manually via {@link SearchUserHierarchyGroupsRequest#builder()}
*
*
* @param searchUserHierarchyGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest.Builder} to create a
* request.
* @return Result of the SearchUserHierarchyGroups 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.SearchUserHierarchyGroups
* @see AWS API Documentation
*/
default SearchUserHierarchyGroupsResponse searchUserHierarchyGroups(
Consumer searchUserHierarchyGroupsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchUserHierarchyGroups(SearchUserHierarchyGroupsRequest.builder()
.applyMutation(searchUserHierarchyGroupsRequest).build());
}
/**
*
* This is a variant of
* {@link #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)}
* operation. The return type is a custom 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.SearchUserHierarchyGroupsIterable responses = client.searchUserHierarchyGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsIterable responses = client
* .searchUserHierarchyGroupsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsIterable responses = client.searchUserHierarchyGroupsPaginator(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 #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)}
* operation.
*
*
* @param searchUserHierarchyGroupsRequest
* @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.SearchUserHierarchyGroups
* @see AWS API Documentation
*/
default SearchUserHierarchyGroupsIterable searchUserHierarchyGroupsPaginator(
SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return new SearchUserHierarchyGroupsIterable(this, searchUserHierarchyGroupsRequest);
}
/**
*
* This is a variant of
* {@link #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)}
* 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.SearchUserHierarchyGroupsIterable responses = client.searchUserHierarchyGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsIterable responses = client
* .searchUserHierarchyGroupsPaginator(request);
* for (software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsIterable responses = client.searchUserHierarchyGroupsPaginator(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 #searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link SearchUserHierarchyGroupsRequest.Builder} avoiding
* the need to create one manually via {@link SearchUserHierarchyGroupsRequest#builder()}
*
*
* @param searchUserHierarchyGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest.Builder} to create a
* request.
* @return A custom 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.SearchUserHierarchyGroups
* @see AWS API Documentation
*/
default SearchUserHierarchyGroupsIterable searchUserHierarchyGroupsPaginator(
Consumer searchUserHierarchyGroupsRequest) throws InvalidRequestException,
InvalidParameterException, ResourceNotFoundException, ThrottlingException, InternalServiceException,
AwsServiceException, SdkClientException, ConnectException {
return searchUserHierarchyGroupsPaginator(SearchUserHierarchyGroupsRequest.builder()
.applyMutation(searchUserHierarchyGroupsRequest).build());
}
/**
*
* Searches users in an Amazon Connect instance, with optional filtering.
*
*
*
* AfterContactWorkTimeLimit
is returned in milliseconds.
*
*
*
* @param searchUsersRequest
* @return 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 software.amazon.awssdk.services.connect.model.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());
}
/**
*
* 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 {
return new SearchUsersIterable(this, searchUsersRequest);
}
/**
*
* 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 software.amazon.awssdk.services.connect.model.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