Interface ConnectAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionactivateEvaluationForm(Consumer<ActivateEvaluationFormRequest.Builder> activateEvaluationFormRequest) Activates an evaluation form in the specified Amazon Connect instance.activateEvaluationForm(ActivateEvaluationFormRequest activateEvaluationFormRequest) Activates an evaluation form in the specified Amazon Connect instance.associateAnalyticsDataSet(Consumer<AssociateAnalyticsDataSetRequest.Builder> associateAnalyticsDataSetRequest) Associates the specified dataset for a Amazon Connect instance with the target account.associateAnalyticsDataSet(AssociateAnalyticsDataSetRequest associateAnalyticsDataSetRequest) Associates the specified dataset for a Amazon Connect instance with the target account.associateApprovedOrigin(Consumer<AssociateApprovedOriginRequest.Builder> associateApprovedOriginRequest) This API is in preview release for Amazon Connect and is subject to change.associateApprovedOrigin(AssociateApprovedOriginRequest associateApprovedOriginRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<AssociateBotResponse> associateBot(Consumer<AssociateBotRequest.Builder> associateBotRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<AssociateBotResponse> associateBot(AssociateBotRequest associateBotRequest) This API is in preview release for Amazon Connect and is subject to change.associateDefaultVocabulary(Consumer<AssociateDefaultVocabularyRequest.Builder> associateDefaultVocabularyRequest) Associates an existing vocabulary as the default.associateDefaultVocabulary(AssociateDefaultVocabularyRequest associateDefaultVocabularyRequest) Associates an existing vocabulary as the default.default CompletableFuture<AssociateFlowResponse> associateFlow(Consumer<AssociateFlowRequest.Builder> associateFlowRequest) Associates a connect resource to a flow.default CompletableFuture<AssociateFlowResponse> associateFlow(AssociateFlowRequest associateFlowRequest) Associates a connect resource to a flow.associateInstanceStorageConfig(Consumer<AssociateInstanceStorageConfigRequest.Builder> associateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.associateInstanceStorageConfig(AssociateInstanceStorageConfigRequest associateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.associateLambdaFunction(Consumer<AssociateLambdaFunctionRequest.Builder> associateLambdaFunctionRequest) This API is in preview release for Amazon Connect and is subject to change.associateLambdaFunction(AssociateLambdaFunctionRequest associateLambdaFunctionRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<AssociateLexBotResponse> associateLexBot(Consumer<AssociateLexBotRequest.Builder> associateLexBotRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<AssociateLexBotResponse> associateLexBot(AssociateLexBotRequest associateLexBotRequest) This API is in preview release for Amazon Connect and is subject to change.associatePhoneNumberContactFlow(Consumer<AssociatePhoneNumberContactFlowRequest.Builder> associatePhoneNumberContactFlowRequest) Associates a flow with a phone number claimed to your Amazon Connect instance.associatePhoneNumberContactFlow(AssociatePhoneNumberContactFlowRequest associatePhoneNumberContactFlowRequest) Associates a flow with a phone number claimed to your Amazon Connect instance.associateQueueQuickConnects(Consumer<AssociateQueueQuickConnectsRequest.Builder> associateQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.associateQueueQuickConnects(AssociateQueueQuickConnectsRequest associateQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.associateRoutingProfileQueues(Consumer<AssociateRoutingProfileQueuesRequest.Builder> associateRoutingProfileQueuesRequest) Associates a set of queues with a routing profile.associateRoutingProfileQueues(AssociateRoutingProfileQueuesRequest associateRoutingProfileQueuesRequest) Associates a set of queues with a routing profile.associateSecurityKey(Consumer<AssociateSecurityKeyRequest.Builder> associateSecurityKeyRequest) This API is in preview release for Amazon Connect and is subject to change.associateSecurityKey(AssociateSecurityKeyRequest associateSecurityKeyRequest) This API is in preview release for Amazon Connect and is subject to change.associateTrafficDistributionGroupUser(Consumer<AssociateTrafficDistributionGroupUserRequest.Builder> associateTrafficDistributionGroupUserRequest) Associates an agent with a traffic distribution group.associateTrafficDistributionGroupUser(AssociateTrafficDistributionGroupUserRequest associateTrafficDistributionGroupUserRequest) Associates an agent with a traffic distribution group.associateUserProficiencies(Consumer<AssociateUserProficienciesRequest.Builder> associateUserProficienciesRequest) >Associates a set of proficiencies with a user.associateUserProficiencies(AssociateUserProficienciesRequest associateUserProficienciesRequest) >Associates a set of proficiencies with a user.batchAssociateAnalyticsDataSet(Consumer<BatchAssociateAnalyticsDataSetRequest.Builder> batchAssociateAnalyticsDataSetRequest) Associates a list of analytics datasets for a given Amazon Connect instance to a target account.batchAssociateAnalyticsDataSet(BatchAssociateAnalyticsDataSetRequest batchAssociateAnalyticsDataSetRequest) Associates a list of analytics datasets for a given Amazon Connect instance to a target account.batchDisassociateAnalyticsDataSet(Consumer<BatchDisassociateAnalyticsDataSetRequest.Builder> batchDisassociateAnalyticsDataSetRequest) Removes a list of analytics datasets associated with a given Amazon Connect instance.batchDisassociateAnalyticsDataSet(BatchDisassociateAnalyticsDataSetRequest batchDisassociateAnalyticsDataSetRequest) Removes a list of analytics datasets associated with a given Amazon Connect instance.batchGetAttachedFileMetadata(Consumer<BatchGetAttachedFileMetadataRequest.Builder> batchGetAttachedFileMetadataRequest) Allows you to retrieve metadata about multiple attached files on an associated resource.batchGetAttachedFileMetadata(BatchGetAttachedFileMetadataRequest batchGetAttachedFileMetadataRequest) Allows you to retrieve metadata about multiple attached files on an associated resource.batchGetFlowAssociation(Consumer<BatchGetFlowAssociationRequest.Builder> batchGetFlowAssociationRequest) Retrieve the flow associations for the given resources.batchGetFlowAssociation(BatchGetFlowAssociationRequest batchGetFlowAssociationRequest) Retrieve the flow associations for the given resources.default CompletableFuture<BatchPutContactResponse> batchPutContact(Consumer<BatchPutContactRequest.Builder> batchPutContactRequest) default CompletableFuture<BatchPutContactResponse> batchPutContact(BatchPutContactRequest batchPutContactRequest) static ConnectAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aConnectAsyncClient.claimPhoneNumber(Consumer<ClaimPhoneNumberRequest.Builder> claimPhoneNumberRequest) Claims an available phone number to your Amazon Connect instance or traffic distribution group.claimPhoneNumber(ClaimPhoneNumberRequest claimPhoneNumberRequest) Claims an available phone number to your Amazon Connect instance or traffic distribution group.completeAttachedFileUpload(Consumer<CompleteAttachedFileUploadRequest.Builder> completeAttachedFileUploadRequest) Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.completeAttachedFileUpload(CompleteAttachedFileUploadRequest completeAttachedFileUploadRequest) Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.static ConnectAsyncClientcreate()Create aConnectAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createAgentStatus(Consumer<CreateAgentStatusRequest.Builder> createAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.createAgentStatus(CreateAgentStatusRequest createAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.createContactFlow(Consumer<CreateContactFlowRequest.Builder> createContactFlowRequest) Creates a flow for the specified Amazon Connect instance.createContactFlow(CreateContactFlowRequest createContactFlowRequest) Creates a flow for the specified Amazon Connect instance.createContactFlowModule(Consumer<CreateContactFlowModuleRequest.Builder> createContactFlowModuleRequest) Creates a flow module for the specified Amazon Connect instance.createContactFlowModule(CreateContactFlowModuleRequest createContactFlowModuleRequest) Creates a flow module for the specified Amazon Connect instance.createEvaluationForm(Consumer<CreateEvaluationFormRequest.Builder> createEvaluationFormRequest) Creates an evaluation form in the specified Amazon Connect instance.createEvaluationForm(CreateEvaluationFormRequest createEvaluationFormRequest) Creates an evaluation form in the specified Amazon Connect instance.createHoursOfOperation(Consumer<CreateHoursOfOperationRequest.Builder> createHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.createHoursOfOperation(CreateHoursOfOperationRequest createHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<CreateInstanceResponse> createInstance(Consumer<CreateInstanceRequest.Builder> createInstanceRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<CreateInstanceResponse> createInstance(CreateInstanceRequest createInstanceRequest) This API is in preview release for Amazon Connect and is subject to change.createIntegrationAssociation(Consumer<CreateIntegrationAssociationRequest.Builder> createIntegrationAssociationRequest) Creates an Amazon Web Services resource association with an Amazon Connect instance.createIntegrationAssociation(CreateIntegrationAssociationRequest createIntegrationAssociationRequest) Creates an Amazon Web Services resource association with an Amazon Connect instance.createParticipant(Consumer<CreateParticipantRequest.Builder> createParticipantRequest) Adds a new participant into an on-going chat contact.createParticipant(CreateParticipantRequest createParticipantRequest) Adds a new participant into an on-going chat contact.createPersistentContactAssociation(Consumer<CreatePersistentContactAssociationRequest.Builder> createPersistentContactAssociationRequest) Enables rehydration of chats for the lifespan of a contact.createPersistentContactAssociation(CreatePersistentContactAssociationRequest createPersistentContactAssociationRequest) Enables rehydration of chats for the lifespan of a contact.createPredefinedAttribute(Consumer<CreatePredefinedAttributeRequest.Builder> createPredefinedAttributeRequest) Creates a new predefined attribute for the specified Amazon Connect instance.createPredefinedAttribute(CreatePredefinedAttributeRequest createPredefinedAttributeRequest) Creates a new predefined attribute for the specified Amazon Connect instance.default CompletableFuture<CreatePromptResponse> createPrompt(Consumer<CreatePromptRequest.Builder> createPromptRequest) Creates a prompt.default CompletableFuture<CreatePromptResponse> createPrompt(CreatePromptRequest createPromptRequest) Creates a prompt.default CompletableFuture<CreateQueueResponse> createQueue(Consumer<CreateQueueRequest.Builder> createQueueRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<CreateQueueResponse> createQueue(CreateQueueRequest createQueueRequest) This API is in preview release for Amazon Connect and is subject to change.createQuickConnect(Consumer<CreateQuickConnectRequest.Builder> createQuickConnectRequest) Creates a quick connect for the specified Amazon Connect instance.createQuickConnect(CreateQuickConnectRequest createQuickConnectRequest) Creates a quick connect for the specified Amazon Connect instance.createRoutingProfile(Consumer<CreateRoutingProfileRequest.Builder> createRoutingProfileRequest) Creates a new routing profile.createRoutingProfile(CreateRoutingProfileRequest createRoutingProfileRequest) Creates a new routing profile.default CompletableFuture<CreateRuleResponse> createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest) Creates a rule for the specified Amazon Connect instance.default CompletableFuture<CreateRuleResponse> createRule(CreateRuleRequest createRuleRequest) Creates a rule for the specified Amazon Connect instance.createSecurityProfile(Consumer<CreateSecurityProfileRequest.Builder> createSecurityProfileRequest) Creates a security profile.createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest) Creates a security profile.createTaskTemplate(Consumer<CreateTaskTemplateRequest.Builder> createTaskTemplateRequest) Creates a new task template in the specified Amazon Connect instance.createTaskTemplate(CreateTaskTemplateRequest createTaskTemplateRequest) Creates a new task template in the specified Amazon Connect instance.createTrafficDistributionGroup(Consumer<CreateTrafficDistributionGroupRequest.Builder> createTrafficDistributionGroupRequest) Creates a traffic distribution group given an Amazon Connect instance that has been replicated.createTrafficDistributionGroup(CreateTrafficDistributionGroupRequest createTrafficDistributionGroupRequest) Creates a traffic distribution group given an Amazon Connect instance that has been replicated.default CompletableFuture<CreateUseCaseResponse> createUseCase(Consumer<CreateUseCaseRequest.Builder> createUseCaseRequest) Creates a use case for an integration association.default CompletableFuture<CreateUseCaseResponse> createUseCase(CreateUseCaseRequest createUseCaseRequest) Creates a use case for an integration association.default CompletableFuture<CreateUserResponse> createUser(Consumer<CreateUserRequest.Builder> createUserRequest) Creates a user account for the specified Amazon Connect instance.default CompletableFuture<CreateUserResponse> createUser(CreateUserRequest createUserRequest) Creates a user account for the specified Amazon Connect instance.createUserHierarchyGroup(Consumer<CreateUserHierarchyGroupRequest.Builder> createUserHierarchyGroupRequest) Creates a new user hierarchy group.createUserHierarchyGroup(CreateUserHierarchyGroupRequest createUserHierarchyGroupRequest) Creates a new user hierarchy group.default CompletableFuture<CreateViewResponse> createView(Consumer<CreateViewRequest.Builder> createViewRequest) Creates a new view with the possible status ofSAVEDorPUBLISHED.default CompletableFuture<CreateViewResponse> createView(CreateViewRequest createViewRequest) Creates a new view with the possible status ofSAVEDorPUBLISHED.createViewVersion(Consumer<CreateViewVersionRequest.Builder> createViewVersionRequest) Publishes a new version of the view identifier.createViewVersion(CreateViewVersionRequest createViewVersionRequest) Publishes a new version of the view identifier.createVocabulary(Consumer<CreateVocabularyRequest.Builder> createVocabularyRequest) Creates a custom vocabulary associated with your Amazon Connect instance.createVocabulary(CreateVocabularyRequest createVocabularyRequest) Creates a custom vocabulary associated with your Amazon Connect instance.deactivateEvaluationForm(Consumer<DeactivateEvaluationFormRequest.Builder> deactivateEvaluationFormRequest) Deactivates an evaluation form in the specified Amazon Connect instance.deactivateEvaluationForm(DeactivateEvaluationFormRequest deactivateEvaluationFormRequest) Deactivates an evaluation form in the specified Amazon Connect instance.deleteAttachedFile(Consumer<DeleteAttachedFileRequest.Builder> deleteAttachedFileRequest) Deletes an attached file along with the underlying S3 Object.deleteAttachedFile(DeleteAttachedFileRequest deleteAttachedFileRequest) Deletes an attached file along with the underlying S3 Object.deleteContactEvaluation(Consumer<DeleteContactEvaluationRequest.Builder> deleteContactEvaluationRequest) Deletes a contact evaluation in the specified Amazon Connect instance.deleteContactEvaluation(DeleteContactEvaluationRequest deleteContactEvaluationRequest) Deletes a contact evaluation in the specified Amazon Connect instance.deleteContactFlow(Consumer<DeleteContactFlowRequest.Builder> deleteContactFlowRequest) Deletes a flow for the specified Amazon Connect instance.deleteContactFlow(DeleteContactFlowRequest deleteContactFlowRequest) Deletes a flow for the specified Amazon Connect instance.deleteContactFlowModule(Consumer<DeleteContactFlowModuleRequest.Builder> deleteContactFlowModuleRequest) Deletes the specified flow module.deleteContactFlowModule(DeleteContactFlowModuleRequest deleteContactFlowModuleRequest) Deletes the specified flow module.deleteEvaluationForm(Consumer<DeleteEvaluationFormRequest.Builder> deleteEvaluationFormRequest) Deletes an evaluation form in the specified Amazon Connect instance.deleteEvaluationForm(DeleteEvaluationFormRequest deleteEvaluationFormRequest) Deletes an evaluation form in the specified Amazon Connect instance.deleteHoursOfOperation(Consumer<DeleteHoursOfOperationRequest.Builder> deleteHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.deleteHoursOfOperation(DeleteHoursOfOperationRequest deleteHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<DeleteInstanceResponse> deleteInstance(Consumer<DeleteInstanceRequest.Builder> deleteInstanceRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<DeleteInstanceResponse> deleteInstance(DeleteInstanceRequest deleteInstanceRequest) This API is in preview release for Amazon Connect and is subject to change.deleteIntegrationAssociation(Consumer<DeleteIntegrationAssociationRequest.Builder> deleteIntegrationAssociationRequest) Deletes an Amazon Web Services resource association from an Amazon Connect instance.deleteIntegrationAssociation(DeleteIntegrationAssociationRequest deleteIntegrationAssociationRequest) Deletes an Amazon Web Services resource association from an Amazon Connect instance.deletePredefinedAttribute(Consumer<DeletePredefinedAttributeRequest.Builder> deletePredefinedAttributeRequest) Deletes a predefined attribute from the specified Amazon Connect instance.deletePredefinedAttribute(DeletePredefinedAttributeRequest deletePredefinedAttributeRequest) Deletes a predefined attribute from the specified Amazon Connect instance.default CompletableFuture<DeletePromptResponse> deletePrompt(Consumer<DeletePromptRequest.Builder> deletePromptRequest) Deletes a prompt.default CompletableFuture<DeletePromptResponse> deletePrompt(DeletePromptRequest deletePromptRequest) Deletes a prompt.default CompletableFuture<DeleteQueueResponse> deleteQueue(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest) Deletes a queue.default CompletableFuture<DeleteQueueResponse> deleteQueue(DeleteQueueRequest deleteQueueRequest) Deletes a queue.deleteQuickConnect(Consumer<DeleteQuickConnectRequest.Builder> deleteQuickConnectRequest) Deletes a quick connect.deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectRequest) Deletes a quick connect.deleteRoutingProfile(Consumer<DeleteRoutingProfileRequest.Builder> deleteRoutingProfileRequest) Deletes a routing profile.deleteRoutingProfile(DeleteRoutingProfileRequest deleteRoutingProfileRequest) Deletes a routing profile.default CompletableFuture<DeleteRuleResponse> deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) Deletes a rule for the specified Amazon Connect instance.default CompletableFuture<DeleteRuleResponse> deleteRule(DeleteRuleRequest deleteRuleRequest) Deletes a rule for the specified Amazon Connect instance.deleteSecurityProfile(Consumer<DeleteSecurityProfileRequest.Builder> deleteSecurityProfileRequest) Deletes a security profile.deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest) Deletes a security profile.deleteTaskTemplate(Consumer<DeleteTaskTemplateRequest.Builder> deleteTaskTemplateRequest) Deletes the task template.deleteTaskTemplate(DeleteTaskTemplateRequest deleteTaskTemplateRequest) Deletes the task template.deleteTrafficDistributionGroup(Consumer<DeleteTrafficDistributionGroupRequest.Builder> deleteTrafficDistributionGroupRequest) Deletes a traffic distribution group.deleteTrafficDistributionGroup(DeleteTrafficDistributionGroupRequest deleteTrafficDistributionGroupRequest) Deletes a traffic distribution group.default CompletableFuture<DeleteUseCaseResponse> deleteUseCase(Consumer<DeleteUseCaseRequest.Builder> deleteUseCaseRequest) Deletes a use case from an integration association.default CompletableFuture<DeleteUseCaseResponse> deleteUseCase(DeleteUseCaseRequest deleteUseCaseRequest) Deletes a use case from an integration association.default CompletableFuture<DeleteUserResponse> deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) Deletes a user account from the specified Amazon Connect instance.default CompletableFuture<DeleteUserResponse> deleteUser(DeleteUserRequest deleteUserRequest) Deletes a user account from the specified Amazon Connect instance.deleteUserHierarchyGroup(Consumer<DeleteUserHierarchyGroupRequest.Builder> deleteUserHierarchyGroupRequest) Deletes an existing user hierarchy group.deleteUserHierarchyGroup(DeleteUserHierarchyGroupRequest deleteUserHierarchyGroupRequest) Deletes an existing user hierarchy group.default CompletableFuture<DeleteViewResponse> deleteView(Consumer<DeleteViewRequest.Builder> deleteViewRequest) Deletes the view entirely.default CompletableFuture<DeleteViewResponse> deleteView(DeleteViewRequest deleteViewRequest) Deletes the view entirely.deleteViewVersion(Consumer<DeleteViewVersionRequest.Builder> deleteViewVersionRequest) Deletes the particular version specified inViewVersionidentifier.deleteViewVersion(DeleteViewVersionRequest deleteViewVersionRequest) Deletes the particular version specified inViewVersionidentifier.deleteVocabulary(Consumer<DeleteVocabularyRequest.Builder> deleteVocabularyRequest) Deletes the vocabulary that has the given identifier.deleteVocabulary(DeleteVocabularyRequest deleteVocabularyRequest) Deletes the vocabulary that has the given identifier.describeAgentStatus(Consumer<DescribeAgentStatusRequest.Builder> describeAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.describeAgentStatus(DescribeAgentStatusRequest describeAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.describeAuthenticationProfile(Consumer<DescribeAuthenticationProfileRequest.Builder> describeAuthenticationProfileRequest) This API is in preview release for Amazon Connect and is subject to change.describeAuthenticationProfile(DescribeAuthenticationProfileRequest describeAuthenticationProfileRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<DescribeContactResponse> describeContact(Consumer<DescribeContactRequest.Builder> describeContactRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<DescribeContactResponse> describeContact(DescribeContactRequest describeContactRequest) This API is in preview release for Amazon Connect and is subject to change.describeContactEvaluation(Consumer<DescribeContactEvaluationRequest.Builder> describeContactEvaluationRequest) Describes a contact evaluation in the specified Amazon Connect instance.describeContactEvaluation(DescribeContactEvaluationRequest describeContactEvaluationRequest) Describes a contact evaluation in the specified Amazon Connect instance.describeContactFlow(Consumer<DescribeContactFlowRequest.Builder> describeContactFlowRequest) Describes the specified flow.describeContactFlow(DescribeContactFlowRequest describeContactFlowRequest) Describes the specified flow.describeContactFlowModule(Consumer<DescribeContactFlowModuleRequest.Builder> describeContactFlowModuleRequest) Describes the specified flow module.describeContactFlowModule(DescribeContactFlowModuleRequest describeContactFlowModuleRequest) Describes the specified flow module.describeEvaluationForm(Consumer<DescribeEvaluationFormRequest.Builder> describeEvaluationFormRequest) Describes an evaluation form in the specified Amazon Connect instance.describeEvaluationForm(DescribeEvaluationFormRequest describeEvaluationFormRequest) Describes an evaluation form in the specified Amazon Connect instance.describeHoursOfOperation(Consumer<DescribeHoursOfOperationRequest.Builder> describeHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.describeHoursOfOperation(DescribeHoursOfOperationRequest describeHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.describeInstance(Consumer<DescribeInstanceRequest.Builder> describeInstanceRequest) This API is in preview release for Amazon Connect and is subject to change.describeInstance(DescribeInstanceRequest describeInstanceRequest) This API is in preview release for Amazon Connect and is subject to change.describeInstanceAttribute(Consumer<DescribeInstanceAttributeRequest.Builder> describeInstanceAttributeRequest) This API is in preview release for Amazon Connect and is subject to change.describeInstanceAttribute(DescribeInstanceAttributeRequest describeInstanceAttributeRequest) This API is in preview release for Amazon Connect and is subject to change.describeInstanceStorageConfig(Consumer<DescribeInstanceStorageConfigRequest.Builder> describeInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.describeInstanceStorageConfig(DescribeInstanceStorageConfigRequest describeInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.describePhoneNumber(Consumer<DescribePhoneNumberRequest.Builder> describePhoneNumberRequest) Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group.describePhoneNumber(DescribePhoneNumberRequest describePhoneNumberRequest) Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group.describePredefinedAttribute(Consumer<DescribePredefinedAttributeRequest.Builder> describePredefinedAttributeRequest) Describes a predefined attribute for the specified Amazon Connect instance.describePredefinedAttribute(DescribePredefinedAttributeRequest describePredefinedAttributeRequest) Describes a predefined attribute for the specified Amazon Connect instance.default CompletableFuture<DescribePromptResponse> describePrompt(Consumer<DescribePromptRequest.Builder> describePromptRequest) Describes the prompt.default CompletableFuture<DescribePromptResponse> describePrompt(DescribePromptRequest describePromptRequest) Describes the prompt.default CompletableFuture<DescribeQueueResponse> describeQueue(Consumer<DescribeQueueRequest.Builder> describeQueueRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<DescribeQueueResponse> describeQueue(DescribeQueueRequest describeQueueRequest) This API is in preview release for Amazon Connect and is subject to change.describeQuickConnect(Consumer<DescribeQuickConnectRequest.Builder> describeQuickConnectRequest) Describes the quick connect.describeQuickConnect(DescribeQuickConnectRequest describeQuickConnectRequest) Describes the quick connect.describeRoutingProfile(Consumer<DescribeRoutingProfileRequest.Builder> describeRoutingProfileRequest) Describes the specified routing profile.describeRoutingProfile(DescribeRoutingProfileRequest describeRoutingProfileRequest) Describes the specified routing profile.default CompletableFuture<DescribeRuleResponse> describeRule(Consumer<DescribeRuleRequest.Builder> describeRuleRequest) Describes a rule for the specified Amazon Connect instance.default CompletableFuture<DescribeRuleResponse> describeRule(DescribeRuleRequest describeRuleRequest) Describes a rule for the specified Amazon Connect instance.describeSecurityProfile(Consumer<DescribeSecurityProfileRequest.Builder> describeSecurityProfileRequest) Gets basic information about the security profile.describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest) Gets basic information about the security profile.describeTrafficDistributionGroup(Consumer<DescribeTrafficDistributionGroupRequest.Builder> describeTrafficDistributionGroupRequest) Gets details and status of a traffic distribution group.describeTrafficDistributionGroup(DescribeTrafficDistributionGroupRequest describeTrafficDistributionGroupRequest) Gets details and status of a traffic distribution group.default CompletableFuture<DescribeUserResponse> describeUser(Consumer<DescribeUserRequest.Builder> describeUserRequest) Describes the specified user.default CompletableFuture<DescribeUserResponse> describeUser(DescribeUserRequest describeUserRequest) Describes the specified user.describeUserHierarchyGroup(Consumer<DescribeUserHierarchyGroupRequest.Builder> describeUserHierarchyGroupRequest) Describes the specified hierarchy group.describeUserHierarchyGroup(DescribeUserHierarchyGroupRequest describeUserHierarchyGroupRequest) Describes the specified hierarchy group.describeUserHierarchyStructure(Consumer<DescribeUserHierarchyStructureRequest.Builder> describeUserHierarchyStructureRequest) Describes the hierarchy structure of the specified Amazon Connect instance.describeUserHierarchyStructure(DescribeUserHierarchyStructureRequest describeUserHierarchyStructureRequest) Describes the hierarchy structure of the specified Amazon Connect instance.default CompletableFuture<DescribeViewResponse> describeView(Consumer<DescribeViewRequest.Builder> describeViewRequest) Retrieves the view for the specified Amazon Connect instance and view identifier.default CompletableFuture<DescribeViewResponse> describeView(DescribeViewRequest describeViewRequest) Retrieves the view for the specified Amazon Connect instance and view identifier.describeVocabulary(Consumer<DescribeVocabularyRequest.Builder> describeVocabularyRequest) Describes the specified vocabulary.describeVocabulary(DescribeVocabularyRequest describeVocabularyRequest) Describes the specified vocabulary.disassociateAnalyticsDataSet(Consumer<DisassociateAnalyticsDataSetRequest.Builder> disassociateAnalyticsDataSetRequest) Removes the dataset ID associated with a given Amazon Connect instance.disassociateAnalyticsDataSet(DisassociateAnalyticsDataSetRequest disassociateAnalyticsDataSetRequest) Removes the dataset ID associated with a given Amazon Connect instance.disassociateApprovedOrigin(Consumer<DisassociateApprovedOriginRequest.Builder> disassociateApprovedOriginRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateApprovedOrigin(DisassociateApprovedOriginRequest disassociateApprovedOriginRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<DisassociateBotResponse> disassociateBot(Consumer<DisassociateBotRequest.Builder> disassociateBotRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<DisassociateBotResponse> disassociateBot(DisassociateBotRequest disassociateBotRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateFlow(Consumer<DisassociateFlowRequest.Builder> disassociateFlowRequest) Disassociates a connect resource from a flow.disassociateFlow(DisassociateFlowRequest disassociateFlowRequest) Disassociates a connect resource from a flow.disassociateInstanceStorageConfig(Consumer<DisassociateInstanceStorageConfigRequest.Builder> disassociateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateInstanceStorageConfig(DisassociateInstanceStorageConfigRequest disassociateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateLambdaFunction(Consumer<DisassociateLambdaFunctionRequest.Builder> disassociateLambdaFunctionRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateLambdaFunction(DisassociateLambdaFunctionRequest disassociateLambdaFunctionRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateLexBot(Consumer<DisassociateLexBotRequest.Builder> disassociateLexBotRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateLexBot(DisassociateLexBotRequest disassociateLexBotRequest) This API is in preview release for Amazon Connect and is subject to change.disassociatePhoneNumberContactFlow(Consumer<DisassociatePhoneNumberContactFlowRequest.Builder> disassociatePhoneNumberContactFlowRequest) Removes the flow association from a phone number claimed to your Amazon Connect instance.disassociatePhoneNumberContactFlow(DisassociatePhoneNumberContactFlowRequest disassociatePhoneNumberContactFlowRequest) Removes the flow association from a phone number claimed to your Amazon Connect instance.disassociateQueueQuickConnects(Consumer<DisassociateQueueQuickConnectsRequest.Builder> disassociateQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateQueueQuickConnects(DisassociateQueueQuickConnectsRequest disassociateQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateRoutingProfileQueues(Consumer<DisassociateRoutingProfileQueuesRequest.Builder> disassociateRoutingProfileQueuesRequest) Disassociates a set of queues from a routing profile.disassociateRoutingProfileQueues(DisassociateRoutingProfileQueuesRequest disassociateRoutingProfileQueuesRequest) Disassociates a set of queues from a routing profile.disassociateSecurityKey(Consumer<DisassociateSecurityKeyRequest.Builder> disassociateSecurityKeyRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateSecurityKey(DisassociateSecurityKeyRequest disassociateSecurityKeyRequest) This API is in preview release for Amazon Connect and is subject to change.disassociateTrafficDistributionGroupUser(Consumer<DisassociateTrafficDistributionGroupUserRequest.Builder> disassociateTrafficDistributionGroupUserRequest) Disassociates an agent from a traffic distribution group.disassociateTrafficDistributionGroupUser(DisassociateTrafficDistributionGroupUserRequest disassociateTrafficDistributionGroupUserRequest) Disassociates an agent from a traffic distribution group.disassociateUserProficiencies(Consumer<DisassociateUserProficienciesRequest.Builder> disassociateUserProficienciesRequest) Disassociates a set of proficiencies from a user.disassociateUserProficiencies(DisassociateUserProficienciesRequest disassociateUserProficienciesRequest) Disassociates a set of proficiencies from a user.dismissUserContact(Consumer<DismissUserContactRequest.Builder> dismissUserContactRequest) 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.dismissUserContact(DismissUserContactRequest dismissUserContactRequest) 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.default CompletableFuture<GetAttachedFileResponse> getAttachedFile(Consumer<GetAttachedFileRequest.Builder> getAttachedFileRequest) Provides a pre-signed URL for download of an approved attached file.default CompletableFuture<GetAttachedFileResponse> getAttachedFile(GetAttachedFileRequest getAttachedFileRequest) Provides a pre-signed URL for download of an approved attached file.getContactAttributes(Consumer<GetContactAttributesRequest.Builder> getContactAttributesRequest) Retrieves the contact attributes for the specified contact.getContactAttributes(GetContactAttributesRequest getContactAttributesRequest) Retrieves the contact attributes for the specified contact.getCurrentMetricData(Consumer<GetCurrentMetricDataRequest.Builder> getCurrentMetricDataRequest) Gets the real-time metric data from the specified Amazon Connect instance.getCurrentMetricData(GetCurrentMetricDataRequest getCurrentMetricDataRequest) Gets the real-time metric data from the specified Amazon Connect instance.default GetCurrentMetricDataPublishergetCurrentMetricDataPaginator(Consumer<GetCurrentMetricDataRequest.Builder> getCurrentMetricDataRequest) This is a variant ofgetCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)operation.default GetCurrentMetricDataPublishergetCurrentMetricDataPaginator(GetCurrentMetricDataRequest getCurrentMetricDataRequest) This is a variant ofgetCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)operation.getCurrentUserData(Consumer<GetCurrentUserDataRequest.Builder> getCurrentUserDataRequest) Gets the real-time active user data from the specified Amazon Connect instance.getCurrentUserData(GetCurrentUserDataRequest getCurrentUserDataRequest) Gets the real-time active user data from the specified Amazon Connect instance.default GetCurrentUserDataPublishergetCurrentUserDataPaginator(Consumer<GetCurrentUserDataRequest.Builder> getCurrentUserDataRequest) This is a variant ofgetCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)operation.default GetCurrentUserDataPublishergetCurrentUserDataPaginator(GetCurrentUserDataRequest getCurrentUserDataRequest) This is a variant ofgetCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)operation.getFederationToken(Consumer<GetFederationTokenRequest.Builder> getFederationTokenRequest) Supports SAML sign-in for Amazon Connect.getFederationToken(GetFederationTokenRequest getFederationTokenRequest) Supports SAML sign-in for Amazon Connect.getFlowAssociation(Consumer<GetFlowAssociationRequest.Builder> getFlowAssociationRequest) Retrieves the flow associated for a given resource.getFlowAssociation(GetFlowAssociationRequest getFlowAssociationRequest) Retrieves the flow associated for a given resource.default CompletableFuture<GetMetricDataResponse> getMetricData(Consumer<GetMetricDataRequest.Builder> getMetricDataRequest) Gets historical metric data from the specified Amazon Connect instance.default CompletableFuture<GetMetricDataResponse> getMetricData(GetMetricDataRequest getMetricDataRequest) Gets historical metric data from the specified Amazon Connect instance.default GetMetricDataPublishergetMetricDataPaginator(Consumer<GetMetricDataRequest.Builder> getMetricDataRequest) This is a variant ofgetMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)operation.default GetMetricDataPublishergetMetricDataPaginator(GetMetricDataRequest getMetricDataRequest) This is a variant ofgetMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)operation.default CompletableFuture<GetMetricDataV2Response> getMetricDataV2(Consumer<GetMetricDataV2Request.Builder> getMetricDataV2Request) Gets metric data from the specified Amazon Connect instance.default CompletableFuture<GetMetricDataV2Response> getMetricDataV2(GetMetricDataV2Request getMetricDataV2Request) Gets metric data from the specified Amazon Connect instance.default GetMetricDataV2PublishergetMetricDataV2Paginator(Consumer<GetMetricDataV2Request.Builder> getMetricDataV2Request) This is a variant ofgetMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)operation.default GetMetricDataV2PublishergetMetricDataV2Paginator(GetMetricDataV2Request getMetricDataV2Request) This is a variant ofgetMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)operation.default CompletableFuture<GetPromptFileResponse> getPromptFile(Consumer<GetPromptFileRequest.Builder> getPromptFileRequest) Gets the prompt file.default CompletableFuture<GetPromptFileResponse> getPromptFile(GetPromptFileRequest getPromptFileRequest) Gets the prompt file.default CompletableFuture<GetTaskTemplateResponse> getTaskTemplate(Consumer<GetTaskTemplateRequest.Builder> getTaskTemplateRequest) Gets details about a specific task template in the specified Amazon Connect instance.default CompletableFuture<GetTaskTemplateResponse> getTaskTemplate(GetTaskTemplateRequest getTaskTemplateRequest) Gets details about a specific task template in the specified Amazon Connect instance.getTrafficDistribution(Consumer<GetTrafficDistributionRequest.Builder> getTrafficDistributionRequest) Retrieves the current traffic distribution for a given traffic distribution group.getTrafficDistribution(GetTrafficDistributionRequest getTrafficDistributionRequest) Retrieves the current traffic distribution for a given traffic distribution group.importPhoneNumber(Consumer<ImportPhoneNumberRequest.Builder> importPhoneNumberRequest) Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect instance.importPhoneNumber(ImportPhoneNumberRequest importPhoneNumberRequest) Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect instance.listAgentStatuses(Consumer<ListAgentStatusesRequest.Builder> listAgentStatusesRequest) This API is in preview release for Amazon Connect and is subject to change.listAgentStatuses(ListAgentStatusesRequest listAgentStatusesRequest) This API is in preview release for Amazon Connect and is subject to change.default ListAgentStatusesPublisherlistAgentStatusesPaginator(Consumer<ListAgentStatusesRequest.Builder> listAgentStatusesRequest) This is a variant oflistAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)operation.default ListAgentStatusesPublisherlistAgentStatusesPaginator(ListAgentStatusesRequest listAgentStatusesRequest) This is a variant oflistAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)operation.listAnalyticsDataAssociations(Consumer<ListAnalyticsDataAssociationsRequest.Builder> listAnalyticsDataAssociationsRequest) Lists the association status of requested dataset ID for a given Amazon Connect instance.listAnalyticsDataAssociations(ListAnalyticsDataAssociationsRequest listAnalyticsDataAssociationsRequest) Lists the association status of requested dataset ID for a given Amazon Connect instance.listApprovedOrigins(Consumer<ListApprovedOriginsRequest.Builder> listApprovedOriginsRequest) This API is in preview release for Amazon Connect and is subject to change.listApprovedOrigins(ListApprovedOriginsRequest listApprovedOriginsRequest) This API is in preview release for Amazon Connect and is subject to change.default ListApprovedOriginsPublisherlistApprovedOriginsPaginator(Consumer<ListApprovedOriginsRequest.Builder> listApprovedOriginsRequest) This is a variant oflistApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)operation.default ListApprovedOriginsPublisherlistApprovedOriginsPaginator(ListApprovedOriginsRequest listApprovedOriginsRequest) This is a variant oflistApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)operation.listAuthenticationProfiles(Consumer<ListAuthenticationProfilesRequest.Builder> listAuthenticationProfilesRequest) This API is in preview release for Amazon Connect and is subject to change.listAuthenticationProfiles(ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) This API is in preview release for Amazon Connect and is subject to change.listAuthenticationProfilesPaginator(Consumer<ListAuthenticationProfilesRequest.Builder> listAuthenticationProfilesRequest) This is a variant oflistAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)operation.listAuthenticationProfilesPaginator(ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) This is a variant oflistAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)operation.default CompletableFuture<ListBotsResponse> listBots(Consumer<ListBotsRequest.Builder> listBotsRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<ListBotsResponse> listBots(ListBotsRequest listBotsRequest) This API is in preview release for Amazon Connect and is subject to change.default ListBotsPublisherlistBotsPaginator(Consumer<ListBotsRequest.Builder> listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)operation.default ListBotsPublisherlistBotsPaginator(ListBotsRequest listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)operation.listContactEvaluations(Consumer<ListContactEvaluationsRequest.Builder> listContactEvaluationsRequest) Lists contact evaluations in the specified Amazon Connect instance.listContactEvaluations(ListContactEvaluationsRequest listContactEvaluationsRequest) Lists contact evaluations in the specified Amazon Connect instance.default ListContactEvaluationsPublisherlistContactEvaluationsPaginator(Consumer<ListContactEvaluationsRequest.Builder> listContactEvaluationsRequest) This is a variant oflistContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)operation.default ListContactEvaluationsPublisherlistContactEvaluationsPaginator(ListContactEvaluationsRequest listContactEvaluationsRequest) This is a variant oflistContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)operation.listContactFlowModules(Consumer<ListContactFlowModulesRequest.Builder> listContactFlowModulesRequest) Provides information about the flow modules for the specified Amazon Connect instance.listContactFlowModules(ListContactFlowModulesRequest listContactFlowModulesRequest) Provides information about the flow modules for the specified Amazon Connect instance.default ListContactFlowModulesPublisherlistContactFlowModulesPaginator(Consumer<ListContactFlowModulesRequest.Builder> listContactFlowModulesRequest) This is a variant oflistContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)operation.default ListContactFlowModulesPublisherlistContactFlowModulesPaginator(ListContactFlowModulesRequest listContactFlowModulesRequest) This is a variant oflistContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)operation.listContactFlows(Consumer<ListContactFlowsRequest.Builder> listContactFlowsRequest) Provides information about the flows for the specified Amazon Connect instance.listContactFlows(ListContactFlowsRequest listContactFlowsRequest) Provides information about the flows for the specified Amazon Connect instance.default ListContactFlowsPublisherlistContactFlowsPaginator(Consumer<ListContactFlowsRequest.Builder> listContactFlowsRequest) This is a variant oflistContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)operation.default ListContactFlowsPublisherlistContactFlowsPaginator(ListContactFlowsRequest listContactFlowsRequest) This is a variant oflistContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)operation.listContactReferences(Consumer<ListContactReferencesRequest.Builder> listContactReferencesRequest) This API is in preview release for Amazon Connect and is subject to change.listContactReferences(ListContactReferencesRequest listContactReferencesRequest) This API is in preview release for Amazon Connect and is subject to change.default ListContactReferencesPublisherlistContactReferencesPaginator(Consumer<ListContactReferencesRequest.Builder> listContactReferencesRequest) This is a variant oflistContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)operation.default ListContactReferencesPublisherlistContactReferencesPaginator(ListContactReferencesRequest listContactReferencesRequest) This is a variant oflistContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)operation.listDefaultVocabularies(Consumer<ListDefaultVocabulariesRequest.Builder> listDefaultVocabulariesRequest) Lists the default vocabularies for the specified Amazon Connect instance.listDefaultVocabularies(ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) Lists the default vocabularies for the specified Amazon Connect instance.default ListDefaultVocabulariesPublisherlistDefaultVocabulariesPaginator(Consumer<ListDefaultVocabulariesRequest.Builder> listDefaultVocabulariesRequest) This is a variant oflistDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)operation.default ListDefaultVocabulariesPublisherlistDefaultVocabulariesPaginator(ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) This is a variant oflistDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)operation.listEvaluationForms(Consumer<ListEvaluationFormsRequest.Builder> listEvaluationFormsRequest) Lists evaluation forms in the specified Amazon Connect instance.listEvaluationForms(ListEvaluationFormsRequest listEvaluationFormsRequest) Lists evaluation forms in the specified Amazon Connect instance.default ListEvaluationFormsPublisherlistEvaluationFormsPaginator(Consumer<ListEvaluationFormsRequest.Builder> listEvaluationFormsRequest) This is a variant oflistEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)operation.default ListEvaluationFormsPublisherlistEvaluationFormsPaginator(ListEvaluationFormsRequest listEvaluationFormsRequest) This is a variant oflistEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)operation.listEvaluationFormVersions(Consumer<ListEvaluationFormVersionsRequest.Builder> listEvaluationFormVersionsRequest) Lists versions of an evaluation form in the specified Amazon Connect instance.listEvaluationFormVersions(ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) Lists versions of an evaluation form in the specified Amazon Connect instance.listEvaluationFormVersionsPaginator(Consumer<ListEvaluationFormVersionsRequest.Builder> listEvaluationFormVersionsRequest) This is a variant oflistEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)operation.listEvaluationFormVersionsPaginator(ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) This is a variant oflistEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)operation.listFlowAssociations(Consumer<ListFlowAssociationsRequest.Builder> listFlowAssociationsRequest) List the flow association based on the filters.listFlowAssociations(ListFlowAssociationsRequest listFlowAssociationsRequest) List the flow association based on the filters.default ListFlowAssociationsPublisherlistFlowAssociationsPaginator(Consumer<ListFlowAssociationsRequest.Builder> listFlowAssociationsRequest) This is a variant oflistFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)operation.default ListFlowAssociationsPublisherlistFlowAssociationsPaginator(ListFlowAssociationsRequest listFlowAssociationsRequest) This is a variant oflistFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)operation.listHoursOfOperations(Consumer<ListHoursOfOperationsRequest.Builder> listHoursOfOperationsRequest) Provides information about the hours of operation for the specified Amazon Connect instance.listHoursOfOperations(ListHoursOfOperationsRequest listHoursOfOperationsRequest) Provides information about the hours of operation for the specified Amazon Connect instance.default ListHoursOfOperationsPublisherlistHoursOfOperationsPaginator(Consumer<ListHoursOfOperationsRequest.Builder> listHoursOfOperationsRequest) This is a variant oflistHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)operation.default ListHoursOfOperationsPublisherlistHoursOfOperationsPaginator(ListHoursOfOperationsRequest listHoursOfOperationsRequest) This is a variant oflistHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)operation.listInstanceAttributes(Consumer<ListInstanceAttributesRequest.Builder> listInstanceAttributesRequest) This API is in preview release for Amazon Connect and is subject to change.listInstanceAttributes(ListInstanceAttributesRequest listInstanceAttributesRequest) This API is in preview release for Amazon Connect and is subject to change.default ListInstanceAttributesPublisherlistInstanceAttributesPaginator(Consumer<ListInstanceAttributesRequest.Builder> listInstanceAttributesRequest) This is a variant oflistInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)operation.default ListInstanceAttributesPublisherlistInstanceAttributesPaginator(ListInstanceAttributesRequest listInstanceAttributesRequest) This is a variant oflistInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)operation.default CompletableFuture<ListInstancesResponse> listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<ListInstancesResponse> listInstances(ListInstancesRequest listInstancesRequest) This API is in preview release for Amazon Connect and is subject to change.default ListInstancesPublisherlistInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest) This is a variant oflistInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)operation.default ListInstancesPublisherlistInstancesPaginator(ListInstancesRequest listInstancesRequest) This is a variant oflistInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)operation.listInstanceStorageConfigs(Consumer<ListInstanceStorageConfigsRequest.Builder> listInstanceStorageConfigsRequest) This API is in preview release for Amazon Connect and is subject to change.listInstanceStorageConfigs(ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) This API is in preview release for Amazon Connect and is subject to change.listInstanceStorageConfigsPaginator(Consumer<ListInstanceStorageConfigsRequest.Builder> listInstanceStorageConfigsRequest) This is a variant oflistInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)operation.listInstanceStorageConfigsPaginator(ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) This is a variant oflistInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)operation.listIntegrationAssociations(Consumer<ListIntegrationAssociationsRequest.Builder> listIntegrationAssociationsRequest) Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.listIntegrationAssociations(ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.listIntegrationAssociationsPaginator(Consumer<ListIntegrationAssociationsRequest.Builder> listIntegrationAssociationsRequest) This is a variant oflistIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)operation.listIntegrationAssociationsPaginator(ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) This is a variant oflistIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)operation.listLambdaFunctions(Consumer<ListLambdaFunctionsRequest.Builder> listLambdaFunctionsRequest) This API is in preview release for Amazon Connect and is subject to change.listLambdaFunctions(ListLambdaFunctionsRequest listLambdaFunctionsRequest) This API is in preview release for Amazon Connect and is subject to change.default ListLambdaFunctionsPublisherlistLambdaFunctionsPaginator(Consumer<ListLambdaFunctionsRequest.Builder> listLambdaFunctionsRequest) This is a variant oflistLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)operation.default ListLambdaFunctionsPublisherlistLambdaFunctionsPaginator(ListLambdaFunctionsRequest listLambdaFunctionsRequest) This is a variant oflistLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)operation.default CompletableFuture<ListLexBotsResponse> listLexBots(Consumer<ListLexBotsRequest.Builder> listLexBotsRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<ListLexBotsResponse> listLexBots(ListLexBotsRequest listLexBotsRequest) This API is in preview release for Amazon Connect and is subject to change.default ListLexBotsPublisherlistLexBotsPaginator(Consumer<ListLexBotsRequest.Builder> listLexBotsRequest) This is a variant oflistLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)operation.default ListLexBotsPublisherlistLexBotsPaginator(ListLexBotsRequest listLexBotsRequest) This is a variant oflistLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)operation.listPhoneNumbers(Consumer<ListPhoneNumbersRequest.Builder> listPhoneNumbersRequest) Provides information about the phone numbers for the specified Amazon Connect instance.listPhoneNumbers(ListPhoneNumbersRequest listPhoneNumbersRequest) Provides information about the phone numbers for the specified Amazon Connect instance.default ListPhoneNumbersPublisherlistPhoneNumbersPaginator(Consumer<ListPhoneNumbersRequest.Builder> listPhoneNumbersRequest) This is a variant oflistPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)operation.default ListPhoneNumbersPublisherlistPhoneNumbersPaginator(ListPhoneNumbersRequest listPhoneNumbersRequest) This is a variant oflistPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)operation.listPhoneNumbersV2(Consumer<ListPhoneNumbersV2Request.Builder> listPhoneNumbersV2Request) Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group.listPhoneNumbersV2(ListPhoneNumbersV2Request listPhoneNumbersV2Request) Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group.default ListPhoneNumbersV2PublisherlistPhoneNumbersV2Paginator(Consumer<ListPhoneNumbersV2Request.Builder> listPhoneNumbersV2Request) This is a variant oflistPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)operation.default ListPhoneNumbersV2PublisherlistPhoneNumbersV2Paginator(ListPhoneNumbersV2Request listPhoneNumbersV2Request) This is a variant oflistPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)operation.listPredefinedAttributes(Consumer<ListPredefinedAttributesRequest.Builder> listPredefinedAttributesRequest) Lists predefined attributes for the specified Amazon Connect instance.listPredefinedAttributes(ListPredefinedAttributesRequest listPredefinedAttributesRequest) Lists predefined attributes for the specified Amazon Connect instance.listPredefinedAttributesPaginator(Consumer<ListPredefinedAttributesRequest.Builder> listPredefinedAttributesRequest) This is a variant oflistPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)operation.listPredefinedAttributesPaginator(ListPredefinedAttributesRequest listPredefinedAttributesRequest) This is a variant oflistPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)operation.default CompletableFuture<ListPromptsResponse> listPrompts(Consumer<ListPromptsRequest.Builder> listPromptsRequest) Provides information about the prompts for the specified Amazon Connect instance.default CompletableFuture<ListPromptsResponse> listPrompts(ListPromptsRequest listPromptsRequest) Provides information about the prompts for the specified Amazon Connect instance.default ListPromptsPublisherlistPromptsPaginator(Consumer<ListPromptsRequest.Builder> listPromptsRequest) This is a variant oflistPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)operation.default ListPromptsPublisherlistPromptsPaginator(ListPromptsRequest listPromptsRequest) This is a variant oflistPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)operation.listQueueQuickConnects(Consumer<ListQueueQuickConnectsRequest.Builder> listQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.listQueueQuickConnects(ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.default ListQueueQuickConnectsPublisherlistQueueQuickConnectsPaginator(Consumer<ListQueueQuickConnectsRequest.Builder> listQueueQuickConnectsRequest) This is a variant oflistQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)operation.default ListQueueQuickConnectsPublisherlistQueueQuickConnectsPaginator(ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) This is a variant oflistQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)operation.default CompletableFuture<ListQueuesResponse> listQueues(Consumer<ListQueuesRequest.Builder> listQueuesRequest) Provides information about the queues for the specified Amazon Connect instance.default CompletableFuture<ListQueuesResponse> listQueues(ListQueuesRequest listQueuesRequest) Provides information about the queues for the specified Amazon Connect instance.default ListQueuesPublisherlistQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest) This is a variant oflistQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)operation.default ListQueuesPublisherlistQueuesPaginator(ListQueuesRequest listQueuesRequest) This is a variant oflistQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)operation.listQuickConnects(Consumer<ListQuickConnectsRequest.Builder> listQuickConnectsRequest) Provides information about the quick connects for the specified Amazon Connect instance.listQuickConnects(ListQuickConnectsRequest listQuickConnectsRequest) Provides information about the quick connects for the specified Amazon Connect instance.default ListQuickConnectsPublisherlistQuickConnectsPaginator(Consumer<ListQuickConnectsRequest.Builder> listQuickConnectsRequest) This is a variant oflistQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)operation.default ListQuickConnectsPublisherlistQuickConnectsPaginator(ListQuickConnectsRequest listQuickConnectsRequest) This is a variant oflistQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)operation.listRealtimeContactAnalysisSegmentsV2(Consumer<ListRealtimeContactAnalysisSegmentsV2Request.Builder> listRealtimeContactAnalysisSegmentsV2Request) Provides a list of analysis segments for a real-time analysis session.listRealtimeContactAnalysisSegmentsV2(ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request) Provides a list of analysis segments for a real-time analysis session.listRealtimeContactAnalysisSegmentsV2Paginator(Consumer<ListRealtimeContactAnalysisSegmentsV2Request.Builder> listRealtimeContactAnalysisSegmentsV2Request) listRealtimeContactAnalysisSegmentsV2Paginator(ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request) listRoutingProfileQueues(Consumer<ListRoutingProfileQueuesRequest.Builder> listRoutingProfileQueuesRequest) Lists the queues associated with a routing profile.listRoutingProfileQueues(ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) Lists the queues associated with a routing profile.listRoutingProfileQueuesPaginator(Consumer<ListRoutingProfileQueuesRequest.Builder> listRoutingProfileQueuesRequest) This is a variant oflistRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)operation.listRoutingProfileQueuesPaginator(ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) This is a variant oflistRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)operation.listRoutingProfiles(Consumer<ListRoutingProfilesRequest.Builder> listRoutingProfilesRequest) Provides summary information about the routing profiles for the specified Amazon Connect instance.listRoutingProfiles(ListRoutingProfilesRequest listRoutingProfilesRequest) Provides summary information about the routing profiles for the specified Amazon Connect instance.default ListRoutingProfilesPublisherlistRoutingProfilesPaginator(Consumer<ListRoutingProfilesRequest.Builder> listRoutingProfilesRequest) This is a variant oflistRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)operation.default ListRoutingProfilesPublisherlistRoutingProfilesPaginator(ListRoutingProfilesRequest listRoutingProfilesRequest) This is a variant oflistRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)operation.default CompletableFuture<ListRulesResponse> listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) List all rules for the specified Amazon Connect instance.default CompletableFuture<ListRulesResponse> listRules(ListRulesRequest listRulesRequest) List all rules for the specified Amazon Connect instance.default ListRulesPublisherlistRulesPaginator(Consumer<ListRulesRequest.Builder> listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)operation.default ListRulesPublisherlistRulesPaginator(ListRulesRequest listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)operation.listSecurityKeys(Consumer<ListSecurityKeysRequest.Builder> listSecurityKeysRequest) This API is in preview release for Amazon Connect and is subject to change.listSecurityKeys(ListSecurityKeysRequest listSecurityKeysRequest) This API is in preview release for Amazon Connect and is subject to change.default ListSecurityKeysPublisherlistSecurityKeysPaginator(Consumer<ListSecurityKeysRequest.Builder> listSecurityKeysRequest) This is a variant oflistSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)operation.default ListSecurityKeysPublisherlistSecurityKeysPaginator(ListSecurityKeysRequest listSecurityKeysRequest) This is a variant oflistSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)operation.listSecurityProfileApplications(Consumer<ListSecurityProfileApplicationsRequest.Builder> listSecurityProfileApplicationsRequest) Returns a list of third-party applications in a specific security profile.listSecurityProfileApplications(ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) Returns a list of third-party applications in a specific security profile.listSecurityProfileApplicationsPaginator(Consumer<ListSecurityProfileApplicationsRequest.Builder> listSecurityProfileApplicationsRequest) This is a variant oflistSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)operation.listSecurityProfileApplicationsPaginator(ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) This is a variant oflistSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)operation.listSecurityProfilePermissions(Consumer<ListSecurityProfilePermissionsRequest.Builder> listSecurityProfilePermissionsRequest) Lists the permissions granted to a security profile.listSecurityProfilePermissions(ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) Lists the permissions granted to a security profile.listSecurityProfilePermissionsPaginator(Consumer<ListSecurityProfilePermissionsRequest.Builder> listSecurityProfilePermissionsRequest) This is a variant oflistSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)operation.listSecurityProfilePermissionsPaginator(ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) This is a variant oflistSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)operation.listSecurityProfiles(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) Provides summary information about the security profiles for the specified Amazon Connect instance.listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest) Provides summary information about the security profiles for the specified Amazon Connect instance.default ListSecurityProfilesPublisherlistSecurityProfilesPaginator(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) This is a variant oflistSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)operation.default ListSecurityProfilesPublisherlistSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) This is a variant oflistSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for the specified resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for the specified resource.listTaskTemplates(Consumer<ListTaskTemplatesRequest.Builder> listTaskTemplatesRequest) Lists task templates for the specified Amazon Connect instance.listTaskTemplates(ListTaskTemplatesRequest listTaskTemplatesRequest) Lists task templates for the specified Amazon Connect instance.default ListTaskTemplatesPublisherlistTaskTemplatesPaginator(Consumer<ListTaskTemplatesRequest.Builder> listTaskTemplatesRequest) This is a variant oflistTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)operation.default ListTaskTemplatesPublisherlistTaskTemplatesPaginator(ListTaskTemplatesRequest listTaskTemplatesRequest) This is a variant oflistTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)operation.listTrafficDistributionGroups(Consumer<ListTrafficDistributionGroupsRequest.Builder> listTrafficDistributionGroupsRequest) Lists traffic distribution groups.listTrafficDistributionGroups(ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) Lists traffic distribution groups.listTrafficDistributionGroupsPaginator(Consumer<ListTrafficDistributionGroupsRequest.Builder> listTrafficDistributionGroupsRequest) This is a variant oflistTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)operation.listTrafficDistributionGroupsPaginator(ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) This is a variant oflistTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)operation.listTrafficDistributionGroupUsers(Consumer<ListTrafficDistributionGroupUsersRequest.Builder> listTrafficDistributionGroupUsersRequest) Lists traffic distribution group users.listTrafficDistributionGroupUsers(ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) Lists traffic distribution group users.listTrafficDistributionGroupUsersPaginator(Consumer<ListTrafficDistributionGroupUsersRequest.Builder> listTrafficDistributionGroupUsersRequest) This is a variant oflistTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)operation.listTrafficDistributionGroupUsersPaginator(ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) This is a variant oflistTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)operation.default CompletableFuture<ListUseCasesResponse> listUseCases(Consumer<ListUseCasesRequest.Builder> listUseCasesRequest) Lists the use cases for the integration association.default CompletableFuture<ListUseCasesResponse> listUseCases(ListUseCasesRequest listUseCasesRequest) Lists the use cases for the integration association.default ListUseCasesPublisherlistUseCasesPaginator(Consumer<ListUseCasesRequest.Builder> listUseCasesRequest) This is a variant oflistUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)operation.default ListUseCasesPublisherlistUseCasesPaginator(ListUseCasesRequest listUseCasesRequest) This is a variant oflistUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)operation.listUserHierarchyGroups(Consumer<ListUserHierarchyGroupsRequest.Builder> listUserHierarchyGroupsRequest) Provides summary information about the hierarchy groups for the specified Amazon Connect instance.listUserHierarchyGroups(ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) Provides summary information about the hierarchy groups for the specified Amazon Connect instance.default ListUserHierarchyGroupsPublisherlistUserHierarchyGroupsPaginator(Consumer<ListUserHierarchyGroupsRequest.Builder> listUserHierarchyGroupsRequest) This is a variant oflistUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)operation.default ListUserHierarchyGroupsPublisherlistUserHierarchyGroupsPaginator(ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) This is a variant oflistUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)operation.listUserProficiencies(Consumer<ListUserProficienciesRequest.Builder> listUserProficienciesRequest) Lists proficiencies associated with a user.listUserProficiencies(ListUserProficienciesRequest listUserProficienciesRequest) Lists proficiencies associated with a user.default ListUserProficienciesPublisherlistUserProficienciesPaginator(Consumer<ListUserProficienciesRequest.Builder> listUserProficienciesRequest) This is a variant oflistUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)operation.default ListUserProficienciesPublisherlistUserProficienciesPaginator(ListUserProficienciesRequest listUserProficienciesRequest) This is a variant oflistUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)operation.default CompletableFuture<ListUsersResponse> listUsers(Consumer<ListUsersRequest.Builder> listUsersRequest) Provides summary information about the users for the specified Amazon Connect instance.default CompletableFuture<ListUsersResponse> listUsers(ListUsersRequest listUsersRequest) Provides summary information about the users for the specified Amazon Connect instance.default ListUsersPublisherlistUsersPaginator(Consumer<ListUsersRequest.Builder> listUsersRequest) This is a variant oflistUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)operation.default ListUsersPublisherlistUsersPaginator(ListUsersRequest listUsersRequest) This is a variant oflistUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)operation.default CompletableFuture<ListViewsResponse> listViews(Consumer<ListViewsRequest.Builder> listViewsRequest) Returns views in the given instance.default CompletableFuture<ListViewsResponse> listViews(ListViewsRequest listViewsRequest) Returns views in the given instance.default ListViewsPublisherlistViewsPaginator(Consumer<ListViewsRequest.Builder> listViewsRequest) This is a variant oflistViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)operation.default ListViewsPublisherlistViewsPaginator(ListViewsRequest listViewsRequest) This is a variant oflistViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)operation.listViewVersions(Consumer<ListViewVersionsRequest.Builder> listViewVersionsRequest) Returns all the available versions for the specified Amazon Connect instance and view identifier.listViewVersions(ListViewVersionsRequest listViewVersionsRequest) Returns all the available versions for the specified Amazon Connect instance and view identifier.default ListViewVersionsPublisherlistViewVersionsPaginator(Consumer<ListViewVersionsRequest.Builder> listViewVersionsRequest) This is a variant oflistViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)operation.default ListViewVersionsPublisherlistViewVersionsPaginator(ListViewVersionsRequest listViewVersionsRequest) This is a variant oflistViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)operation.default CompletableFuture<MonitorContactResponse> monitorContact(Consumer<MonitorContactRequest.Builder> monitorContactRequest) Initiates silent monitoring of a contact.default CompletableFuture<MonitorContactResponse> monitorContact(MonitorContactRequest monitorContactRequest) Initiates silent monitoring of a contact.default CompletableFuture<PauseContactResponse> pauseContact(Consumer<PauseContactRequest.Builder> pauseContactRequest) Allows pausing an ongoing task contact.default CompletableFuture<PauseContactResponse> pauseContact(PauseContactRequest pauseContactRequest) Allows pausing an ongoing task contact.default CompletableFuture<PutUserStatusResponse> putUserStatus(Consumer<PutUserStatusRequest.Builder> putUserStatusRequest) Changes the current status of a user or agent in Amazon Connect.default CompletableFuture<PutUserStatusResponse> putUserStatus(PutUserStatusRequest putUserStatusRequest) Changes the current status of a user or agent in Amazon Connect.releasePhoneNumber(Consumer<ReleasePhoneNumberRequest.Builder> releasePhoneNumberRequest) Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group.releasePhoneNumber(ReleasePhoneNumberRequest releasePhoneNumberRequest) Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group.replicateInstance(Consumer<ReplicateInstanceRequest.Builder> replicateInstanceRequest) 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.replicateInstance(ReplicateInstanceRequest replicateInstanceRequest) 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.default CompletableFuture<ResumeContactResponse> resumeContact(Consumer<ResumeContactRequest.Builder> resumeContactRequest) Allows resuming a task contact in a paused state.default CompletableFuture<ResumeContactResponse> resumeContact(ResumeContactRequest resumeContactRequest) Allows resuming a task contact in a paused state.resumeContactRecording(Consumer<ResumeContactRecordingRequest.Builder> resumeContactRecordingRequest) 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.resumeContactRecording(ResumeContactRecordingRequest resumeContactRecordingRequest) 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.searchAgentStatuses(Consumer<SearchAgentStatusesRequest.Builder> searchAgentStatusesRequest) Searches AgentStatuses in an Amazon Connect instance, with optional filtering.searchAgentStatuses(SearchAgentStatusesRequest searchAgentStatusesRequest) Searches AgentStatuses in an Amazon Connect instance, with optional filtering.default SearchAgentStatusesPublishersearchAgentStatusesPaginator(Consumer<SearchAgentStatusesRequest.Builder> searchAgentStatusesRequest) This is a variant ofsearchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)operation.default SearchAgentStatusesPublishersearchAgentStatusesPaginator(SearchAgentStatusesRequest searchAgentStatusesRequest) This is a variant ofsearchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)operation.searchAvailablePhoneNumbers(Consumer<SearchAvailablePhoneNumbersRequest.Builder> searchAvailablePhoneNumbersRequest) Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.searchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.searchAvailablePhoneNumbersPaginator(Consumer<SearchAvailablePhoneNumbersRequest.Builder> searchAvailablePhoneNumbersRequest) This is a variant ofsearchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)operation.searchAvailablePhoneNumbersPaginator(SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) This is a variant ofsearchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)operation.searchContactFlowModules(Consumer<SearchContactFlowModulesRequest.Builder> searchContactFlowModulesRequest) Searches the flow modules in an Amazon Connect instance, with optional filtering.searchContactFlowModules(SearchContactFlowModulesRequest searchContactFlowModulesRequest) Searches the flow modules in an Amazon Connect instance, with optional filtering.searchContactFlowModulesPaginator(Consumer<SearchContactFlowModulesRequest.Builder> searchContactFlowModulesRequest) This is a variant ofsearchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)operation.searchContactFlowModulesPaginator(SearchContactFlowModulesRequest searchContactFlowModulesRequest) This is a variant ofsearchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)operation.searchContactFlows(Consumer<SearchContactFlowsRequest.Builder> searchContactFlowsRequest) Searches the contact flows in an Amazon Connect instance, with optional filtering.searchContactFlows(SearchContactFlowsRequest searchContactFlowsRequest) Searches the contact flows in an Amazon Connect instance, with optional filtering.default SearchContactFlowsPublishersearchContactFlowsPaginator(Consumer<SearchContactFlowsRequest.Builder> searchContactFlowsRequest) This is a variant ofsearchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)operation.default SearchContactFlowsPublishersearchContactFlowsPaginator(SearchContactFlowsRequest searchContactFlowsRequest) This is a variant ofsearchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)operation.default CompletableFuture<SearchContactsResponse> searchContacts(Consumer<SearchContactsRequest.Builder> searchContactsRequest) Searches contacts in an Amazon Connect instance.default CompletableFuture<SearchContactsResponse> searchContacts(SearchContactsRequest searchContactsRequest) Searches contacts in an Amazon Connect instance.default SearchContactsPublishersearchContactsPaginator(Consumer<SearchContactsRequest.Builder> searchContactsRequest) This is a variant ofsearchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)operation.default SearchContactsPublishersearchContactsPaginator(SearchContactsRequest searchContactsRequest) This is a variant ofsearchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)operation.searchHoursOfOperations(Consumer<SearchHoursOfOperationsRequest.Builder> searchHoursOfOperationsRequest) Searches the hours of operation in an Amazon Connect instance, with optional filtering.searchHoursOfOperations(SearchHoursOfOperationsRequest searchHoursOfOperationsRequest) Searches the hours of operation in an Amazon Connect instance, with optional filtering.default SearchHoursOfOperationsPublishersearchHoursOfOperationsPaginator(Consumer<SearchHoursOfOperationsRequest.Builder> searchHoursOfOperationsRequest) This is a variant ofsearchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)operation.default SearchHoursOfOperationsPublishersearchHoursOfOperationsPaginator(SearchHoursOfOperationsRequest searchHoursOfOperationsRequest) This is a variant ofsearchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)operation.searchPredefinedAttributes(Consumer<SearchPredefinedAttributesRequest.Builder> searchPredefinedAttributesRequest) Searches predefined attributes that meet certain criteria.searchPredefinedAttributes(SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) Searches predefined attributes that meet certain criteria.searchPredefinedAttributesPaginator(Consumer<SearchPredefinedAttributesRequest.Builder> searchPredefinedAttributesRequest) This is a variant ofsearchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)operation.searchPredefinedAttributesPaginator(SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) This is a variant ofsearchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)operation.default CompletableFuture<SearchPromptsResponse> searchPrompts(Consumer<SearchPromptsRequest.Builder> searchPromptsRequest) Searches prompts in an Amazon Connect instance, with optional filtering.default CompletableFuture<SearchPromptsResponse> searchPrompts(SearchPromptsRequest searchPromptsRequest) Searches prompts in an Amazon Connect instance, with optional filtering.default SearchPromptsPublishersearchPromptsPaginator(Consumer<SearchPromptsRequest.Builder> searchPromptsRequest) This is a variant ofsearchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)operation.default SearchPromptsPublishersearchPromptsPaginator(SearchPromptsRequest searchPromptsRequest) This is a variant ofsearchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)operation.default CompletableFuture<SearchQueuesResponse> searchQueues(Consumer<SearchQueuesRequest.Builder> searchQueuesRequest) Searches queues in an Amazon Connect instance, with optional filtering.default CompletableFuture<SearchQueuesResponse> searchQueues(SearchQueuesRequest searchQueuesRequest) Searches queues in an Amazon Connect instance, with optional filtering.default SearchQueuesPublishersearchQueuesPaginator(Consumer<SearchQueuesRequest.Builder> searchQueuesRequest) This is a variant ofsearchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)operation.default SearchQueuesPublishersearchQueuesPaginator(SearchQueuesRequest searchQueuesRequest) This is a variant ofsearchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)operation.searchQuickConnects(Consumer<SearchQuickConnectsRequest.Builder> searchQuickConnectsRequest) Searches quick connects in an Amazon Connect instance, with optional filtering.searchQuickConnects(SearchQuickConnectsRequest searchQuickConnectsRequest) Searches quick connects in an Amazon Connect instance, with optional filtering.default SearchQuickConnectsPublishersearchQuickConnectsPaginator(Consumer<SearchQuickConnectsRequest.Builder> searchQuickConnectsRequest) This is a variant ofsearchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)operation.default SearchQuickConnectsPublishersearchQuickConnectsPaginator(SearchQuickConnectsRequest searchQuickConnectsRequest) This is a variant ofsearchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)operation.searchResourceTags(Consumer<SearchResourceTagsRequest.Builder> searchResourceTagsRequest) Searches tags used in an Amazon Connect instance using optional search criteria.searchResourceTags(SearchResourceTagsRequest searchResourceTagsRequest) Searches tags used in an Amazon Connect instance using optional search criteria.default SearchResourceTagsPublishersearchResourceTagsPaginator(Consumer<SearchResourceTagsRequest.Builder> searchResourceTagsRequest) This is a variant ofsearchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)operation.default SearchResourceTagsPublishersearchResourceTagsPaginator(SearchResourceTagsRequest searchResourceTagsRequest) This is a variant ofsearchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)operation.searchRoutingProfiles(Consumer<SearchRoutingProfilesRequest.Builder> searchRoutingProfilesRequest) Searches routing profiles in an Amazon Connect instance, with optional filtering.searchRoutingProfiles(SearchRoutingProfilesRequest searchRoutingProfilesRequest) Searches routing profiles in an Amazon Connect instance, with optional filtering.default SearchRoutingProfilesPublishersearchRoutingProfilesPaginator(Consumer<SearchRoutingProfilesRequest.Builder> searchRoutingProfilesRequest) This is a variant ofsearchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)operation.default SearchRoutingProfilesPublishersearchRoutingProfilesPaginator(SearchRoutingProfilesRequest searchRoutingProfilesRequest) This is a variant ofsearchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)operation.searchSecurityProfiles(Consumer<SearchSecurityProfilesRequest.Builder> searchSecurityProfilesRequest) Searches security profiles in an Amazon Connect instance, with optional filtering.searchSecurityProfiles(SearchSecurityProfilesRequest searchSecurityProfilesRequest) Searches security profiles in an Amazon Connect instance, with optional filtering.default SearchSecurityProfilesPublishersearchSecurityProfilesPaginator(Consumer<SearchSecurityProfilesRequest.Builder> searchSecurityProfilesRequest) This is a variant ofsearchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)operation.default SearchSecurityProfilesPublishersearchSecurityProfilesPaginator(SearchSecurityProfilesRequest searchSecurityProfilesRequest) This is a variant ofsearchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)operation.searchUserHierarchyGroups(Consumer<SearchUserHierarchyGroupsRequest.Builder> searchUserHierarchyGroupsRequest) Searches UserHierarchyGroups in an Amazon Connect instance, with optional filtering.searchUserHierarchyGroups(SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) Searches UserHierarchyGroups in an Amazon Connect instance, with optional filtering.searchUserHierarchyGroupsPaginator(Consumer<SearchUserHierarchyGroupsRequest.Builder> searchUserHierarchyGroupsRequest) This is a variant ofsearchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)operation.searchUserHierarchyGroupsPaginator(SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) This is a variant ofsearchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)operation.default CompletableFuture<SearchUsersResponse> searchUsers(Consumer<SearchUsersRequest.Builder> searchUsersRequest) Searches users in an Amazon Connect instance, with optional filtering.default CompletableFuture<SearchUsersResponse> searchUsers(SearchUsersRequest searchUsersRequest) Searches users in an Amazon Connect instance, with optional filtering.default SearchUsersPublishersearchUsersPaginator(Consumer<SearchUsersRequest.Builder> searchUsersRequest) This is a variant ofsearchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)operation.default SearchUsersPublishersearchUsersPaginator(SearchUsersRequest searchUsersRequest) This is a variant ofsearchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)operation.searchVocabularies(Consumer<SearchVocabulariesRequest.Builder> searchVocabulariesRequest) Searches for vocabularies within a specific Amazon Connect instance usingState,NameStartsWith, andLanguageCode.searchVocabularies(SearchVocabulariesRequest searchVocabulariesRequest) Searches for vocabularies within a specific Amazon Connect instance usingState,NameStartsWith, andLanguageCode.default SearchVocabulariesPublishersearchVocabulariesPaginator(Consumer<SearchVocabulariesRequest.Builder> searchVocabulariesRequest) This is a variant ofsearchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)operation.default SearchVocabulariesPublishersearchVocabulariesPaginator(SearchVocabulariesRequest searchVocabulariesRequest) This is a variant ofsearchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)operation.sendChatIntegrationEvent(Consumer<SendChatIntegrationEventRequest.Builder> sendChatIntegrationEventRequest) Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect.sendChatIntegrationEvent(SendChatIntegrationEventRequest sendChatIntegrationEventRequest) Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartAttachedFileUpload(Consumer<StartAttachedFileUploadRequest.Builder> startAttachedFileUploadRequest) Provides a pre-signed Amazon S3 URL in response for uploading your content.startAttachedFileUpload(StartAttachedFileUploadRequest startAttachedFileUploadRequest) Provides a pre-signed Amazon S3 URL in response for uploading your content.startChatContact(Consumer<StartChatContactRequest.Builder> startChatContactRequest) Initiates a flow to start a new chat for the customer.startChatContact(StartChatContactRequest startChatContactRequest) Initiates a flow to start a new chat for the customer.startContactEvaluation(Consumer<StartContactEvaluationRequest.Builder> startContactEvaluationRequest) Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact.startContactEvaluation(StartContactEvaluationRequest startContactEvaluationRequest) Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact.startContactRecording(Consumer<StartContactRecordingRequest.Builder> startContactRecordingRequest) Starts recording the contact:startContactRecording(StartContactRecordingRequest startContactRecordingRequest) Starts recording the contact:startContactStreaming(Consumer<StartContactStreamingRequest.Builder> startContactStreamingRequest) Initiates real-time message streaming for a new chat contact.startContactStreaming(StartContactStreamingRequest startContactStreamingRequest) Initiates real-time message streaming for a new chat contact.startOutboundChatContact(Consumer<StartOutboundChatContactRequest.Builder> startOutboundChatContactRequest) Initiates a new outbound SMS contact to a customer.startOutboundChatContact(StartOutboundChatContactRequest startOutboundChatContactRequest) Initiates a new outbound SMS contact to a customer.startOutboundVoiceContact(Consumer<StartOutboundVoiceContactRequest.Builder> startOutboundVoiceContactRequest) Places an outbound call to a contact, and then initiates the flow.startOutboundVoiceContact(StartOutboundVoiceContactRequest startOutboundVoiceContactRequest) Places an outbound call to a contact, and then initiates the flow.startTaskContact(Consumer<StartTaskContactRequest.Builder> startTaskContactRequest) Initiates a flow to start a new task contact.startTaskContact(StartTaskContactRequest startTaskContactRequest) Initiates a flow to start a new task contact.startWebRTCContact(Consumer<StartWebRtcContactRequest.Builder> startWebRtcContactRequest) Places an inbound in-app, web, or video call to a contact, and then initiates the flow.startWebRTCContact(StartWebRtcContactRequest startWebRtcContactRequest) Places an inbound in-app, web, or video call to a contact, and then initiates the flow.default CompletableFuture<StopContactResponse> stopContact(Consumer<StopContactRequest.Builder> stopContactRequest) Ends the specified contact.default CompletableFuture<StopContactResponse> stopContact(StopContactRequest stopContactRequest) Ends the specified contact.stopContactRecording(Consumer<StopContactRecordingRequest.Builder> stopContactRecordingRequest) Stops recording a call when a contact is being recorded.stopContactRecording(StopContactRecordingRequest stopContactRecordingRequest) Stops recording a call when a contact is being recorded.stopContactStreaming(Consumer<StopContactStreamingRequest.Builder> stopContactStreamingRequest) Ends message streaming on a specified contact.stopContactStreaming(StopContactStreamingRequest stopContactStreamingRequest) Ends message streaming on a specified contact.submitContactEvaluation(Consumer<SubmitContactEvaluationRequest.Builder> submitContactEvaluationRequest) Submits a contact evaluation in the specified Amazon Connect instance.submitContactEvaluation(SubmitContactEvaluationRequest submitContactEvaluationRequest) Submits a contact evaluation in the specified Amazon Connect instance.suspendContactRecording(Consumer<SuspendContactRecordingRequest.Builder> suspendContactRecordingRequest) When a contact is being recorded, this API suspends recording whatever is selected in the flow configuration: call, screen, or both.suspendContactRecording(SuspendContactRecordingRequest suspendContactRecordingRequest) When a contact is being recorded, this API suspends recording whatever is selected in the flow configuration: call, screen, or both.default CompletableFuture<TagContactResponse> tagContact(Consumer<TagContactRequest.Builder> tagContactRequest) Adds the specified tags to the contact resource.default CompletableFuture<TagContactResponse> tagContact(TagContactRequest tagContactRequest) Adds the specified tags to the contact resource.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture<TransferContactResponse> transferContact(Consumer<TransferContactRequest.Builder> transferContactRequest) Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created.default CompletableFuture<TransferContactResponse> transferContact(TransferContactRequest transferContactRequest) Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created.default CompletableFuture<UntagContactResponse> untagContact(Consumer<UntagContactRequest.Builder> untagContactRequest) Removes the specified tags from the contact resource.default CompletableFuture<UntagContactResponse> untagContact(UntagContactRequest untagContactRequest) Removes the specified tags from the contact resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified resource.updateAgentStatus(Consumer<UpdateAgentStatusRequest.Builder> updateAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.updateAgentStatus(UpdateAgentStatusRequest updateAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.updateAuthenticationProfile(Consumer<UpdateAuthenticationProfileRequest.Builder> updateAuthenticationProfileRequest) This API is in preview release for Amazon Connect and is subject to change.updateAuthenticationProfile(UpdateAuthenticationProfileRequest updateAuthenticationProfileRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<UpdateContactResponse> updateContact(Consumer<UpdateContactRequest.Builder> updateContactRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<UpdateContactResponse> updateContact(UpdateContactRequest updateContactRequest) This API is in preview release for Amazon Connect and is subject to change.updateContactAttributes(Consumer<UpdateContactAttributesRequest.Builder> updateContactAttributesRequest) Creates or updates user-defined contact attributes associated with the specified contact.updateContactAttributes(UpdateContactAttributesRequest updateContactAttributesRequest) Creates or updates user-defined contact attributes associated with the specified contact.updateContactEvaluation(Consumer<UpdateContactEvaluationRequest.Builder> updateContactEvaluationRequest) Updates details about a contact evaluation in the specified Amazon Connect instance.updateContactEvaluation(UpdateContactEvaluationRequest updateContactEvaluationRequest) Updates details about a contact evaluation in the specified Amazon Connect instance.updateContactFlowContent(Consumer<UpdateContactFlowContentRequest.Builder> updateContactFlowContentRequest) Updates the specified flow.updateContactFlowContent(UpdateContactFlowContentRequest updateContactFlowContentRequest) Updates the specified flow.updateContactFlowMetadata(Consumer<UpdateContactFlowMetadataRequest.Builder> updateContactFlowMetadataRequest) Updates metadata about specified flow.updateContactFlowMetadata(UpdateContactFlowMetadataRequest updateContactFlowMetadataRequest) Updates metadata about specified flow.updateContactFlowModuleContent(Consumer<UpdateContactFlowModuleContentRequest.Builder> updateContactFlowModuleContentRequest) Updates specified flow module for the specified Amazon Connect instance.updateContactFlowModuleContent(UpdateContactFlowModuleContentRequest updateContactFlowModuleContentRequest) Updates specified flow module for the specified Amazon Connect instance.updateContactFlowModuleMetadata(Consumer<UpdateContactFlowModuleMetadataRequest.Builder> updateContactFlowModuleMetadataRequest) Updates metadata about specified flow module.updateContactFlowModuleMetadata(UpdateContactFlowModuleMetadataRequest updateContactFlowModuleMetadataRequest) Updates metadata about specified flow module.updateContactFlowName(Consumer<UpdateContactFlowNameRequest.Builder> updateContactFlowNameRequest) The name of the flow.updateContactFlowName(UpdateContactFlowNameRequest updateContactFlowNameRequest) The name of the flow.updateContactRoutingData(Consumer<UpdateContactRoutingDataRequest.Builder> updateContactRoutingDataRequest) Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds).updateContactRoutingData(UpdateContactRoutingDataRequest updateContactRoutingDataRequest) Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds).updateContactSchedule(Consumer<UpdateContactScheduleRequest.Builder> updateContactScheduleRequest) Updates the scheduled time of a task contact that is already scheduled.updateContactSchedule(UpdateContactScheduleRequest updateContactScheduleRequest) Updates the scheduled time of a task contact that is already scheduled.updateEvaluationForm(Consumer<UpdateEvaluationFormRequest.Builder> updateEvaluationFormRequest) Updates details about a specific evaluation form version in the specified Amazon Connect instance.updateEvaluationForm(UpdateEvaluationFormRequest updateEvaluationFormRequest) Updates details about a specific evaluation form version in the specified Amazon Connect instance.updateHoursOfOperation(Consumer<UpdateHoursOfOperationRequest.Builder> updateHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.updateHoursOfOperation(UpdateHoursOfOperationRequest updateHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.updateInstanceAttribute(Consumer<UpdateInstanceAttributeRequest.Builder> updateInstanceAttributeRequest) This API is in preview release for Amazon Connect and is subject to change.updateInstanceAttribute(UpdateInstanceAttributeRequest updateInstanceAttributeRequest) This API is in preview release for Amazon Connect and is subject to change.updateInstanceStorageConfig(Consumer<UpdateInstanceStorageConfigRequest.Builder> updateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.updateInstanceStorageConfig(UpdateInstanceStorageConfigRequest updateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.updateParticipantRoleConfig(Consumer<UpdateParticipantRoleConfigRequest.Builder> updateParticipantRoleConfigRequest) Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness.updateParticipantRoleConfig(UpdateParticipantRoleConfigRequest updateParticipantRoleConfigRequest) Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness.updatePhoneNumber(Consumer<UpdatePhoneNumberRequest.Builder> updatePhoneNumberRequest) Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.updatePhoneNumber(UpdatePhoneNumberRequest updatePhoneNumberRequest) Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.updatePhoneNumberMetadata(Consumer<UpdatePhoneNumberMetadataRequest.Builder> updatePhoneNumberMetadataRequest) Updates a phone number’s metadata.updatePhoneNumberMetadata(UpdatePhoneNumberMetadataRequest updatePhoneNumberMetadataRequest) Updates a phone number’s metadata.updatePredefinedAttribute(Consumer<UpdatePredefinedAttributeRequest.Builder> updatePredefinedAttributeRequest) Updates a predefined attribute for the specified Amazon Connect instance.updatePredefinedAttribute(UpdatePredefinedAttributeRequest updatePredefinedAttributeRequest) Updates a predefined attribute for the specified Amazon Connect instance.default CompletableFuture<UpdatePromptResponse> updatePrompt(Consumer<UpdatePromptRequest.Builder> updatePromptRequest) Updates a prompt.default CompletableFuture<UpdatePromptResponse> updatePrompt(UpdatePromptRequest updatePromptRequest) Updates a prompt.updateQueueHoursOfOperation(Consumer<UpdateQueueHoursOfOperationRequest.Builder> updateQueueHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.updateQueueHoursOfOperation(UpdateQueueHoursOfOperationRequest updateQueueHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.updateQueueMaxContacts(Consumer<UpdateQueueMaxContactsRequest.Builder> updateQueueMaxContactsRequest) This API is in preview release for Amazon Connect and is subject to change.updateQueueMaxContacts(UpdateQueueMaxContactsRequest updateQueueMaxContactsRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<UpdateQueueNameResponse> updateQueueName(Consumer<UpdateQueueNameRequest.Builder> updateQueueNameRequest) This API is in preview release for Amazon Connect and is subject to change.default CompletableFuture<UpdateQueueNameResponse> updateQueueName(UpdateQueueNameRequest updateQueueNameRequest) This API is in preview release for Amazon Connect and is subject to change.updateQueueOutboundCallerConfig(Consumer<UpdateQueueOutboundCallerConfigRequest.Builder> updateQueueOutboundCallerConfigRequest) This API is in preview release for Amazon Connect and is subject to change.updateQueueOutboundCallerConfig(UpdateQueueOutboundCallerConfigRequest updateQueueOutboundCallerConfigRequest) This API is in preview release for Amazon Connect and is subject to change.updateQueueStatus(Consumer<UpdateQueueStatusRequest.Builder> updateQueueStatusRequest) This API is in preview release for Amazon Connect and is subject to change.updateQueueStatus(UpdateQueueStatusRequest updateQueueStatusRequest) This API is in preview release for Amazon Connect and is subject to change.updateQuickConnectConfig(Consumer<UpdateQuickConnectConfigRequest.Builder> updateQuickConnectConfigRequest) Updates the configuration settings for the specified quick connect.updateQuickConnectConfig(UpdateQuickConnectConfigRequest updateQuickConnectConfigRequest) Updates the configuration settings for the specified quick connect.updateQuickConnectName(Consumer<UpdateQuickConnectNameRequest.Builder> updateQuickConnectNameRequest) Updates the name and description of a quick connect.updateQuickConnectName(UpdateQuickConnectNameRequest updateQuickConnectNameRequest) Updates the name and description of a quick connect.updateRoutingProfileAgentAvailabilityTimer(Consumer<UpdateRoutingProfileAgentAvailabilityTimerRequest.Builder> updateRoutingProfileAgentAvailabilityTimerRequest) Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.updateRoutingProfileAgentAvailabilityTimer(UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.updateRoutingProfileConcurrency(Consumer<UpdateRoutingProfileConcurrencyRequest.Builder> updateRoutingProfileConcurrencyRequest) Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.updateRoutingProfileConcurrency(UpdateRoutingProfileConcurrencyRequest updateRoutingProfileConcurrencyRequest) Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.updateRoutingProfileDefaultOutboundQueue(Consumer<UpdateRoutingProfileDefaultOutboundQueueRequest.Builder> updateRoutingProfileDefaultOutboundQueueRequest) Updates the default outbound queue of a routing profile.updateRoutingProfileDefaultOutboundQueue(UpdateRoutingProfileDefaultOutboundQueueRequest updateRoutingProfileDefaultOutboundQueueRequest) Updates the default outbound queue of a routing profile.updateRoutingProfileName(Consumer<UpdateRoutingProfileNameRequest.Builder> updateRoutingProfileNameRequest) Updates the name and description of a routing profile.updateRoutingProfileName(UpdateRoutingProfileNameRequest updateRoutingProfileNameRequest) Updates the name and description of a routing profile.updateRoutingProfileQueues(Consumer<UpdateRoutingProfileQueuesRequest.Builder> updateRoutingProfileQueuesRequest) Updates the properties associated with a set of queues for a routing profile.updateRoutingProfileQueues(UpdateRoutingProfileQueuesRequest updateRoutingProfileQueuesRequest) Updates the properties associated with a set of queues for a routing profile.default CompletableFuture<UpdateRuleResponse> updateRule(Consumer<UpdateRuleRequest.Builder> updateRuleRequest) Updates a rule for the specified Amazon Connect instance.default CompletableFuture<UpdateRuleResponse> updateRule(UpdateRuleRequest updateRuleRequest) Updates a rule for the specified Amazon Connect instance.updateSecurityProfile(Consumer<UpdateSecurityProfileRequest.Builder> updateSecurityProfileRequest) Updates a security profile.updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest) Updates a security profile.updateTaskTemplate(Consumer<UpdateTaskTemplateRequest.Builder> updateTaskTemplateRequest) Updates details about a specific task template in the specified Amazon Connect instance.updateTaskTemplate(UpdateTaskTemplateRequest updateTaskTemplateRequest) Updates details about a specific task template in the specified Amazon Connect instance.updateTrafficDistribution(Consumer<UpdateTrafficDistributionRequest.Builder> updateTrafficDistributionRequest) Updates the traffic distribution for a given traffic distribution group.updateTrafficDistribution(UpdateTrafficDistributionRequest updateTrafficDistributionRequest) Updates the traffic distribution for a given traffic distribution group.updateUserHierarchy(Consumer<UpdateUserHierarchyRequest.Builder> updateUserHierarchyRequest) Assigns the specified hierarchy group to the specified user.updateUserHierarchy(UpdateUserHierarchyRequest updateUserHierarchyRequest) Assigns the specified hierarchy group to the specified user.updateUserHierarchyGroupName(Consumer<UpdateUserHierarchyGroupNameRequest.Builder> updateUserHierarchyGroupNameRequest) Updates the name of the user hierarchy group.updateUserHierarchyGroupName(UpdateUserHierarchyGroupNameRequest updateUserHierarchyGroupNameRequest) Updates the name of the user hierarchy group.updateUserHierarchyStructure(Consumer<UpdateUserHierarchyStructureRequest.Builder> updateUserHierarchyStructureRequest) Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.updateUserHierarchyStructure(UpdateUserHierarchyStructureRequest updateUserHierarchyStructureRequest) Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.updateUserIdentityInfo(Consumer<UpdateUserIdentityInfoRequest.Builder> updateUserIdentityInfoRequest) Updates the identity information for the specified user.updateUserIdentityInfo(UpdateUserIdentityInfoRequest updateUserIdentityInfoRequest) Updates the identity information for the specified user.updateUserPhoneConfig(Consumer<UpdateUserPhoneConfigRequest.Builder> updateUserPhoneConfigRequest) Updates the phone configuration settings for the specified user.updateUserPhoneConfig(UpdateUserPhoneConfigRequest updateUserPhoneConfigRequest) Updates the phone configuration settings for the specified user.updateUserProficiencies(Consumer<UpdateUserProficienciesRequest.Builder> updateUserProficienciesRequest) Updates the properties associated with the proficiencies of a user.updateUserProficiencies(UpdateUserProficienciesRequest updateUserProficienciesRequest) Updates the properties associated with the proficiencies of a user.updateUserRoutingProfile(Consumer<UpdateUserRoutingProfileRequest.Builder> updateUserRoutingProfileRequest) Assigns the specified routing profile to the specified user.updateUserRoutingProfile(UpdateUserRoutingProfileRequest updateUserRoutingProfileRequest) Assigns the specified routing profile to the specified user.updateUserSecurityProfiles(Consumer<UpdateUserSecurityProfilesRequest.Builder> updateUserSecurityProfilesRequest) Assigns the specified security profiles to the specified user.updateUserSecurityProfiles(UpdateUserSecurityProfilesRequest updateUserSecurityProfilesRequest) Assigns the specified security profiles to the specified user.updateViewContent(Consumer<UpdateViewContentRequest.Builder> updateViewContentRequest) Updates the view content of the given view identifier in the specified Amazon Connect instance.updateViewContent(UpdateViewContentRequest updateViewContentRequest) Updates the view content of the given view identifier in the specified Amazon Connect instance.updateViewMetadata(Consumer<UpdateViewMetadataRequest.Builder> updateViewMetadataRequest) Updates the view metadata.updateViewMetadata(UpdateViewMetadataRequest updateViewMetadataRequest) Updates the view metadata.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
activateEvaluationForm
default CompletableFuture<ActivateEvaluationFormResponse> activateEvaluationForm(ActivateEvaluationFormRequest activateEvaluationFormRequest) 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.
- Parameters:
activateEvaluationFormRequest-- Returns:
- A Java Future containing the result of the ActivateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
activateEvaluationForm
default CompletableFuture<ActivateEvaluationFormResponse> activateEvaluationForm(Consumer<ActivateEvaluationFormRequest.Builder> activateEvaluationFormRequest) 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
ActivateEvaluationFormRequest.Builderavoiding the need to create one manually viaActivateEvaluationFormRequest.builder()- Parameters:
activateEvaluationFormRequest- AConsumerthat will call methods onActivateEvaluationFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ActivateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAnalyticsDataSet
default CompletableFuture<AssociateAnalyticsDataSetResponse> associateAnalyticsDataSet(AssociateAnalyticsDataSetRequest associateAnalyticsDataSetRequest) Associates the specified dataset for a Amazon Connect instance with the target account. You can associate only one dataset in a single call.
- Parameters:
associateAnalyticsDataSetRequest-- Returns:
- A Java Future containing the result of the AssociateAnalyticsDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAnalyticsDataSet
default CompletableFuture<AssociateAnalyticsDataSetResponse> associateAnalyticsDataSet(Consumer<AssociateAnalyticsDataSetRequest.Builder> associateAnalyticsDataSetRequest) 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
AssociateAnalyticsDataSetRequest.Builderavoiding the need to create one manually viaAssociateAnalyticsDataSetRequest.builder()- Parameters:
associateAnalyticsDataSetRequest- AConsumerthat will call methods onAssociateAnalyticsDataSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateAnalyticsDataSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateApprovedOrigin
default CompletableFuture<AssociateApprovedOriginResponse> associateApprovedOrigin(AssociateApprovedOriginRequest associateApprovedOriginRequest) This API is in preview release for Amazon Connect and is subject to change.
Associates an approved origin to an Amazon Connect instance.
- Parameters:
associateApprovedOriginRequest-- Returns:
- A Java Future containing the result of the AssociateApprovedOrigin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateApprovedOrigin
default CompletableFuture<AssociateApprovedOriginResponse> associateApprovedOrigin(Consumer<AssociateApprovedOriginRequest.Builder> associateApprovedOriginRequest) 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
AssociateApprovedOriginRequest.Builderavoiding the need to create one manually viaAssociateApprovedOriginRequest.builder()- Parameters:
associateApprovedOriginRequest- AConsumerthat will call methods onAssociateApprovedOriginRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateApprovedOrigin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateBot
default CompletableFuture<AssociateBotResponse> associateBot(AssociateBotRequest associateBotRequest) 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.
- Parameters:
associateBotRequest-- Returns:
- A Java Future containing the result of the AssociateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateBot
default CompletableFuture<AssociateBotResponse> associateBot(Consumer<AssociateBotRequest.Builder> associateBotRequest) 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
AssociateBotRequest.Builderavoiding the need to create one manually viaAssociateBotRequest.builder()- Parameters:
associateBotRequest- AConsumerthat will call methods onAssociateBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateDefaultVocabulary
default CompletableFuture<AssociateDefaultVocabularyResponse> associateDefaultVocabulary(AssociateDefaultVocabularyRequest associateDefaultVocabularyRequest) 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.
- Parameters:
associateDefaultVocabularyRequest-- Returns:
- A Java Future containing the result of the AssociateDefaultVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateDefaultVocabulary
default CompletableFuture<AssociateDefaultVocabularyResponse> associateDefaultVocabulary(Consumer<AssociateDefaultVocabularyRequest.Builder> associateDefaultVocabularyRequest) 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
AssociateDefaultVocabularyRequest.Builderavoiding the need to create one manually viaAssociateDefaultVocabularyRequest.builder()- Parameters:
associateDefaultVocabularyRequest- AConsumerthat will call methods onAssociateDefaultVocabularyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateDefaultVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateFlow
default CompletableFuture<AssociateFlowResponse> associateFlow(AssociateFlowRequest associateFlowRequest) Associates a connect resource to a flow.
- Parameters:
associateFlowRequest-- Returns:
- A Java Future containing the result of the AssociateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateFlow
default CompletableFuture<AssociateFlowResponse> associateFlow(Consumer<AssociateFlowRequest.Builder> associateFlowRequest) Associates a connect resource to a flow.
This is a convenience which creates an instance of the
AssociateFlowRequest.Builderavoiding the need to create one manually viaAssociateFlowRequest.builder()- Parameters:
associateFlowRequest- AConsumerthat will call methods onAssociateFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateInstanceStorageConfig
default CompletableFuture<AssociateInstanceStorageConfigResponse> associateInstanceStorageConfig(AssociateInstanceStorageConfigRequest associateInstanceStorageConfigRequest) 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.
- Parameters:
associateInstanceStorageConfigRequest-- Returns:
- A Java Future containing the result of the AssociateInstanceStorageConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateInstanceStorageConfig
default CompletableFuture<AssociateInstanceStorageConfigResponse> associateInstanceStorageConfig(Consumer<AssociateInstanceStorageConfigRequest.Builder> associateInstanceStorageConfigRequest) 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
AssociateInstanceStorageConfigRequest.Builderavoiding the need to create one manually viaAssociateInstanceStorageConfigRequest.builder()- Parameters:
associateInstanceStorageConfigRequest- AConsumerthat will call methods onAssociateInstanceStorageConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateInstanceStorageConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateLambdaFunction
default CompletableFuture<AssociateLambdaFunctionResponse> associateLambdaFunction(AssociateLambdaFunctionRequest associateLambdaFunctionRequest) 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.
- Parameters:
associateLambdaFunctionRequest-- Returns:
- A Java Future containing the result of the AssociateLambdaFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateLambdaFunction
default CompletableFuture<AssociateLambdaFunctionResponse> associateLambdaFunction(Consumer<AssociateLambdaFunctionRequest.Builder> associateLambdaFunctionRequest) 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
AssociateLambdaFunctionRequest.Builderavoiding the need to create one manually viaAssociateLambdaFunctionRequest.builder()- Parameters:
associateLambdaFunctionRequest- AConsumerthat will call methods onAssociateLambdaFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateLambdaFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateLexBot
default CompletableFuture<AssociateLexBotResponse> associateLexBot(AssociateLexBotRequest associateLexBotRequest) 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.
- Parameters:
associateLexBotRequest-- Returns:
- A Java Future containing the result of the AssociateLexBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateLexBot
default CompletableFuture<AssociateLexBotResponse> associateLexBot(Consumer<AssociateLexBotRequest.Builder> associateLexBotRequest) 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
AssociateLexBotRequest.Builderavoiding the need to create one manually viaAssociateLexBotRequest.builder()- Parameters:
associateLexBotRequest- AConsumerthat will call methods onAssociateLexBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateLexBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associatePhoneNumberContactFlow
default CompletableFuture<AssociatePhoneNumberContactFlowResponse> associatePhoneNumberContactFlow(AssociatePhoneNumberContactFlowRequest associatePhoneNumberContactFlowRequest) 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
PhoneNumberIdURI 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 aResourceNotFoundException.- Parameters:
associatePhoneNumberContactFlowRequest-- Returns:
- A Java Future containing the result of the AssociatePhoneNumberContactFlow operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associatePhoneNumberContactFlow
default CompletableFuture<AssociatePhoneNumberContactFlowResponse> associatePhoneNumberContactFlow(Consumer<AssociatePhoneNumberContactFlowRequest.Builder> associatePhoneNumberContactFlowRequest) 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
PhoneNumberIdURI 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 aResourceNotFoundException.
This is a convenience which creates an instance of the
AssociatePhoneNumberContactFlowRequest.Builderavoiding the need to create one manually viaAssociatePhoneNumberContactFlowRequest.builder()- Parameters:
associatePhoneNumberContactFlowRequest- AConsumerthat will call methods onAssociatePhoneNumberContactFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociatePhoneNumberContactFlow operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateQueueQuickConnects
default CompletableFuture<AssociateQueueQuickConnectsResponse> associateQueueQuickConnects(AssociateQueueQuickConnectsRequest associateQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.
Associates a set of quick connects with a queue.
- Parameters:
associateQueueQuickConnectsRequest-- Returns:
- A Java Future containing the result of the AssociateQueueQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateQueueQuickConnects
default CompletableFuture<AssociateQueueQuickConnectsResponse> associateQueueQuickConnects(Consumer<AssociateQueueQuickConnectsRequest.Builder> associateQueueQuickConnectsRequest) 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
AssociateQueueQuickConnectsRequest.Builderavoiding the need to create one manually viaAssociateQueueQuickConnectsRequest.builder()- Parameters:
associateQueueQuickConnectsRequest- AConsumerthat will call methods onAssociateQueueQuickConnectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateQueueQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateRoutingProfileQueues
default CompletableFuture<AssociateRoutingProfileQueuesResponse> associateRoutingProfileQueues(AssociateRoutingProfileQueuesRequest associateRoutingProfileQueuesRequest) Associates a set of queues with a routing profile.
- Parameters:
associateRoutingProfileQueuesRequest-- Returns:
- A Java Future containing the result of the AssociateRoutingProfileQueues operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateRoutingProfileQueues
default CompletableFuture<AssociateRoutingProfileQueuesResponse> associateRoutingProfileQueues(Consumer<AssociateRoutingProfileQueuesRequest.Builder> associateRoutingProfileQueuesRequest) Associates a set of queues with a routing profile.
This is a convenience which creates an instance of the
AssociateRoutingProfileQueuesRequest.Builderavoiding the need to create one manually viaAssociateRoutingProfileQueuesRequest.builder()- Parameters:
associateRoutingProfileQueuesRequest- AConsumerthat will call methods onAssociateRoutingProfileQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateRoutingProfileQueues operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateSecurityKey
default CompletableFuture<AssociateSecurityKeyResponse> associateSecurityKey(AssociateSecurityKeyRequest associateSecurityKeyRequest) This API is in preview release for Amazon Connect and is subject to change.
Associates a security key to the instance.
- Parameters:
associateSecurityKeyRequest-- Returns:
- A Java Future containing the result of the AssociateSecurityKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateSecurityKey
default CompletableFuture<AssociateSecurityKeyResponse> associateSecurityKey(Consumer<AssociateSecurityKeyRequest.Builder> associateSecurityKeyRequest) 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
AssociateSecurityKeyRequest.Builderavoiding the need to create one manually viaAssociateSecurityKeyRequest.builder()- Parameters:
associateSecurityKeyRequest- AConsumerthat will call methods onAssociateSecurityKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateSecurityKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateTrafficDistributionGroupUser
default CompletableFuture<AssociateTrafficDistributionGroupUserResponse> associateTrafficDistributionGroupUser(AssociateTrafficDistributionGroupUserRequest associateTrafficDistributionGroupUserRequest) Associates an agent with a traffic distribution group.
- Parameters:
associateTrafficDistributionGroupUserRequest-- Returns:
- A Java Future containing the result of the AssociateTrafficDistributionGroupUser operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateTrafficDistributionGroupUser
default CompletableFuture<AssociateTrafficDistributionGroupUserResponse> associateTrafficDistributionGroupUser(Consumer<AssociateTrafficDistributionGroupUserRequest.Builder> associateTrafficDistributionGroupUserRequest) Associates an agent with a traffic distribution group.
This is a convenience which creates an instance of the
AssociateTrafficDistributionGroupUserRequest.Builderavoiding the need to create one manually viaAssociateTrafficDistributionGroupUserRequest.builder()- Parameters:
associateTrafficDistributionGroupUserRequest- AConsumerthat will call methods onAssociateTrafficDistributionGroupUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateTrafficDistributionGroupUser operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateUserProficiencies
default CompletableFuture<AssociateUserProficienciesResponse> associateUserProficiencies(AssociateUserProficienciesRequest associateUserProficienciesRequest) >Associates a set of proficiencies with a user.
- Parameters:
associateUserProficienciesRequest-- Returns:
- A Java Future containing the result of the AssociateUserProficiencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateUserProficiencies
default CompletableFuture<AssociateUserProficienciesResponse> associateUserProficiencies(Consumer<AssociateUserProficienciesRequest.Builder> associateUserProficienciesRequest) >Associates a set of proficiencies with a user.
This is a convenience which creates an instance of the
AssociateUserProficienciesRequest.Builderavoiding the need to create one manually viaAssociateUserProficienciesRequest.builder()- Parameters:
associateUserProficienciesRequest- AConsumerthat will call methods onAssociateUserProficienciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateUserProficiencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchAssociateAnalyticsDataSet
default CompletableFuture<BatchAssociateAnalyticsDataSetResponse> batchAssociateAnalyticsDataSet(BatchAssociateAnalyticsDataSetRequest batchAssociateAnalyticsDataSetRequest) 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.
- Parameters:
batchAssociateAnalyticsDataSetRequest-- Returns:
- A Java Future containing the result of the BatchAssociateAnalyticsDataSet operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchAssociateAnalyticsDataSet
default CompletableFuture<BatchAssociateAnalyticsDataSetResponse> batchAssociateAnalyticsDataSet(Consumer<BatchAssociateAnalyticsDataSetRequest.Builder> batchAssociateAnalyticsDataSetRequest) 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
BatchAssociateAnalyticsDataSetRequest.Builderavoiding the need to create one manually viaBatchAssociateAnalyticsDataSetRequest.builder()- Parameters:
batchAssociateAnalyticsDataSetRequest- AConsumerthat will call methods onBatchAssociateAnalyticsDataSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchAssociateAnalyticsDataSet operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDisassociateAnalyticsDataSet
default CompletableFuture<BatchDisassociateAnalyticsDataSetResponse> batchDisassociateAnalyticsDataSet(BatchDisassociateAnalyticsDataSetRequest batchDisassociateAnalyticsDataSetRequest) Removes a list of analytics datasets associated with a given Amazon Connect instance. You can disassociate multiple datasets in a single call.
- Parameters:
batchDisassociateAnalyticsDataSetRequest-- Returns:
- A Java Future containing the result of the BatchDisassociateAnalyticsDataSet operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDisassociateAnalyticsDataSet
default CompletableFuture<BatchDisassociateAnalyticsDataSetResponse> batchDisassociateAnalyticsDataSet(Consumer<BatchDisassociateAnalyticsDataSetRequest.Builder> batchDisassociateAnalyticsDataSetRequest) 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
BatchDisassociateAnalyticsDataSetRequest.Builderavoiding the need to create one manually viaBatchDisassociateAnalyticsDataSetRequest.builder()- Parameters:
batchDisassociateAnalyticsDataSetRequest- AConsumerthat will call methods onBatchDisassociateAnalyticsDataSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchDisassociateAnalyticsDataSet operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAttachedFileMetadata
default CompletableFuture<BatchGetAttachedFileMetadataResponse> batchGetAttachedFileMetadata(BatchGetAttachedFileMetadataRequest batchGetAttachedFileMetadataRequest) 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.
- Parameters:
batchGetAttachedFileMetadataRequest-- Returns:
- A Java Future containing the result of the BatchGetAttachedFileMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAttachedFileMetadata
default CompletableFuture<BatchGetAttachedFileMetadataResponse> batchGetAttachedFileMetadata(Consumer<BatchGetAttachedFileMetadataRequest.Builder> batchGetAttachedFileMetadataRequest) 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
BatchGetAttachedFileMetadataRequest.Builderavoiding the need to create one manually viaBatchGetAttachedFileMetadataRequest.builder()- Parameters:
batchGetAttachedFileMetadataRequest- AConsumerthat will call methods onBatchGetAttachedFileMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetAttachedFileMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetFlowAssociation
default CompletableFuture<BatchGetFlowAssociationResponse> batchGetFlowAssociation(BatchGetFlowAssociationRequest batchGetFlowAssociationRequest) Retrieve the flow associations for the given resources.
- Parameters:
batchGetFlowAssociationRequest-- Returns:
- A Java Future containing the result of the BatchGetFlowAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetFlowAssociation
default CompletableFuture<BatchGetFlowAssociationResponse> batchGetFlowAssociation(Consumer<BatchGetFlowAssociationRequest.Builder> batchGetFlowAssociationRequest) Retrieve the flow associations for the given resources.
This is a convenience which creates an instance of the
BatchGetFlowAssociationRequest.Builderavoiding the need to create one manually viaBatchGetFlowAssociationRequest.builder()- Parameters:
batchGetFlowAssociationRequest- AConsumerthat will call methods onBatchGetFlowAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetFlowAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchPutContact
default CompletableFuture<BatchPutContactResponse> batchPutContact(BatchPutContactRequest batchPutContactRequest) 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.
- Parameters:
batchPutContactRequest-- Returns:
- A Java Future containing the result of the BatchPutContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- IdempotencyException An entity with the same name already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchPutContact
default CompletableFuture<BatchPutContactResponse> batchPutContact(Consumer<BatchPutContactRequest.Builder> batchPutContactRequest) 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
BatchPutContactRequest.Builderavoiding the need to create one manually viaBatchPutContactRequest.builder()- Parameters:
batchPutContactRequest- AConsumerthat will call methods onBatchPutContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchPutContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- IdempotencyException An entity with the same name already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
claimPhoneNumber
default CompletableFuture<ClaimPhoneNumberResponse> claimPhoneNumber(ClaimPhoneNumberRequest claimPhoneNumberRequest) 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.
- Parameters:
claimPhoneNumberRequest-- Returns:
- A Java Future containing the result of the ClaimPhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
claimPhoneNumber
default CompletableFuture<ClaimPhoneNumberResponse> claimPhoneNumber(Consumer<ClaimPhoneNumberRequest.Builder> claimPhoneNumberRequest) 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
ClaimPhoneNumberRequest.Builderavoiding the need to create one manually viaClaimPhoneNumberRequest.builder()- Parameters:
claimPhoneNumberRequest- AConsumerthat will call methods onClaimPhoneNumberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ClaimPhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
completeAttachedFileUpload
default CompletableFuture<CompleteAttachedFileUploadResponse> completeAttachedFileUpload(CompleteAttachedFileUploadRequest completeAttachedFileUploadRequest) Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.
- Parameters:
completeAttachedFileUploadRequest- Request to CompleteAttachedFileUpload API- Returns:
- A Java Future containing the result of the CompleteAttachedFileUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
completeAttachedFileUpload
default CompletableFuture<CompleteAttachedFileUploadResponse> completeAttachedFileUpload(Consumer<CompleteAttachedFileUploadRequest.Builder> completeAttachedFileUploadRequest) 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
CompleteAttachedFileUploadRequest.Builderavoiding the need to create one manually viaCompleteAttachedFileUploadRequest.builder()- Parameters:
completeAttachedFileUploadRequest- AConsumerthat will call methods onCompleteAttachedFileUploadRequest.Builderto create a request. Request to CompleteAttachedFileUpload API- Returns:
- A Java Future containing the result of the CompleteAttachedFileUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentStatus
default CompletableFuture<CreateAgentStatusResponse> createAgentStatus(CreateAgentStatusRequest createAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.
Creates an agent status for the specified Amazon Connect instance.
- Parameters:
createAgentStatusRequest-- Returns:
- A Java Future containing the result of the CreateAgentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentStatus
default CompletableFuture<CreateAgentStatusResponse> createAgentStatus(Consumer<CreateAgentStatusRequest.Builder> createAgentStatusRequest) 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
CreateAgentStatusRequest.Builderavoiding the need to create one manually viaCreateAgentStatusRequest.builder()- Parameters:
createAgentStatusRequest- AConsumerthat will call methods onCreateAgentStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAgentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContactFlow
default CompletableFuture<CreateContactFlowResponse> createContactFlow(CreateContactFlowRequest createContactFlowRequest) Creates a flow for the specified Amazon Connect instance.
You can also create and update flows using the Amazon Connect Flow language.
- Parameters:
createContactFlowRequest-- Returns:
- A Java Future containing the result of the CreateContactFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidContactFlowException The flow is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContactFlow
default CompletableFuture<CreateContactFlowResponse> createContactFlow(Consumer<CreateContactFlowRequest.Builder> createContactFlowRequest) 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
CreateContactFlowRequest.Builderavoiding the need to create one manually viaCreateContactFlowRequest.builder()- Parameters:
createContactFlowRequest- AConsumerthat will call methods onCreateContactFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateContactFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidContactFlowException The flow is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContactFlowModule
default CompletableFuture<CreateContactFlowModuleResponse> createContactFlowModule(CreateContactFlowModuleRequest createContactFlowModuleRequest) Creates a flow module for the specified Amazon Connect instance.
- Parameters:
createContactFlowModuleRequest-- Returns:
- A Java Future containing the result of the CreateContactFlowModule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidContactFlowModuleException The problems with the module. Please fix before trying again.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- IdempotencyException An entity with the same name already exists.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContactFlowModule
default CompletableFuture<CreateContactFlowModuleResponse> createContactFlowModule(Consumer<CreateContactFlowModuleRequest.Builder> createContactFlowModuleRequest) Creates a flow module for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
CreateContactFlowModuleRequest.Builderavoiding the need to create one manually viaCreateContactFlowModuleRequest.builder()- Parameters:
createContactFlowModuleRequest- AConsumerthat will call methods onCreateContactFlowModuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateContactFlowModule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidContactFlowModuleException The problems with the module. Please fix before trying again.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- IdempotencyException An entity with the same name already exists.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEvaluationForm
default CompletableFuture<CreateEvaluationFormResponse> createEvaluationForm(CreateEvaluationFormRequest createEvaluationFormRequest) 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.
- Parameters:
createEvaluationFormRequest-- Returns:
- A Java Future containing the result of the CreateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEvaluationForm
default CompletableFuture<CreateEvaluationFormResponse> createEvaluationForm(Consumer<CreateEvaluationFormRequest.Builder> createEvaluationFormRequest) 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
CreateEvaluationFormRequest.Builderavoiding the need to create one manually viaCreateEvaluationFormRequest.builder()- Parameters:
createEvaluationFormRequest- AConsumerthat will call methods onCreateEvaluationFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createHoursOfOperation
default CompletableFuture<CreateHoursOfOperationResponse> createHoursOfOperation(CreateHoursOfOperationRequest createHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.
Creates hours of operation.
- Parameters:
createHoursOfOperationRequest-- Returns:
- A Java Future containing the result of the CreateHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createHoursOfOperation
default CompletableFuture<CreateHoursOfOperationResponse> createHoursOfOperation(Consumer<CreateHoursOfOperationRequest.Builder> createHoursOfOperationRequest) 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
CreateHoursOfOperationRequest.Builderavoiding the need to create one manually viaCreateHoursOfOperationRequest.builder()- Parameters:
createHoursOfOperationRequest- AConsumerthat will call methods onCreateHoursOfOperationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInstance
default CompletableFuture<CreateInstanceResponse> createInstance(CreateInstanceRequest createInstanceRequest) 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.
- Parameters:
createInstanceRequest-- Returns:
- A Java Future containing the result of the CreateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInstance
default CompletableFuture<CreateInstanceResponse> createInstance(Consumer<CreateInstanceRequest.Builder> createInstanceRequest) 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
CreateInstanceRequest.Builderavoiding the need to create one manually viaCreateInstanceRequest.builder()- Parameters:
createInstanceRequest- AConsumerthat will call methods onCreateInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegrationAssociation
default CompletableFuture<CreateIntegrationAssociationResponse> createIntegrationAssociation(CreateIntegrationAssociationRequest createIntegrationAssociationRequest) Creates an Amazon Web Services resource association with an Amazon Connect instance.
- Parameters:
createIntegrationAssociationRequest-- Returns:
- A Java Future containing the result of the CreateIntegrationAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegrationAssociation
default CompletableFuture<CreateIntegrationAssociationResponse> createIntegrationAssociation(Consumer<CreateIntegrationAssociationRequest.Builder> createIntegrationAssociationRequest) Creates an Amazon Web Services resource association with an Amazon Connect instance.
This is a convenience which creates an instance of the
CreateIntegrationAssociationRequest.Builderavoiding the need to create one manually viaCreateIntegrationAssociationRequest.builder()- Parameters:
createIntegrationAssociationRequest- AConsumerthat will call methods onCreateIntegrationAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateIntegrationAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createParticipant
default CompletableFuture<CreateParticipantResponse> createParticipant(CreateParticipantRequest createParticipantRequest) Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants.
- Parameters:
createParticipantRequest-- Returns:
- A Java Future containing the result of the CreateParticipant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createParticipant
default CompletableFuture<CreateParticipantResponse> createParticipant(Consumer<CreateParticipantRequest.Builder> createParticipantRequest) 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
CreateParticipantRequest.Builderavoiding the need to create one manually viaCreateParticipantRequest.builder()- Parameters:
createParticipantRequest- AConsumerthat will call methods onCreateParticipantRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateParticipant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPersistentContactAssociation
default CompletableFuture<CreatePersistentContactAssociationResponse> createPersistentContactAssociation(CreatePersistentContactAssociationRequest createPersistentContactAssociationRequest) 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.
- Parameters:
createPersistentContactAssociationRequest-- Returns:
- A Java Future containing the result of the CreatePersistentContactAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPersistentContactAssociation
default CompletableFuture<CreatePersistentContactAssociationResponse> createPersistentContactAssociation(Consumer<CreatePersistentContactAssociationRequest.Builder> createPersistentContactAssociationRequest) 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
CreatePersistentContactAssociationRequest.Builderavoiding the need to create one manually viaCreatePersistentContactAssociationRequest.builder()- Parameters:
createPersistentContactAssociationRequest- AConsumerthat will call methods onCreatePersistentContactAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePersistentContactAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPredefinedAttribute
default CompletableFuture<CreatePredefinedAttributeResponse> createPredefinedAttribute(CreatePredefinedAttributeRequest createPredefinedAttributeRequest) 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.
- Parameters:
createPredefinedAttributeRequest-- Returns:
- A Java Future containing the result of the CreatePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPredefinedAttribute
default CompletableFuture<CreatePredefinedAttributeResponse> createPredefinedAttribute(Consumer<CreatePredefinedAttributeRequest.Builder> createPredefinedAttributeRequest) 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
CreatePredefinedAttributeRequest.Builderavoiding the need to create one manually viaCreatePredefinedAttributeRequest.builder()- Parameters:
createPredefinedAttributeRequest- AConsumerthat will call methods onCreatePredefinedAttributeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPrompt
default CompletableFuture<CreatePromptResponse> createPrompt(CreatePromptRequest createPromptRequest) 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.
- Parameters:
createPromptRequest-- Returns:
- A Java Future containing the result of the CreatePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPrompt
default CompletableFuture<CreatePromptResponse> createPrompt(Consumer<CreatePromptRequest.Builder> createPromptRequest) 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
CreatePromptRequest.Builderavoiding the need to create one manually viaCreatePromptRequest.builder()- Parameters:
createPromptRequest- AConsumerthat will call methods onCreatePromptRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createQueue
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 aResourceNotFoundException. -
Only use the phone number ARN format that doesn't contain
instancein 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.
- Parameters:
createQueueRequest-- Returns:
- A Java Future containing the result of the CreateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createQueue
default CompletableFuture<CreateQueueResponse> createQueue(Consumer<CreateQueueRequest.Builder> createQueueRequest) 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 aResourceNotFoundException. -
Only use the phone number ARN format that doesn't contain
instancein 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
CreateQueueRequest.Builderavoiding the need to create one manually viaCreateQueueRequest.builder()- Parameters:
createQueueRequest- AConsumerthat will call methods onCreateQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createQuickConnect
default CompletableFuture<CreateQuickConnectResponse> createQuickConnect(CreateQuickConnectRequest createQuickConnectRequest) Creates a quick connect for the specified Amazon Connect instance.
- Parameters:
createQuickConnectRequest-- Returns:
- A Java Future containing the result of the CreateQuickConnect operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createQuickConnect
default CompletableFuture<CreateQuickConnectResponse> createQuickConnect(Consumer<CreateQuickConnectRequest.Builder> createQuickConnectRequest) Creates a quick connect for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
CreateQuickConnectRequest.Builderavoiding the need to create one manually viaCreateQuickConnectRequest.builder()- Parameters:
createQuickConnectRequest- AConsumerthat will call methods onCreateQuickConnectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateQuickConnect operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRoutingProfile
default CompletableFuture<CreateRoutingProfileResponse> createRoutingProfile(CreateRoutingProfileRequest createRoutingProfileRequest) Creates a new routing profile.
- Parameters:
createRoutingProfileRequest-- Returns:
- A Java Future containing the result of the CreateRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRoutingProfile
default CompletableFuture<CreateRoutingProfileResponse> createRoutingProfile(Consumer<CreateRoutingProfileRequest.Builder> createRoutingProfileRequest) Creates a new routing profile.
This is a convenience which creates an instance of the
CreateRoutingProfileRequest.Builderavoiding the need to create one manually viaCreateRoutingProfileRequest.builder()- Parameters:
createRoutingProfileRequest- AConsumerthat will call methods onCreateRoutingProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRule
Creates a rule for the specified Amazon Connect instance.
Use the Rules Function language to code conditions for the rule.
- Parameters:
createRuleRequest-- Returns:
- A Java Future containing the result of the CreateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceConflictException A resource already has that name.
- ServiceQuotaExceededException The service quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRule
default CompletableFuture<CreateRuleResponse> createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest) 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
CreateRuleRequest.Builderavoiding the need to create one manually viaCreateRuleRequest.builder()- Parameters:
createRuleRequest- AConsumerthat will call methods onCreateRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceConflictException A resource already has that name.
- ServiceQuotaExceededException The service quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSecurityProfile
default CompletableFuture<CreateSecurityProfileResponse> createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest) 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.
- Parameters:
createSecurityProfileRequest-- Returns:
- A Java Future containing the result of the CreateSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSecurityProfile
default CompletableFuture<CreateSecurityProfileResponse> createSecurityProfile(Consumer<CreateSecurityProfileRequest.Builder> createSecurityProfileRequest) 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
CreateSecurityProfileRequest.Builderavoiding the need to create one manually viaCreateSecurityProfileRequest.builder()- Parameters:
createSecurityProfileRequest- AConsumerthat will call methods onCreateSecurityProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTaskTemplate
default CompletableFuture<CreateTaskTemplateResponse> createTaskTemplate(CreateTaskTemplateRequest createTaskTemplateRequest) Creates a new task template in the specified Amazon Connect instance.
- Parameters:
createTaskTemplateRequest-- Returns:
- A Java Future containing the result of the CreateTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- PropertyValidationException The property is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTaskTemplate
default CompletableFuture<CreateTaskTemplateResponse> createTaskTemplate(Consumer<CreateTaskTemplateRequest.Builder> createTaskTemplateRequest) Creates a new task template in the specified Amazon Connect instance.
This is a convenience which creates an instance of the
CreateTaskTemplateRequest.Builderavoiding the need to create one manually viaCreateTaskTemplateRequest.builder()- Parameters:
createTaskTemplateRequest- AConsumerthat will call methods onCreateTaskTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- PropertyValidationException The property is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTrafficDistributionGroup
default CompletableFuture<CreateTrafficDistributionGroupResponse> createTrafficDistributionGroup(CreateTrafficDistributionGroupRequest createTrafficDistributionGroupRequest) Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
The
SignInConfigdistribution is available only on a defaultTrafficDistributionGroup(see theIsDefaultparameter in the TrafficDistributionGroup data type). If you callUpdateTrafficDistributionwith a modifiedSignInConfigand a non-defaultTrafficDistributionGroup, anInvalidRequestExceptionis returned.For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
- Parameters:
createTrafficDistributionGroupRequest-- Returns:
- A Java Future containing the result of the CreateTrafficDistributionGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- ResourceNotReadyException The resource is not ready.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTrafficDistributionGroup
default CompletableFuture<CreateTrafficDistributionGroupResponse> createTrafficDistributionGroup(Consumer<CreateTrafficDistributionGroupRequest.Builder> createTrafficDistributionGroupRequest) Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
The
SignInConfigdistribution is available only on a defaultTrafficDistributionGroup(see theIsDefaultparameter in the TrafficDistributionGroup data type). If you callUpdateTrafficDistributionwith a modifiedSignInConfigand a non-defaultTrafficDistributionGroup, anInvalidRequestExceptionis 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
CreateTrafficDistributionGroupRequest.Builderavoiding the need to create one manually viaCreateTrafficDistributionGroupRequest.builder()- Parameters:
createTrafficDistributionGroupRequest- AConsumerthat will call methods onCreateTrafficDistributionGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTrafficDistributionGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- ResourceNotReadyException The resource is not ready.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUseCase
default CompletableFuture<CreateUseCaseResponse> createUseCase(CreateUseCaseRequest createUseCaseRequest) Creates a use case for an integration association.
- Parameters:
createUseCaseRequest-- Returns:
- A Java Future containing the result of the CreateUseCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUseCase
default CompletableFuture<CreateUseCaseResponse> createUseCase(Consumer<CreateUseCaseRequest.Builder> createUseCaseRequest) Creates a use case for an integration association.
This is a convenience which creates an instance of the
CreateUseCaseRequest.Builderavoiding the need to create one manually viaCreateUseCaseRequest.builder()- Parameters:
createUseCaseRequest- AConsumerthat will call methods onCreateUseCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateUseCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUser
Creates a user account for the specified Amazon Connect instance.
Certain UserIdentityInfo parameters are required in some situations. For example,
Emailis required if you are using SAML for identity management.FirstNameandLastNameare 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.
- Parameters:
createUserRequest-- Returns:
- A Java Future containing the result of the CreateUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUser
default CompletableFuture<CreateUserResponse> createUser(Consumer<CreateUserRequest.Builder> createUserRequest) Creates a user account for the specified Amazon Connect instance.
Certain UserIdentityInfo parameters are required in some situations. For example,
Emailis required if you are using SAML for identity management.FirstNameandLastNameare 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
CreateUserRequest.Builderavoiding the need to create one manually viaCreateUserRequest.builder()- Parameters:
createUserRequest- AConsumerthat will call methods onCreateUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUserHierarchyGroup
default CompletableFuture<CreateUserHierarchyGroupResponse> createUserHierarchyGroup(CreateUserHierarchyGroupRequest createUserHierarchyGroupRequest) Creates a new user hierarchy group.
- Parameters:
createUserHierarchyGroupRequest-- Returns:
- A Java Future containing the result of the CreateUserHierarchyGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUserHierarchyGroup
default CompletableFuture<CreateUserHierarchyGroupResponse> createUserHierarchyGroup(Consumer<CreateUserHierarchyGroupRequest.Builder> createUserHierarchyGroupRequest) Creates a new user hierarchy group.
This is a convenience which creates an instance of the
CreateUserHierarchyGroupRequest.Builderavoiding the need to create one manually viaCreateUserHierarchyGroupRequest.builder()- Parameters:
createUserHierarchyGroupRequest- AConsumerthat will call methods onCreateUserHierarchyGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateUserHierarchyGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createView
Creates a new view with the possible status of
SAVEDorPUBLISHED.The views will have a unique name for each connect instance.
It performs basic content validation if the status is
SAVEDor full content validation if the status is set toPUBLISHED. An error is returned if validation fails. It associates either theinvalid input: '$'SAVEDqualifier or both of theinvalid input: '$'SAVEDandinvalid input: '$'LATESTqualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.- Parameters:
createViewRequest-- Returns:
- A Java Future containing the result of the CreateView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- DuplicateResourceException A resource with the specified name already exists.
- ServiceQuotaExceededException The service quota has been exceeded.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createView
default CompletableFuture<CreateViewResponse> createView(Consumer<CreateViewRequest.Builder> createViewRequest) Creates a new view with the possible status of
SAVEDorPUBLISHED.The views will have a unique name for each connect instance.
It performs basic content validation if the status is
SAVEDor full content validation if the status is set toPUBLISHED. An error is returned if validation fails. It associates either theinvalid input: '$'SAVEDqualifier or both of theinvalid input: '$'SAVEDandinvalid input: '$'LATESTqualifiers 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
CreateViewRequest.Builderavoiding the need to create one manually viaCreateViewRequest.builder()- Parameters:
createViewRequest- AConsumerthat will call methods onCreateViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- DuplicateResourceException A resource with the specified name already exists.
- ServiceQuotaExceededException The service quota has been exceeded.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createViewVersion
default CompletableFuture<CreateViewVersionResponse> createViewVersion(CreateViewVersionRequest createViewVersionRequest) 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
invalid input: '$'LATESTalias.- Parameters:
createViewVersionRequest-- Returns:
- A Java Future containing the result of the CreateViewVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createViewVersion
default CompletableFuture<CreateViewVersionResponse> createViewVersion(Consumer<CreateViewVersionRequest.Builder> createViewVersionRequest) 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
invalid input: '$'LATESTalias.
This is a convenience which creates an instance of the
CreateViewVersionRequest.Builderavoiding the need to create one manually viaCreateViewVersionRequest.builder()- Parameters:
createViewVersionRequest- AConsumerthat will call methods onCreateViewVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateViewVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createVocabulary
default CompletableFuture<CreateVocabularyResponse> createVocabulary(CreateVocabularyRequest createVocabularyRequest) 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.
- Parameters:
createVocabularyRequest-- Returns:
- A Java Future containing the result of the CreateVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceConflictException A resource already has that name.
- ServiceQuotaExceededException The service quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createVocabulary
default CompletableFuture<CreateVocabularyResponse> createVocabulary(Consumer<CreateVocabularyRequest.Builder> createVocabularyRequest) 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
CreateVocabularyRequest.Builderavoiding the need to create one manually viaCreateVocabularyRequest.builder()- Parameters:
createVocabularyRequest- AConsumerthat will call methods onCreateVocabularyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceConflictException A resource already has that name.
- ServiceQuotaExceededException The service quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deactivateEvaluationForm
default CompletableFuture<DeactivateEvaluationFormResponse> deactivateEvaluationForm(DeactivateEvaluationFormRequest deactivateEvaluationFormRequest) 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.
- Parameters:
deactivateEvaluationFormRequest-- Returns:
- A Java Future containing the result of the DeactivateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deactivateEvaluationForm
default CompletableFuture<DeactivateEvaluationFormResponse> deactivateEvaluationForm(Consumer<DeactivateEvaluationFormRequest.Builder> deactivateEvaluationFormRequest) 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
DeactivateEvaluationFormRequest.Builderavoiding the need to create one manually viaDeactivateEvaluationFormRequest.builder()- Parameters:
deactivateEvaluationFormRequest- AConsumerthat will call methods onDeactivateEvaluationFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeactivateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAttachedFile
default CompletableFuture<DeleteAttachedFileResponse> deleteAttachedFile(DeleteAttachedFileRequest deleteAttachedFileRequest) Deletes an attached file along with the underlying S3 Object.
The attached file is permanently deleted if S3 bucket versioning is not enabled.
- Parameters:
deleteAttachedFileRequest- Request to DeleteAttachedFile API- Returns:
- A Java Future containing the result of the DeleteAttachedFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAttachedFile
default CompletableFuture<DeleteAttachedFileResponse> deleteAttachedFile(Consumer<DeleteAttachedFileRequest.Builder> deleteAttachedFileRequest) 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
DeleteAttachedFileRequest.Builderavoiding the need to create one manually viaDeleteAttachedFileRequest.builder()- Parameters:
deleteAttachedFileRequest- AConsumerthat will call methods onDeleteAttachedFileRequest.Builderto create a request. Request to DeleteAttachedFile API- Returns:
- A Java Future containing the result of the DeleteAttachedFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactEvaluation
default CompletableFuture<DeleteContactEvaluationResponse> deleteContactEvaluation(DeleteContactEvaluationRequest deleteContactEvaluationRequest) Deletes a contact evaluation in the specified Amazon Connect instance.
- Parameters:
deleteContactEvaluationRequest-- Returns:
- A Java Future containing the result of the DeleteContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactEvaluation
default CompletableFuture<DeleteContactEvaluationResponse> deleteContactEvaluation(Consumer<DeleteContactEvaluationRequest.Builder> deleteContactEvaluationRequest) Deletes a contact evaluation in the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DeleteContactEvaluationRequest.Builderavoiding the need to create one manually viaDeleteContactEvaluationRequest.builder()- Parameters:
deleteContactEvaluationRequest- AConsumerthat will call methods onDeleteContactEvaluationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactFlow
default CompletableFuture<DeleteContactFlowResponse> deleteContactFlow(DeleteContactFlowRequest deleteContactFlowRequest) Deletes a flow for the specified Amazon Connect instance.
- Parameters:
deleteContactFlowRequest-- Returns:
- A Java Future containing the result of the DeleteContactFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactFlow
default CompletableFuture<DeleteContactFlowResponse> deleteContactFlow(Consumer<DeleteContactFlowRequest.Builder> deleteContactFlowRequest) Deletes a flow for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DeleteContactFlowRequest.Builderavoiding the need to create one manually viaDeleteContactFlowRequest.builder()- Parameters:
deleteContactFlowRequest- AConsumerthat will call methods onDeleteContactFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteContactFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactFlowModule
default CompletableFuture<DeleteContactFlowModuleResponse> deleteContactFlowModule(DeleteContactFlowModuleRequest deleteContactFlowModuleRequest) Deletes the specified flow module.
- Parameters:
deleteContactFlowModuleRequest-- Returns:
- A Java Future containing the result of the DeleteContactFlowModule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactFlowModule
default CompletableFuture<DeleteContactFlowModuleResponse> deleteContactFlowModule(Consumer<DeleteContactFlowModuleRequest.Builder> deleteContactFlowModuleRequest) Deletes the specified flow module.
This is a convenience which creates an instance of the
DeleteContactFlowModuleRequest.Builderavoiding the need to create one manually viaDeleteContactFlowModuleRequest.builder()- Parameters:
deleteContactFlowModuleRequest- AConsumerthat will call methods onDeleteContactFlowModuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteContactFlowModule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEvaluationForm
default CompletableFuture<DeleteEvaluationFormResponse> deleteEvaluationForm(DeleteEvaluationFormRequest deleteEvaluationFormRequest) 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.
- Parameters:
deleteEvaluationFormRequest-- Returns:
- A Java Future containing the result of the DeleteEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteEvaluationForm
default CompletableFuture<DeleteEvaluationFormResponse> deleteEvaluationForm(Consumer<DeleteEvaluationFormRequest.Builder> deleteEvaluationFormRequest) 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
DeleteEvaluationFormRequest.Builderavoiding the need to create one manually viaDeleteEvaluationFormRequest.builder()- Parameters:
deleteEvaluationFormRequest- AConsumerthat will call methods onDeleteEvaluationFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteHoursOfOperation
default CompletableFuture<DeleteHoursOfOperationResponse> deleteHoursOfOperation(DeleteHoursOfOperationRequest deleteHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.
Deletes an hours of operation.
- Parameters:
deleteHoursOfOperationRequest-- Returns:
- A Java Future containing the result of the DeleteHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteHoursOfOperation
default CompletableFuture<DeleteHoursOfOperationResponse> deleteHoursOfOperation(Consumer<DeleteHoursOfOperationRequest.Builder> deleteHoursOfOperationRequest) 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
DeleteHoursOfOperationRequest.Builderavoiding the need to create one manually viaDeleteHoursOfOperationRequest.builder()- Parameters:
deleteHoursOfOperationRequest- AConsumerthat will call methods onDeleteHoursOfOperationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInstance
default CompletableFuture<DeleteInstanceResponse> deleteInstance(DeleteInstanceRequest deleteInstanceRequest) 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.
- Parameters:
deleteInstanceRequest-- Returns:
- A Java Future containing the result of the DeleteInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInstance
default CompletableFuture<DeleteInstanceResponse> deleteInstance(Consumer<DeleteInstanceRequest.Builder> deleteInstanceRequest) 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
DeleteInstanceRequest.Builderavoiding the need to create one manually viaDeleteInstanceRequest.builder()- Parameters:
deleteInstanceRequest- AConsumerthat will call methods onDeleteInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegrationAssociation
default CompletableFuture<DeleteIntegrationAssociationResponse> deleteIntegrationAssociation(DeleteIntegrationAssociationRequest deleteIntegrationAssociationRequest) Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have any use cases associated with it.
- Parameters:
deleteIntegrationAssociationRequest-- Returns:
- A Java Future containing the result of the DeleteIntegrationAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegrationAssociation
default CompletableFuture<DeleteIntegrationAssociationResponse> deleteIntegrationAssociation(Consumer<DeleteIntegrationAssociationRequest.Builder> deleteIntegrationAssociationRequest) 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
DeleteIntegrationAssociationRequest.Builderavoiding the need to create one manually viaDeleteIntegrationAssociationRequest.builder()- Parameters:
deleteIntegrationAssociationRequest- AConsumerthat will call methods onDeleteIntegrationAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteIntegrationAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePredefinedAttribute
default CompletableFuture<DeletePredefinedAttributeResponse> deletePredefinedAttribute(DeletePredefinedAttributeRequest deletePredefinedAttributeRequest) Deletes a predefined attribute from the specified Amazon Connect instance.
- Parameters:
deletePredefinedAttributeRequest-- Returns:
- A Java Future containing the result of the DeletePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceInUseException That resource is already in use. Please try another.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePredefinedAttribute
default CompletableFuture<DeletePredefinedAttributeResponse> deletePredefinedAttribute(Consumer<DeletePredefinedAttributeRequest.Builder> deletePredefinedAttributeRequest) Deletes a predefined attribute from the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DeletePredefinedAttributeRequest.Builderavoiding the need to create one manually viaDeletePredefinedAttributeRequest.builder()- Parameters:
deletePredefinedAttributeRequest- AConsumerthat will call methods onDeletePredefinedAttributeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceInUseException That resource is already in use. Please try another.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePrompt
default CompletableFuture<DeletePromptResponse> deletePrompt(DeletePromptRequest deletePromptRequest) Deletes a prompt.
- Parameters:
deletePromptRequest-- Returns:
- A Java Future containing the result of the DeletePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePrompt
default CompletableFuture<DeletePromptResponse> deletePrompt(Consumer<DeletePromptRequest.Builder> deletePromptRequest) Deletes a prompt.
This is a convenience which creates an instance of the
DeletePromptRequest.Builderavoiding the need to create one manually viaDeletePromptRequest.builder()- Parameters:
deletePromptRequest- AConsumerthat will call methods onDeletePromptRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteQueue
Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website.
- Parameters:
deleteQueueRequest-- Returns:
- A Java Future containing the result of the DeleteQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteQueue
default CompletableFuture<DeleteQueueResponse> deleteQueue(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest) 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
DeleteQueueRequest.Builderavoiding the need to create one manually viaDeleteQueueRequest.builder()- Parameters:
deleteQueueRequest- AConsumerthat will call methods onDeleteQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteQuickConnect
default CompletableFuture<DeleteQuickConnectResponse> deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectRequest) Deletes a quick connect.
After calling DeleteUser, it's important to call
DeleteQuickConnectto 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.
- Parameters:
deleteQuickConnectRequest-- Returns:
- A Java Future containing the result of the DeleteQuickConnect operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteQuickConnect
default CompletableFuture<DeleteQuickConnectResponse> deleteQuickConnect(Consumer<DeleteQuickConnectRequest.Builder> deleteQuickConnectRequest) Deletes a quick connect.
After calling DeleteUser, it's important to call
DeleteQuickConnectto 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
DeleteQuickConnectRequest.Builderavoiding the need to create one manually viaDeleteQuickConnectRequest.builder()- Parameters:
deleteQuickConnectRequest- AConsumerthat will call methods onDeleteQuickConnectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteQuickConnect operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteRoutingProfile
default CompletableFuture<DeleteRoutingProfileResponse> deleteRoutingProfile(DeleteRoutingProfileRequest deleteRoutingProfileRequest) Deletes a routing profile.
- Parameters:
deleteRoutingProfileRequest-- Returns:
- A Java Future containing the result of the DeleteRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRoutingProfile
default CompletableFuture<DeleteRoutingProfileResponse> deleteRoutingProfile(Consumer<DeleteRoutingProfileRequest.Builder> deleteRoutingProfileRequest) Deletes a routing profile.
This is a convenience which creates an instance of the
DeleteRoutingProfileRequest.Builderavoiding the need to create one manually viaDeleteRoutingProfileRequest.builder()- Parameters:
deleteRoutingProfileRequest- AConsumerthat will call methods onDeleteRoutingProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRule
Deletes a rule for the specified Amazon Connect instance.
- Parameters:
deleteRuleRequest-- Returns:
- A Java Future containing the result of the DeleteRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRule
default CompletableFuture<DeleteRuleResponse> deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) Deletes a rule for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DeleteRuleRequest.Builderavoiding the need to create one manually viaDeleteRuleRequest.builder()- Parameters:
deleteRuleRequest- AConsumerthat will call methods onDeleteRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSecurityProfile
default CompletableFuture<DeleteSecurityProfileResponse> deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest) Deletes a security profile.
- Parameters:
deleteSecurityProfileRequest-- Returns:
- A Java Future containing the result of the DeleteSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSecurityProfile
default CompletableFuture<DeleteSecurityProfileResponse> deleteSecurityProfile(Consumer<DeleteSecurityProfileRequest.Builder> deleteSecurityProfileRequest) Deletes a security profile.
This is a convenience which creates an instance of the
DeleteSecurityProfileRequest.Builderavoiding the need to create one manually viaDeleteSecurityProfileRequest.builder()- Parameters:
deleteSecurityProfileRequest- AConsumerthat will call methods onDeleteSecurityProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTaskTemplate
default CompletableFuture<DeleteTaskTemplateResponse> deleteTaskTemplate(DeleteTaskTemplateRequest deleteTaskTemplateRequest) Deletes the task template.
- Parameters:
deleteTaskTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTaskTemplate
default CompletableFuture<DeleteTaskTemplateResponse> deleteTaskTemplate(Consumer<DeleteTaskTemplateRequest.Builder> deleteTaskTemplateRequest) Deletes the task template.
This is a convenience which creates an instance of the
DeleteTaskTemplateRequest.Builderavoiding the need to create one manually viaDeleteTaskTemplateRequest.builder()- Parameters:
deleteTaskTemplateRequest- AConsumerthat will call methods onDeleteTaskTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTrafficDistributionGroup
default CompletableFuture<DeleteTrafficDistributionGroupResponse> deleteTrafficDistributionGroup(DeleteTrafficDistributionGroupRequest deleteTrafficDistributionGroupRequest) 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.
- Parameters:
deleteTrafficDistributionGroupRequest-- Returns:
- A Java Future containing the result of the DeleteTrafficDistributionGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTrafficDistributionGroup
default CompletableFuture<DeleteTrafficDistributionGroupResponse> deleteTrafficDistributionGroup(Consumer<DeleteTrafficDistributionGroupRequest.Builder> deleteTrafficDistributionGroupRequest) 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
DeleteTrafficDistributionGroupRequest.Builderavoiding the need to create one manually viaDeleteTrafficDistributionGroupRequest.builder()- Parameters:
deleteTrafficDistributionGroupRequest- AConsumerthat will call methods onDeleteTrafficDistributionGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTrafficDistributionGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUseCase
default CompletableFuture<DeleteUseCaseResponse> deleteUseCase(DeleteUseCaseRequest deleteUseCaseRequest) Deletes a use case from an integration association.
- Parameters:
deleteUseCaseRequest-- Returns:
- A Java Future containing the result of the DeleteUseCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUseCase
default CompletableFuture<DeleteUseCaseResponse> deleteUseCase(Consumer<DeleteUseCaseRequest.Builder> deleteUseCaseRequest) Deletes a use case from an integration association.
This is a convenience which creates an instance of the
DeleteUseCaseRequest.Builderavoiding the need to create one manually viaDeleteUseCaseRequest.builder()- Parameters:
deleteUseCaseRequest- AConsumerthat will call methods onDeleteUseCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteUseCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUser
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.
- Parameters:
deleteUserRequest-- Returns:
- A Java Future containing the result of the DeleteUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteUser
default CompletableFuture<DeleteUserResponse> deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) 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
DeleteUserRequest.Builderavoiding the need to create one manually viaDeleteUserRequest.builder()- Parameters:
deleteUserRequest- AConsumerthat will call methods onDeleteUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteUserHierarchyGroup
default CompletableFuture<DeleteUserHierarchyGroupResponse> deleteUserHierarchyGroup(DeleteUserHierarchyGroupRequest deleteUserHierarchyGroupRequest) Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.
- Parameters:
deleteUserHierarchyGroupRequest-- Returns:
- A Java Future containing the result of the DeleteUserHierarchyGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUserHierarchyGroup
default CompletableFuture<DeleteUserHierarchyGroupResponse> deleteUserHierarchyGroup(Consumer<DeleteUserHierarchyGroupRequest.Builder> deleteUserHierarchyGroupRequest) 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
DeleteUserHierarchyGroupRequest.Builderavoiding the need to create one manually viaDeleteUserHierarchyGroupRequest.builder()- Parameters:
deleteUserHierarchyGroupRequest- AConsumerthat will call methods onDeleteUserHierarchyGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteUserHierarchyGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteView
Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
- Parameters:
deleteViewRequest-- Returns:
- A Java Future containing the result of the DeleteView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteView
default CompletableFuture<DeleteViewResponse> deleteView(Consumer<DeleteViewRequest.Builder> deleteViewRequest) 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
DeleteViewRequest.Builderavoiding the need to create one manually viaDeleteViewRequest.builder()- Parameters:
deleteViewRequest- AConsumerthat will call methods onDeleteViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteViewVersion
default CompletableFuture<DeleteViewVersionResponse> deleteViewVersion(DeleteViewVersionRequest deleteViewVersionRequest) Deletes the particular version specified in
ViewVersionidentifier.- Parameters:
deleteViewVersionRequest-- Returns:
- A Java Future containing the result of the DeleteViewVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteViewVersion
default CompletableFuture<DeleteViewVersionResponse> deleteViewVersion(Consumer<DeleteViewVersionRequest.Builder> deleteViewVersionRequest) Deletes the particular version specified in
ViewVersionidentifier.
This is a convenience which creates an instance of the
DeleteViewVersionRequest.Builderavoiding the need to create one manually viaDeleteViewVersionRequest.builder()- Parameters:
deleteViewVersionRequest- AConsumerthat will call methods onDeleteViewVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteViewVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVocabulary
default CompletableFuture<DeleteVocabularyResponse> deleteVocabulary(DeleteVocabularyRequest deleteVocabularyRequest) Deletes the vocabulary that has the given identifier.
- Parameters:
deleteVocabularyRequest-- Returns:
- A Java Future containing the result of the DeleteVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVocabulary
default CompletableFuture<DeleteVocabularyResponse> deleteVocabulary(Consumer<DeleteVocabularyRequest.Builder> deleteVocabularyRequest) Deletes the vocabulary that has the given identifier.
This is a convenience which creates an instance of the
DeleteVocabularyRequest.Builderavoiding the need to create one manually viaDeleteVocabularyRequest.builder()- Parameters:
deleteVocabularyRequest- AConsumerthat will call methods onDeleteVocabularyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAgentStatus
default CompletableFuture<DescribeAgentStatusResponse> describeAgentStatus(DescribeAgentStatusRequest describeAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.
Describes an agent status.
- Parameters:
describeAgentStatusRequest-- Returns:
- A Java Future containing the result of the DescribeAgentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAgentStatus
default CompletableFuture<DescribeAgentStatusResponse> describeAgentStatus(Consumer<DescribeAgentStatusRequest.Builder> describeAgentStatusRequest) 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
DescribeAgentStatusRequest.Builderavoiding the need to create one manually viaDescribeAgentStatusRequest.builder()- Parameters:
describeAgentStatusRequest- AConsumerthat will call methods onDescribeAgentStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeAgentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAuthenticationProfile
default CompletableFuture<DescribeAuthenticationProfileResponse> describeAuthenticationProfile(DescribeAuthenticationProfileRequest describeAuthenticationProfileRequest) 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.
- Parameters:
describeAuthenticationProfileRequest-- Returns:
- A Java Future containing the result of the DescribeAuthenticationProfile operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAuthenticationProfile
default CompletableFuture<DescribeAuthenticationProfileResponse> describeAuthenticationProfile(Consumer<DescribeAuthenticationProfileRequest.Builder> describeAuthenticationProfileRequest) 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
DescribeAuthenticationProfileRequest.Builderavoiding the need to create one manually viaDescribeAuthenticationProfileRequest.builder()- Parameters:
describeAuthenticationProfileRequest- AConsumerthat will call methods onDescribeAuthenticationProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeAuthenticationProfile operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContact
default CompletableFuture<DescribeContactResponse> describeContact(DescribeContactRequest describeContactRequest) This API is in preview release for Amazon Connect and is subject to change.
Describes the specified contact.
Contact information remains available in Amazon Connect for 24 months from the InitiationTimestamp, and then it is deleted. Only contact information that is available in Amazon Connect is returned by this API
- Parameters:
describeContactRequest-- Returns:
- A Java Future containing the result of the DescribeContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContact
default CompletableFuture<DescribeContactResponse> describeContact(Consumer<DescribeContactRequest.Builder> describeContactRequest) This API is in preview release for Amazon Connect and is subject to change.
Describes the specified contact.
Contact information remains available in Amazon Connect for 24 months from the InitiationTimestamp, and then it is deleted. Only contact information that is available in Amazon Connect is returned by this API
This is a convenience which creates an instance of the
DescribeContactRequest.Builderavoiding the need to create one manually viaDescribeContactRequest.builder()- Parameters:
describeContactRequest- AConsumerthat will call methods onDescribeContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContactEvaluation
default CompletableFuture<DescribeContactEvaluationResponse> describeContactEvaluation(DescribeContactEvaluationRequest describeContactEvaluationRequest) Describes a contact evaluation in the specified Amazon Connect instance.
- Parameters:
describeContactEvaluationRequest-- Returns:
- A Java Future containing the result of the DescribeContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContactEvaluation
default CompletableFuture<DescribeContactEvaluationResponse> describeContactEvaluation(Consumer<DescribeContactEvaluationRequest.Builder> describeContactEvaluationRequest) Describes a contact evaluation in the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DescribeContactEvaluationRequest.Builderavoiding the need to create one manually viaDescribeContactEvaluationRequest.builder()- Parameters:
describeContactEvaluationRequest- AConsumerthat will call methods onDescribeContactEvaluationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContactFlow
default CompletableFuture<DescribeContactFlowResponse> describeContactFlow(DescribeContactFlowRequest describeContactFlowRequest) Describes the specified flow.
You can also create and update flows using the Amazon Connect Flow language.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.In the response, Status indicates the flow status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.SAVEDdoes not initiate validation of the content.SAVED|PUBLISHED- Parameters:
describeContactFlowRequest-- Returns:
- A Java Future containing the result of the DescribeContactFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ContactFlowNotPublishedException The flow has not been published.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContactFlow
default CompletableFuture<DescribeContactFlowResponse> describeContactFlow(Consumer<DescribeContactFlowRequest.Builder> describeContactFlowRequest) Describes the specified flow.
You can also create and update flows using the Amazon Connect Flow language.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.In the response, Status indicates the flow status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.SAVEDdoes not initiate validation of the content.SAVED|PUBLISHED
This is a convenience which creates an instance of the
DescribeContactFlowRequest.Builderavoiding the need to create one manually viaDescribeContactFlowRequest.builder()- Parameters:
describeContactFlowRequest- AConsumerthat will call methods onDescribeContactFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeContactFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ContactFlowNotPublishedException The flow has not been published.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContactFlowModule
default CompletableFuture<DescribeContactFlowModuleResponse> describeContactFlowModule(DescribeContactFlowModuleRequest describeContactFlowModuleRequest) Describes the specified flow module.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.- Parameters:
describeContactFlowModuleRequest-- Returns:
- A Java Future containing the result of the DescribeContactFlowModule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeContactFlowModule
default CompletableFuture<DescribeContactFlowModuleResponse> describeContactFlowModule(Consumer<DescribeContactFlowModuleRequest.Builder> describeContactFlowModuleRequest) Describes the specified flow module.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.
This is a convenience which creates an instance of the
DescribeContactFlowModuleRequest.Builderavoiding the need to create one manually viaDescribeContactFlowModuleRequest.builder()- Parameters:
describeContactFlowModuleRequest- AConsumerthat will call methods onDescribeContactFlowModuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeContactFlowModule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEvaluationForm
default CompletableFuture<DescribeEvaluationFormResponse> describeEvaluationForm(DescribeEvaluationFormRequest describeEvaluationFormRequest) 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.
- Parameters:
describeEvaluationFormRequest-- Returns:
- A Java Future containing the result of the DescribeEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEvaluationForm
default CompletableFuture<DescribeEvaluationFormResponse> describeEvaluationForm(Consumer<DescribeEvaluationFormRequest.Builder> describeEvaluationFormRequest) 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
DescribeEvaluationFormRequest.Builderavoiding the need to create one manually viaDescribeEvaluationFormRequest.builder()- Parameters:
describeEvaluationFormRequest- AConsumerthat will call methods onDescribeEvaluationFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeHoursOfOperation
default CompletableFuture<DescribeHoursOfOperationResponse> describeHoursOfOperation(DescribeHoursOfOperationRequest describeHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.
Describes the hours of operation.
- Parameters:
describeHoursOfOperationRequest-- Returns:
- A Java Future containing the result of the DescribeHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeHoursOfOperation
default CompletableFuture<DescribeHoursOfOperationResponse> describeHoursOfOperation(Consumer<DescribeHoursOfOperationRequest.Builder> describeHoursOfOperationRequest) 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
DescribeHoursOfOperationRequest.Builderavoiding the need to create one manually viaDescribeHoursOfOperationRequest.builder()- Parameters:
describeHoursOfOperationRequest- AConsumerthat will call methods onDescribeHoursOfOperationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstance
default CompletableFuture<DescribeInstanceResponse> describeInstance(DescribeInstanceRequest describeInstanceRequest) 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.
- Parameters:
describeInstanceRequest-- Returns:
- A Java Future containing the result of the DescribeInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstance
default CompletableFuture<DescribeInstanceResponse> describeInstance(Consumer<DescribeInstanceRequest.Builder> describeInstanceRequest) 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
DescribeInstanceRequest.Builderavoiding the need to create one manually viaDescribeInstanceRequest.builder()- Parameters:
describeInstanceRequest- AConsumerthat will call methods onDescribeInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceAttribute
default CompletableFuture<DescribeInstanceAttributeResponse> describeInstanceAttribute(DescribeInstanceAttributeRequest describeInstanceAttributeRequest) This API is in preview release for Amazon Connect and is subject to change.
Describes the specified instance attribute.
- Parameters:
describeInstanceAttributeRequest-- Returns:
- A Java Future containing the result of the DescribeInstanceAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceAttribute
default CompletableFuture<DescribeInstanceAttributeResponse> describeInstanceAttribute(Consumer<DescribeInstanceAttributeRequest.Builder> describeInstanceAttributeRequest) 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
DescribeInstanceAttributeRequest.Builderavoiding the need to create one manually viaDescribeInstanceAttributeRequest.builder()- Parameters:
describeInstanceAttributeRequest- AConsumerthat will call methods onDescribeInstanceAttributeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeInstanceAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceStorageConfig
default CompletableFuture<DescribeInstanceStorageConfigResponse> describeInstanceStorageConfig(DescribeInstanceStorageConfigRequest describeInstanceStorageConfigRequest) 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.
- Parameters:
describeInstanceStorageConfigRequest-- Returns:
- A Java Future containing the result of the DescribeInstanceStorageConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceStorageConfig
default CompletableFuture<DescribeInstanceStorageConfigResponse> describeInstanceStorageConfig(Consumer<DescribeInstanceStorageConfigRequest.Builder> describeInstanceStorageConfigRequest) 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
DescribeInstanceStorageConfigRequest.Builderavoiding the need to create one manually viaDescribeInstanceStorageConfigRequest.builder()- Parameters:
describeInstanceStorageConfigRequest- AConsumerthat will call methods onDescribeInstanceStorageConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeInstanceStorageConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePhoneNumber
default CompletableFuture<DescribePhoneNumberResponse> describePhoneNumber(DescribePhoneNumberRequest describePhoneNumberRequest) 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
PhoneNumberIdURI 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 aResourceNotFoundException.- Parameters:
describePhoneNumberRequest-- Returns:
- A Java Future containing the result of the DescribePhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePhoneNumber
default CompletableFuture<DescribePhoneNumberResponse> describePhoneNumber(Consumer<DescribePhoneNumberRequest.Builder> describePhoneNumberRequest) 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
PhoneNumberIdURI 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 aResourceNotFoundException.
This is a convenience which creates an instance of the
DescribePhoneNumberRequest.Builderavoiding the need to create one manually viaDescribePhoneNumberRequest.builder()- Parameters:
describePhoneNumberRequest- AConsumerthat will call methods onDescribePhoneNumberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribePhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePredefinedAttribute
default CompletableFuture<DescribePredefinedAttributeResponse> describePredefinedAttribute(DescribePredefinedAttributeRequest describePredefinedAttributeRequest) 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.
- Parameters:
describePredefinedAttributeRequest-- Returns:
- A Java Future containing the result of the DescribePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePredefinedAttribute
default CompletableFuture<DescribePredefinedAttributeResponse> describePredefinedAttribute(Consumer<DescribePredefinedAttributeRequest.Builder> describePredefinedAttributeRequest) 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
DescribePredefinedAttributeRequest.Builderavoiding the need to create one manually viaDescribePredefinedAttributeRequest.builder()- Parameters:
describePredefinedAttributeRequest- AConsumerthat will call methods onDescribePredefinedAttributeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePrompt
default CompletableFuture<DescribePromptResponse> describePrompt(DescribePromptRequest describePromptRequest) Describes the prompt.
- Parameters:
describePromptRequest-- Returns:
- A Java Future containing the result of the DescribePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePrompt
default CompletableFuture<DescribePromptResponse> describePrompt(Consumer<DescribePromptRequest.Builder> describePromptRequest) Describes the prompt.
This is a convenience which creates an instance of the
DescribePromptRequest.Builderavoiding the need to create one manually viaDescribePromptRequest.builder()- Parameters:
describePromptRequest- AConsumerthat will call methods onDescribePromptRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeQueue
default CompletableFuture<DescribeQueueResponse> describeQueue(DescribeQueueRequest describeQueueRequest) This API is in preview release for Amazon Connect and is subject to change.
Describes the specified queue.
- Parameters:
describeQueueRequest-- Returns:
- A Java Future containing the result of the DescribeQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeQueue
default CompletableFuture<DescribeQueueResponse> describeQueue(Consumer<DescribeQueueRequest.Builder> describeQueueRequest) 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
DescribeQueueRequest.Builderavoiding the need to create one manually viaDescribeQueueRequest.builder()- Parameters:
describeQueueRequest- AConsumerthat will call methods onDescribeQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeQuickConnect
default CompletableFuture<DescribeQuickConnectResponse> describeQuickConnect(DescribeQuickConnectRequest describeQuickConnectRequest) Describes the quick connect.
- Parameters:
describeQuickConnectRequest-- Returns:
- A Java Future containing the result of the DescribeQuickConnect operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeQuickConnect
default CompletableFuture<DescribeQuickConnectResponse> describeQuickConnect(Consumer<DescribeQuickConnectRequest.Builder> describeQuickConnectRequest) Describes the quick connect.
This is a convenience which creates an instance of the
DescribeQuickConnectRequest.Builderavoiding the need to create one manually viaDescribeQuickConnectRequest.builder()- Parameters:
describeQuickConnectRequest- AConsumerthat will call methods onDescribeQuickConnectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeQuickConnect operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRoutingProfile
default CompletableFuture<DescribeRoutingProfileResponse> describeRoutingProfile(DescribeRoutingProfileRequest describeRoutingProfileRequest) Describes the specified routing profile.
- Parameters:
describeRoutingProfileRequest-- Returns:
- A Java Future containing the result of the DescribeRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRoutingProfile
default CompletableFuture<DescribeRoutingProfileResponse> describeRoutingProfile(Consumer<DescribeRoutingProfileRequest.Builder> describeRoutingProfileRequest) Describes the specified routing profile.
This is a convenience which creates an instance of the
DescribeRoutingProfileRequest.Builderavoiding the need to create one manually viaDescribeRoutingProfileRequest.builder()- Parameters:
describeRoutingProfileRequest- AConsumerthat will call methods onDescribeRoutingProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRule
default CompletableFuture<DescribeRuleResponse> describeRule(DescribeRuleRequest describeRuleRequest) Describes a rule for the specified Amazon Connect instance.
- Parameters:
describeRuleRequest-- Returns:
- A Java Future containing the result of the DescribeRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRule
default CompletableFuture<DescribeRuleResponse> describeRule(Consumer<DescribeRuleRequest.Builder> describeRuleRequest) Describes a rule for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DescribeRuleRequest.Builderavoiding the need to create one manually viaDescribeRuleRequest.builder()- Parameters:
describeRuleRequest- AConsumerthat will call methods onDescribeRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSecurityProfile
default CompletableFuture<DescribeSecurityProfileResponse> describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest) 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.
- Parameters:
describeSecurityProfileRequest-- Returns:
- A Java Future containing the result of the DescribeSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSecurityProfile
default CompletableFuture<DescribeSecurityProfileResponse> describeSecurityProfile(Consumer<DescribeSecurityProfileRequest.Builder> describeSecurityProfileRequest) 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
DescribeSecurityProfileRequest.Builderavoiding the need to create one manually viaDescribeSecurityProfileRequest.builder()- Parameters:
describeSecurityProfileRequest- AConsumerthat will call methods onDescribeSecurityProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTrafficDistributionGroup
default CompletableFuture<DescribeTrafficDistributionGroupResponse> describeTrafficDistributionGroup(DescribeTrafficDistributionGroupRequest describeTrafficDistributionGroupRequest) Gets details and status of a traffic distribution group.
- Parameters:
describeTrafficDistributionGroupRequest-- Returns:
- A Java Future containing the result of the DescribeTrafficDistributionGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTrafficDistributionGroup
default CompletableFuture<DescribeTrafficDistributionGroupResponse> describeTrafficDistributionGroup(Consumer<DescribeTrafficDistributionGroupRequest.Builder> describeTrafficDistributionGroupRequest) Gets details and status of a traffic distribution group.
This is a convenience which creates an instance of the
DescribeTrafficDistributionGroupRequest.Builderavoiding the need to create one manually viaDescribeTrafficDistributionGroupRequest.builder()- Parameters:
describeTrafficDistributionGroupRequest- AConsumerthat will call methods onDescribeTrafficDistributionGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeTrafficDistributionGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeUser
default CompletableFuture<DescribeUserResponse> describeUser(DescribeUserRequest describeUserRequest) 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.
- Parameters:
describeUserRequest-- Returns:
- A Java Future containing the result of the DescribeUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeUser
default CompletableFuture<DescribeUserResponse> describeUser(Consumer<DescribeUserRequest.Builder> describeUserRequest) 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
DescribeUserRequest.Builderavoiding the need to create one manually viaDescribeUserRequest.builder()- Parameters:
describeUserRequest- AConsumerthat will call methods onDescribeUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeUser operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeUserHierarchyGroup
default CompletableFuture<DescribeUserHierarchyGroupResponse> describeUserHierarchyGroup(DescribeUserHierarchyGroupRequest describeUserHierarchyGroupRequest) Describes the specified hierarchy group.
- Parameters:
describeUserHierarchyGroupRequest-- Returns:
- A Java Future containing the result of the DescribeUserHierarchyGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeUserHierarchyGroup
default CompletableFuture<DescribeUserHierarchyGroupResponse> describeUserHierarchyGroup(Consumer<DescribeUserHierarchyGroupRequest.Builder> describeUserHierarchyGroupRequest) Describes the specified hierarchy group.
This is a convenience which creates an instance of the
DescribeUserHierarchyGroupRequest.Builderavoiding the need to create one manually viaDescribeUserHierarchyGroupRequest.builder()- Parameters:
describeUserHierarchyGroupRequest- AConsumerthat will call methods onDescribeUserHierarchyGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeUserHierarchyGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeUserHierarchyStructure
default CompletableFuture<DescribeUserHierarchyStructureResponse> describeUserHierarchyStructure(DescribeUserHierarchyStructureRequest describeUserHierarchyStructureRequest) Describes the hierarchy structure of the specified Amazon Connect instance.
- Parameters:
describeUserHierarchyStructureRequest-- Returns:
- A Java Future containing the result of the DescribeUserHierarchyStructure operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeUserHierarchyStructure
default CompletableFuture<DescribeUserHierarchyStructureResponse> describeUserHierarchyStructure(Consumer<DescribeUserHierarchyStructureRequest.Builder> describeUserHierarchyStructureRequest) Describes the hierarchy structure of the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DescribeUserHierarchyStructureRequest.Builderavoiding the need to create one manually viaDescribeUserHierarchyStructureRequest.builder()- Parameters:
describeUserHierarchyStructureRequest- AConsumerthat will call methods onDescribeUserHierarchyStructureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeUserHierarchyStructure operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeView
default CompletableFuture<DescribeViewResponse> describeView(DescribeViewRequest describeViewRequest) Retrieves the view for the specified Amazon Connect instance and view identifier.
The view identifier can be supplied as a ViewId or ARN.
invalid input: '$'SAVEDneeds to be supplied if a view is unpublished.The view identifier can contain an optional qualifier, for example,
<view-id>:invalid input: '$'SAVED, which is either an actual version number or an Amazon Connect managed qualifierinvalid input: '$'SAVED | invalid input: '$'LATEST. If it is not supplied, theninvalid input: '$'LATESTis 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.- Parameters:
describeViewRequest-- Returns:
- A Java Future containing the result of the DescribeView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeView
default CompletableFuture<DescribeViewResponse> describeView(Consumer<DescribeViewRequest.Builder> describeViewRequest) Retrieves the view for the specified Amazon Connect instance and view identifier.
The view identifier can be supplied as a ViewId or ARN.
invalid input: '$'SAVEDneeds to be supplied if a view is unpublished.The view identifier can contain an optional qualifier, for example,
<view-id>:invalid input: '$'SAVED, which is either an actual version number or an Amazon Connect managed qualifierinvalid input: '$'SAVED | invalid input: '$'LATEST. If it is not supplied, theninvalid input: '$'LATESTis 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
DescribeViewRequest.Builderavoiding the need to create one manually viaDescribeViewRequest.builder()- Parameters:
describeViewRequest- AConsumerthat will call methods onDescribeViewRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeView operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeVocabulary
default CompletableFuture<DescribeVocabularyResponse> describeVocabulary(DescribeVocabularyRequest describeVocabularyRequest) Describes the specified vocabulary.
- Parameters:
describeVocabularyRequest-- Returns:
- A Java Future containing the result of the DescribeVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeVocabulary
default CompletableFuture<DescribeVocabularyResponse> describeVocabulary(Consumer<DescribeVocabularyRequest.Builder> describeVocabularyRequest) Describes the specified vocabulary.
This is a convenience which creates an instance of the
DescribeVocabularyRequest.Builderavoiding the need to create one manually viaDescribeVocabularyRequest.builder()- Parameters:
describeVocabularyRequest- AConsumerthat will call methods onDescribeVocabularyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAnalyticsDataSet
default CompletableFuture<DisassociateAnalyticsDataSetResponse> disassociateAnalyticsDataSet(DisassociateAnalyticsDataSetRequest disassociateAnalyticsDataSetRequest) Removes the dataset ID associated with a given Amazon Connect instance.
- Parameters:
disassociateAnalyticsDataSetRequest-- Returns:
- A Java Future containing the result of the DisassociateAnalyticsDataSet operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAnalyticsDataSet
default CompletableFuture<DisassociateAnalyticsDataSetResponse> disassociateAnalyticsDataSet(Consumer<DisassociateAnalyticsDataSetRequest.Builder> disassociateAnalyticsDataSetRequest) Removes the dataset ID associated with a given Amazon Connect instance.
This is a convenience which creates an instance of the
DisassociateAnalyticsDataSetRequest.Builderavoiding the need to create one manually viaDisassociateAnalyticsDataSetRequest.builder()- Parameters:
disassociateAnalyticsDataSetRequest- AConsumerthat will call methods onDisassociateAnalyticsDataSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateAnalyticsDataSet operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateApprovedOrigin
default CompletableFuture<DisassociateApprovedOriginResponse> disassociateApprovedOrigin(DisassociateApprovedOriginRequest disassociateApprovedOriginRequest) This API is in preview release for Amazon Connect and is subject to change.
Revokes access to integrated applications from Amazon Connect.
- Parameters:
disassociateApprovedOriginRequest-- Returns:
- A Java Future containing the result of the DisassociateApprovedOrigin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateApprovedOrigin
default CompletableFuture<DisassociateApprovedOriginResponse> disassociateApprovedOrigin(Consumer<DisassociateApprovedOriginRequest.Builder> disassociateApprovedOriginRequest) 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
DisassociateApprovedOriginRequest.Builderavoiding the need to create one manually viaDisassociateApprovedOriginRequest.builder()- Parameters:
disassociateApprovedOriginRequest- AConsumerthat will call methods onDisassociateApprovedOriginRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateApprovedOrigin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateBot
default CompletableFuture<DisassociateBotResponse> disassociateBot(DisassociateBotRequest disassociateBotRequest) 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.
- Parameters:
disassociateBotRequest-- Returns:
- A Java Future containing the result of the DisassociateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateBot
default CompletableFuture<DisassociateBotResponse> disassociateBot(Consumer<DisassociateBotRequest.Builder> disassociateBotRequest) 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
DisassociateBotRequest.Builderavoiding the need to create one manually viaDisassociateBotRequest.builder()- Parameters:
disassociateBotRequest- AConsumerthat will call methods onDisassociateBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateFlow
default CompletableFuture<DisassociateFlowResponse> disassociateFlow(DisassociateFlowRequest disassociateFlowRequest) Disassociates a connect resource from a flow.
- Parameters:
disassociateFlowRequest-- Returns:
- A Java Future containing the result of the DisassociateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateFlow
default CompletableFuture<DisassociateFlowResponse> disassociateFlow(Consumer<DisassociateFlowRequest.Builder> disassociateFlowRequest) Disassociates a connect resource from a flow.
This is a convenience which creates an instance of the
DisassociateFlowRequest.Builderavoiding the need to create one manually viaDisassociateFlowRequest.builder()- Parameters:
disassociateFlowRequest- AConsumerthat will call methods onDisassociateFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateInstanceStorageConfig
default CompletableFuture<DisassociateInstanceStorageConfigResponse> disassociateInstanceStorageConfig(DisassociateInstanceStorageConfigRequest disassociateInstanceStorageConfigRequest) 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.
- Parameters:
disassociateInstanceStorageConfigRequest-- Returns:
- A Java Future containing the result of the DisassociateInstanceStorageConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateInstanceStorageConfig
default CompletableFuture<DisassociateInstanceStorageConfigResponse> disassociateInstanceStorageConfig(Consumer<DisassociateInstanceStorageConfigRequest.Builder> disassociateInstanceStorageConfigRequest) 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
DisassociateInstanceStorageConfigRequest.Builderavoiding the need to create one manually viaDisassociateInstanceStorageConfigRequest.builder()- Parameters:
disassociateInstanceStorageConfigRequest- AConsumerthat will call methods onDisassociateInstanceStorageConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateInstanceStorageConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateLambdaFunction
default CompletableFuture<DisassociateLambdaFunctionResponse> disassociateLambdaFunction(DisassociateLambdaFunctionRequest disassociateLambdaFunctionRequest) 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.
- Parameters:
disassociateLambdaFunctionRequest-- Returns:
- A Java Future containing the result of the DisassociateLambdaFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateLambdaFunction
default CompletableFuture<DisassociateLambdaFunctionResponse> disassociateLambdaFunction(Consumer<DisassociateLambdaFunctionRequest.Builder> disassociateLambdaFunctionRequest) 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
DisassociateLambdaFunctionRequest.Builderavoiding the need to create one manually viaDisassociateLambdaFunctionRequest.builder()- Parameters:
disassociateLambdaFunctionRequest- AConsumerthat will call methods onDisassociateLambdaFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateLambdaFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateLexBot
default CompletableFuture<DisassociateLexBotResponse> disassociateLexBot(DisassociateLexBotRequest disassociateLexBotRequest) 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.
- Parameters:
disassociateLexBotRequest-- Returns:
- A Java Future containing the result of the DisassociateLexBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateLexBot
default CompletableFuture<DisassociateLexBotResponse> disassociateLexBot(Consumer<DisassociateLexBotRequest.Builder> disassociateLexBotRequest) 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
DisassociateLexBotRequest.Builderavoiding the need to create one manually viaDisassociateLexBotRequest.builder()- Parameters:
disassociateLexBotRequest- AConsumerthat will call methods onDisassociateLexBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateLexBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociatePhoneNumberContactFlow
default CompletableFuture<DisassociatePhoneNumberContactFlowResponse> disassociatePhoneNumberContactFlow(DisassociatePhoneNumberContactFlowRequest disassociatePhoneNumberContactFlowRequest) 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
PhoneNumberIdURI 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 aResourceNotFoundException.- Parameters:
disassociatePhoneNumberContactFlowRequest-- Returns:
- A Java Future containing the result of the DisassociatePhoneNumberContactFlow operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociatePhoneNumberContactFlow
default CompletableFuture<DisassociatePhoneNumberContactFlowResponse> disassociatePhoneNumberContactFlow(Consumer<DisassociatePhoneNumberContactFlowRequest.Builder> disassociatePhoneNumberContactFlowRequest) 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
PhoneNumberIdURI 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 aResourceNotFoundException.
This is a convenience which creates an instance of the
DisassociatePhoneNumberContactFlowRequest.Builderavoiding the need to create one manually viaDisassociatePhoneNumberContactFlowRequest.builder()- Parameters:
disassociatePhoneNumberContactFlowRequest- AConsumerthat will call methods onDisassociatePhoneNumberContactFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociatePhoneNumberContactFlow operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateQueueQuickConnects
default CompletableFuture<DisassociateQueueQuickConnectsResponse> disassociateQueueQuickConnects(DisassociateQueueQuickConnectsRequest disassociateQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.
Disassociates a set of quick connects from a queue.
- Parameters:
disassociateQueueQuickConnectsRequest-- Returns:
- A Java Future containing the result of the DisassociateQueueQuickConnects operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateQueueQuickConnects
default CompletableFuture<DisassociateQueueQuickConnectsResponse> disassociateQueueQuickConnects(Consumer<DisassociateQueueQuickConnectsRequest.Builder> disassociateQueueQuickConnectsRequest) 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
DisassociateQueueQuickConnectsRequest.Builderavoiding the need to create one manually viaDisassociateQueueQuickConnectsRequest.builder()- Parameters:
disassociateQueueQuickConnectsRequest- AConsumerthat will call methods onDisassociateQueueQuickConnectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateQueueQuickConnects operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateRoutingProfileQueues
default CompletableFuture<DisassociateRoutingProfileQueuesResponse> disassociateRoutingProfileQueues(DisassociateRoutingProfileQueuesRequest disassociateRoutingProfileQueuesRequest) Disassociates a set of queues from a routing profile.
- Parameters:
disassociateRoutingProfileQueuesRequest-- Returns:
- A Java Future containing the result of the DisassociateRoutingProfileQueues operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateRoutingProfileQueues
default CompletableFuture<DisassociateRoutingProfileQueuesResponse> disassociateRoutingProfileQueues(Consumer<DisassociateRoutingProfileQueuesRequest.Builder> disassociateRoutingProfileQueuesRequest) Disassociates a set of queues from a routing profile.
This is a convenience which creates an instance of the
DisassociateRoutingProfileQueuesRequest.Builderavoiding the need to create one manually viaDisassociateRoutingProfileQueuesRequest.builder()- Parameters:
disassociateRoutingProfileQueuesRequest- AConsumerthat will call methods onDisassociateRoutingProfileQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateRoutingProfileQueues operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateSecurityKey
default CompletableFuture<DisassociateSecurityKeyResponse> disassociateSecurityKey(DisassociateSecurityKeyRequest disassociateSecurityKeyRequest) This API is in preview release for Amazon Connect and is subject to change.
Deletes the specified security key.
- Parameters:
disassociateSecurityKeyRequest-- Returns:
- A Java Future containing the result of the DisassociateSecurityKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateSecurityKey
default CompletableFuture<DisassociateSecurityKeyResponse> disassociateSecurityKey(Consumer<DisassociateSecurityKeyRequest.Builder> disassociateSecurityKeyRequest) 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
DisassociateSecurityKeyRequest.Builderavoiding the need to create one manually viaDisassociateSecurityKeyRequest.builder()- Parameters:
disassociateSecurityKeyRequest- AConsumerthat will call methods onDisassociateSecurityKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateSecurityKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateTrafficDistributionGroupUser
default CompletableFuture<DisassociateTrafficDistributionGroupUserResponse> disassociateTrafficDistributionGroupUser(DisassociateTrafficDistributionGroupUserRequest disassociateTrafficDistributionGroupUserRequest) Disassociates an agent from a traffic distribution group.
- Parameters:
disassociateTrafficDistributionGroupUserRequest-- Returns:
- A Java Future containing the result of the DisassociateTrafficDistributionGroupUser operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateTrafficDistributionGroupUser
default CompletableFuture<DisassociateTrafficDistributionGroupUserResponse> disassociateTrafficDistributionGroupUser(Consumer<DisassociateTrafficDistributionGroupUserRequest.Builder> disassociateTrafficDistributionGroupUserRequest) Disassociates an agent from a traffic distribution group.
This is a convenience which creates an instance of the
DisassociateTrafficDistributionGroupUserRequest.Builderavoiding the need to create one manually viaDisassociateTrafficDistributionGroupUserRequest.builder()- Parameters:
disassociateTrafficDistributionGroupUserRequest- AConsumerthat will call methods onDisassociateTrafficDistributionGroupUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateTrafficDistributionGroupUser operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateUserProficiencies
default CompletableFuture<DisassociateUserProficienciesResponse> disassociateUserProficiencies(DisassociateUserProficienciesRequest disassociateUserProficienciesRequest) Disassociates a set of proficiencies from a user.
- Parameters:
disassociateUserProficienciesRequest-- Returns:
- A Java Future containing the result of the DisassociateUserProficiencies operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateUserProficiencies
default CompletableFuture<DisassociateUserProficienciesResponse> disassociateUserProficiencies(Consumer<DisassociateUserProficienciesRequest.Builder> disassociateUserProficienciesRequest) Disassociates a set of proficiencies from a user.
This is a convenience which creates an instance of the
DisassociateUserProficienciesRequest.Builderavoiding the need to create one manually viaDisassociateUserProficienciesRequest.builder()- Parameters:
disassociateUserProficienciesRequest- AConsumerthat will call methods onDisassociateUserProficienciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateUserProficiencies operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
dismissUserContact
default CompletableFuture<DismissUserContactResponse> dismissUserContact(DismissUserContactRequest dismissUserContactRequest) 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, orREJECTEDstate in the Agent Event Stream.- Parameters:
dismissUserContactRequest-- Returns:
- A Java Future containing the result of the DismissUserContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
dismissUserContact
default CompletableFuture<DismissUserContactResponse> dismissUserContact(Consumer<DismissUserContactRequest.Builder> dismissUserContactRequest) 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, orREJECTEDstate in the Agent Event Stream.
This is a convenience which creates an instance of the
DismissUserContactRequest.Builderavoiding the need to create one manually viaDismissUserContactRequest.builder()- Parameters:
dismissUserContactRequest- AConsumerthat will call methods onDismissUserContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DismissUserContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAttachedFile
default CompletableFuture<GetAttachedFileResponse> getAttachedFile(GetAttachedFileRequest getAttachedFileRequest) 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.- Parameters:
getAttachedFileRequest- Request to GetAttachedFile API.- Returns:
- A Java Future containing the result of the GetAttachedFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAttachedFile
default CompletableFuture<GetAttachedFileResponse> getAttachedFile(Consumer<GetAttachedFileRequest.Builder> getAttachedFileRequest) 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
GetAttachedFileRequest.Builderavoiding the need to create one manually viaGetAttachedFileRequest.builder()- Parameters:
getAttachedFileRequest- AConsumerthat will call methods onGetAttachedFileRequest.Builderto create a request. Request to GetAttachedFile API.- Returns:
- A Java Future containing the result of the GetAttachedFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContactAttributes
default CompletableFuture<GetContactAttributesResponse> getContactAttributes(GetContactAttributesRequest getContactAttributesRequest) Retrieves the contact attributes for the specified contact.
- Parameters:
getContactAttributesRequest-- Returns:
- A Java Future containing the result of the GetContactAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContactAttributes
default CompletableFuture<GetContactAttributesResponse> getContactAttributes(Consumer<GetContactAttributesRequest.Builder> getContactAttributesRequest) Retrieves the contact attributes for the specified contact.
This is a convenience which creates an instance of the
GetContactAttributesRequest.Builderavoiding the need to create one manually viaGetContactAttributesRequest.builder()- Parameters:
getContactAttributesRequest- AConsumerthat will call methods onGetContactAttributesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetContactAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentMetricData
default CompletableFuture<GetCurrentMetricDataResponse> getCurrentMetricData(GetCurrentMetricDataRequest getCurrentMetricDataRequest) 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.
- Parameters:
getCurrentMetricDataRequest-- Returns:
- A Java Future containing the result of the GetCurrentMetricData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentMetricData
default CompletableFuture<GetCurrentMetricDataResponse> getCurrentMetricData(Consumer<GetCurrentMetricDataRequest.Builder> getCurrentMetricDataRequest) 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
GetCurrentMetricDataRequest.Builderavoiding the need to create one manually viaGetCurrentMetricDataRequest.builder()- Parameters:
getCurrentMetricDataRequest- AConsumerthat will call methods onGetCurrentMetricDataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCurrentMetricData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentMetricDataPaginator
default GetCurrentMetricDataPublisher getCurrentMetricDataPaginator(GetCurrentMetricDataRequest getCurrentMetricDataRequest) This is a variant of
getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)operation.- Parameters:
getCurrentMetricDataRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentMetricDataPaginator
default GetCurrentMetricDataPublisher getCurrentMetricDataPaginator(Consumer<GetCurrentMetricDataRequest.Builder> getCurrentMetricDataRequest) This is a variant of
getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetCurrentMetricDataPublisher publisher = client.getCurrentMetricDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCurrentMetricData(software.amazon.awssdk.services.connect.model.GetCurrentMetricDataRequest)operation.
This is a convenience which creates an instance of the
GetCurrentMetricDataRequest.Builderavoiding the need to create one manually viaGetCurrentMetricDataRequest.builder()- Parameters:
getCurrentMetricDataRequest- AConsumerthat will call methods onGetCurrentMetricDataRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentUserData
default CompletableFuture<GetCurrentUserDataResponse> getCurrentUserData(GetCurrentUserDataRequest getCurrentUserDataRequest) Gets the real-time active user data from the specified Amazon Connect instance.
- Parameters:
getCurrentUserDataRequest-- Returns:
- A Java Future containing the result of the GetCurrentUserData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentUserData
default CompletableFuture<GetCurrentUserDataResponse> getCurrentUserData(Consumer<GetCurrentUserDataRequest.Builder> getCurrentUserDataRequest) Gets the real-time active user data from the specified Amazon Connect instance.
This is a convenience which creates an instance of the
GetCurrentUserDataRequest.Builderavoiding the need to create one manually viaGetCurrentUserDataRequest.builder()- Parameters:
getCurrentUserDataRequest- AConsumerthat will call methods onGetCurrentUserDataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCurrentUserData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentUserDataPaginator
default GetCurrentUserDataPublisher getCurrentUserDataPaginator(GetCurrentUserDataRequest getCurrentUserDataRequest) This is a variant of
getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)operation.- Parameters:
getCurrentUserDataRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCurrentUserDataPaginator
default GetCurrentUserDataPublisher getCurrentUserDataPaginator(Consumer<GetCurrentUserDataRequest.Builder> getCurrentUserDataRequest) This is a variant of
getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetCurrentUserDataPublisher publisher = client.getCurrentUserDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetCurrentUserDataResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCurrentUserData(software.amazon.awssdk.services.connect.model.GetCurrentUserDataRequest)operation.
This is a convenience which creates an instance of the
GetCurrentUserDataRequest.Builderavoiding the need to create one manually viaGetCurrentUserDataRequest.builder()- Parameters:
getCurrentUserDataRequest- AConsumerthat will call methods onGetCurrentUserDataRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFederationToken
default CompletableFuture<GetFederationTokenResponse> getFederationToken(GetFederationTokenRequest getFederationTokenRequest) 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- Parameters:
getFederationTokenRequest-- Returns:
- A Java Future containing the result of the GetFederationToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- UserNotFoundException No user with the specified credentials was found in the Amazon Connect instance.
- InternalServiceException Request processing failed because of an error or failure with the service.
- DuplicateResourceException A resource with the specified name already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFederationToken
default CompletableFuture<GetFederationTokenResponse> getFederationToken(Consumer<GetFederationTokenRequest.Builder> getFederationTokenRequest) 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
GetFederationTokenRequest.Builderavoiding the need to create one manually viaGetFederationTokenRequest.builder()- Parameters:
getFederationTokenRequest- AConsumerthat will call methods onGetFederationTokenRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFederationToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- UserNotFoundException No user with the specified credentials was found in the Amazon Connect instance.
- InternalServiceException Request processing failed because of an error or failure with the service.
- DuplicateResourceException A resource with the specified name already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFlowAssociation
default CompletableFuture<GetFlowAssociationResponse> getFlowAssociation(GetFlowAssociationRequest getFlowAssociationRequest) Retrieves the flow associated for a given resource.
- Parameters:
getFlowAssociationRequest-- Returns:
- A Java Future containing the result of the GetFlowAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFlowAssociation
default CompletableFuture<GetFlowAssociationResponse> getFlowAssociation(Consumer<GetFlowAssociationRequest.Builder> getFlowAssociationRequest) Retrieves the flow associated for a given resource.
This is a convenience which creates an instance of the
GetFlowAssociationRequest.Builderavoiding the need to create one manually viaGetFlowAssociationRequest.builder()- Parameters:
getFlowAssociationRequest- AConsumerthat will call methods onGetFlowAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFlowAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricData
default CompletableFuture<GetMetricDataResponse> getMetricData(GetMetricDataRequest getMetricDataRequest) 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.- Parameters:
getMetricDataRequest-- Returns:
- A Java Future containing the result of the GetMetricData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricData
default CompletableFuture<GetMetricDataResponse> getMetricData(Consumer<GetMetricDataRequest.Builder> getMetricDataRequest) 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
GetMetricDataRequest.Builderavoiding the need to create one manually viaGetMetricDataRequest.builder()- Parameters:
getMetricDataRequest- AConsumerthat will call methods onGetMetricDataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMetricData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricDataPaginator
This is a variant of
getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetMetricDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)operation.- Parameters:
getMetricDataRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricDataPaginator
default GetMetricDataPublisher getMetricDataPaginator(Consumer<GetMetricDataRequest.Builder> getMetricDataRequest) This is a variant of
getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetMetricDataPublisher publisher = client.getMetricDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetMetricDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getMetricData(software.amazon.awssdk.services.connect.model.GetMetricDataRequest)operation.
This is a convenience which creates an instance of the
GetMetricDataRequest.Builderavoiding the need to create one manually viaGetMetricDataRequest.builder()- Parameters:
getMetricDataRequest- AConsumerthat will call methods onGetMetricDataRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricDataV2
default CompletableFuture<GetMetricDataV2Response> getMetricDataV2(GetMetricDataV2Request getMetricDataV2Request) Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2offers 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
GetMetricDataV2andGetMetricData, see Historical metrics definitions in the Amazon Connect Administrator Guide.- Parameters:
getMetricDataV2Request-- Returns:
- A Java Future containing the result of the GetMetricDataV2 operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricDataV2
default CompletableFuture<GetMetricDataV2Response> getMetricDataV2(Consumer<GetMetricDataV2Request.Builder> getMetricDataV2Request) Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2offers 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
GetMetricDataV2andGetMetricData, see Historical metrics definitions in the Amazon Connect Administrator Guide.
This is a convenience which creates an instance of the
GetMetricDataV2Request.Builderavoiding the need to create one manually viaGetMetricDataV2Request.builder()- Parameters:
getMetricDataV2Request- AConsumerthat will call methods onGetMetricDataV2Request.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMetricDataV2 operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricDataV2Paginator
default GetMetricDataV2Publisher getMetricDataV2Paginator(GetMetricDataV2Request getMetricDataV2Request) This is a variant of
getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetMetricDataV2Response>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataV2Response response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)operation.- Parameters:
getMetricDataV2Request-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetricDataV2Paginator
default GetMetricDataV2Publisher getMetricDataV2Paginator(Consumer<GetMetricDataV2Request.Builder> getMetricDataV2Request) This is a variant of
getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.GetMetricDataV2Publisher publisher = client.getMetricDataV2Paginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.GetMetricDataV2Response>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.GetMetricDataV2Response response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getMetricDataV2(software.amazon.awssdk.services.connect.model.GetMetricDataV2Request)operation.
This is a convenience which creates an instance of the
GetMetricDataV2Request.Builderavoiding the need to create one manually viaGetMetricDataV2Request.builder()- Parameters:
getMetricDataV2Request- AConsumerthat will call methods onGetMetricDataV2Request.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPromptFile
default CompletableFuture<GetPromptFileResponse> getPromptFile(GetPromptFileRequest getPromptFileRequest) Gets the prompt file.
- Parameters:
getPromptFileRequest-- Returns:
- A Java Future containing the result of the GetPromptFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPromptFile
default CompletableFuture<GetPromptFileResponse> getPromptFile(Consumer<GetPromptFileRequest.Builder> getPromptFileRequest) Gets the prompt file.
This is a convenience which creates an instance of the
GetPromptFileRequest.Builderavoiding the need to create one manually viaGetPromptFileRequest.builder()- Parameters:
getPromptFileRequest- AConsumerthat will call methods onGetPromptFileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPromptFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTaskTemplate
default CompletableFuture<GetTaskTemplateResponse> getTaskTemplate(GetTaskTemplateRequest getTaskTemplateRequest) Gets details about a specific task template in the specified Amazon Connect instance.
- Parameters:
getTaskTemplateRequest-- Returns:
- A Java Future containing the result of the GetTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTaskTemplate
default CompletableFuture<GetTaskTemplateResponse> getTaskTemplate(Consumer<GetTaskTemplateRequest.Builder> getTaskTemplateRequest) Gets details about a specific task template in the specified Amazon Connect instance.
This is a convenience which creates an instance of the
GetTaskTemplateRequest.Builderavoiding the need to create one manually viaGetTaskTemplateRequest.builder()- Parameters:
getTaskTemplateRequest- AConsumerthat will call methods onGetTaskTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTrafficDistribution
default CompletableFuture<GetTrafficDistributionResponse> getTrafficDistribution(GetTrafficDistributionRequest getTrafficDistributionRequest) Retrieves the current traffic distribution for a given traffic distribution group.
- Parameters:
getTrafficDistributionRequest-- Returns:
- A Java Future containing the result of the GetTrafficDistribution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTrafficDistribution
default CompletableFuture<GetTrafficDistributionResponse> getTrafficDistribution(Consumer<GetTrafficDistributionRequest.Builder> getTrafficDistributionRequest) Retrieves the current traffic distribution for a given traffic distribution group.
This is a convenience which creates an instance of the
GetTrafficDistributionRequest.Builderavoiding the need to create one manually viaGetTrafficDistributionRequest.builder()- Parameters:
getTrafficDistributionRequest- AConsumerthat will call methods onGetTrafficDistributionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTrafficDistribution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importPhoneNumber
default CompletableFuture<ImportPhoneNumberResponse> importPhoneNumber(ImportPhoneNumberRequest importPhoneNumberRequest) 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
ImportPhoneNumberoperation.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.
- Parameters:
importPhoneNumberRequest-- Returns:
- A Java Future containing the result of the ImportPhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importPhoneNumber
default CompletableFuture<ImportPhoneNumberResponse> importPhoneNumber(Consumer<ImportPhoneNumberRequest.Builder> importPhoneNumberRequest) 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
ImportPhoneNumberoperation.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
ImportPhoneNumberRequest.Builderavoiding the need to create one manually viaImportPhoneNumberRequest.builder()- Parameters:
importPhoneNumberRequest- AConsumerthat will call methods onImportPhoneNumberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportPhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentStatuses
default CompletableFuture<ListAgentStatusesResponse> listAgentStatuses(ListAgentStatusesRequest listAgentStatusesRequest) This API is in preview release for Amazon Connect and is subject to change.
Lists agent statuses.
- Parameters:
listAgentStatusesRequest-- Returns:
- A Java Future containing the result of the ListAgentStatuses operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentStatuses
default CompletableFuture<ListAgentStatusesResponse> listAgentStatuses(Consumer<ListAgentStatusesRequest.Builder> listAgentStatusesRequest) 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
ListAgentStatusesRequest.Builderavoiding the need to create one manually viaListAgentStatusesRequest.builder()- Parameters:
listAgentStatusesRequest- AConsumerthat will call methods onListAgentStatusesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAgentStatuses operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentStatusesPaginator
default ListAgentStatusesPublisher listAgentStatusesPaginator(ListAgentStatusesRequest listAgentStatusesRequest) This is a variant of
listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)operation.- Parameters:
listAgentStatusesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentStatusesPaginator
default ListAgentStatusesPublisher listAgentStatusesPaginator(Consumer<ListAgentStatusesRequest.Builder> listAgentStatusesRequest) This is a variant of
listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListAgentStatusesPublisher publisher = client.listAgentStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListAgentStatusesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentStatuses(software.amazon.awssdk.services.connect.model.ListAgentStatusesRequest)operation.
This is a convenience which creates an instance of the
ListAgentStatusesRequest.Builderavoiding the need to create one manually viaListAgentStatusesRequest.builder()- Parameters:
listAgentStatusesRequest- AConsumerthat will call methods onListAgentStatusesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnalyticsDataAssociations
default CompletableFuture<ListAnalyticsDataAssociationsResponse> listAnalyticsDataAssociations(ListAnalyticsDataAssociationsRequest listAnalyticsDataAssociationsRequest) Lists the association status of requested dataset ID for a given Amazon Connect instance.
- Parameters:
listAnalyticsDataAssociationsRequest-- Returns:
- A Java Future containing the result of the ListAnalyticsDataAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAnalyticsDataAssociations
default CompletableFuture<ListAnalyticsDataAssociationsResponse> listAnalyticsDataAssociations(Consumer<ListAnalyticsDataAssociationsRequest.Builder> listAnalyticsDataAssociationsRequest) Lists the association status of requested dataset ID for a given Amazon Connect instance.
This is a convenience which creates an instance of the
ListAnalyticsDataAssociationsRequest.Builderavoiding the need to create one manually viaListAnalyticsDataAssociationsRequest.builder()- Parameters:
listAnalyticsDataAssociationsRequest- AConsumerthat will call methods onListAnalyticsDataAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAnalyticsDataAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApprovedOrigins
default CompletableFuture<ListApprovedOriginsResponse> listApprovedOrigins(ListApprovedOriginsRequest listApprovedOriginsRequest) 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.
- Parameters:
listApprovedOriginsRequest-- Returns:
- A Java Future containing the result of the ListApprovedOrigins operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApprovedOrigins
default CompletableFuture<ListApprovedOriginsResponse> listApprovedOrigins(Consumer<ListApprovedOriginsRequest.Builder> listApprovedOriginsRequest) 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
ListApprovedOriginsRequest.Builderavoiding the need to create one manually viaListApprovedOriginsRequest.builder()- Parameters:
listApprovedOriginsRequest- AConsumerthat will call methods onListApprovedOriginsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApprovedOrigins operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApprovedOriginsPaginator
default ListApprovedOriginsPublisher listApprovedOriginsPaginator(ListApprovedOriginsRequest listApprovedOriginsRequest) This is a variant of
listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)operation.- Parameters:
listApprovedOriginsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApprovedOriginsPaginator
default ListApprovedOriginsPublisher listApprovedOriginsPaginator(Consumer<ListApprovedOriginsRequest.Builder> listApprovedOriginsRequest) This is a variant of
listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListApprovedOriginsPublisher publisher = client.listApprovedOriginsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListApprovedOriginsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApprovedOrigins(software.amazon.awssdk.services.connect.model.ListApprovedOriginsRequest)operation.
This is a convenience which creates an instance of the
ListApprovedOriginsRequest.Builderavoiding the need to create one manually viaListApprovedOriginsRequest.builder()- Parameters:
listApprovedOriginsRequest- AConsumerthat will call methods onListApprovedOriginsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAuthenticationProfiles
default CompletableFuture<ListAuthenticationProfilesResponse> listAuthenticationProfiles(ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) 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.
- Parameters:
listAuthenticationProfilesRequest-- Returns:
- A Java Future containing the result of the ListAuthenticationProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAuthenticationProfiles
default CompletableFuture<ListAuthenticationProfilesResponse> listAuthenticationProfiles(Consumer<ListAuthenticationProfilesRequest.Builder> listAuthenticationProfilesRequest) 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
ListAuthenticationProfilesRequest.Builderavoiding the need to create one manually viaListAuthenticationProfilesRequest.builder()- Parameters:
listAuthenticationProfilesRequest- AConsumerthat will call methods onListAuthenticationProfilesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAuthenticationProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAuthenticationProfilesPaginator
default ListAuthenticationProfilesPublisher listAuthenticationProfilesPaginator(ListAuthenticationProfilesRequest listAuthenticationProfilesRequest) This is a variant of
listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)operation.- Parameters:
listAuthenticationProfilesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAuthenticationProfilesPaginator
default ListAuthenticationProfilesPublisher listAuthenticationProfilesPaginator(Consumer<ListAuthenticationProfilesRequest.Builder> listAuthenticationProfilesRequest) This is a variant of
listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListAuthenticationProfilesPublisher publisher = client.listAuthenticationProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthenticationProfiles(software.amazon.awssdk.services.connect.model.ListAuthenticationProfilesRequest)operation.
This is a convenience which creates an instance of the
ListAuthenticationProfilesRequest.Builderavoiding the need to create one manually viaListAuthenticationProfilesRequest.builder()- Parameters:
listAuthenticationProfilesRequest- AConsumerthat will call methods onListAuthenticationProfilesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBots
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.
- Parameters:
listBotsRequest-- Returns:
- A Java Future containing the result of the ListBots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBots
default CompletableFuture<ListBotsResponse> listBots(Consumer<ListBotsRequest.Builder> listBotsRequest) 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
ListBotsRequest.Builderavoiding the need to create one manually viaListBotsRequest.builder()- Parameters:
listBotsRequest- AConsumerthat will call methods onListBotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBotsPaginator
This is a variant of
listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListBotsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)operation.- Parameters:
listBotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBotsPaginator
This is a variant of
listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListBotsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBots(software.amazon.awssdk.services.connect.model.ListBotsRequest)operation.
This is a convenience which creates an instance of the
ListBotsRequest.Builderavoiding the need to create one manually viaListBotsRequest.builder()- Parameters:
listBotsRequest- AConsumerthat will call methods onListBotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactEvaluations
default CompletableFuture<ListContactEvaluationsResponse> listContactEvaluations(ListContactEvaluationsRequest listContactEvaluationsRequest) Lists contact evaluations in the specified Amazon Connect instance.
- Parameters:
listContactEvaluationsRequest-- Returns:
- A Java Future containing the result of the ListContactEvaluations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactEvaluations
default CompletableFuture<ListContactEvaluationsResponse> listContactEvaluations(Consumer<ListContactEvaluationsRequest.Builder> listContactEvaluationsRequest) Lists contact evaluations in the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListContactEvaluationsRequest.Builderavoiding the need to create one manually viaListContactEvaluationsRequest.builder()- Parameters:
listContactEvaluationsRequest- AConsumerthat will call methods onListContactEvaluationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListContactEvaluations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactEvaluationsPaginator
default ListContactEvaluationsPublisher listContactEvaluationsPaginator(ListContactEvaluationsRequest listContactEvaluationsRequest) This is a variant of
listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse response) { //... }; });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
listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)operation.- Parameters:
listContactEvaluationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactEvaluationsPaginator
default ListContactEvaluationsPublisher listContactEvaluationsPaginator(Consumer<ListContactEvaluationsRequest.Builder> listContactEvaluationsRequest) This is a variant of
listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactEvaluationsPublisher publisher = client.listContactEvaluationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactEvaluationsResponse response) { //... }; });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
listContactEvaluations(software.amazon.awssdk.services.connect.model.ListContactEvaluationsRequest)operation.
This is a convenience which creates an instance of the
ListContactEvaluationsRequest.Builderavoiding the need to create one manually viaListContactEvaluationsRequest.builder()- Parameters:
listContactEvaluationsRequest- AConsumerthat will call methods onListContactEvaluationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlowModules
default CompletableFuture<ListContactFlowModulesResponse> listContactFlowModules(ListContactFlowModulesRequest listContactFlowModulesRequest) Provides information about the flow modules for the specified Amazon Connect instance.
- Parameters:
listContactFlowModulesRequest-- Returns:
- A Java Future containing the result of the ListContactFlowModules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlowModules
default CompletableFuture<ListContactFlowModulesResponse> listContactFlowModules(Consumer<ListContactFlowModulesRequest.Builder> listContactFlowModulesRequest) Provides information about the flow modules for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListContactFlowModulesRequest.Builderavoiding the need to create one manually viaListContactFlowModulesRequest.builder()- Parameters:
listContactFlowModulesRequest- AConsumerthat will call methods onListContactFlowModulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListContactFlowModules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlowModulesPaginator
default ListContactFlowModulesPublisher listContactFlowModulesPaginator(ListContactFlowModulesRequest listContactFlowModulesRequest) This is a variant of
listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)operation.- Parameters:
listContactFlowModulesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlowModulesPaginator
default ListContactFlowModulesPublisher listContactFlowModulesPaginator(Consumer<ListContactFlowModulesRequest.Builder> listContactFlowModulesRequest) This is a variant of
listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactFlowModulesPublisher publisher = client.listContactFlowModulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowModulesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContactFlowModules(software.amazon.awssdk.services.connect.model.ListContactFlowModulesRequest)operation.
This is a convenience which creates an instance of the
ListContactFlowModulesRequest.Builderavoiding the need to create one manually viaListContactFlowModulesRequest.builder()- Parameters:
listContactFlowModulesRequest- AConsumerthat will call methods onListContactFlowModulesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlows
default CompletableFuture<ListContactFlowsResponse> listContactFlows(ListContactFlowsRequest listContactFlowsRequest) 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.
- Parameters:
listContactFlowsRequest-- Returns:
- A Java Future containing the result of the ListContactFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlows
default CompletableFuture<ListContactFlowsResponse> listContactFlows(Consumer<ListContactFlowsRequest.Builder> listContactFlowsRequest) 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
ListContactFlowsRequest.Builderavoiding the need to create one manually viaListContactFlowsRequest.builder()- Parameters:
listContactFlowsRequest- AConsumerthat will call methods onListContactFlowsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListContactFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlowsPaginator
default ListContactFlowsPublisher listContactFlowsPaginator(ListContactFlowsRequest listContactFlowsRequest) This is a variant of
listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)operation.- Parameters:
listContactFlowsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactFlowsPaginator
default ListContactFlowsPublisher listContactFlowsPaginator(Consumer<ListContactFlowsRequest.Builder> listContactFlowsRequest) This is a variant of
listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactFlowsPublisher publisher = client.listContactFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactFlowsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContactFlows(software.amazon.awssdk.services.connect.model.ListContactFlowsRequest)operation.
This is a convenience which creates an instance of the
ListContactFlowsRequest.Builderavoiding the need to create one manually viaListContactFlowsRequest.builder()- Parameters:
listContactFlowsRequest- AConsumerthat will call methods onListContactFlowsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactReferences
default CompletableFuture<ListContactReferencesResponse> listContactReferences(ListContactReferencesRequest listContactReferencesRequest) 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.- Parameters:
listContactReferencesRequest-- Returns:
- A Java Future containing the result of the ListContactReferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactReferences
default CompletableFuture<ListContactReferencesResponse> listContactReferences(Consumer<ListContactReferencesRequest.Builder> listContactReferencesRequest) 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
ListContactReferencesRequest.Builderavoiding the need to create one manually viaListContactReferencesRequest.builder()- Parameters:
listContactReferencesRequest- AConsumerthat will call methods onListContactReferencesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListContactReferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactReferencesPaginator
default ListContactReferencesPublisher listContactReferencesPaginator(ListContactReferencesRequest listContactReferencesRequest) This is a variant of
listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactReferencesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactReferencesResponse response) { //... }; });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
listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)operation.- Parameters:
listContactReferencesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactReferencesPaginator
default ListContactReferencesPublisher listContactReferencesPaginator(Consumer<ListContactReferencesRequest.Builder> listContactReferencesRequest) This is a variant of
listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListContactReferencesPublisher publisher = client.listContactReferencesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListContactReferencesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListContactReferencesResponse response) { //... }; });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
listContactReferences(software.amazon.awssdk.services.connect.model.ListContactReferencesRequest)operation.
This is a convenience which creates an instance of the
ListContactReferencesRequest.Builderavoiding the need to create one manually viaListContactReferencesRequest.builder()- Parameters:
listContactReferencesRequest- AConsumerthat will call methods onListContactReferencesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDefaultVocabularies
default CompletableFuture<ListDefaultVocabulariesResponse> listDefaultVocabularies(ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) Lists the default vocabularies for the specified Amazon Connect instance.
- Parameters:
listDefaultVocabulariesRequest-- Returns:
- A Java Future containing the result of the ListDefaultVocabularies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDefaultVocabularies
default CompletableFuture<ListDefaultVocabulariesResponse> listDefaultVocabularies(Consumer<ListDefaultVocabulariesRequest.Builder> listDefaultVocabulariesRequest) Lists the default vocabularies for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListDefaultVocabulariesRequest.Builderavoiding the need to create one manually viaListDefaultVocabulariesRequest.builder()- Parameters:
listDefaultVocabulariesRequest- AConsumerthat will call methods onListDefaultVocabulariesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDefaultVocabularies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDefaultVocabulariesPaginator
default ListDefaultVocabulariesPublisher listDefaultVocabulariesPaginator(ListDefaultVocabulariesRequest listDefaultVocabulariesRequest) This is a variant of
listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)operation.- Parameters:
listDefaultVocabulariesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDefaultVocabulariesPaginator
default ListDefaultVocabulariesPublisher listDefaultVocabulariesPaginator(Consumer<ListDefaultVocabulariesRequest.Builder> listDefaultVocabulariesRequest) This is a variant of
listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListDefaultVocabulariesPublisher publisher = client.listDefaultVocabulariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDefaultVocabularies(software.amazon.awssdk.services.connect.model.ListDefaultVocabulariesRequest)operation.
This is a convenience which creates an instance of the
ListDefaultVocabulariesRequest.Builderavoiding the need to create one manually viaListDefaultVocabulariesRequest.builder()- Parameters:
listDefaultVocabulariesRequest- AConsumerthat will call methods onListDefaultVocabulariesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationFormVersions
default CompletableFuture<ListEvaluationFormVersionsResponse> listEvaluationFormVersions(ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) Lists versions of an evaluation form in the specified Amazon Connect instance.
- Parameters:
listEvaluationFormVersionsRequest-- Returns:
- A Java Future containing the result of the ListEvaluationFormVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationFormVersions
default CompletableFuture<ListEvaluationFormVersionsResponse> listEvaluationFormVersions(Consumer<ListEvaluationFormVersionsRequest.Builder> listEvaluationFormVersionsRequest) Lists versions of an evaluation form in the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListEvaluationFormVersionsRequest.Builderavoiding the need to create one manually viaListEvaluationFormVersionsRequest.builder()- Parameters:
listEvaluationFormVersionsRequest- AConsumerthat will call methods onListEvaluationFormVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEvaluationFormVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationFormVersionsPaginator
default ListEvaluationFormVersionsPublisher listEvaluationFormVersionsPaginator(ListEvaluationFormVersionsRequest listEvaluationFormVersionsRequest) This is a variant of
listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)operation.- Parameters:
listEvaluationFormVersionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationFormVersionsPaginator
default ListEvaluationFormVersionsPublisher listEvaluationFormVersionsPaginator(Consumer<ListEvaluationFormVersionsRequest.Builder> listEvaluationFormVersionsRequest) This is a variant of
listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListEvaluationFormVersionsPublisher publisher = client.listEvaluationFormVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvaluationFormVersions(software.amazon.awssdk.services.connect.model.ListEvaluationFormVersionsRequest)operation.
This is a convenience which creates an instance of the
ListEvaluationFormVersionsRequest.Builderavoiding the need to create one manually viaListEvaluationFormVersionsRequest.builder()- Parameters:
listEvaluationFormVersionsRequest- AConsumerthat will call methods onListEvaluationFormVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationForms
default CompletableFuture<ListEvaluationFormsResponse> listEvaluationForms(ListEvaluationFormsRequest listEvaluationFormsRequest) Lists evaluation forms in the specified Amazon Connect instance.
- Parameters:
listEvaluationFormsRequest-- Returns:
- A Java Future containing the result of the ListEvaluationForms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationForms
default CompletableFuture<ListEvaluationFormsResponse> listEvaluationForms(Consumer<ListEvaluationFormsRequest.Builder> listEvaluationFormsRequest) Lists evaluation forms in the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListEvaluationFormsRequest.Builderavoiding the need to create one manually viaListEvaluationFormsRequest.builder()- Parameters:
listEvaluationFormsRequest- AConsumerthat will call methods onListEvaluationFormsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEvaluationForms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationFormsPaginator
default ListEvaluationFormsPublisher listEvaluationFormsPaginator(ListEvaluationFormsRequest listEvaluationFormsRequest) This is a variant of
listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)operation.- Parameters:
listEvaluationFormsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvaluationFormsPaginator
default ListEvaluationFormsPublisher listEvaluationFormsPaginator(Consumer<ListEvaluationFormsRequest.Builder> listEvaluationFormsRequest) This is a variant of
listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListEvaluationFormsPublisher publisher = client.listEvaluationFormsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListEvaluationFormsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvaluationForms(software.amazon.awssdk.services.connect.model.ListEvaluationFormsRequest)operation.
This is a convenience which creates an instance of the
ListEvaluationFormsRequest.Builderavoiding the need to create one manually viaListEvaluationFormsRequest.builder()- Parameters:
listEvaluationFormsRequest- AConsumerthat will call methods onListEvaluationFormsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlowAssociations
default CompletableFuture<ListFlowAssociationsResponse> listFlowAssociations(ListFlowAssociationsRequest listFlowAssociationsRequest) List the flow association based on the filters.
- Parameters:
listFlowAssociationsRequest-- Returns:
- A Java Future containing the result of the ListFlowAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlowAssociations
default CompletableFuture<ListFlowAssociationsResponse> listFlowAssociations(Consumer<ListFlowAssociationsRequest.Builder> listFlowAssociationsRequest) List the flow association based on the filters.
This is a convenience which creates an instance of the
ListFlowAssociationsRequest.Builderavoiding the need to create one manually viaListFlowAssociationsRequest.builder()- Parameters:
listFlowAssociationsRequest- AConsumerthat will call methods onListFlowAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFlowAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlowAssociationsPaginator
default ListFlowAssociationsPublisher listFlowAssociationsPaginator(ListFlowAssociationsRequest listFlowAssociationsRequest) This is a variant of
listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)operation.- Parameters:
listFlowAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlowAssociationsPaginator
default ListFlowAssociationsPublisher listFlowAssociationsPaginator(Consumer<ListFlowAssociationsRequest.Builder> listFlowAssociationsRequest) This is a variant of
listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListFlowAssociationsPublisher publisher = client.listFlowAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListFlowAssociationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlowAssociations(software.amazon.awssdk.services.connect.model.ListFlowAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListFlowAssociationsRequest.Builderavoiding the need to create one manually viaListFlowAssociationsRequest.builder()- Parameters:
listFlowAssociationsRequest- AConsumerthat will call methods onListFlowAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHoursOfOperations
default CompletableFuture<ListHoursOfOperationsResponse> listHoursOfOperations(ListHoursOfOperationsRequest listHoursOfOperationsRequest) 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.
- Parameters:
listHoursOfOperationsRequest-- Returns:
- A Java Future containing the result of the ListHoursOfOperations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHoursOfOperations
default CompletableFuture<ListHoursOfOperationsResponse> listHoursOfOperations(Consumer<ListHoursOfOperationsRequest.Builder> listHoursOfOperationsRequest) 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
ListHoursOfOperationsRequest.Builderavoiding the need to create one manually viaListHoursOfOperationsRequest.builder()- Parameters:
listHoursOfOperationsRequest- AConsumerthat will call methods onListHoursOfOperationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListHoursOfOperations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHoursOfOperationsPaginator
default ListHoursOfOperationsPublisher listHoursOfOperationsPaginator(ListHoursOfOperationsRequest listHoursOfOperationsRequest) This is a variant of
listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)operation.- Parameters:
listHoursOfOperationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listHoursOfOperationsPaginator
default ListHoursOfOperationsPublisher listHoursOfOperationsPaginator(Consumer<ListHoursOfOperationsRequest.Builder> listHoursOfOperationsRequest) This is a variant of
listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListHoursOfOperationsPublisher publisher = client.listHoursOfOperationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHoursOfOperations(software.amazon.awssdk.services.connect.model.ListHoursOfOperationsRequest)operation.
This is a convenience which creates an instance of the
ListHoursOfOperationsRequest.Builderavoiding the need to create one manually viaListHoursOfOperationsRequest.builder()- Parameters:
listHoursOfOperationsRequest- AConsumerthat will call methods onListHoursOfOperationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceAttributes
default CompletableFuture<ListInstanceAttributesResponse> listInstanceAttributes(ListInstanceAttributesRequest listInstanceAttributesRequest) 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.
- Parameters:
listInstanceAttributesRequest-- Returns:
- A Java Future containing the result of the ListInstanceAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceAttributes
default CompletableFuture<ListInstanceAttributesResponse> listInstanceAttributes(Consumer<ListInstanceAttributesRequest.Builder> listInstanceAttributesRequest) 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
ListInstanceAttributesRequest.Builderavoiding the need to create one manually viaListInstanceAttributesRequest.builder()- Parameters:
listInstanceAttributesRequest- AConsumerthat will call methods onListInstanceAttributesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListInstanceAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceAttributesPaginator
default ListInstanceAttributesPublisher listInstanceAttributesPaginator(ListInstanceAttributesRequest listInstanceAttributesRequest) This is a variant of
listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)operation.- Parameters:
listInstanceAttributesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceAttributesPaginator
default ListInstanceAttributesPublisher listInstanceAttributesPaginator(Consumer<ListInstanceAttributesRequest.Builder> listInstanceAttributesRequest) This is a variant of
listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListInstanceAttributesPublisher publisher = client.listInstanceAttributesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceAttributesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstanceAttributes(software.amazon.awssdk.services.connect.model.ListInstanceAttributesRequest)operation.
This is a convenience which creates an instance of the
ListInstanceAttributesRequest.Builderavoiding the need to create one manually viaListInstanceAttributesRequest.builder()- Parameters:
listInstanceAttributesRequest- AConsumerthat will call methods onListInstanceAttributesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceStorageConfigs
default CompletableFuture<ListInstanceStorageConfigsResponse> listInstanceStorageConfigs(ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) 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.
- Parameters:
listInstanceStorageConfigsRequest-- Returns:
- A Java Future containing the result of the ListInstanceStorageConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceStorageConfigs
default CompletableFuture<ListInstanceStorageConfigsResponse> listInstanceStorageConfigs(Consumer<ListInstanceStorageConfigsRequest.Builder> listInstanceStorageConfigsRequest) 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
ListInstanceStorageConfigsRequest.Builderavoiding the need to create one manually viaListInstanceStorageConfigsRequest.builder()- Parameters:
listInstanceStorageConfigsRequest- AConsumerthat will call methods onListInstanceStorageConfigsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListInstanceStorageConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceStorageConfigsPaginator
default ListInstanceStorageConfigsPublisher listInstanceStorageConfigsPaginator(ListInstanceStorageConfigsRequest listInstanceStorageConfigsRequest) This is a variant of
listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)operation.- Parameters:
listInstanceStorageConfigsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstanceStorageConfigsPaginator
default ListInstanceStorageConfigsPublisher listInstanceStorageConfigsPaginator(Consumer<ListInstanceStorageConfigsRequest.Builder> listInstanceStorageConfigsRequest) This is a variant of
listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListInstanceStorageConfigsPublisher publisher = client.listInstanceStorageConfigsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstanceStorageConfigs(software.amazon.awssdk.services.connect.model.ListInstanceStorageConfigsRequest)operation.
This is a convenience which creates an instance of the
ListInstanceStorageConfigsRequest.Builderavoiding the need to create one manually viaListInstanceStorageConfigsRequest.builder()- Parameters:
listInstanceStorageConfigsRequest- AConsumerthat will call methods onListInstanceStorageConfigsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstances
default CompletableFuture<ListInstancesResponse> listInstances(ListInstancesRequest listInstancesRequest) 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.
- Parameters:
listInstancesRequest-- Returns:
- A Java Future containing the result of the ListInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstances
default CompletableFuture<ListInstancesResponse> listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) 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
ListInstancesRequest.Builderavoiding the need to create one manually viaListInstancesRequest.builder()- Parameters:
listInstancesRequest- AConsumerthat will call methods onListInstancesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstancesPaginator
This is a variant of
listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListInstancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)operation.- Parameters:
listInstancesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInstancesPaginator
default ListInstancesPublisher listInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest) This is a variant of
listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListInstancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstances(software.amazon.awssdk.services.connect.model.ListInstancesRequest)operation.
This is a convenience which creates an instance of the
ListInstancesRequest.Builderavoiding the need to create one manually viaListInstancesRequest.builder()- Parameters:
listInstancesRequest- AConsumerthat will call methods onListInstancesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationAssociations
default CompletableFuture<ListIntegrationAssociationsResponse> listIntegrationAssociations(ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.
- Parameters:
listIntegrationAssociationsRequest-- Returns:
- A Java Future containing the result of the ListIntegrationAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationAssociations
default CompletableFuture<ListIntegrationAssociationsResponse> listIntegrationAssociations(Consumer<ListIntegrationAssociationsRequest.Builder> listIntegrationAssociationsRequest) 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
ListIntegrationAssociationsRequest.Builderavoiding the need to create one manually viaListIntegrationAssociationsRequest.builder()- Parameters:
listIntegrationAssociationsRequest- AConsumerthat will call methods onListIntegrationAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListIntegrationAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationAssociationsPaginator
default ListIntegrationAssociationsPublisher listIntegrationAssociationsPaginator(ListIntegrationAssociationsRequest listIntegrationAssociationsRequest) This is a variant of
listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)operation.- Parameters:
listIntegrationAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationAssociationsPaginator
default ListIntegrationAssociationsPublisher listIntegrationAssociationsPaginator(Consumer<ListIntegrationAssociationsRequest.Builder> listIntegrationAssociationsRequest) This is a variant of
listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListIntegrationAssociationsPublisher publisher = client.listIntegrationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrationAssociations(software.amazon.awssdk.services.connect.model.ListIntegrationAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListIntegrationAssociationsRequest.Builderavoiding the need to create one manually viaListIntegrationAssociationsRequest.builder()- Parameters:
listIntegrationAssociationsRequest- AConsumerthat will call methods onListIntegrationAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLambdaFunctions
default CompletableFuture<ListLambdaFunctionsResponse> listLambdaFunctions(ListLambdaFunctionsRequest listLambdaFunctionsRequest) 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.
- Parameters:
listLambdaFunctionsRequest-- Returns:
- A Java Future containing the result of the ListLambdaFunctions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLambdaFunctions
default CompletableFuture<ListLambdaFunctionsResponse> listLambdaFunctions(Consumer<ListLambdaFunctionsRequest.Builder> listLambdaFunctionsRequest) 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
ListLambdaFunctionsRequest.Builderavoiding the need to create one manually viaListLambdaFunctionsRequest.builder()- Parameters:
listLambdaFunctionsRequest- AConsumerthat will call methods onListLambdaFunctionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListLambdaFunctions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLambdaFunctionsPaginator
default ListLambdaFunctionsPublisher listLambdaFunctionsPaginator(ListLambdaFunctionsRequest listLambdaFunctionsRequest) This is a variant of
listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)operation.- Parameters:
listLambdaFunctionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLambdaFunctionsPaginator
default ListLambdaFunctionsPublisher listLambdaFunctionsPaginator(Consumer<ListLambdaFunctionsRequest.Builder> listLambdaFunctionsRequest) This is a variant of
listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListLambdaFunctionsPublisher publisher = client.listLambdaFunctionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLambdaFunctions(software.amazon.awssdk.services.connect.model.ListLambdaFunctionsRequest)operation.
This is a convenience which creates an instance of the
ListLambdaFunctionsRequest.Builderavoiding the need to create one manually viaListLambdaFunctionsRequest.builder()- Parameters:
listLambdaFunctionsRequest- AConsumerthat will call methods onListLambdaFunctionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLexBots
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.
- Parameters:
listLexBotsRequest-- Returns:
- A Java Future containing the result of the ListLexBots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLexBots
default CompletableFuture<ListLexBotsResponse> listLexBots(Consumer<ListLexBotsRequest.Builder> listLexBotsRequest) 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
ListLexBotsRequest.Builderavoiding the need to create one manually viaListLexBotsRequest.builder()- Parameters:
listLexBotsRequest- AConsumerthat will call methods onListLexBotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListLexBots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLexBotsPaginator
This is a variant of
listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListLexBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListLexBotsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)operation.- Parameters:
listLexBotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLexBotsPaginator
default ListLexBotsPublisher listLexBotsPaginator(Consumer<ListLexBotsRequest.Builder> listLexBotsRequest) This is a variant of
listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListLexBotsPublisher publisher = client.listLexBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListLexBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListLexBotsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLexBots(software.amazon.awssdk.services.connect.model.ListLexBotsRequest)operation.
This is a convenience which creates an instance of the
ListLexBotsRequest.Builderavoiding the need to create one manually viaListLexBotsRequest.builder()- Parameters:
listLexBotsRequest- AConsumerthat will call methods onListLexBotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPhoneNumbers
default CompletableFuture<ListPhoneNumbersResponse> listPhoneNumbers(ListPhoneNumbersRequest listPhoneNumbersRequest) 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, andTHIRD_PARTY_DID. While it returns numbers of those types, it incorrectly lists them asTOLL_FREEorDID. -
The phone number
Arnvalue that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with aResourceNotFoundException. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
- Parameters:
listPhoneNumbersRequest-- Returns:
- A Java Future containing the result of the ListPhoneNumbers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listPhoneNumbers
default CompletableFuture<ListPhoneNumbersResponse> listPhoneNumbers(Consumer<ListPhoneNumbersRequest.Builder> listPhoneNumbersRequest) 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, andTHIRD_PARTY_DID. While it returns numbers of those types, it incorrectly lists them asTOLL_FREEorDID. -
The phone number
Arnvalue that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with aResourceNotFoundException. 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
ListPhoneNumbersRequest.Builderavoiding the need to create one manually viaListPhoneNumbersRequest.builder()- Parameters:
listPhoneNumbersRequest- AConsumerthat will call methods onListPhoneNumbersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPhoneNumbers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listPhoneNumbersPaginator
default ListPhoneNumbersPublisher listPhoneNumbersPaginator(ListPhoneNumbersRequest listPhoneNumbersRequest) This is a variant of
listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)operation.- Parameters:
listPhoneNumbersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPhoneNumbersPaginator
default ListPhoneNumbersPublisher listPhoneNumbersPaginator(Consumer<ListPhoneNumbersRequest.Builder> listPhoneNumbersRequest) This is a variant of
listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersPublisher publisher = client.listPhoneNumbersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPhoneNumbers(software.amazon.awssdk.services.connect.model.ListPhoneNumbersRequest)operation.
This is a convenience which creates an instance of the
ListPhoneNumbersRequest.Builderavoiding the need to create one manually viaListPhoneNumbersRequest.builder()- Parameters:
listPhoneNumbersRequest- AConsumerthat will call methods onListPhoneNumbersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPhoneNumbersV2
default CompletableFuture<ListPhoneNumbersV2Response> listPhoneNumbersV2(ListPhoneNumbersV2Request listPhoneNumbersV2Request) Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided
TargetArnis 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,
ListPhoneNumbersV2returns only the phone numbers claimed to the instance. -
When given a traffic distribution group ARN
ListPhoneNumbersV2returns only the phone numbers claimed to the traffic distribution group.
- Parameters:
listPhoneNumbersV2Request-- Returns:
- A Java Future containing the result of the ListPhoneNumbersV2 operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listPhoneNumbersV2
default CompletableFuture<ListPhoneNumbersV2Response> listPhoneNumbersV2(Consumer<ListPhoneNumbersV2Request.Builder> listPhoneNumbersV2Request) Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided
TargetArnis 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,
ListPhoneNumbersV2returns only the phone numbers claimed to the instance. -
When given a traffic distribution group ARN
ListPhoneNumbersV2returns only the phone numbers claimed to the traffic distribution group.
This is a convenience which creates an instance of the
ListPhoneNumbersV2Request.Builderavoiding the need to create one manually viaListPhoneNumbersV2Request.builder()- Parameters:
listPhoneNumbersV2Request- AConsumerthat will call methods onListPhoneNumbersV2Request.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPhoneNumbersV2 operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listPhoneNumbersV2Paginator
default ListPhoneNumbersV2Publisher listPhoneNumbersV2Paginator(ListPhoneNumbersV2Request listPhoneNumbersV2Request) This is a variant of
listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)operation.- Parameters:
listPhoneNumbersV2Request-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPhoneNumbersV2Paginator
default ListPhoneNumbersV2Publisher listPhoneNumbersV2Paginator(Consumer<ListPhoneNumbersV2Request.Builder> listPhoneNumbersV2Request) This is a variant of
listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPhoneNumbersV2Publisher publisher = client.listPhoneNumbersV2Paginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Response response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPhoneNumbersV2(software.amazon.awssdk.services.connect.model.ListPhoneNumbersV2Request)operation.
This is a convenience which creates an instance of the
ListPhoneNumbersV2Request.Builderavoiding the need to create one manually viaListPhoneNumbersV2Request.builder()- Parameters:
listPhoneNumbersV2Request- AConsumerthat will call methods onListPhoneNumbersV2Request.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredefinedAttributes
default CompletableFuture<ListPredefinedAttributesResponse> listPredefinedAttributes(ListPredefinedAttributesRequest listPredefinedAttributesRequest) 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.
- Parameters:
listPredefinedAttributesRequest-- Returns:
- A Java Future containing the result of the ListPredefinedAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredefinedAttributes
default CompletableFuture<ListPredefinedAttributesResponse> listPredefinedAttributes(Consumer<ListPredefinedAttributesRequest.Builder> listPredefinedAttributesRequest) 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
ListPredefinedAttributesRequest.Builderavoiding the need to create one manually viaListPredefinedAttributesRequest.builder()- Parameters:
listPredefinedAttributesRequest- AConsumerthat will call methods onListPredefinedAttributesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPredefinedAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredefinedAttributesPaginator
default ListPredefinedAttributesPublisher listPredefinedAttributesPaginator(ListPredefinedAttributesRequest listPredefinedAttributesRequest) This is a variant of
listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)operation.- Parameters:
listPredefinedAttributesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPredefinedAttributesPaginator
default ListPredefinedAttributesPublisher listPredefinedAttributesPaginator(Consumer<ListPredefinedAttributesRequest.Builder> listPredefinedAttributesRequest) This is a variant of
listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPredefinedAttributesPublisher publisher = client.listPredefinedAttributesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPredefinedAttributes(software.amazon.awssdk.services.connect.model.ListPredefinedAttributesRequest)operation.
This is a convenience which creates an instance of the
ListPredefinedAttributesRequest.Builderavoiding the need to create one manually viaListPredefinedAttributesRequest.builder()- Parameters:
listPredefinedAttributesRequest- AConsumerthat will call methods onListPredefinedAttributesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPrompts
Provides information about the prompts for the specified Amazon Connect instance.
- Parameters:
listPromptsRequest-- Returns:
- A Java Future containing the result of the ListPrompts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPrompts
default CompletableFuture<ListPromptsResponse> listPrompts(Consumer<ListPromptsRequest.Builder> listPromptsRequest) Provides information about the prompts for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListPromptsRequest.Builderavoiding the need to create one manually viaListPromptsRequest.builder()- Parameters:
listPromptsRequest- AConsumerthat will call methods onListPromptsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPrompts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPromptsPaginator
This is a variant of
listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPromptsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPromptsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)operation.- Parameters:
listPromptsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPromptsPaginator
default ListPromptsPublisher listPromptsPaginator(Consumer<ListPromptsRequest.Builder> listPromptsRequest) This is a variant of
listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListPromptsPublisher publisher = client.listPromptsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListPromptsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListPromptsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrompts(software.amazon.awssdk.services.connect.model.ListPromptsRequest)operation.
This is a convenience which creates an instance of the
ListPromptsRequest.Builderavoiding the need to create one manually viaListPromptsRequest.builder()- Parameters:
listPromptsRequest- AConsumerthat will call methods onListPromptsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueueQuickConnects
default CompletableFuture<ListQueueQuickConnectsResponse> listQueueQuickConnects(ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) This API is in preview release for Amazon Connect and is subject to change.
Lists the quick connects associated with a queue.
- Parameters:
listQueueQuickConnectsRequest-- Returns:
- A Java Future containing the result of the ListQueueQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueueQuickConnects
default CompletableFuture<ListQueueQuickConnectsResponse> listQueueQuickConnects(Consumer<ListQueueQuickConnectsRequest.Builder> listQueueQuickConnectsRequest) 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
ListQueueQuickConnectsRequest.Builderavoiding the need to create one manually viaListQueueQuickConnectsRequest.builder()- Parameters:
listQueueQuickConnectsRequest- AConsumerthat will call methods onListQueueQuickConnectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListQueueQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueueQuickConnectsPaginator
default ListQueueQuickConnectsPublisher listQueueQuickConnectsPaginator(ListQueueQuickConnectsRequest listQueueQuickConnectsRequest) This is a variant of
listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)operation.- Parameters:
listQueueQuickConnectsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueueQuickConnectsPaginator
default ListQueueQuickConnectsPublisher listQueueQuickConnectsPaginator(Consumer<ListQueueQuickConnectsRequest.Builder> listQueueQuickConnectsRequest) This is a variant of
listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListQueueQuickConnectsPublisher publisher = client.listQueueQuickConnectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueueQuickConnects(software.amazon.awssdk.services.connect.model.ListQueueQuickConnectsRequest)operation.
This is a convenience which creates an instance of the
ListQueueQuickConnectsRequest.Builderavoiding the need to create one manually viaListQueueQuickConnectsRequest.builder()- Parameters:
listQueueQuickConnectsRequest- AConsumerthat will call methods onListQueueQuickConnectsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueues
Provides information about the queues for the specified Amazon Connect instance.
If you do not specify a
QueueTypesparameter, 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.
- Parameters:
listQueuesRequest-- Returns:
- A Java Future containing the result of the ListQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueues
default CompletableFuture<ListQueuesResponse> listQueues(Consumer<ListQueuesRequest.Builder> listQueuesRequest) Provides information about the queues for the specified Amazon Connect instance.
If you do not specify a
QueueTypesparameter, 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
ListQueuesRequest.Builderavoiding the need to create one manually viaListQueuesRequest.builder()- Parameters:
listQueuesRequest- AConsumerthat will call methods onListQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueuesPaginator
This is a variant of
listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)operation.- Parameters:
listQueuesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQueuesPaginator
default ListQueuesPublisher listQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest) This is a variant of
listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueues(software.amazon.awssdk.services.connect.model.ListQueuesRequest)operation.
This is a convenience which creates an instance of the
ListQueuesRequest.Builderavoiding the need to create one manually viaListQueuesRequest.builder()- Parameters:
listQueuesRequest- AConsumerthat will call methods onListQueuesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQuickConnects
default CompletableFuture<ListQuickConnectsResponse> listQuickConnects(ListQuickConnectsRequest listQuickConnectsRequest) Provides information about the quick connects for the specified Amazon Connect instance.
- Parameters:
listQuickConnectsRequest-- Returns:
- A Java Future containing the result of the ListQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQuickConnects
default CompletableFuture<ListQuickConnectsResponse> listQuickConnects(Consumer<ListQuickConnectsRequest.Builder> listQuickConnectsRequest) Provides information about the quick connects for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListQuickConnectsRequest.Builderavoiding the need to create one manually viaListQuickConnectsRequest.builder()- Parameters:
listQuickConnectsRequest- AConsumerthat will call methods onListQuickConnectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQuickConnectsPaginator
default ListQuickConnectsPublisher listQuickConnectsPaginator(ListQuickConnectsRequest listQuickConnectsRequest) This is a variant of
listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)operation.- Parameters:
listQuickConnectsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listQuickConnectsPaginator
default ListQuickConnectsPublisher listQuickConnectsPaginator(Consumer<ListQuickConnectsRequest.Builder> listQuickConnectsRequest) This is a variant of
listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListQuickConnectsPublisher publisher = client.listQuickConnectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListQuickConnectsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQuickConnects(software.amazon.awssdk.services.connect.model.ListQuickConnectsRequest)operation.
This is a convenience which creates an instance of the
ListQuickConnectsRequest.Builderavoiding the need to create one manually viaListQuickConnectsRequest.builder()- Parameters:
listQuickConnectsRequest- AConsumerthat will call methods onListQuickConnectsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRealtimeContactAnalysisSegmentsV2
default CompletableFuture<ListRealtimeContactAnalysisSegmentsV2Response> listRealtimeContactAnalysisSegmentsV2(ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request) Provides a list of analysis segments for a real-time analysis session.
- Parameters:
listRealtimeContactAnalysisSegmentsV2Request-- Returns:
- A Java Future containing the result of the ListRealtimeContactAnalysisSegmentsV2 operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact flow.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRealtimeContactAnalysisSegmentsV2
default CompletableFuture<ListRealtimeContactAnalysisSegmentsV2Response> listRealtimeContactAnalysisSegmentsV2(Consumer<ListRealtimeContactAnalysisSegmentsV2Request.Builder> listRealtimeContactAnalysisSegmentsV2Request) Provides a list of analysis segments for a real-time analysis session.
This is a convenience which creates an instance of the
ListRealtimeContactAnalysisSegmentsV2Request.Builderavoiding the need to create one manually viaListRealtimeContactAnalysisSegmentsV2Request.builder()- Parameters:
listRealtimeContactAnalysisSegmentsV2Request- AConsumerthat will call methods onListRealtimeContactAnalysisSegmentsV2Request.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRealtimeContactAnalysisSegmentsV2 operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact flow.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRealtimeContactAnalysisSegmentsV2Paginator
default ListRealtimeContactAnalysisSegmentsV2Publisher listRealtimeContactAnalysisSegmentsV2Paginator(ListRealtimeContactAnalysisSegmentsV2Request listRealtimeContactAnalysisSegmentsV2Request) This is a variant of
listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)operation.- Parameters:
listRealtimeContactAnalysisSegmentsV2Request-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact flow.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRealtimeContactAnalysisSegmentsV2Paginator
default ListRealtimeContactAnalysisSegmentsV2Publisher listRealtimeContactAnalysisSegmentsV2Paginator(Consumer<ListRealtimeContactAnalysisSegmentsV2Request.Builder> listRealtimeContactAnalysisSegmentsV2Request) This is a variant of
listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRealtimeContactAnalysisSegmentsV2Publisher publisher = client.listRealtimeContactAnalysisSegmentsV2Paginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Response response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRealtimeContactAnalysisSegmentsV2(software.amazon.awssdk.services.connect.model.ListRealtimeContactAnalysisSegmentsV2Request)operation.
This is a convenience which creates an instance of the
ListRealtimeContactAnalysisSegmentsV2Request.Builderavoiding the need to create one manually viaListRealtimeContactAnalysisSegmentsV2Request.builder()- Parameters:
listRealtimeContactAnalysisSegmentsV2Request- AConsumerthat will call methods onListRealtimeContactAnalysisSegmentsV2Request.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OutputTypeNotFoundException Thrown for analyzed content when requested OutputType was not enabled for a given contact. For example, if an OutputType.Raw was requested for a contact that had `RedactedOnly` Redaction policy set in Contact flow.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfileQueues
default CompletableFuture<ListRoutingProfileQueuesResponse> listRoutingProfileQueues(ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) Lists the queues associated with a routing profile.
- Parameters:
listRoutingProfileQueuesRequest-- Returns:
- A Java Future containing the result of the ListRoutingProfileQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfileQueues
default CompletableFuture<ListRoutingProfileQueuesResponse> listRoutingProfileQueues(Consumer<ListRoutingProfileQueuesRequest.Builder> listRoutingProfileQueuesRequest) Lists the queues associated with a routing profile.
This is a convenience which creates an instance of the
ListRoutingProfileQueuesRequest.Builderavoiding the need to create one manually viaListRoutingProfileQueuesRequest.builder()- Parameters:
listRoutingProfileQueuesRequest- AConsumerthat will call methods onListRoutingProfileQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRoutingProfileQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfileQueuesPaginator
default ListRoutingProfileQueuesPublisher listRoutingProfileQueuesPaginator(ListRoutingProfileQueuesRequest listRoutingProfileQueuesRequest) This is a variant of
listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)operation.- Parameters:
listRoutingProfileQueuesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfileQueuesPaginator
default ListRoutingProfileQueuesPublisher listRoutingProfileQueuesPaginator(Consumer<ListRoutingProfileQueuesRequest.Builder> listRoutingProfileQueuesRequest) This is a variant of
listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRoutingProfileQueuesPublisher publisher = client.listRoutingProfileQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingProfileQueues(software.amazon.awssdk.services.connect.model.ListRoutingProfileQueuesRequest)operation.
This is a convenience which creates an instance of the
ListRoutingProfileQueuesRequest.Builderavoiding the need to create one manually viaListRoutingProfileQueuesRequest.builder()- Parameters:
listRoutingProfileQueuesRequest- AConsumerthat will call methods onListRoutingProfileQueuesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfiles
default CompletableFuture<ListRoutingProfilesResponse> listRoutingProfiles(ListRoutingProfilesRequest listRoutingProfilesRequest) 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.
- Parameters:
listRoutingProfilesRequest-- Returns:
- A Java Future containing the result of the ListRoutingProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfiles
default CompletableFuture<ListRoutingProfilesResponse> listRoutingProfiles(Consumer<ListRoutingProfilesRequest.Builder> listRoutingProfilesRequest) 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
ListRoutingProfilesRequest.Builderavoiding the need to create one manually viaListRoutingProfilesRequest.builder()- Parameters:
listRoutingProfilesRequest- AConsumerthat will call methods onListRoutingProfilesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRoutingProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfilesPaginator
default ListRoutingProfilesPublisher listRoutingProfilesPaginator(ListRoutingProfilesRequest listRoutingProfilesRequest) This is a variant of
listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)operation.- Parameters:
listRoutingProfilesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRoutingProfilesPaginator
default ListRoutingProfilesPublisher listRoutingProfilesPaginator(Consumer<ListRoutingProfilesRequest.Builder> listRoutingProfilesRequest) This is a variant of
listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRoutingProfilesPublisher publisher = client.listRoutingProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRoutingProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoutingProfiles(software.amazon.awssdk.services.connect.model.ListRoutingProfilesRequest)operation.
This is a convenience which creates an instance of the
ListRoutingProfilesRequest.Builderavoiding the need to create one manually viaListRoutingProfilesRequest.builder()- Parameters:
listRoutingProfilesRequest- AConsumerthat will call methods onListRoutingProfilesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRules
List all rules for the specified Amazon Connect instance.
- Parameters:
listRulesRequest-- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRules
default CompletableFuture<ListRulesResponse> listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) List all rules for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListRulesRequest.Builderavoiding the need to create one manually viaListRulesRequest.builder()- Parameters:
listRulesRequest- AConsumerthat will call methods onListRulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRulesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)operation.- Parameters:
listRulesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListRulesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.connect.model.ListRulesRequest)operation.
This is a convenience which creates an instance of the
ListRulesRequest.Builderavoiding the need to create one manually viaListRulesRequest.builder()- Parameters:
listRulesRequest- AConsumerthat will call methods onListRulesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityKeys
default CompletableFuture<ListSecurityKeysResponse> listSecurityKeys(ListSecurityKeysRequest listSecurityKeysRequest) 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.
- Parameters:
listSecurityKeysRequest-- Returns:
- A Java Future containing the result of the ListSecurityKeys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityKeys
default CompletableFuture<ListSecurityKeysResponse> listSecurityKeys(Consumer<ListSecurityKeysRequest.Builder> listSecurityKeysRequest) 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
ListSecurityKeysRequest.Builderavoiding the need to create one manually viaListSecurityKeysRequest.builder()- Parameters:
listSecurityKeysRequest- AConsumerthat will call methods onListSecurityKeysRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSecurityKeys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityKeysPaginator
default ListSecurityKeysPublisher listSecurityKeysPaginator(ListSecurityKeysRequest listSecurityKeysRequest) This is a variant of
listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)operation.- Parameters:
listSecurityKeysRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityKeysPaginator
default ListSecurityKeysPublisher listSecurityKeysPaginator(Consumer<ListSecurityKeysRequest.Builder> listSecurityKeysRequest) This is a variant of
listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityKeysPublisher publisher = client.listSecurityKeysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityKeysResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityKeys(software.amazon.awssdk.services.connect.model.ListSecurityKeysRequest)operation.
This is a convenience which creates an instance of the
ListSecurityKeysRequest.Builderavoiding the need to create one manually viaListSecurityKeysRequest.builder()- Parameters:
listSecurityKeysRequest- AConsumerthat will call methods onListSecurityKeysRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfileApplications
default CompletableFuture<ListSecurityProfileApplicationsResponse> listSecurityProfileApplications(ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) Returns a list of third-party applications in a specific security profile.
- Parameters:
listSecurityProfileApplicationsRequest-- Returns:
- A Java Future containing the result of the ListSecurityProfileApplications operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfileApplications
default CompletableFuture<ListSecurityProfileApplicationsResponse> listSecurityProfileApplications(Consumer<ListSecurityProfileApplicationsRequest.Builder> listSecurityProfileApplicationsRequest) Returns a list of third-party applications in a specific security profile.
This is a convenience which creates an instance of the
ListSecurityProfileApplicationsRequest.Builderavoiding the need to create one manually viaListSecurityProfileApplicationsRequest.builder()- Parameters:
listSecurityProfileApplicationsRequest- AConsumerthat will call methods onListSecurityProfileApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSecurityProfileApplications operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfileApplicationsPaginator
default ListSecurityProfileApplicationsPublisher listSecurityProfileApplicationsPaginator(ListSecurityProfileApplicationsRequest listSecurityProfileApplicationsRequest) This is a variant of
listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)operation.- Parameters:
listSecurityProfileApplicationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfileApplicationsPaginator
default ListSecurityProfileApplicationsPublisher listSecurityProfileApplicationsPaginator(Consumer<ListSecurityProfileApplicationsRequest.Builder> listSecurityProfileApplicationsRequest) This is a variant of
listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityProfileApplicationsPublisher publisher = client.listSecurityProfileApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfileApplications(software.amazon.awssdk.services.connect.model.ListSecurityProfileApplicationsRequest)operation.
This is a convenience which creates an instance of the
ListSecurityProfileApplicationsRequest.Builderavoiding the need to create one manually viaListSecurityProfileApplicationsRequest.builder()- Parameters:
listSecurityProfileApplicationsRequest- AConsumerthat will call methods onListSecurityProfileApplicationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfilePermissions
default CompletableFuture<ListSecurityProfilePermissionsResponse> listSecurityProfilePermissions(ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) 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.
- Parameters:
listSecurityProfilePermissionsRequest-- Returns:
- A Java Future containing the result of the ListSecurityProfilePermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfilePermissions
default CompletableFuture<ListSecurityProfilePermissionsResponse> listSecurityProfilePermissions(Consumer<ListSecurityProfilePermissionsRequest.Builder> listSecurityProfilePermissionsRequest) 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
ListSecurityProfilePermissionsRequest.Builderavoiding the need to create one manually viaListSecurityProfilePermissionsRequest.builder()- Parameters:
listSecurityProfilePermissionsRequest- AConsumerthat will call methods onListSecurityProfilePermissionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSecurityProfilePermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfilePermissionsPaginator
default ListSecurityProfilePermissionsPublisher listSecurityProfilePermissionsPaginator(ListSecurityProfilePermissionsRequest listSecurityProfilePermissionsRequest) This is a variant of
listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)operation.- Parameters:
listSecurityProfilePermissionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfilePermissionsPaginator
default ListSecurityProfilePermissionsPublisher listSecurityProfilePermissionsPaginator(Consumer<ListSecurityProfilePermissionsRequest.Builder> listSecurityProfilePermissionsRequest) This is a variant of
listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityProfilePermissionsPublisher publisher = client.listSecurityProfilePermissionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilePermissions(software.amazon.awssdk.services.connect.model.ListSecurityProfilePermissionsRequest)operation.
This is a convenience which creates an instance of the
ListSecurityProfilePermissionsRequest.Builderavoiding the need to create one manually viaListSecurityProfilePermissionsRequest.builder()- Parameters:
listSecurityProfilePermissionsRequest- AConsumerthat will call methods onListSecurityProfilePermissionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfiles
default CompletableFuture<ListSecurityProfilesResponse> listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest) 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.
- Parameters:
listSecurityProfilesRequest-- Returns:
- A Java Future containing the result of the ListSecurityProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfiles
default CompletableFuture<ListSecurityProfilesResponse> listSecurityProfiles(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) 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
ListSecurityProfilesRequest.Builderavoiding the need to create one manually viaListSecurityProfilesRequest.builder()- Parameters:
listSecurityProfilesRequest- AConsumerthat will call methods onListSecurityProfilesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSecurityProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfilesPaginator
default ListSecurityProfilesPublisher listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)operation.- Parameters:
listSecurityProfilesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityProfilesPaginator
default ListSecurityProfilesPublisher listSecurityProfilesPaginator(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListSecurityProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.connect.model.ListSecurityProfilesRequest)operation.
This is a convenience which creates an instance of the
ListSecurityProfilesRequest.Builderavoiding the need to create one manually viaListSecurityProfilesRequest.builder()- Parameters:
listSecurityProfilesRequest- AConsumerthat will call methods onListSecurityProfilesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) 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.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) 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
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskTemplates
default CompletableFuture<ListTaskTemplatesResponse> listTaskTemplates(ListTaskTemplatesRequest listTaskTemplatesRequest) Lists task templates for the specified Amazon Connect instance.
- Parameters:
listTaskTemplatesRequest-- Returns:
- A Java Future containing the result of the ListTaskTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskTemplates
default CompletableFuture<ListTaskTemplatesResponse> listTaskTemplates(Consumer<ListTaskTemplatesRequest.Builder> listTaskTemplatesRequest) Lists task templates for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListTaskTemplatesRequest.Builderavoiding the need to create one manually viaListTaskTemplatesRequest.builder()- Parameters:
listTaskTemplatesRequest- AConsumerthat will call methods onListTaskTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTaskTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskTemplatesPaginator
default ListTaskTemplatesPublisher listTaskTemplatesPaginator(ListTaskTemplatesRequest listTaskTemplatesRequest) This is a variant of
listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)operation.- Parameters:
listTaskTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskTemplatesPaginator
default ListTaskTemplatesPublisher listTaskTemplatesPaginator(Consumer<ListTaskTemplatesRequest.Builder> listTaskTemplatesRequest) This is a variant of
listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListTaskTemplatesPublisher publisher = client.listTaskTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListTaskTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaskTemplates(software.amazon.awssdk.services.connect.model.ListTaskTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListTaskTemplatesRequest.Builderavoiding the need to create one manually viaListTaskTemplatesRequest.builder()- Parameters:
listTaskTemplatesRequest- AConsumerthat will call methods onListTaskTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroupUsers
default CompletableFuture<ListTrafficDistributionGroupUsersResponse> listTrafficDistributionGroupUsers(ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) Lists traffic distribution group users.
- Parameters:
listTrafficDistributionGroupUsersRequest-- Returns:
- A Java Future containing the result of the ListTrafficDistributionGroupUsers operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroupUsers
default CompletableFuture<ListTrafficDistributionGroupUsersResponse> listTrafficDistributionGroupUsers(Consumer<ListTrafficDistributionGroupUsersRequest.Builder> listTrafficDistributionGroupUsersRequest) Lists traffic distribution group users.
This is a convenience which creates an instance of the
ListTrafficDistributionGroupUsersRequest.Builderavoiding the need to create one manually viaListTrafficDistributionGroupUsersRequest.builder()- Parameters:
listTrafficDistributionGroupUsersRequest- AConsumerthat will call methods onListTrafficDistributionGroupUsersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTrafficDistributionGroupUsers operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroupUsersPaginator
default ListTrafficDistributionGroupUsersPublisher listTrafficDistributionGroupUsersPaginator(ListTrafficDistributionGroupUsersRequest listTrafficDistributionGroupUsersRequest) This is a variant of
listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)operation.- Parameters:
listTrafficDistributionGroupUsersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroupUsersPaginator
default ListTrafficDistributionGroupUsersPublisher listTrafficDistributionGroupUsersPaginator(Consumer<ListTrafficDistributionGroupUsersRequest.Builder> listTrafficDistributionGroupUsersRequest) This is a variant of
listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupUsersPublisher publisher = client.listTrafficDistributionGroupUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrafficDistributionGroupUsers(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupUsersRequest)operation.
This is a convenience which creates an instance of the
ListTrafficDistributionGroupUsersRequest.Builderavoiding the need to create one manually viaListTrafficDistributionGroupUsersRequest.builder()- Parameters:
listTrafficDistributionGroupUsersRequest- AConsumerthat will call methods onListTrafficDistributionGroupUsersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroups
default CompletableFuture<ListTrafficDistributionGroupsResponse> listTrafficDistributionGroups(ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) Lists traffic distribution groups.
- Parameters:
listTrafficDistributionGroupsRequest-- Returns:
- A Java Future containing the result of the ListTrafficDistributionGroups operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroups
default CompletableFuture<ListTrafficDistributionGroupsResponse> listTrafficDistributionGroups(Consumer<ListTrafficDistributionGroupsRequest.Builder> listTrafficDistributionGroupsRequest) Lists traffic distribution groups.
This is a convenience which creates an instance of the
ListTrafficDistributionGroupsRequest.Builderavoiding the need to create one manually viaListTrafficDistributionGroupsRequest.builder()- Parameters:
listTrafficDistributionGroupsRequest- AConsumerthat will call methods onListTrafficDistributionGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTrafficDistributionGroups operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroupsPaginator
default ListTrafficDistributionGroupsPublisher listTrafficDistributionGroupsPaginator(ListTrafficDistributionGroupsRequest listTrafficDistributionGroupsRequest) This is a variant of
listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)operation.- Parameters:
listTrafficDistributionGroupsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTrafficDistributionGroupsPaginator
default ListTrafficDistributionGroupsPublisher listTrafficDistributionGroupsPaginator(Consumer<ListTrafficDistributionGroupsRequest.Builder> listTrafficDistributionGroupsRequest) This is a variant of
listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListTrafficDistributionGroupsPublisher publisher = client.listTrafficDistributionGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTrafficDistributionGroups(software.amazon.awssdk.services.connect.model.ListTrafficDistributionGroupsRequest)operation.
This is a convenience which creates an instance of the
ListTrafficDistributionGroupsRequest.Builderavoiding the need to create one manually viaListTrafficDistributionGroupsRequest.builder()- Parameters:
listTrafficDistributionGroupsRequest- AConsumerthat will call methods onListTrafficDistributionGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUseCases
default CompletableFuture<ListUseCasesResponse> listUseCases(ListUseCasesRequest listUseCasesRequest) Lists the use cases for the integration association.
- Parameters:
listUseCasesRequest- Provides summary information about the use cases for the specified integration association.- Returns:
- A Java Future containing the result of the ListUseCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUseCases
default CompletableFuture<ListUseCasesResponse> listUseCases(Consumer<ListUseCasesRequest.Builder> listUseCasesRequest) Lists the use cases for the integration association.
This is a convenience which creates an instance of the
ListUseCasesRequest.Builderavoiding the need to create one manually viaListUseCasesRequest.builder()- Parameters:
listUseCasesRequest- AConsumerthat will call methods onListUseCasesRequest.Builderto create a request. Provides summary information about the use cases for the specified integration association.- Returns:
- A Java Future containing the result of the ListUseCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUseCasesPaginator
This is a variant of
listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUseCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUseCasesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)operation.- Parameters:
listUseCasesRequest- Provides summary information about the use cases for the specified integration association.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUseCasesPaginator
default ListUseCasesPublisher listUseCasesPaginator(Consumer<ListUseCasesRequest.Builder> listUseCasesRequest) This is a variant of
listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUseCasesPublisher publisher = client.listUseCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUseCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUseCasesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUseCases(software.amazon.awssdk.services.connect.model.ListUseCasesRequest)operation.
This is a convenience which creates an instance of the
ListUseCasesRequest.Builderavoiding the need to create one manually viaListUseCasesRequest.builder()- Parameters:
listUseCasesRequest- AConsumerthat will call methods onListUseCasesRequest.Builderto create a request. Provides summary information about the use cases for the specified integration association.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserHierarchyGroups
default CompletableFuture<ListUserHierarchyGroupsResponse> listUserHierarchyGroups(ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) 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.
- Parameters:
listUserHierarchyGroupsRequest-- Returns:
- A Java Future containing the result of the ListUserHierarchyGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserHierarchyGroups
default CompletableFuture<ListUserHierarchyGroupsResponse> listUserHierarchyGroups(Consumer<ListUserHierarchyGroupsRequest.Builder> listUserHierarchyGroupsRequest) 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
ListUserHierarchyGroupsRequest.Builderavoiding the need to create one manually viaListUserHierarchyGroupsRequest.builder()- Parameters:
listUserHierarchyGroupsRequest- AConsumerthat will call methods onListUserHierarchyGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListUserHierarchyGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserHierarchyGroupsPaginator
default ListUserHierarchyGroupsPublisher listUserHierarchyGroupsPaginator(ListUserHierarchyGroupsRequest listUserHierarchyGroupsRequest) This is a variant of
listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)operation.- Parameters:
listUserHierarchyGroupsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserHierarchyGroupsPaginator
default ListUserHierarchyGroupsPublisher listUserHierarchyGroupsPaginator(Consumer<ListUserHierarchyGroupsRequest.Builder> listUserHierarchyGroupsRequest) This is a variant of
listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUserHierarchyGroupsPublisher publisher = client.listUserHierarchyGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUserHierarchyGroups(software.amazon.awssdk.services.connect.model.ListUserHierarchyGroupsRequest)operation.
This is a convenience which creates an instance of the
ListUserHierarchyGroupsRequest.Builderavoiding the need to create one manually viaListUserHierarchyGroupsRequest.builder()- Parameters:
listUserHierarchyGroupsRequest- AConsumerthat will call methods onListUserHierarchyGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserProficiencies
default CompletableFuture<ListUserProficienciesResponse> listUserProficiencies(ListUserProficienciesRequest listUserProficienciesRequest) Lists proficiencies associated with a user.
- Parameters:
listUserProficienciesRequest-- Returns:
- A Java Future containing the result of the ListUserProficiencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserProficiencies
default CompletableFuture<ListUserProficienciesResponse> listUserProficiencies(Consumer<ListUserProficienciesRequest.Builder> listUserProficienciesRequest) Lists proficiencies associated with a user.
This is a convenience which creates an instance of the
ListUserProficienciesRequest.Builderavoiding the need to create one manually viaListUserProficienciesRequest.builder()- Parameters:
listUserProficienciesRequest- AConsumerthat will call methods onListUserProficienciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListUserProficiencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserProficienciesPaginator
default ListUserProficienciesPublisher listUserProficienciesPaginator(ListUserProficienciesRequest listUserProficienciesRequest) This is a variant of
listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)operation.- Parameters:
listUserProficienciesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserProficienciesPaginator
default ListUserProficienciesPublisher listUserProficienciesPaginator(Consumer<ListUserProficienciesRequest.Builder> listUserProficienciesRequest) This is a variant of
listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUserProficienciesPublisher publisher = client.listUserProficienciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUserProficienciesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUserProficiencies(software.amazon.awssdk.services.connect.model.ListUserProficienciesRequest)operation.
This is a convenience which creates an instance of the
ListUserProficienciesRequest.Builderavoiding the need to create one manually viaListUserProficienciesRequest.builder()- Parameters:
listUserProficienciesRequest- AConsumerthat will call methods onListUserProficienciesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsers
Provides summary information about the users for the specified Amazon Connect instance.
- Parameters:
listUsersRequest-- Returns:
- A Java Future containing the result of the ListUsers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsers
default CompletableFuture<ListUsersResponse> listUsers(Consumer<ListUsersRequest.Builder> listUsersRequest) Provides summary information about the users for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
ListUsersRequest.Builderavoiding the need to create one manually viaListUsersRequest.builder()- Parameters:
listUsersRequest- AConsumerthat will call methods onListUsersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListUsers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsersPaginator
This is a variant of
listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUsersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)operation.- Parameters:
listUsersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsersPaginator
This is a variant of
listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListUsersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsers(software.amazon.awssdk.services.connect.model.ListUsersRequest)operation.
This is a convenience which creates an instance of the
ListUsersRequest.Builderavoiding the need to create one manually viaListUsersRequest.builder()- Parameters:
listUsersRequest- AConsumerthat will call methods onListUsersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViewVersions
default CompletableFuture<ListViewVersionsResponse> listViewVersions(ListViewVersionsRequest listViewVersionsRequest) Returns all the available versions for the specified Amazon Connect instance and view identifier.
Results will be sorted from highest to lowest.
- Parameters:
listViewVersionsRequest-- Returns:
- A Java Future containing the result of the ListViewVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViewVersions
default CompletableFuture<ListViewVersionsResponse> listViewVersions(Consumer<ListViewVersionsRequest.Builder> listViewVersionsRequest) 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
ListViewVersionsRequest.Builderavoiding the need to create one manually viaListViewVersionsRequest.builder()- Parameters:
listViewVersionsRequest- AConsumerthat will call methods onListViewVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListViewVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViewVersionsPaginator
default ListViewVersionsPublisher listViewVersionsPaginator(ListViewVersionsRequest listViewVersionsRequest) This is a variant of
listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListViewVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListViewVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)operation.- Parameters:
listViewVersionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViewVersionsPaginator
default ListViewVersionsPublisher listViewVersionsPaginator(Consumer<ListViewVersionsRequest.Builder> listViewVersionsRequest) This is a variant of
listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListViewVersionsPublisher publisher = client.listViewVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListViewVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListViewVersionsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViewVersions(software.amazon.awssdk.services.connect.model.ListViewVersionsRequest)operation.
This is a convenience which creates an instance of the
ListViewVersionsRequest.Builderavoiding the need to create one manually viaListViewVersionsRequest.builder()- Parameters:
listViewVersionsRequest- AConsumerthat will call methods onListViewVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViews
Returns views in the given instance.
Results are sorted primarily by type, and secondarily by name.
- Parameters:
listViewsRequest-- Returns:
- A Java Future containing the result of the ListViews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViews
default CompletableFuture<ListViewsResponse> listViews(Consumer<ListViewsRequest.Builder> listViewsRequest) 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
ListViewsRequest.Builderavoiding the need to create one manually viaListViewsRequest.builder()- Parameters:
listViewsRequest- AConsumerthat will call methods onListViewsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListViews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViewsPaginator
This is a variant of
listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListViewsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListViewsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)operation.- Parameters:
listViewsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listViewsPaginator
This is a variant of
listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.ListViewsPublisher publisher = client.listViewsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.ListViewsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.ListViewsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViews(software.amazon.awssdk.services.connect.model.ListViewsRequest)operation.
This is a convenience which creates an instance of the
ListViewsRequest.Builderavoiding the need to create one manually viaListViewsRequest.builder()- Parameters:
listViewsRequest- AConsumerthat will call methods onListViewsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
monitorContact
default CompletableFuture<MonitorContactResponse> monitorContact(MonitorContactRequest monitorContactRequest) 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.
- Parameters:
monitorContactRequest-- Returns:
- A Java Future containing the result of the MonitorContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
monitorContact
default CompletableFuture<MonitorContactResponse> monitorContact(Consumer<MonitorContactRequest.Builder> monitorContactRequest) 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
MonitorContactRequest.Builderavoiding the need to create one manually viaMonitorContactRequest.builder()- Parameters:
monitorContactRequest- AConsumerthat will call methods onMonitorContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the MonitorContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
pauseContact
default CompletableFuture<PauseContactResponse> pauseContact(PauseContactRequest pauseContactRequest) Allows pausing an ongoing task contact.
- Parameters:
pauseContactRequest-- Returns:
- A Java Future containing the result of the PauseContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ConflictException Operation cannot be performed at this time as there is a conflict with another operation or contact state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
pauseContact
default CompletableFuture<PauseContactResponse> pauseContact(Consumer<PauseContactRequest.Builder> pauseContactRequest) Allows pausing an ongoing task contact.
This is a convenience which creates an instance of the
PauseContactRequest.Builderavoiding the need to create one manually viaPauseContactRequest.builder()- Parameters:
pauseContactRequest- AConsumerthat will call methods onPauseContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PauseContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ConflictException Operation cannot be performed at this time as there is a conflict with another operation or contact state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putUserStatus
default CompletableFuture<PutUserStatusResponse> putUserStatus(PutUserStatusRequest putUserStatusRequest) 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.
- Parameters:
putUserStatusRequest-- Returns:
- A Java Future containing the result of the PutUserStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putUserStatus
default CompletableFuture<PutUserStatusResponse> putUserStatus(Consumer<PutUserStatusRequest.Builder> putUserStatusRequest) 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
PutUserStatusRequest.Builderavoiding the need to create one manually viaPutUserStatusRequest.builder()- Parameters:
putUserStatusRequest- AConsumerthat will call methods onPutUserStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutUserStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
releasePhoneNumber
default CompletableFuture<ReleasePhoneNumberResponse> releasePhoneNumber(ReleasePhoneNumberRequest releasePhoneNumberRequest) 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
ReleasePhoneNumberAPI, 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.
- Parameters:
releasePhoneNumberRequest-- Returns:
- A Java Future containing the result of the ReleasePhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceInUseException That resource is already in use. Please try another.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
releasePhoneNumber
default CompletableFuture<ReleasePhoneNumberResponse> releasePhoneNumber(Consumer<ReleasePhoneNumberRequest.Builder> releasePhoneNumberRequest) 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
ReleasePhoneNumberAPI, 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
ReleasePhoneNumberRequest.Builderavoiding the need to create one manually viaReleasePhoneNumberRequest.builder()- Parameters:
releasePhoneNumberRequest- AConsumerthat will call methods onReleasePhoneNumberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ReleasePhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceInUseException That resource is already in use. Please try another.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
replicateInstance
default CompletableFuture<ReplicateInstanceResponse> replicateInstance(ReplicateInstanceRequest replicateInstanceRequest) 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.
- Parameters:
replicateInstanceRequest-- Returns:
- A Java Future containing the result of the ReplicateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotReadyException The resource is not ready.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
replicateInstance
default CompletableFuture<ReplicateInstanceResponse> replicateInstance(Consumer<ReplicateInstanceRequest.Builder> replicateInstanceRequest) 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
ReplicateInstanceRequest.Builderavoiding the need to create one manually viaReplicateInstanceRequest.builder()- Parameters:
replicateInstanceRequest- AConsumerthat will call methods onReplicateInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ReplicateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotReadyException The resource is not ready.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeContact
default CompletableFuture<ResumeContactResponse> resumeContact(ResumeContactRequest resumeContactRequest) Allows resuming a task contact in a paused state.
- Parameters:
resumeContactRequest-- Returns:
- A Java Future containing the result of the ResumeContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ConflictException Operation cannot be performed at this time as there is a conflict with another operation or contact state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeContact
default CompletableFuture<ResumeContactResponse> resumeContact(Consumer<ResumeContactRequest.Builder> resumeContactRequest) Allows resuming a task contact in a paused state.
This is a convenience which creates an instance of the
ResumeContactRequest.Builderavoiding the need to create one manually viaResumeContactRequest.builder()- Parameters:
resumeContactRequest- AConsumerthat will call methods onResumeContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResumeContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ConflictException Operation cannot be performed at this time as there is a conflict with another operation or contact state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeContactRecording
default CompletableFuture<ResumeContactRecordingResponse> resumeContactRecording(ResumeContactRecordingRequest resumeContactRecordingRequest) 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.
- Parameters:
resumeContactRecordingRequest-- Returns:
- A Java Future containing the result of the ResumeContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeContactRecording
default CompletableFuture<ResumeContactRecordingResponse> resumeContactRecording(Consumer<ResumeContactRecordingRequest.Builder> resumeContactRecordingRequest) 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
ResumeContactRecordingRequest.Builderavoiding the need to create one manually viaResumeContactRecordingRequest.builder()- Parameters:
resumeContactRecordingRequest- AConsumerthat will call methods onResumeContactRecordingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResumeContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAgentStatuses
default CompletableFuture<SearchAgentStatusesResponse> searchAgentStatuses(SearchAgentStatusesRequest searchAgentStatusesRequest) Searches AgentStatuses in an Amazon Connect instance, with optional filtering.
- Parameters:
searchAgentStatusesRequest-- Returns:
- A Java Future containing the result of the SearchAgentStatuses operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAgentStatuses
default CompletableFuture<SearchAgentStatusesResponse> searchAgentStatuses(Consumer<SearchAgentStatusesRequest.Builder> searchAgentStatusesRequest) Searches AgentStatuses in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchAgentStatusesRequest.Builderavoiding the need to create one manually viaSearchAgentStatusesRequest.builder()- Parameters:
searchAgentStatusesRequest- AConsumerthat will call methods onSearchAgentStatusesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchAgentStatuses operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAgentStatusesPaginator
default SearchAgentStatusesPublisher searchAgentStatusesPaginator(SearchAgentStatusesRequest searchAgentStatusesRequest) This is a variant of
searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)operation.- Parameters:
searchAgentStatusesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAgentStatusesPaginator
default SearchAgentStatusesPublisher searchAgentStatusesPaginator(Consumer<SearchAgentStatusesRequest.Builder> searchAgentStatusesRequest) This is a variant of
searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchAgentStatusesPublisher publisher = client.searchAgentStatusesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchAgentStatusesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchAgentStatuses(software.amazon.awssdk.services.connect.model.SearchAgentStatusesRequest)operation.
This is a convenience which creates an instance of the
SearchAgentStatusesRequest.Builderavoiding the need to create one manually viaSearchAgentStatusesRequest.builder()- Parameters:
searchAgentStatusesRequest- AConsumerthat will call methods onSearchAgentStatusesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAvailablePhoneNumbers
default CompletableFuture<SearchAvailablePhoneNumbersResponse> searchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided
TargetArnis a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.- Parameters:
searchAvailablePhoneNumbersRequest-- Returns:
- A Java Future containing the result of the SearchAvailablePhoneNumbers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAvailablePhoneNumbers
default CompletableFuture<SearchAvailablePhoneNumbersResponse> searchAvailablePhoneNumbers(Consumer<SearchAvailablePhoneNumbersRequest.Builder> searchAvailablePhoneNumbersRequest) Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided
TargetArnis 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
SearchAvailablePhoneNumbersRequest.Builderavoiding the need to create one manually viaSearchAvailablePhoneNumbersRequest.builder()- Parameters:
searchAvailablePhoneNumbersRequest- AConsumerthat will call methods onSearchAvailablePhoneNumbersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchAvailablePhoneNumbers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAvailablePhoneNumbersPaginator
default SearchAvailablePhoneNumbersPublisher searchAvailablePhoneNumbersPaginator(SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest) This is a variant of
searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)operation.- Parameters:
searchAvailablePhoneNumbersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchAvailablePhoneNumbersPaginator
default SearchAvailablePhoneNumbersPublisher searchAvailablePhoneNumbersPaginator(Consumer<SearchAvailablePhoneNumbersRequest.Builder> searchAvailablePhoneNumbersRequest) This is a variant of
searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchAvailablePhoneNumbersPublisher publisher = client.searchAvailablePhoneNumbersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchAvailablePhoneNumbers(software.amazon.awssdk.services.connect.model.SearchAvailablePhoneNumbersRequest)operation.
This is a convenience which creates an instance of the
SearchAvailablePhoneNumbersRequest.Builderavoiding the need to create one manually viaSearchAvailablePhoneNumbersRequest.builder()- Parameters:
searchAvailablePhoneNumbersRequest- AConsumerthat will call methods onSearchAvailablePhoneNumbersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlowModules
default CompletableFuture<SearchContactFlowModulesResponse> searchContactFlowModules(SearchContactFlowModulesRequest searchContactFlowModulesRequest) Searches the flow modules in an Amazon Connect instance, with optional filtering.
- Parameters:
searchContactFlowModulesRequest-- Returns:
- A Java Future containing the result of the SearchContactFlowModules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlowModules
default CompletableFuture<SearchContactFlowModulesResponse> searchContactFlowModules(Consumer<SearchContactFlowModulesRequest.Builder> searchContactFlowModulesRequest) Searches the flow modules in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchContactFlowModulesRequest.Builderavoiding the need to create one manually viaSearchContactFlowModulesRequest.builder()- Parameters:
searchContactFlowModulesRequest- AConsumerthat will call methods onSearchContactFlowModulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchContactFlowModules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlowModulesPaginator
default SearchContactFlowModulesPublisher searchContactFlowModulesPaginator(SearchContactFlowModulesRequest searchContactFlowModulesRequest) This is a variant of
searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)operation.- Parameters:
searchContactFlowModulesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlowModulesPaginator
default SearchContactFlowModulesPublisher searchContactFlowModulesPaginator(Consumer<SearchContactFlowModulesRequest.Builder> searchContactFlowModulesRequest) This is a variant of
searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchContactFlowModulesPublisher publisher = client.searchContactFlowModulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchContactFlowModules(software.amazon.awssdk.services.connect.model.SearchContactFlowModulesRequest)operation.
This is a convenience which creates an instance of the
SearchContactFlowModulesRequest.Builderavoiding the need to create one manually viaSearchContactFlowModulesRequest.builder()- Parameters:
searchContactFlowModulesRequest- AConsumerthat will call methods onSearchContactFlowModulesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlows
default CompletableFuture<SearchContactFlowsResponse> searchContactFlows(SearchContactFlowsRequest searchContactFlowsRequest) Searches the contact flows in an Amazon Connect instance, with optional filtering.
- Parameters:
searchContactFlowsRequest-- Returns:
- A Java Future containing the result of the SearchContactFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlows
default CompletableFuture<SearchContactFlowsResponse> searchContactFlows(Consumer<SearchContactFlowsRequest.Builder> searchContactFlowsRequest) Searches the contact flows in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchContactFlowsRequest.Builderavoiding the need to create one manually viaSearchContactFlowsRequest.builder()- Parameters:
searchContactFlowsRequest- AConsumerthat will call methods onSearchContactFlowsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchContactFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlowsPaginator
default SearchContactFlowsPublisher searchContactFlowsPaginator(SearchContactFlowsRequest searchContactFlowsRequest) This is a variant of
searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)operation.- Parameters:
searchContactFlowsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactFlowsPaginator
default SearchContactFlowsPublisher searchContactFlowsPaginator(Consumer<SearchContactFlowsRequest.Builder> searchContactFlowsRequest) This is a variant of
searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchContactFlowsPublisher publisher = client.searchContactFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchContactFlowsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchContactFlows(software.amazon.awssdk.services.connect.model.SearchContactFlowsRequest)operation.
This is a convenience which creates an instance of the
SearchContactFlowsRequest.Builderavoiding the need to create one manually viaSearchContactFlowsRequest.builder()- Parameters:
searchContactFlowsRequest- AConsumerthat will call methods onSearchContactFlowsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContacts
default CompletableFuture<SearchContactsResponse> searchContacts(SearchContactsRequest searchContactsRequest) Searches contacts in an Amazon Connect instance.
- Parameters:
searchContactsRequest-- Returns:
- A Java Future containing the result of the SearchContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContacts
default CompletableFuture<SearchContactsResponse> searchContacts(Consumer<SearchContactsRequest.Builder> searchContactsRequest) Searches contacts in an Amazon Connect instance.
This is a convenience which creates an instance of the
SearchContactsRequest.Builderavoiding the need to create one manually viaSearchContactsRequest.builder()- Parameters:
searchContactsRequest- AConsumerthat will call methods onSearchContactsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactsPaginator
default SearchContactsPublisher searchContactsPaginator(SearchContactsRequest searchContactsRequest) This is a variant of
searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchContactsPublisher publisher = client.searchContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchContactsPublisher publisher = client.searchContactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchContactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchContactsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)operation.- Parameters:
searchContactsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchContactsPaginator
default SearchContactsPublisher searchContactsPaginator(Consumer<SearchContactsRequest.Builder> searchContactsRequest) This is a variant of
searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchContactsPublisher publisher = client.searchContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchContactsPublisher publisher = client.searchContactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchContactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchContactsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchContacts(software.amazon.awssdk.services.connect.model.SearchContactsRequest)operation.
This is a convenience which creates an instance of the
SearchContactsRequest.Builderavoiding the need to create one manually viaSearchContactsRequest.builder()- Parameters:
searchContactsRequest- AConsumerthat will call methods onSearchContactsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchHoursOfOperations
default CompletableFuture<SearchHoursOfOperationsResponse> searchHoursOfOperations(SearchHoursOfOperationsRequest searchHoursOfOperationsRequest) Searches the hours of operation in an Amazon Connect instance, with optional filtering.
- Parameters:
searchHoursOfOperationsRequest-- Returns:
- A Java Future containing the result of the SearchHoursOfOperations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchHoursOfOperations
default CompletableFuture<SearchHoursOfOperationsResponse> searchHoursOfOperations(Consumer<SearchHoursOfOperationsRequest.Builder> searchHoursOfOperationsRequest) Searches the hours of operation in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchHoursOfOperationsRequest.Builderavoiding the need to create one manually viaSearchHoursOfOperationsRequest.builder()- Parameters:
searchHoursOfOperationsRequest- AConsumerthat will call methods onSearchHoursOfOperationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchHoursOfOperations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchHoursOfOperationsPaginator
default SearchHoursOfOperationsPublisher searchHoursOfOperationsPaginator(SearchHoursOfOperationsRequest searchHoursOfOperationsRequest) This is a variant of
searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)operation.- Parameters:
searchHoursOfOperationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchHoursOfOperationsPaginator
default SearchHoursOfOperationsPublisher searchHoursOfOperationsPaginator(Consumer<SearchHoursOfOperationsRequest.Builder> searchHoursOfOperationsRequest) This is a variant of
searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchHoursOfOperationsPublisher publisher = client.searchHoursOfOperationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchHoursOfOperations(software.amazon.awssdk.services.connect.model.SearchHoursOfOperationsRequest)operation.
This is a convenience which creates an instance of the
SearchHoursOfOperationsRequest.Builderavoiding the need to create one manually viaSearchHoursOfOperationsRequest.builder()- Parameters:
searchHoursOfOperationsRequest- AConsumerthat will call methods onSearchHoursOfOperationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPredefinedAttributes
default CompletableFuture<SearchPredefinedAttributesResponse> searchPredefinedAttributes(SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) 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.
- Parameters:
searchPredefinedAttributesRequest-- Returns:
- A Java Future containing the result of the SearchPredefinedAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPredefinedAttributes
default CompletableFuture<SearchPredefinedAttributesResponse> searchPredefinedAttributes(Consumer<SearchPredefinedAttributesRequest.Builder> searchPredefinedAttributesRequest) 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
SearchPredefinedAttributesRequest.Builderavoiding the need to create one manually viaSearchPredefinedAttributesRequest.builder()- Parameters:
searchPredefinedAttributesRequest- AConsumerthat will call methods onSearchPredefinedAttributesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchPredefinedAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPredefinedAttributesPaginator
default SearchPredefinedAttributesPublisher searchPredefinedAttributesPaginator(SearchPredefinedAttributesRequest searchPredefinedAttributesRequest) This is a variant of
searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)operation.- Parameters:
searchPredefinedAttributesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPredefinedAttributesPaginator
default SearchPredefinedAttributesPublisher searchPredefinedAttributesPaginator(Consumer<SearchPredefinedAttributesRequest.Builder> searchPredefinedAttributesRequest) This is a variant of
searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchPredefinedAttributesPublisher publisher = client.searchPredefinedAttributesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchPredefinedAttributes(software.amazon.awssdk.services.connect.model.SearchPredefinedAttributesRequest)operation.
This is a convenience which creates an instance of the
SearchPredefinedAttributesRequest.Builderavoiding the need to create one manually viaSearchPredefinedAttributesRequest.builder()- Parameters:
searchPredefinedAttributesRequest- AConsumerthat will call methods onSearchPredefinedAttributesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPrompts
default CompletableFuture<SearchPromptsResponse> searchPrompts(SearchPromptsRequest searchPromptsRequest) Searches prompts in an Amazon Connect instance, with optional filtering.
- Parameters:
searchPromptsRequest-- Returns:
- A Java Future containing the result of the SearchPrompts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPrompts
default CompletableFuture<SearchPromptsResponse> searchPrompts(Consumer<SearchPromptsRequest.Builder> searchPromptsRequest) Searches prompts in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchPromptsRequest.Builderavoiding the need to create one manually viaSearchPromptsRequest.builder()- Parameters:
searchPromptsRequest- AConsumerthat will call methods onSearchPromptsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchPrompts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPromptsPaginator
This is a variant of
searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchPromptsPublisher publisher = client.searchPromptsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchPromptsPublisher publisher = client.searchPromptsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchPromptsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchPromptsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)operation.- Parameters:
searchPromptsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPromptsPaginator
default SearchPromptsPublisher searchPromptsPaginator(Consumer<SearchPromptsRequest.Builder> searchPromptsRequest) This is a variant of
searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchPromptsPublisher publisher = client.searchPromptsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchPromptsPublisher publisher = client.searchPromptsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchPromptsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchPromptsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchPrompts(software.amazon.awssdk.services.connect.model.SearchPromptsRequest)operation.
This is a convenience which creates an instance of the
SearchPromptsRequest.Builderavoiding the need to create one manually viaSearchPromptsRequest.builder()- Parameters:
searchPromptsRequest- AConsumerthat will call methods onSearchPromptsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQueues
default CompletableFuture<SearchQueuesResponse> searchQueues(SearchQueuesRequest searchQueuesRequest) Searches queues in an Amazon Connect instance, with optional filtering.
- Parameters:
searchQueuesRequest-- Returns:
- A Java Future containing the result of the SearchQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQueues
default CompletableFuture<SearchQueuesResponse> searchQueues(Consumer<SearchQueuesRequest.Builder> searchQueuesRequest) Searches queues in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchQueuesRequest.Builderavoiding the need to create one manually viaSearchQueuesRequest.builder()- Parameters:
searchQueuesRequest- AConsumerthat will call methods onSearchQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQueuesPaginator
This is a variant of
searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)operation.- Parameters:
searchQueuesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQueuesPaginator
default SearchQueuesPublisher searchQueuesPaginator(Consumer<SearchQueuesRequest.Builder> searchQueuesRequest) This is a variant of
searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchQueuesPublisher publisher = client.searchQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchQueues(software.amazon.awssdk.services.connect.model.SearchQueuesRequest)operation.
This is a convenience which creates an instance of the
SearchQueuesRequest.Builderavoiding the need to create one manually viaSearchQueuesRequest.builder()- Parameters:
searchQueuesRequest- AConsumerthat will call methods onSearchQueuesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQuickConnects
default CompletableFuture<SearchQuickConnectsResponse> searchQuickConnects(SearchQuickConnectsRequest searchQuickConnectsRequest) Searches quick connects in an Amazon Connect instance, with optional filtering.
- Parameters:
searchQuickConnectsRequest-- Returns:
- A Java Future containing the result of the SearchQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQuickConnects
default CompletableFuture<SearchQuickConnectsResponse> searchQuickConnects(Consumer<SearchQuickConnectsRequest.Builder> searchQuickConnectsRequest) Searches quick connects in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchQuickConnectsRequest.Builderavoiding the need to create one manually viaSearchQuickConnectsRequest.builder()- Parameters:
searchQuickConnectsRequest- AConsumerthat will call methods onSearchQuickConnectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchQuickConnects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQuickConnectsPaginator
default SearchQuickConnectsPublisher searchQuickConnectsPaginator(SearchQuickConnectsRequest searchQuickConnectsRequest) This is a variant of
searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)operation.- Parameters:
searchQuickConnectsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchQuickConnectsPaginator
default SearchQuickConnectsPublisher searchQuickConnectsPaginator(Consumer<SearchQuickConnectsRequest.Builder> searchQuickConnectsRequest) This is a variant of
searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchQuickConnectsPublisher publisher = client.searchQuickConnectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchQuickConnectsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchQuickConnects(software.amazon.awssdk.services.connect.model.SearchQuickConnectsRequest)operation.
This is a convenience which creates an instance of the
SearchQuickConnectsRequest.Builderavoiding the need to create one manually viaSearchQuickConnectsRequest.builder()- Parameters:
searchQuickConnectsRequest- AConsumerthat will call methods onSearchQuickConnectsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResourceTags
default CompletableFuture<SearchResourceTagsResponse> searchResourceTags(SearchResourceTagsRequest searchResourceTagsRequest) Searches tags used in an Amazon Connect instance using optional search criteria.
- Parameters:
searchResourceTagsRequest-- Returns:
- A Java Future containing the result of the SearchResourceTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. Consider changing request parameters to get more tags.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResourceTags
default CompletableFuture<SearchResourceTagsResponse> searchResourceTags(Consumer<SearchResourceTagsRequest.Builder> searchResourceTagsRequest) Searches tags used in an Amazon Connect instance using optional search criteria.
This is a convenience which creates an instance of the
SearchResourceTagsRequest.Builderavoiding the need to create one manually viaSearchResourceTagsRequest.builder()- Parameters:
searchResourceTagsRequest- AConsumerthat will call methods onSearchResourceTagsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchResourceTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. Consider changing request parameters to get more tags.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResourceTagsPaginator
default SearchResourceTagsPublisher searchResourceTagsPaginator(SearchResourceTagsRequest searchResourceTagsRequest) This is a variant of
searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)operation.- Parameters:
searchResourceTagsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. Consider changing request parameters to get more tags.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResourceTagsPaginator
default SearchResourceTagsPublisher searchResourceTagsPaginator(Consumer<SearchResourceTagsRequest.Builder> searchResourceTagsRequest) This is a variant of
searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchResourceTagsPublisher publisher = client.searchResourceTagsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchResourceTagsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchResourceTags(software.amazon.awssdk.services.connect.model.SearchResourceTagsRequest)operation.
This is a convenience which creates an instance of the
SearchResourceTagsRequest.Builderavoiding the need to create one manually viaSearchResourceTagsRequest.builder()- Parameters:
searchResourceTagsRequest- AConsumerthat will call methods onSearchResourceTagsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- MaximumResultReturnedException Maximum number (1000) of tags have been returned with current request. Consider changing request parameters to get more tags.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchRoutingProfiles
default CompletableFuture<SearchRoutingProfilesResponse> searchRoutingProfiles(SearchRoutingProfilesRequest searchRoutingProfilesRequest) Searches routing profiles in an Amazon Connect instance, with optional filtering.
- Parameters:
searchRoutingProfilesRequest-- Returns:
- A Java Future containing the result of the SearchRoutingProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchRoutingProfiles
default CompletableFuture<SearchRoutingProfilesResponse> searchRoutingProfiles(Consumer<SearchRoutingProfilesRequest.Builder> searchRoutingProfilesRequest) Searches routing profiles in an Amazon Connect instance, with optional filtering.
This is a convenience which creates an instance of the
SearchRoutingProfilesRequest.Builderavoiding the need to create one manually viaSearchRoutingProfilesRequest.builder()- Parameters:
searchRoutingProfilesRequest- AConsumerthat will call methods onSearchRoutingProfilesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchRoutingProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchRoutingProfilesPaginator
default SearchRoutingProfilesPublisher searchRoutingProfilesPaginator(SearchRoutingProfilesRequest searchRoutingProfilesRequest) This is a variant of
searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)operation.- Parameters:
searchRoutingProfilesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchRoutingProfilesPaginator
default SearchRoutingProfilesPublisher searchRoutingProfilesPaginator(Consumer<SearchRoutingProfilesRequest.Builder> searchRoutingProfilesRequest) This is a variant of
searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchRoutingProfilesPublisher publisher = client.searchRoutingProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchRoutingProfiles(software.amazon.awssdk.services.connect.model.SearchRoutingProfilesRequest)operation.
This is a convenience which creates an instance of the
SearchRoutingProfilesRequest.Builderavoiding the need to create one manually viaSearchRoutingProfilesRequest.builder()- Parameters:
searchRoutingProfilesRequest- AConsumerthat will call methods onSearchRoutingProfilesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSecurityProfiles
default CompletableFuture<SearchSecurityProfilesResponse> searchSecurityProfiles(SearchSecurityProfilesRequest searchSecurityProfilesRequest) 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.
- Parameters:
searchSecurityProfilesRequest-- Returns:
- A Java Future containing the result of the SearchSecurityProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSecurityProfiles
default CompletableFuture<SearchSecurityProfilesResponse> searchSecurityProfiles(Consumer<SearchSecurityProfilesRequest.Builder> searchSecurityProfilesRequest) 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
SearchSecurityProfilesRequest.Builderavoiding the need to create one manually viaSearchSecurityProfilesRequest.builder()- Parameters:
searchSecurityProfilesRequest- AConsumerthat will call methods onSearchSecurityProfilesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchSecurityProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSecurityProfilesPaginator
default SearchSecurityProfilesPublisher searchSecurityProfilesPaginator(SearchSecurityProfilesRequest searchSecurityProfilesRequest) This is a variant of
searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)operation.- Parameters:
searchSecurityProfilesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSecurityProfilesPaginator
default SearchSecurityProfilesPublisher searchSecurityProfilesPaginator(Consumer<SearchSecurityProfilesRequest.Builder> searchSecurityProfilesRequest) This is a variant of
searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchSecurityProfilesPublisher publisher = client.searchSecurityProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchSecurityProfiles(software.amazon.awssdk.services.connect.model.SearchSecurityProfilesRequest)operation.
This is a convenience which creates an instance of the
SearchSecurityProfilesRequest.Builderavoiding the need to create one manually viaSearchSecurityProfilesRequest.builder()- Parameters:
searchSecurityProfilesRequest- AConsumerthat will call methods onSearchSecurityProfilesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserHierarchyGroups
default CompletableFuture<SearchUserHierarchyGroupsResponse> searchUserHierarchyGroups(SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) 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.- Parameters:
searchUserHierarchyGroupsRequest-- Returns:
- A Java Future containing the result of the SearchUserHierarchyGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserHierarchyGroups
default CompletableFuture<SearchUserHierarchyGroupsResponse> searchUserHierarchyGroups(Consumer<SearchUserHierarchyGroupsRequest.Builder> searchUserHierarchyGroupsRequest) 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
SearchUserHierarchyGroupsRequest.Builderavoiding the need to create one manually viaSearchUserHierarchyGroupsRequest.builder()- Parameters:
searchUserHierarchyGroupsRequest- AConsumerthat will call methods onSearchUserHierarchyGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchUserHierarchyGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserHierarchyGroupsPaginator
default SearchUserHierarchyGroupsPublisher searchUserHierarchyGroupsPaginator(SearchUserHierarchyGroupsRequest searchUserHierarchyGroupsRequest) This is a variant of
searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)operation.- Parameters:
searchUserHierarchyGroupsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserHierarchyGroupsPaginator
default SearchUserHierarchyGroupsPublisher searchUserHierarchyGroupsPaginator(Consumer<SearchUserHierarchyGroupsRequest.Builder> searchUserHierarchyGroupsRequest) This is a variant of
searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchUserHierarchyGroupsPublisher publisher = client.searchUserHierarchyGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchUserHierarchyGroups(software.amazon.awssdk.services.connect.model.SearchUserHierarchyGroupsRequest)operation.
This is a convenience which creates an instance of the
SearchUserHierarchyGroupsRequest.Builderavoiding the need to create one manually viaSearchUserHierarchyGroupsRequest.builder()- Parameters:
searchUserHierarchyGroupsRequest- AConsumerthat will call methods onSearchUserHierarchyGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUsers
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimitis returned in milliseconds.- Parameters:
searchUsersRequest-- Returns:
- A Java Future containing the result of the SearchUsers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUsers
default CompletableFuture<SearchUsersResponse> searchUsers(Consumer<SearchUsersRequest.Builder> searchUsersRequest) Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimitis returned in milliseconds.
This is a convenience which creates an instance of the
SearchUsersRequest.Builderavoiding the need to create one manually viaSearchUsersRequest.builder()- Parameters:
searchUsersRequest- AConsumerthat will call methods onSearchUsersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchUsers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUsersPaginator
This is a variant of
searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchUsersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)operation.- Parameters:
searchUsersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUsersPaginator
default SearchUsersPublisher searchUsersPaginator(Consumer<SearchUsersRequest.Builder> searchUsersRequest) This is a variant of
searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchUsersPublisher publisher = client.searchUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchUsersResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchUsers(software.amazon.awssdk.services.connect.model.SearchUsersRequest)operation.
This is a convenience which creates an instance of the
SearchUsersRequest.Builderavoiding the need to create one manually viaSearchUsersRequest.builder()- Parameters:
searchUsersRequest- AConsumerthat will call methods onSearchUsersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchVocabularies
default CompletableFuture<SearchVocabulariesResponse> searchVocabularies(SearchVocabulariesRequest searchVocabulariesRequest) Searches for vocabularies within a specific Amazon Connect instance using
State,NameStartsWith, andLanguageCode.- Parameters:
searchVocabulariesRequest-- Returns:
- A Java Future containing the result of the SearchVocabularies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchVocabularies
default CompletableFuture<SearchVocabulariesResponse> searchVocabularies(Consumer<SearchVocabulariesRequest.Builder> searchVocabulariesRequest) Searches for vocabularies within a specific Amazon Connect instance using
State,NameStartsWith, andLanguageCode.
This is a convenience which creates an instance of the
SearchVocabulariesRequest.Builderavoiding the need to create one manually viaSearchVocabulariesRequest.builder()- Parameters:
searchVocabulariesRequest- AConsumerthat will call methods onSearchVocabulariesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchVocabularies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchVocabulariesPaginator
default SearchVocabulariesPublisher searchVocabulariesPaginator(SearchVocabulariesRequest searchVocabulariesRequest) This is a variant of
searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)operation.- Parameters:
searchVocabulariesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchVocabulariesPaginator
default SearchVocabulariesPublisher searchVocabulariesPaginator(Consumer<SearchVocabulariesRequest.Builder> searchVocabulariesRequest) This is a variant of
searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.connect.paginators.SearchVocabulariesPublisher publisher = client.searchVocabulariesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.connect.model.SearchVocabulariesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchVocabularies(software.amazon.awssdk.services.connect.model.SearchVocabulariesRequest)operation.
This is a convenience which creates an instance of the
SearchVocabulariesRequest.Builderavoiding the need to create one manually viaSearchVocabulariesRequest.builder()- Parameters:
searchVocabulariesRequest- AConsumerthat will call methods onSearchVocabulariesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendChatIntegrationEvent
default CompletableFuture<SendChatIntegrationEventResponse> sendChatIntegrationEvent(SendChatIntegrationEventRequest sendChatIntegrationEventRequest) Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect. A chat integration event includes:
-
SourceId, DestinationId, and Subtype: a set of identifiers, uniquely representing a chat
-
ChatEvent: details of the chat action to perform such as sending a message, event, or disconnecting from a chat
When a chat integration event is sent with chat identifiers that do not map to an active chat contact, a new chat contact is also created before handling chat action.
Access to this API is currently restricted to Amazon Pinpoint for supporting SMS integration.
- Parameters:
sendChatIntegrationEventRequest-- Returns:
- A Java Future containing the result of the SendChatIntegrationEvent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
sendChatIntegrationEvent
default CompletableFuture<SendChatIntegrationEventResponse> sendChatIntegrationEvent(Consumer<SendChatIntegrationEventRequest.Builder> sendChatIntegrationEventRequest) Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect. A chat integration event includes:
-
SourceId, DestinationId, and Subtype: a set of identifiers, uniquely representing a chat
-
ChatEvent: details of the chat action to perform such as sending a message, event, or disconnecting from a chat
When a chat integration event is sent with chat identifiers that do not map to an active chat contact, a new chat contact is also created before handling chat action.
Access to this API is currently restricted to Amazon Pinpoint for supporting SMS integration.
This is a convenience which creates an instance of the
SendChatIntegrationEventRequest.Builderavoiding the need to create one manually viaSendChatIntegrationEventRequest.builder()- Parameters:
sendChatIntegrationEventRequest- AConsumerthat will call methods onSendChatIntegrationEventRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SendChatIntegrationEvent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startAttachedFileUpload
default CompletableFuture<StartAttachedFileUploadResponse> startAttachedFileUpload(StartAttachedFileUploadRequest startAttachedFileUploadRequest) Provides a pre-signed Amazon S3 URL in response for uploading your content.
You may only use this API to upload attachments to an Amazon Connect Case.
- Parameters:
startAttachedFileUploadRequest-- Returns:
- A Java Future containing the result of the StartAttachedFileUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceConflictException A resource already has that name.
- ServiceQuotaExceededException The service quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAttachedFileUpload
default CompletableFuture<StartAttachedFileUploadResponse> startAttachedFileUpload(Consumer<StartAttachedFileUploadRequest.Builder> startAttachedFileUploadRequest) Provides a pre-signed Amazon S3 URL in response for uploading your content.
You may only use this API to upload attachments to an Amazon Connect Case.
This is a convenience which creates an instance of the
StartAttachedFileUploadRequest.Builderavoiding the need to create one manually viaStartAttachedFileUploadRequest.builder()- Parameters:
startAttachedFileUploadRequest- AConsumerthat will call methods onStartAttachedFileUploadRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartAttachedFileUpload operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- ResourceConflictException A resource already has that name.
- ServiceQuotaExceededException The service quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startChatContact
default CompletableFuture<StartChatContactResponse> startChatContact(StartChatContactRequest startChatContactRequest) Initiates a flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.
When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.
A 429 error occurs in the following situations:
-
API rate limit is exceeded. API TPS throttling returns a
TooManyRequestsexception. -
The quota for concurrent active chats is exceeded. Active chat throttling returns a
LimitExceededException.
If you use the
ChatDurationInMinutesparameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.For more information about chat, see the following topics in the Amazon Connect Administrator Guide:
- Parameters:
startChatContactRequest-- Returns:
- A Java Future containing the result of the StartChatContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- LimitExceededException The allowed limit for the resource has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startChatContact
default CompletableFuture<StartChatContactResponse> startChatContact(Consumer<StartChatContactRequest.Builder> startChatContactRequest) Initiates a flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.
When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.
A 429 error occurs in the following situations:
-
API rate limit is exceeded. API TPS throttling returns a
TooManyRequestsexception. -
The quota for concurrent active chats is exceeded. Active chat throttling returns a
LimitExceededException.
If you use the
ChatDurationInMinutesparameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.For more information about chat, see the following topics in the Amazon Connect Administrator Guide:
This is a convenience which creates an instance of the
StartChatContactRequest.Builderavoiding the need to create one manually viaStartChatContactRequest.builder()- Parameters:
startChatContactRequest- AConsumerthat will call methods onStartChatContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartChatContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- LimitExceededException The allowed limit for the resource has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startContactEvaluation
default CompletableFuture<StartContactEvaluationResponse> startContactEvaluation(StartContactEvaluationRequest startContactEvaluationRequest) Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact. The evaluation form version used for the contact evaluation corresponds to the currently activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.
Evaluations created through the public API do not contain answer values suggested from automation.
- Parameters:
startContactEvaluationRequest-- Returns:
- A Java Future containing the result of the StartContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startContactEvaluation
default CompletableFuture<StartContactEvaluationResponse> startContactEvaluation(Consumer<StartContactEvaluationRequest.Builder> startContactEvaluationRequest) Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact. The evaluation form version used for the contact evaluation corresponds to the currently activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.
Evaluations created through the public API do not contain answer values suggested from automation.
This is a convenience which creates an instance of the
StartContactEvaluationRequest.Builderavoiding the need to create one manually viaStartContactEvaluationRequest.builder()- Parameters:
startContactEvaluationRequest- AConsumerthat will call methods onStartContactEvaluationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startContactRecording
default CompletableFuture<StartContactRecordingResponse> startContactRecording(StartContactRecordingRequest startContactRecordingRequest) Starts recording the contact:
-
If the API is called before the agent joins the call, recording starts when the agent joins the call.
-
If the API is called after the agent joins the call, recording starts at the time of the API call.
StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.
You can use this API to override the recording behavior configured in the Set recording behavior block.
Only voice recordings are supported at this time.
- Parameters:
startContactRecordingRequest-- Returns:
- A Java Future containing the result of the StartContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startContactRecording
default CompletableFuture<StartContactRecordingResponse> startContactRecording(Consumer<StartContactRecordingRequest.Builder> startContactRecordingRequest) Starts recording the contact:
-
If the API is called before the agent joins the call, recording starts when the agent joins the call.
-
If the API is called after the agent joins the call, recording starts at the time of the API call.
StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.
You can use this API to override the recording behavior configured in the Set recording behavior block.
Only voice recordings are supported at this time.
This is a convenience which creates an instance of the
StartContactRecordingRequest.Builderavoiding the need to create one manually viaStartContactRecordingRequest.builder()- Parameters:
startContactRecordingRequest- AConsumerthat will call methods onStartContactRecordingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startContactStreaming
default CompletableFuture<StartContactStreamingResponse> startContactStreaming(StartContactStreamingRequest startContactStreamingRequest) Initiates real-time message streaming for a new chat contact.
For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.
For more information about chat, see the following topics in the Amazon Connect Administrator Guide:
- Parameters:
startContactStreamingRequest-- Returns:
- A Java Future containing the result of the StartContactStreaming operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- LimitExceededException The allowed limit for the resource has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startContactStreaming
default CompletableFuture<StartContactStreamingResponse> startContactStreaming(Consumer<StartContactStreamingRequest.Builder> startContactStreamingRequest) Initiates real-time message streaming for a new chat contact.
For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.
For more information about chat, see the following topics in the Amazon Connect Administrator Guide:
This is a convenience which creates an instance of the
StartContactStreamingRequest.Builderavoiding the need to create one manually viaStartContactStreamingRequest.builder()- Parameters:
startContactStreamingRequest- AConsumerthat will call methods onStartContactStreamingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartContactStreaming operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- LimitExceededException The allowed limit for the resource has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startOutboundChatContact
default CompletableFuture<StartOutboundChatContactResponse> startOutboundChatContact(StartOutboundChatContactRequest startOutboundChatContactRequest) Initiates a new outbound SMS contact to a customer. Response of this API provides the ContactId of the outbound SMS contact created.
SourceEndpoint only supports Endpoints with
CONNECT_PHONENUMBER_ARNas Type and DestinationEndpoint only supports Endpoints withTELEPHONE_NUMBERas Type. ContactFlowId initiates the flow to manage the new SMS contact created.This API can be used to initiate outbound SMS contacts for an agent or it can also deflect an ongoing contact to an outbound SMS contact by using the StartOutboundChatContact Flow Action.
For more information about using SMS in Amazon Connect, see the following topics in the Amazon Connect Administrator Guide:
- Parameters:
startOutboundChatContactRequest-- Returns:
- A Java Future containing the result of the StartOutboundChatContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ConflictException Operation cannot be performed at this time as there is a conflict with another operation or contact state.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startOutboundChatContact
default CompletableFuture<StartOutboundChatContactResponse> startOutboundChatContact(Consumer<StartOutboundChatContactRequest.Builder> startOutboundChatContactRequest) Initiates a new outbound SMS contact to a customer. Response of this API provides the ContactId of the outbound SMS contact created.
SourceEndpoint only supports Endpoints with
CONNECT_PHONENUMBER_ARNas Type and DestinationEndpoint only supports Endpoints withTELEPHONE_NUMBERas Type. ContactFlowId initiates the flow to manage the new SMS contact created.This API can be used to initiate outbound SMS contacts for an agent or it can also deflect an ongoing contact to an outbound SMS contact by using the StartOutboundChatContact Flow Action.
For more information about using SMS in Amazon Connect, see the following topics in the Amazon Connect Administrator Guide:
This is a convenience which creates an instance of the
StartOutboundChatContactRequest.Builderavoiding the need to create one manually viaStartOutboundChatContactRequest.builder()- Parameters:
startOutboundChatContactRequest- AConsumerthat will call methods onStartOutboundChatContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartOutboundChatContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ConflictException Operation cannot be performed at this time as there is a conflict with another operation or contact state.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startOutboundVoiceContact
default CompletableFuture<StartOutboundVoiceContactResponse> startOutboundVoiceContact(StartOutboundVoiceContactRequest startOutboundVoiceContactRequest) Places an outbound call to a contact, and then initiates the flow. It performs the actions in the flow that's specified (in
ContactFlowId).Agents do not initiate the outbound API, which means that they do not dial the contact. If the flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.
There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.
UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
Campaign calls are not allowed by default. Before you can make a call with
TrafficType=CAMPAIGN, you must submit a service quota increase request to the quota Amazon Connect campaigns.- Parameters:
startOutboundVoiceContactRequest-- Returns:
- A Java Future containing the result of the StartOutboundVoiceContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- LimitExceededException The allowed limit for the resource has been exceeded.
- DestinationNotAllowedException Outbound calls to the destination number are not allowed.
- OutboundContactNotPermittedException The contact is not permitted.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startOutboundVoiceContact
default CompletableFuture<StartOutboundVoiceContactResponse> startOutboundVoiceContact(Consumer<StartOutboundVoiceContactRequest.Builder> startOutboundVoiceContactRequest) Places an outbound call to a contact, and then initiates the flow. It performs the actions in the flow that's specified (in
ContactFlowId).Agents do not initiate the outbound API, which means that they do not dial the contact. If the flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.
There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.
UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
Campaign calls are not allowed by default. Before you can make a call with
TrafficType=CAMPAIGN, you must submit a service quota increase request to the quota Amazon Connect campaigns.
This is a convenience which creates an instance of the
StartOutboundVoiceContactRequest.Builderavoiding the need to create one manually viaStartOutboundVoiceContactRequest.builder()- Parameters:
startOutboundVoiceContactRequest- AConsumerthat will call methods onStartOutboundVoiceContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartOutboundVoiceContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- LimitExceededException The allowed limit for the resource has been exceeded.
- DestinationNotAllowedException Outbound calls to the destination number are not allowed.
- OutboundContactNotPermittedException The contact is not permitted.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTaskContact
default CompletableFuture<StartTaskContactResponse> startTaskContact(StartTaskContactRequest startTaskContactRequest) Initiates a flow to start a new task contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in the Amazon Connect Administrator Guide.
When using
PreviousContactIdandRelatedContactIdinput parameters, note the following:-
PreviousContactId-
Any updates to user-defined task contact attributes on any contact linked through the same
PreviousContactIdwill affect every contact in the chain. -
There can be a maximum of 12 linked task contacts in a chain. That is, 12 task contacts can be created that share the same
PreviousContactId.
-
-
RelatedContactId-
Copies contact attributes from the related task contact to the new contact.
-
Any update on attributes in a new task contact does not update attributes on previous contact.
-
There’s no limit on the number of task contacts that can be created that use the same
RelatedContactId.
-
In addition, when calling StartTaskContact include only one of these parameters:
ContactFlowID,QuickConnectID, orTaskTemplateID. Only one parameter is required as long as the task template has a flow configured to run it. If more than one parameter is specified, or only theTaskTemplateIDis specified but it does not have a flow configured, the request returns an error because Amazon Connect cannot identify the unique flow to run when the task is created.A
ServiceQuotaExceededExceptionoccurs when the number of open tasks exceeds the active tasks quota or there are already 12 tasks referencing the samePreviousContactId. For more information about service quotas for task contacts, see Amazon Connect service quotas in the Amazon Connect Administrator Guide.- Parameters:
startTaskContactRequest-- Returns:
- A Java Future containing the result of the StartTaskContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startTaskContact
default CompletableFuture<StartTaskContactResponse> startTaskContact(Consumer<StartTaskContactRequest.Builder> startTaskContactRequest) Initiates a flow to start a new task contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in the Amazon Connect Administrator Guide.
When using
PreviousContactIdandRelatedContactIdinput parameters, note the following:-
PreviousContactId-
Any updates to user-defined task contact attributes on any contact linked through the same
PreviousContactIdwill affect every contact in the chain. -
There can be a maximum of 12 linked task contacts in a chain. That is, 12 task contacts can be created that share the same
PreviousContactId.
-
-
RelatedContactId-
Copies contact attributes from the related task contact to the new contact.
-
Any update on attributes in a new task contact does not update attributes on previous contact.
-
There’s no limit on the number of task contacts that can be created that use the same
RelatedContactId.
-
In addition, when calling StartTaskContact include only one of these parameters:
ContactFlowID,QuickConnectID, orTaskTemplateID. Only one parameter is required as long as the task template has a flow configured to run it. If more than one parameter is specified, or only theTaskTemplateIDis specified but it does not have a flow configured, the request returns an error because Amazon Connect cannot identify the unique flow to run when the task is created.A
ServiceQuotaExceededExceptionoccurs when the number of open tasks exceeds the active tasks quota or there are already 12 tasks referencing the samePreviousContactId. For more information about service quotas for task contacts, see Amazon Connect service quotas in the Amazon Connect Administrator Guide.
This is a convenience which creates an instance of the
StartTaskContactRequest.Builderavoiding the need to create one manually viaStartTaskContactRequest.builder()- Parameters:
startTaskContactRequest- AConsumerthat will call methods onStartTaskContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartTaskContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startWebRTCContact
default CompletableFuture<StartWebRtcContactResponse> startWebRTCContact(StartWebRtcContactRequest startWebRtcContactRequest) Places an inbound in-app, web, or video call to a contact, and then initiates the flow. It performs the actions in the flow that are specified (in ContactFlowId) and present in the Amazon Connect instance (specified as InstanceId).
- Parameters:
startWebRtcContactRequest-- Returns:
- A Java Future containing the result of the StartWebRTCContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startWebRTCContact
default CompletableFuture<StartWebRtcContactResponse> startWebRTCContact(Consumer<StartWebRtcContactRequest.Builder> startWebRtcContactRequest) Places an inbound in-app, web, or video call to a contact, and then initiates the flow. It performs the actions in the flow that are specified (in ContactFlowId) and present in the Amazon Connect instance (specified as InstanceId).
This is a convenience which creates an instance of the
StartWebRtcContactRequest.Builderavoiding the need to create one manually viaStartWebRtcContactRequest.builder()- Parameters:
startWebRtcContactRequest- AConsumerthat will call methods onStartWebRtcContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartWebRTCContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ResourceNotFoundException The specified resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopContact
Ends the specified contact. Use this API to stop queued callbacks. It does not work for voice contacts that use the following initiation methods:
-
DISCONNECT
-
TRANSFER
-
QUEUE_TRANSFER
-
EXTERNAL_OUTBOUND
-
MONITOR
Chat and task contacts can be terminated in any state, regardless of initiation method.
- Parameters:
stopContactRequest-- Returns:
- A Java Future containing the result of the StopContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ContactNotFoundException The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat or Task contacts.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
stopContact
default CompletableFuture<StopContactResponse> stopContact(Consumer<StopContactRequest.Builder> stopContactRequest) Ends the specified contact. Use this API to stop queued callbacks. It does not work for voice contacts that use the following initiation methods:
-
DISCONNECT
-
TRANSFER
-
QUEUE_TRANSFER
-
EXTERNAL_OUTBOUND
-
MONITOR
Chat and task contacts can be terminated in any state, regardless of initiation method.
This is a convenience which creates an instance of the
StopContactRequest.Builderavoiding the need to create one manually viaStopContactRequest.builder()- Parameters:
stopContactRequest- AConsumerthat will call methods onStopContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ContactNotFoundException The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat or Task contacts.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
stopContactRecording
default CompletableFuture<StopContactRecordingResponse> stopContactRecording(StopContactRecordingRequest stopContactRecordingRequest) Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.
Only voice recordings are supported at this time.
- Parameters:
stopContactRecordingRequest-- Returns:
- A Java Future containing the result of the StopContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopContactRecording
default CompletableFuture<StopContactRecordingResponse> stopContactRecording(Consumer<StopContactRecordingRequest.Builder> stopContactRecordingRequest) Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.
Only voice recordings are supported at this time.
This is a convenience which creates an instance of the
StopContactRecordingRequest.Builderavoiding the need to create one manually viaStopContactRecordingRequest.builder()- Parameters:
stopContactRecordingRequest- AConsumerthat will call methods onStopContactRecordingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopContactStreaming
default CompletableFuture<StopContactStreamingResponse> stopContactStreaming(StopContactStreamingRequest stopContactStreamingRequest) Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.
- Parameters:
stopContactStreamingRequest-- Returns:
- A Java Future containing the result of the StopContactStreaming operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopContactStreaming
default CompletableFuture<StopContactStreamingResponse> stopContactStreaming(Consumer<StopContactStreamingRequest.Builder> stopContactStreamingRequest) Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.
This is a convenience which creates an instance of the
StopContactStreamingRequest.Builderavoiding the need to create one manually viaStopContactStreamingRequest.builder()- Parameters:
stopContactStreamingRequest- AConsumerthat will call methods onStopContactStreamingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopContactStreaming operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
submitContactEvaluation
default CompletableFuture<SubmitContactEvaluationResponse> submitContactEvaluation(SubmitContactEvaluationRequest submitContactEvaluationRequest) Submits a contact evaluation in the specified Amazon Connect instance. Answers included in the request are merged with existing answers for the given evaluation. If no answers or notes are passed, the evaluation is submitted with the existing answers and notes. You can delete an answer or note by passing an empty object (
{}) to the question identifier.If a contact evaluation is already in submitted state, this operation will trigger a resubmission.
- Parameters:
submitContactEvaluationRequest-- Returns:
- A Java Future containing the result of the SubmitContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
submitContactEvaluation
default CompletableFuture<SubmitContactEvaluationResponse> submitContactEvaluation(Consumer<SubmitContactEvaluationRequest.Builder> submitContactEvaluationRequest) Submits a contact evaluation in the specified Amazon Connect instance. Answers included in the request are merged with existing answers for the given evaluation. If no answers or notes are passed, the evaluation is submitted with the existing answers and notes. You can delete an answer or note by passing an empty object (
{}) to the question identifier.If a contact evaluation is already in submitted state, this operation will trigger a resubmission.
This is a convenience which creates an instance of the
SubmitContactEvaluationRequest.Builderavoiding the need to create one manually viaSubmitContactEvaluationRequest.builder()- Parameters:
submitContactEvaluationRequest- AConsumerthat will call methods onSubmitContactEvaluationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SubmitContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
suspendContactRecording
default CompletableFuture<SuspendContactRecordingResponse> suspendContactRecording(SuspendContactRecordingRequest suspendContactRecordingRequest) When a contact is being recorded, this API suspends recording whatever is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would be suspended. For example, you might suspend the screen recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording the screen.
The period of time that the recording is suspended is filled with silence in the final recording.
Voice and screen recordings are supported.
- Parameters:
suspendContactRecordingRequest-- Returns:
- A Java Future containing the result of the SuspendContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
suspendContactRecording
default CompletableFuture<SuspendContactRecordingResponse> suspendContactRecording(Consumer<SuspendContactRecordingRequest.Builder> suspendContactRecordingRequest) When a contact is being recorded, this API suspends recording whatever is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would be suspended. For example, you might suspend the screen recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording the screen.
The period of time that the recording is suspended is filled with silence in the final recording.
Voice and screen recordings are supported.
This is a convenience which creates an instance of the
SuspendContactRecordingRequest.Builderavoiding the need to create one manually viaSuspendContactRecordingRequest.builder()- Parameters:
suspendContactRecordingRequest- AConsumerthat will call methods onSuspendContactRecordingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SuspendContactRecording operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagContact
Adds the specified tags to the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.
- Parameters:
tagContactRequest-- Returns:
- A Java Future containing the result of the TagContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagContact
default CompletableFuture<TagContactResponse> tagContact(Consumer<TagContactRequest.Builder> tagContactRequest) Adds the specified tags to the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.
This is a convenience which creates an instance of the
TagContactRequest.Builderavoiding the need to create one manually viaTagContactRequest.builder()- Parameters:
tagContactRequest- AConsumerthat will call methods onTagContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds the specified tags to the specified resource.
Some of the supported resource types are agents, routing profiles, queues, quick connects, contact flows, agent statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon Connect.
For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.
Some of the supported resource types are agents, routing profiles, queues, quick connects, contact flows, agent statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon Connect.
For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
transferContact
default CompletableFuture<TransferContactResponse> transferContact(TransferContactRequest transferContactRequest) Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created. You can transfer a contact to another queue by providing the flow which orchestrates the contact to the destination queue. This gives you more control over contact handling and helps you adhere to the service level agreement (SLA) guaranteed to your customers.
Note the following requirements:
-
Transfer is supported for only
TASKcontacts. -
Do not use both
QueueIdandUserIdin the same call. -
The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer to queue flow.
-
The
TransferContactAPI can be called only on active contacts. -
A contact cannot be transferred more than 11 times.
- Parameters:
transferContactRequest-- Returns:
- A Java Future containing the result of the TransferContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
transferContact
default CompletableFuture<TransferContactResponse> transferContact(Consumer<TransferContactRequest.Builder> transferContactRequest) Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created. You can transfer a contact to another queue by providing the flow which orchestrates the contact to the destination queue. This gives you more control over contact handling and helps you adhere to the service level agreement (SLA) guaranteed to your customers.
Note the following requirements:
-
Transfer is supported for only
TASKcontacts. -
Do not use both
QueueIdandUserIdin the same call. -
The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer to queue flow.
-
The
TransferContactAPI can be called only on active contacts. -
A contact cannot be transferred more than 11 times.
This is a convenience which creates an instance of the
TransferContactRequest.Builderavoiding the need to create one manually viaTransferContactRequest.builder()- Parameters:
transferContactRequest- AConsumerthat will call methods onTransferContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TransferContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ServiceQuotaExceededException The service quota has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
untagContact
default CompletableFuture<UntagContactResponse> untagContact(UntagContactRequest untagContactRequest) Removes the specified tags from the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.
- Parameters:
untagContactRequest-- Returns:
- A Java Future containing the result of the UntagContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagContact
default CompletableFuture<UntagContactResponse> untagContact(Consumer<UntagContactRequest.Builder> untagContactRequest) Removes the specified tags from the contact resource. For more information about this API is used, see Set up granular billing for a detailed view of your Amazon Connect usage.
This is a convenience which creates an instance of the
UntagContactRequest.Builderavoiding the need to create one manually viaUntagContactRequest.builder()- Parameters:
untagContactRequest- AConsumerthat will call methods onUntagContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgentStatus
default CompletableFuture<UpdateAgentStatusResponse> updateAgentStatus(UpdateAgentStatusRequest updateAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
- Parameters:
updateAgentStatusRequest-- Returns:
- A Java Future containing the result of the UpdateAgentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgentStatus
default CompletableFuture<UpdateAgentStatusResponse> updateAgentStatus(Consumer<UpdateAgentStatusRequest.Builder> updateAgentStatusRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
This is a convenience which creates an instance of the
UpdateAgentStatusRequest.Builderavoiding the need to create one manually viaUpdateAgentStatusRequest.builder()- Parameters:
updateAgentStatusRequest- AConsumerthat will call methods onUpdateAgentStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAgentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- LimitExceededException The allowed limit for the resource has been exceeded.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAuthenticationProfile
default CompletableFuture<UpdateAuthenticationProfileResponse> updateAuthenticationProfile(UpdateAuthenticationProfileRequest updateAuthenticationProfileRequest) This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Updates the selected authentication profile.
- Parameters:
updateAuthenticationProfileRequest-- Returns:
- A Java Future containing the result of the UpdateAuthenticationProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAuthenticationProfile
default CompletableFuture<UpdateAuthenticationProfileResponse> updateAuthenticationProfile(Consumer<UpdateAuthenticationProfileRequest.Builder> updateAuthenticationProfileRequest) This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Updates the selected authentication profile.
This is a convenience which creates an instance of the
UpdateAuthenticationProfileRequest.Builderavoiding the need to create one manually viaUpdateAuthenticationProfileRequest.builder()- Parameters:
updateAuthenticationProfileRequest- AConsumerthat will call methods onUpdateAuthenticationProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAuthenticationProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContact
default CompletableFuture<UpdateContactResponse> updateContact(UpdateContactRequest updateContactRequest) This API is in preview release for Amazon Connect and is subject to change.
Adds or updates user-defined contact information associated with the specified contact. At least one field to be updated must be present in the request.
You can add or update user-defined contact information for both ongoing and completed contacts.
- Parameters:
updateContactRequest-- Returns:
- A Java Future containing the result of the UpdateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContact
default CompletableFuture<UpdateContactResponse> updateContact(Consumer<UpdateContactRequest.Builder> updateContactRequest) This API is in preview release for Amazon Connect and is subject to change.
Adds or updates user-defined contact information associated with the specified contact. At least one field to be updated must be present in the request.
You can add or update user-defined contact information for both ongoing and completed contacts.
This is a convenience which creates an instance of the
UpdateContactRequest.Builderavoiding the need to create one manually viaUpdateContactRequest.builder()- Parameters:
updateContactRequest- AConsumerthat will call methods onUpdateContactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactAttributes
default CompletableFuture<UpdateContactAttributesResponse> updateContactAttributes(UpdateContactAttributesRequest updateContactAttributesRequest) Creates or updates user-defined contact attributes associated with the specified contact.
You can create or update user-defined attributes for both ongoing and completed contacts. For example, while the call is active, you can update the customer's name or the reason the customer called. You can add notes about steps that the agent took during the call that display to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or to identify abusive callers.
Contact attributes are available in Amazon Connect for 24 months, and are then deleted. For information about contact record retention and the maximum size of the contact record attributes section, see Feature specifications in the Amazon Connect Administrator Guide.
- Parameters:
updateContactAttributesRequest-- Returns:
- A Java Future containing the result of the UpdateContactAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactAttributes
default CompletableFuture<UpdateContactAttributesResponse> updateContactAttributes(Consumer<UpdateContactAttributesRequest.Builder> updateContactAttributesRequest) Creates or updates user-defined contact attributes associated with the specified contact.
You can create or update user-defined attributes for both ongoing and completed contacts. For example, while the call is active, you can update the customer's name or the reason the customer called. You can add notes about steps that the agent took during the call that display to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or to identify abusive callers.
Contact attributes are available in Amazon Connect for 24 months, and are then deleted. For information about contact record retention and the maximum size of the contact record attributes section, see Feature specifications in the Amazon Connect Administrator Guide.
This is a convenience which creates an instance of the
UpdateContactAttributesRequest.Builderavoiding the need to create one manually viaUpdateContactAttributesRequest.builder()- Parameters:
updateContactAttributesRequest- AConsumerthat will call methods onUpdateContactAttributesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactEvaluation
default CompletableFuture<UpdateContactEvaluationResponse> updateContactEvaluation(UpdateContactEvaluationRequest updateContactEvaluationRequest) Updates details about a contact evaluation in the specified Amazon Connect instance. A contact evaluation must be in draft state. Answers included in the request are merged with existing answers for the given evaluation. An answer or note can be deleted by passing an empty object (
{}) to the question identifier.- Parameters:
updateContactEvaluationRequest-- Returns:
- A Java Future containing the result of the UpdateContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactEvaluation
default CompletableFuture<UpdateContactEvaluationResponse> updateContactEvaluation(Consumer<UpdateContactEvaluationRequest.Builder> updateContactEvaluationRequest) Updates details about a contact evaluation in the specified Amazon Connect instance. A contact evaluation must be in draft state. Answers included in the request are merged with existing answers for the given evaluation. An answer or note can be deleted by passing an empty object (
{}) to the question identifier.
This is a convenience which creates an instance of the
UpdateContactEvaluationRequest.Builderavoiding the need to create one manually viaUpdateContactEvaluationRequest.builder()- Parameters:
updateContactEvaluationRequest- AConsumerthat will call methods onUpdateContactEvaluationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactEvaluation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowContent
default CompletableFuture<UpdateContactFlowContentResponse> updateContactFlowContent(UpdateContactFlowContentRequest updateContactFlowContentRequest) Updates the specified flow.
You can also create and update flows using the Amazon Connect Flow language.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.- Parameters:
updateContactFlowContentRequest-- Returns:
- A Java Future containing the result of the UpdateContactFlowContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidContactFlowException The flow is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowContent
default CompletableFuture<UpdateContactFlowContentResponse> updateContactFlowContent(Consumer<UpdateContactFlowContentRequest.Builder> updateContactFlowContentRequest) Updates the specified flow.
You can also create and update flows using the Amazon Connect Flow language.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.
This is a convenience which creates an instance of the
UpdateContactFlowContentRequest.Builderavoiding the need to create one manually viaUpdateContactFlowContentRequest.builder()- Parameters:
updateContactFlowContentRequest- AConsumerthat will call methods onUpdateContactFlowContentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactFlowContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidContactFlowException The flow is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowMetadata
default CompletableFuture<UpdateContactFlowMetadataResponse> updateContactFlowMetadata(UpdateContactFlowMetadataRequest updateContactFlowMetadataRequest) Updates metadata about specified flow.
- Parameters:
updateContactFlowMetadataRequest-- Returns:
- A Java Future containing the result of the UpdateContactFlowMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowMetadata
default CompletableFuture<UpdateContactFlowMetadataResponse> updateContactFlowMetadata(Consumer<UpdateContactFlowMetadataRequest.Builder> updateContactFlowMetadataRequest) Updates metadata about specified flow.
This is a convenience which creates an instance of the
UpdateContactFlowMetadataRequest.Builderavoiding the need to create one manually viaUpdateContactFlowMetadataRequest.builder()- Parameters:
updateContactFlowMetadataRequest- AConsumerthat will call methods onUpdateContactFlowMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactFlowMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowModuleContent
default CompletableFuture<UpdateContactFlowModuleContentResponse> updateContactFlowModuleContent(UpdateContactFlowModuleContentRequest updateContactFlowModuleContentRequest) Updates specified flow module for the specified Amazon Connect instance.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.- Parameters:
updateContactFlowModuleContentRequest-- Returns:
- A Java Future containing the result of the UpdateContactFlowModuleContent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidContactFlowModuleException The problems with the module. Please fix before trying again.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowModuleContent
default CompletableFuture<UpdateContactFlowModuleContentResponse> updateContactFlowModuleContent(Consumer<UpdateContactFlowModuleContentRequest.Builder> updateContactFlowModuleContentRequest) Updates specified flow module for the specified Amazon Connect instance.
Use the
invalid input: '$'SAVEDalias in the request to describe theSAVEDcontent of a Flow. For example,arn:aws:.../contact-flow/{id}:invalid input: '$'SAVED. Once a contact flow is published,invalid input: '$'SAVEDneeds to be supplied to view saved content that has not been published.
This is a convenience which creates an instance of the
UpdateContactFlowModuleContentRequest.Builderavoiding the need to create one manually viaUpdateContactFlowModuleContentRequest.builder()- Parameters:
updateContactFlowModuleContentRequest- AConsumerthat will call methods onUpdateContactFlowModuleContentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactFlowModuleContent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidContactFlowModuleException The problems with the module. Please fix before trying again.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowModuleMetadata
default CompletableFuture<UpdateContactFlowModuleMetadataResponse> updateContactFlowModuleMetadata(UpdateContactFlowModuleMetadataRequest updateContactFlowModuleMetadataRequest) Updates metadata about specified flow module.
- Parameters:
updateContactFlowModuleMetadataRequest-- Returns:
- A Java Future containing the result of the UpdateContactFlowModuleMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowModuleMetadata
default CompletableFuture<UpdateContactFlowModuleMetadataResponse> updateContactFlowModuleMetadata(Consumer<UpdateContactFlowModuleMetadataRequest.Builder> updateContactFlowModuleMetadataRequest) Updates metadata about specified flow module.
This is a convenience which creates an instance of the
UpdateContactFlowModuleMetadataRequest.Builderavoiding the need to create one manually viaUpdateContactFlowModuleMetadataRequest.builder()- Parameters:
updateContactFlowModuleMetadataRequest- AConsumerthat will call methods onUpdateContactFlowModuleMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactFlowModuleMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowName
default CompletableFuture<UpdateContactFlowNameResponse> updateContactFlowName(UpdateContactFlowNameRequest updateContactFlowNameRequest) The name of the flow.
You can also create and update flows using the Amazon Connect Flow language.
- Parameters:
updateContactFlowNameRequest-- Returns:
- A Java Future containing the result of the UpdateContactFlowName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactFlowName
default CompletableFuture<UpdateContactFlowNameResponse> updateContactFlowName(Consumer<UpdateContactFlowNameRequest.Builder> updateContactFlowNameRequest) The name of the flow.
You can also create and update flows using the Amazon Connect Flow language.
This is a convenience which creates an instance of the
UpdateContactFlowNameRequest.Builderavoiding the need to create one manually viaUpdateContactFlowNameRequest.builder()- Parameters:
updateContactFlowNameRequest- AConsumerthat will call methods onUpdateContactFlowNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactFlowName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactRoutingData
default CompletableFuture<UpdateContactRoutingDataResponse> updateContactRoutingData(UpdateContactRoutingDataRequest updateContactRoutingDataRequest) Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). These properties can be used to change a customer's position in the queue. For example, you can move a contact to the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a contact to the front of the queue by increasing the routing age which will make the contact look artificially older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These properties can also be updated by using the Set routing priority / age flow block.
Either QueuePriority or QueueTimeAdjustmentInSeconds should be provided within the request body, but not both.
- Parameters:
updateContactRoutingDataRequest-- Returns:
- A Java Future containing the result of the UpdateContactRoutingData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceConflictException A resource already has that name.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactRoutingData
default CompletableFuture<UpdateContactRoutingDataResponse> updateContactRoutingData(Consumer<UpdateContactRoutingDataRequest.Builder> updateContactRoutingDataRequest) Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). These properties can be used to change a customer's position in the queue. For example, you can move a contact to the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a contact to the front of the queue by increasing the routing age which will make the contact look artificially older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These properties can also be updated by using the Set routing priority / age flow block.
Either QueuePriority or QueueTimeAdjustmentInSeconds should be provided within the request body, but not both.
This is a convenience which creates an instance of the
UpdateContactRoutingDataRequest.Builderavoiding the need to create one manually viaUpdateContactRoutingDataRequest.builder()- Parameters:
updateContactRoutingDataRequest- AConsumerthat will call methods onUpdateContactRoutingDataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactRoutingData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceConflictException A resource already has that name.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactSchedule
default CompletableFuture<UpdateContactScheduleResponse> updateContactSchedule(UpdateContactScheduleRequest updateContactScheduleRequest) Updates the scheduled time of a task contact that is already scheduled.
- Parameters:
updateContactScheduleRequest-- Returns:
- A Java Future containing the result of the UpdateContactSchedule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- LimitExceededException The allowed limit for the resource has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactSchedule
default CompletableFuture<UpdateContactScheduleResponse> updateContactSchedule(Consumer<UpdateContactScheduleRequest.Builder> updateContactScheduleRequest) Updates the scheduled time of a task contact that is already scheduled.
This is a convenience which creates an instance of the
UpdateContactScheduleRequest.Builderavoiding the need to create one manually viaUpdateContactScheduleRequest.builder()- Parameters:
updateContactScheduleRequest- AConsumerthat will call methods onUpdateContactScheduleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateContactSchedule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- LimitExceededException The allowed limit for the resource has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEvaluationForm
default CompletableFuture<UpdateEvaluationFormResponse> updateEvaluationForm(UpdateEvaluationFormRequest updateEvaluationFormRequest) Updates details about a specific evaluation form version in the specified Amazon Connect instance. Question and section identifiers cannot be duplicated within the same evaluation form.
This operation does not support partial updates. Instead it does a full update of evaluation form content.
- Parameters:
updateEvaluationFormRequest-- Returns:
- A Java Future containing the result of the UpdateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEvaluationForm
default CompletableFuture<UpdateEvaluationFormResponse> updateEvaluationForm(Consumer<UpdateEvaluationFormRequest.Builder> updateEvaluationFormRequest) Updates details about a specific evaluation form version in the specified Amazon Connect instance. Question and section identifiers cannot be duplicated within the same evaluation form.
This operation does not support partial updates. Instead it does a full update of evaluation form content.
This is a convenience which creates an instance of the
UpdateEvaluationFormRequest.Builderavoiding the need to create one manually viaUpdateEvaluationFormRequest.builder()- Parameters:
updateEvaluationFormRequest- AConsumerthat will call methods onUpdateEvaluationFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEvaluationForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ServiceQuotaExceededException The service quota has been exceeded.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateHoursOfOperation
default CompletableFuture<UpdateHoursOfOperationResponse> updateHoursOfOperation(UpdateHoursOfOperationRequest updateHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation.
- Parameters:
updateHoursOfOperationRequest-- Returns:
- A Java Future containing the result of the UpdateHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateHoursOfOperation
default CompletableFuture<UpdateHoursOfOperationResponse> updateHoursOfOperation(Consumer<UpdateHoursOfOperationRequest.Builder> updateHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation.
This is a convenience which creates an instance of the
UpdateHoursOfOperationRequest.Builderavoiding the need to create one manually viaUpdateHoursOfOperationRequest.builder()- Parameters:
updateHoursOfOperationRequest- AConsumerthat will call methods onUpdateHoursOfOperationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInstanceAttribute
default CompletableFuture<UpdateInstanceAttributeResponse> updateInstanceAttribute(UpdateInstanceAttributeRequest updateInstanceAttributeRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the value for the specified attribute type.
- Parameters:
updateInstanceAttributeRequest-- Returns:
- A Java Future containing the result of the UpdateInstanceAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInstanceAttribute
default CompletableFuture<UpdateInstanceAttributeResponse> updateInstanceAttribute(Consumer<UpdateInstanceAttributeRequest.Builder> updateInstanceAttributeRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the value for the specified attribute type.
This is a convenience which creates an instance of the
UpdateInstanceAttributeRequest.Builderavoiding the need to create one manually viaUpdateInstanceAttributeRequest.builder()- Parameters:
updateInstanceAttributeRequest- AConsumerthat will call methods onUpdateInstanceAttributeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateInstanceAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInstanceStorageConfig
default CompletableFuture<UpdateInstanceStorageConfigResponse> updateInstanceStorageConfig(UpdateInstanceStorageConfigRequest updateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates an existing configuration for a resource type. This API is idempotent.
- Parameters:
updateInstanceStorageConfigRequest-- Returns:
- A Java Future containing the result of the UpdateInstanceStorageConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInstanceStorageConfig
default CompletableFuture<UpdateInstanceStorageConfigResponse> updateInstanceStorageConfig(Consumer<UpdateInstanceStorageConfigRequest.Builder> updateInstanceStorageConfigRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates an existing configuration for a resource type. This API is idempotent.
This is a convenience which creates an instance of the
UpdateInstanceStorageConfigRequest.Builderavoiding the need to create one manually viaUpdateInstanceStorageConfigRequest.builder()- Parameters:
updateInstanceStorageConfigRequest- AConsumerthat will call methods onUpdateInstanceStorageConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateInstanceStorageConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ThrottlingException The throttling limit has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateParticipantRoleConfig
default CompletableFuture<UpdateParticipantRoleConfigResponse> updateParticipantRoleConfig(UpdateParticipantRoleConfigRequest updateParticipantRoleConfigRequest) Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness. You can set four timers:
-
Customer idle timeout
-
Customer auto-disconnect timeout
-
Agent idle timeout
-
Agent auto-disconnect timeout
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
- Parameters:
updateParticipantRoleConfigRequest-- Returns:
- A Java Future containing the result of the UpdateParticipantRoleConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateParticipantRoleConfig
default CompletableFuture<UpdateParticipantRoleConfigResponse> updateParticipantRoleConfig(Consumer<UpdateParticipantRoleConfigRequest.Builder> updateParticipantRoleConfigRequest) Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness. You can set four timers:
-
Customer idle timeout
-
Customer auto-disconnect timeout
-
Agent idle timeout
-
Agent auto-disconnect timeout
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
This is a convenience which creates an instance of the
UpdateParticipantRoleConfigRequest.Builderavoiding the need to create one manually viaUpdateParticipantRoleConfigRequest.builder()- Parameters:
updateParticipantRoleConfigRequest- AConsumerthat will call methods onUpdateParticipantRoleConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateParticipantRoleConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updatePhoneNumber
default CompletableFuture<UpdatePhoneNumberResponse> updatePhoneNumber(UpdatePhoneNumberRequest updatePhoneNumberRequest) Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.
After using this API, you must verify that the phone number is attached to the correct flow in the target instance or traffic distribution group. You need to do this because the API switches only the phone number to a new instance or traffic distribution group. It doesn't migrate the flow configuration of the phone number, too.
You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.
- Parameters:
updatePhoneNumberRequest-- Returns:
- A Java Future containing the result of the UpdatePhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceInUseException That resource is already in use. Please try another.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePhoneNumber
default CompletableFuture<UpdatePhoneNumberResponse> updatePhoneNumber(Consumer<UpdatePhoneNumberRequest.Builder> updatePhoneNumberRequest) Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.
After using this API, you must verify that the phone number is attached to the correct flow in the target instance or traffic distribution group. You need to do this because the API switches only the phone number to a new instance or traffic distribution group. It doesn't migrate the flow configuration of the phone number, too.
You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.
This is a convenience which creates an instance of the
UpdatePhoneNumberRequest.Builderavoiding the need to create one manually viaUpdatePhoneNumberRequest.builder()- Parameters:
updatePhoneNumberRequest- AConsumerthat will call methods onUpdatePhoneNumberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePhoneNumber operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ResourceInUseException That resource is already in use. Please try another.
- IdempotencyException An entity with the same name already exists.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePhoneNumberMetadata
default CompletableFuture<UpdatePhoneNumberMetadataResponse> updatePhoneNumberMetadata(UpdatePhoneNumberMetadataRequest updatePhoneNumberMetadataRequest) Updates a phone number’s metadata.
To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.
- Parameters:
updatePhoneNumberMetadataRequest-- Returns:
- A Java Future containing the result of the UpdatePhoneNumberMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- IdempotencyException An entity with the same name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePhoneNumberMetadata
default CompletableFuture<UpdatePhoneNumberMetadataResponse> updatePhoneNumberMetadata(Consumer<UpdatePhoneNumberMetadataRequest.Builder> updatePhoneNumberMetadataRequest) Updates a phone number’s metadata.
To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.
This is a convenience which creates an instance of the
UpdatePhoneNumberMetadataRequest.Builderavoiding the need to create one manually viaUpdatePhoneNumberMetadataRequest.builder()- Parameters:
updatePhoneNumberMetadataRequest- AConsumerthat will call methods onUpdatePhoneNumberMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePhoneNumberMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException One or more of the specified parameters are not valid.
- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- IdempotencyException An entity with the same name already exists.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePredefinedAttribute
default CompletableFuture<UpdatePredefinedAttributeResponse> updatePredefinedAttribute(UpdatePredefinedAttributeRequest updatePredefinedAttributeRequest) Updates a predefined attribute for the specified Amazon Connect instance. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents.
- Parameters:
updatePredefinedAttributeRequest-- Returns:
- A Java Future containing the result of the UpdatePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePredefinedAttribute
default CompletableFuture<UpdatePredefinedAttributeResponse> updatePredefinedAttribute(Consumer<UpdatePredefinedAttributeRequest.Builder> updatePredefinedAttributeRequest) Updates a predefined attribute for the specified Amazon Connect instance. Predefined attributes are attributes in an Amazon Connect instance that can be used to route contacts to an agent or pools of agents within a queue. For more information, see Create predefined attributes for routing contacts to agents.
This is a convenience which creates an instance of the
UpdatePredefinedAttributeRequest.Builderavoiding the need to create one manually viaUpdatePredefinedAttributeRequest.builder()- Parameters:
updatePredefinedAttributeRequest- AConsumerthat will call methods onUpdatePredefinedAttributeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePredefinedAttribute operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePrompt
default CompletableFuture<UpdatePromptResponse> updatePrompt(UpdatePromptRequest updatePromptRequest) Updates a prompt.
- Parameters:
updatePromptRequest-- Returns:
- A Java Future containing the result of the UpdatePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePrompt
default CompletableFuture<UpdatePromptResponse> updatePrompt(Consumer<UpdatePromptRequest.Builder> updatePromptRequest) Updates a prompt.
This is a convenience which creates an instance of the
UpdatePromptRequest.Builderavoiding the need to create one manually viaUpdatePromptRequest.builder()- Parameters:
updatePromptRequest- AConsumerthat will call methods onUpdatePromptRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePrompt operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueHoursOfOperation
default CompletableFuture<UpdateQueueHoursOfOperationResponse> updateQueueHoursOfOperation(UpdateQueueHoursOfOperationRequest updateQueueHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation for the specified queue.
- Parameters:
updateQueueHoursOfOperationRequest-- Returns:
- A Java Future containing the result of the UpdateQueueHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueHoursOfOperation
default CompletableFuture<UpdateQueueHoursOfOperationResponse> updateQueueHoursOfOperation(Consumer<UpdateQueueHoursOfOperationRequest.Builder> updateQueueHoursOfOperationRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the hours of operation for the specified queue.
This is a convenience which creates an instance of the
UpdateQueueHoursOfOperationRequest.Builderavoiding the need to create one manually viaUpdateQueueHoursOfOperationRequest.builder()- Parameters:
updateQueueHoursOfOperationRequest- AConsumerthat will call methods onUpdateQueueHoursOfOperationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQueueHoursOfOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueMaxContacts
default CompletableFuture<UpdateQueueMaxContactsResponse> updateQueueMaxContacts(UpdateQueueMaxContactsRequest updateQueueMaxContactsRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the maximum number of contacts allowed in a queue before it is considered full.
- Parameters:
updateQueueMaxContactsRequest-- Returns:
- A Java Future containing the result of the UpdateQueueMaxContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueMaxContacts
default CompletableFuture<UpdateQueueMaxContactsResponse> updateQueueMaxContacts(Consumer<UpdateQueueMaxContactsRequest.Builder> updateQueueMaxContactsRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the maximum number of contacts allowed in a queue before it is considered full.
This is a convenience which creates an instance of the
UpdateQueueMaxContactsRequest.Builderavoiding the need to create one manually viaUpdateQueueMaxContactsRequest.builder()- Parameters:
updateQueueMaxContactsRequest- AConsumerthat will call methods onUpdateQueueMaxContactsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQueueMaxContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueName
default CompletableFuture<UpdateQueueNameResponse> updateQueueName(UpdateQueueNameRequest updateQueueNameRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the name and description of a queue. At least
NameorDescriptionmust be provided.- Parameters:
updateQueueNameRequest-- Returns:
- A Java Future containing the result of the UpdateQueueName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueName
default CompletableFuture<UpdateQueueNameResponse> updateQueueName(Consumer<UpdateQueueNameRequest.Builder> updateQueueNameRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the name and description of a queue. At least
NameorDescriptionmust be provided.
This is a convenience which creates an instance of the
UpdateQueueNameRequest.Builderavoiding the need to create one manually viaUpdateQueueNameRequest.builder()- Parameters:
updateQueueNameRequest- AConsumerthat will call methods onUpdateQueueNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQueueName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueOutboundCallerConfig
default CompletableFuture<UpdateQueueOutboundCallerConfigResponse> updateQueueOutboundCallerConfig(UpdateQueueOutboundCallerConfigRequest updateQueueOutboundCallerConfigRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
-
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for
OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive aResourceNotFoundException. -
Only use the phone number ARN format that doesn't contain
instancein 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.
- Parameters:
updateQueueOutboundCallerConfigRequest-- Returns:
- A Java Future containing the result of the UpdateQueueOutboundCallerConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateQueueOutboundCallerConfig
default CompletableFuture<UpdateQueueOutboundCallerConfigResponse> updateQueueOutboundCallerConfig(Consumer<UpdateQueueOutboundCallerConfigRequest.Builder> updateQueueOutboundCallerConfigRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
-
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for
OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive aResourceNotFoundException. -
Only use the phone number ARN format that doesn't contain
instancein 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
UpdateQueueOutboundCallerConfigRequest.Builderavoiding the need to create one manually viaUpdateQueueOutboundCallerConfigRequest.builder()- Parameters:
updateQueueOutboundCallerConfigRequest- AConsumerthat will call methods onUpdateQueueOutboundCallerConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQueueOutboundCallerConfig operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateQueueStatus
default CompletableFuture<UpdateQueueStatusResponse> updateQueueStatus(UpdateQueueStatusRequest updateQueueStatusRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the status of the queue.
- Parameters:
updateQueueStatusRequest-- Returns:
- A Java Future containing the result of the UpdateQueueStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQueueStatus
default CompletableFuture<UpdateQueueStatusResponse> updateQueueStatus(Consumer<UpdateQueueStatusRequest.Builder> updateQueueStatusRequest) This API is in preview release for Amazon Connect and is subject to change.
Updates the status of the queue.
This is a convenience which creates an instance of the
UpdateQueueStatusRequest.Builderavoiding the need to create one manually viaUpdateQueueStatusRequest.builder()- Parameters:
updateQueueStatusRequest- AConsumerthat will call methods onUpdateQueueStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQueueStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQuickConnectConfig
default CompletableFuture<UpdateQuickConnectConfigResponse> updateQuickConnectConfig(UpdateQuickConnectConfigRequest updateQuickConnectConfigRequest) Updates the configuration settings for the specified quick connect.
- Parameters:
updateQuickConnectConfigRequest-- Returns:
- A Java Future containing the result of the UpdateQuickConnectConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQuickConnectConfig
default CompletableFuture<UpdateQuickConnectConfigResponse> updateQuickConnectConfig(Consumer<UpdateQuickConnectConfigRequest.Builder> updateQuickConnectConfigRequest) Updates the configuration settings for the specified quick connect.
This is a convenience which creates an instance of the
UpdateQuickConnectConfigRequest.Builderavoiding the need to create one manually viaUpdateQuickConnectConfigRequest.builder()- Parameters:
updateQuickConnectConfigRequest- AConsumerthat will call methods onUpdateQuickConnectConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQuickConnectConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQuickConnectName
default CompletableFuture<UpdateQuickConnectNameResponse> updateQuickConnectName(UpdateQuickConnectNameRequest updateQuickConnectNameRequest) Updates the name and description of a quick connect. The request accepts the following data in JSON format. At least
NameorDescriptionmust be provided.- Parameters:
updateQuickConnectNameRequest-- Returns:
- A Java Future containing the result of the UpdateQuickConnectName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateQuickConnectName
default CompletableFuture<UpdateQuickConnectNameResponse> updateQuickConnectName(Consumer<UpdateQuickConnectNameRequest.Builder> updateQuickConnectNameRequest) Updates the name and description of a quick connect. The request accepts the following data in JSON format. At least
NameorDescriptionmust be provided.
This is a convenience which creates an instance of the
UpdateQuickConnectNameRequest.Builderavoiding the need to create one manually viaUpdateQuickConnectNameRequest.builder()- Parameters:
updateQuickConnectNameRequest- AConsumerthat will call methods onUpdateQuickConnectNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQuickConnectName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileAgentAvailabilityTimer
default CompletableFuture<UpdateRoutingProfileAgentAvailabilityTimerResponse> updateRoutingProfileAgentAvailabilityTimer(UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
- Parameters:
updateRoutingProfileAgentAvailabilityTimerRequest-- Returns:
- A Java Future containing the result of the UpdateRoutingProfileAgentAvailabilityTimer operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileAgentAvailabilityTimer
default CompletableFuture<UpdateRoutingProfileAgentAvailabilityTimerResponse> updateRoutingProfileAgentAvailabilityTimer(Consumer<UpdateRoutingProfileAgentAvailabilityTimerRequest.Builder> updateRoutingProfileAgentAvailabilityTimerRequest) Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
This is a convenience which creates an instance of the
UpdateRoutingProfileAgentAvailabilityTimerRequest.Builderavoiding the need to create one manually viaUpdateRoutingProfileAgentAvailabilityTimerRequest.builder()- Parameters:
updateRoutingProfileAgentAvailabilityTimerRequest- AConsumerthat will call methods onUpdateRoutingProfileAgentAvailabilityTimerRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRoutingProfileAgentAvailabilityTimer operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileConcurrency
default CompletableFuture<UpdateRoutingProfileConcurrencyResponse> updateRoutingProfileConcurrency(UpdateRoutingProfileConcurrencyRequest updateRoutingProfileConcurrencyRequest) Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.
- Parameters:
updateRoutingProfileConcurrencyRequest-- Returns:
- A Java Future containing the result of the UpdateRoutingProfileConcurrency operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileConcurrency
default CompletableFuture<UpdateRoutingProfileConcurrencyResponse> updateRoutingProfileConcurrency(Consumer<UpdateRoutingProfileConcurrencyRequest.Builder> updateRoutingProfileConcurrencyRequest) Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.
This is a convenience which creates an instance of the
UpdateRoutingProfileConcurrencyRequest.Builderavoiding the need to create one manually viaUpdateRoutingProfileConcurrencyRequest.builder()- Parameters:
updateRoutingProfileConcurrencyRequest- AConsumerthat will call methods onUpdateRoutingProfileConcurrencyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRoutingProfileConcurrency operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileDefaultOutboundQueue
default CompletableFuture<UpdateRoutingProfileDefaultOutboundQueueResponse> updateRoutingProfileDefaultOutboundQueue(UpdateRoutingProfileDefaultOutboundQueueRequest updateRoutingProfileDefaultOutboundQueueRequest) Updates the default outbound queue of a routing profile.
- Parameters:
updateRoutingProfileDefaultOutboundQueueRequest-- Returns:
- A Java Future containing the result of the UpdateRoutingProfileDefaultOutboundQueue operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileDefaultOutboundQueue
default CompletableFuture<UpdateRoutingProfileDefaultOutboundQueueResponse> updateRoutingProfileDefaultOutboundQueue(Consumer<UpdateRoutingProfileDefaultOutboundQueueRequest.Builder> updateRoutingProfileDefaultOutboundQueueRequest) Updates the default outbound queue of a routing profile.
This is a convenience which creates an instance of the
UpdateRoutingProfileDefaultOutboundQueueRequest.Builderavoiding the need to create one manually viaUpdateRoutingProfileDefaultOutboundQueueRequest.builder()- Parameters:
updateRoutingProfileDefaultOutboundQueueRequest- AConsumerthat will call methods onUpdateRoutingProfileDefaultOutboundQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRoutingProfileDefaultOutboundQueue operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileName
default CompletableFuture<UpdateRoutingProfileNameResponse> updateRoutingProfileName(UpdateRoutingProfileNameRequest updateRoutingProfileNameRequest) Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least
NameorDescriptionmust be provided.- Parameters:
updateRoutingProfileNameRequest-- Returns:
- A Java Future containing the result of the UpdateRoutingProfileName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileName
default CompletableFuture<UpdateRoutingProfileNameResponse> updateRoutingProfileName(Consumer<UpdateRoutingProfileNameRequest.Builder> updateRoutingProfileNameRequest) Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least
NameorDescriptionmust be provided.
This is a convenience which creates an instance of the
UpdateRoutingProfileNameRequest.Builderavoiding the need to create one manually viaUpdateRoutingProfileNameRequest.builder()- Parameters:
updateRoutingProfileNameRequest- AConsumerthat will call methods onUpdateRoutingProfileNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRoutingProfileName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DuplicateResourceException A resource with the specified name already exists.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileQueues
default CompletableFuture<UpdateRoutingProfileQueuesResponse> updateRoutingProfileQueues(UpdateRoutingProfileQueuesRequest updateRoutingProfileQueuesRequest) Updates the properties associated with a set of queues for a routing profile.
- Parameters:
updateRoutingProfileQueuesRequest-- Returns:
- A Java Future containing the result of the UpdateRoutingProfileQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRoutingProfileQueues
default CompletableFuture<UpdateRoutingProfileQueuesResponse> updateRoutingProfileQueues(Consumer<UpdateRoutingProfileQueuesRequest.Builder> updateRoutingProfileQueuesRequest) Updates the properties associated with a set of queues for a routing profile.
This is a convenience which creates an instance of the
UpdateRoutingProfileQueuesRequest.Builderavoiding the need to create one manually viaUpdateRoutingProfileQueuesRequest.builder()- Parameters:
updateRoutingProfileQueuesRequest- AConsumerthat will call methods onUpdateRoutingProfileQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRoutingProfileQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRule
Updates a rule for the specified Amazon Connect instance.
Use the Rules Function language to code conditions for the rule.
- Parameters:
updateRuleRequest-- Returns:
- A Java Future containing the result of the UpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRule
default CompletableFuture<UpdateRuleResponse> updateRule(Consumer<UpdateRuleRequest.Builder> updateRuleRequest) Updates a rule for the specified Amazon Connect instance.
Use the Rules Function language to code conditions for the rule.
This is a convenience which creates an instance of the
UpdateRuleRequest.Builderavoiding the need to create one manually viaUpdateRuleRequest.builder()- Parameters:
updateRuleRequest- AConsumerthat will call methods onUpdateRuleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- ThrottlingException The throttling limit has been exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceConflictException A resource already has that name.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSecurityProfile
default CompletableFuture<UpdateSecurityProfileResponse> updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest) Updates a security profile.
For information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions.
- Parameters:
updateSecurityProfileRequest-- Returns:
- A Java Future containing the result of the UpdateSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSecurityProfile
default CompletableFuture<UpdateSecurityProfileResponse> updateSecurityProfile(Consumer<UpdateSecurityProfileRequest.Builder> updateSecurityProfileRequest) Updates a security profile.
For information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security profile permissions, see List of security profile permissions.
This is a convenience which creates an instance of the
UpdateSecurityProfileRequest.Builderavoiding the need to create one manually viaUpdateSecurityProfileRequest.builder()- Parameters:
updateSecurityProfileRequest- AConsumerthat will call methods onUpdateSecurityProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSecurityProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTaskTemplate
default CompletableFuture<UpdateTaskTemplateResponse> updateTaskTemplate(UpdateTaskTemplateRequest updateTaskTemplateRequest) Updates details about a specific task template in the specified Amazon Connect instance. This operation does not support partial updates. Instead it does a full update of template content.
- Parameters:
updateTaskTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- PropertyValidationException The property is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTaskTemplate
default CompletableFuture<UpdateTaskTemplateResponse> updateTaskTemplate(Consumer<UpdateTaskTemplateRequest.Builder> updateTaskTemplateRequest) Updates details about a specific task template in the specified Amazon Connect instance. This operation does not support partial updates. Instead it does a full update of template content.
This is a convenience which creates an instance of the
UpdateTaskTemplateRequest.Builderavoiding the need to create one manually viaUpdateTaskTemplateRequest.builder()- Parameters:
updateTaskTemplateRequest- AConsumerthat will call methods onUpdateTaskTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTaskTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- PropertyValidationException The property is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- ServiceQuotaExceededException The service quota has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTrafficDistribution
default CompletableFuture<UpdateTrafficDistributionResponse> updateTrafficDistribution(UpdateTrafficDistributionRequest updateTrafficDistributionRequest) Updates the traffic distribution for a given traffic distribution group.
The
SignInConfigdistribution is available only on a defaultTrafficDistributionGroup(see theIsDefaultparameter in the TrafficDistributionGroup data type). If you callUpdateTrafficDistributionwith a modifiedSignInConfigand a non-defaultTrafficDistributionGroup, anInvalidRequestExceptionis returned.For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
- Parameters:
updateTrafficDistributionRequest-- Returns:
- A Java Future containing the result of the UpdateTrafficDistribution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTrafficDistribution
default CompletableFuture<UpdateTrafficDistributionResponse> updateTrafficDistribution(Consumer<UpdateTrafficDistributionRequest.Builder> updateTrafficDistributionRequest) Updates the traffic distribution for a given traffic distribution group.
The
SignInConfigdistribution is available only on a defaultTrafficDistributionGroup(see theIsDefaultparameter in the TrafficDistributionGroup data type). If you callUpdateTrafficDistributionwith a modifiedSignInConfigand a non-defaultTrafficDistributionGroup, anInvalidRequestExceptionis returned.For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
This is a convenience which creates an instance of the
UpdateTrafficDistributionRequest.Builderavoiding the need to create one manually viaUpdateTrafficDistributionRequest.builder()- Parameters:
updateTrafficDistributionRequest- AConsumerthat will call methods onUpdateTrafficDistributionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTrafficDistribution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- ResourceNotFoundException The specified resource was not found.
- ResourceConflictException A resource already has that name.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserHierarchy
default CompletableFuture<UpdateUserHierarchyResponse> updateUserHierarchy(UpdateUserHierarchyRequest updateUserHierarchyRequest) Assigns the specified hierarchy group to the specified user.
- Parameters:
updateUserHierarchyRequest-- Returns:
- A Java Future containing the result of the UpdateUserHierarchy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserHierarchy
default CompletableFuture<UpdateUserHierarchyResponse> updateUserHierarchy(Consumer<UpdateUserHierarchyRequest.Builder> updateUserHierarchyRequest) Assigns the specified hierarchy group to the specified user.
This is a convenience which creates an instance of the
UpdateUserHierarchyRequest.Builderavoiding the need to create one manually viaUpdateUserHierarchyRequest.builder()- Parameters:
updateUserHierarchyRequest- AConsumerthat will call methods onUpdateUserHierarchyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserHierarchy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserHierarchyGroupName
default CompletableFuture<UpdateUserHierarchyGroupNameResponse> updateUserHierarchyGroupName(UpdateUserHierarchyGroupNameRequest updateUserHierarchyGroupNameRequest) Updates the name of the user hierarchy group.
- Parameters:
updateUserHierarchyGroupNameRequest-- Returns:
- A Java Future containing the result of the UpdateUserHierarchyGroupName operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserHierarchyGroupName
default CompletableFuture<UpdateUserHierarchyGroupNameResponse> updateUserHierarchyGroupName(Consumer<UpdateUserHierarchyGroupNameRequest.Builder> updateUserHierarchyGroupNameRequest) Updates the name of the user hierarchy group.
This is a convenience which creates an instance of the
UpdateUserHierarchyGroupNameRequest.Builderavoiding the need to create one manually viaUpdateUserHierarchyGroupNameRequest.builder()- Parameters:
updateUserHierarchyGroupNameRequest- AConsumerthat will call methods onUpdateUserHierarchyGroupNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserHierarchyGroupName operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserHierarchyStructure
default CompletableFuture<UpdateUserHierarchyStructureResponse> updateUserHierarchyStructure(UpdateUserHierarchyStructureRequest updateUserHierarchyStructureRequest) Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.
- Parameters:
updateUserHierarchyStructureRequest-- Returns:
- A Java Future containing the result of the UpdateUserHierarchyStructure operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserHierarchyStructure
default CompletableFuture<UpdateUserHierarchyStructureResponse> updateUserHierarchyStructure(Consumer<UpdateUserHierarchyStructureRequest.Builder> updateUserHierarchyStructureRequest) Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.
This is a convenience which creates an instance of the
UpdateUserHierarchyStructureRequest.Builderavoiding the need to create one manually viaUpdateUserHierarchyStructureRequest.builder()- Parameters:
updateUserHierarchyStructureRequest- AConsumerthat will call methods onUpdateUserHierarchyStructureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserHierarchyStructure operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ResourceInUseException That resource is already in use. Please try another.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserIdentityInfo
default CompletableFuture<UpdateUserIdentityInfoResponse> updateUserIdentityInfo(UpdateUserIdentityInfoRequest updateUserIdentityInfoRequest) Updates the identity information for the specified user.
We strongly recommend limiting who has the ability to invoke
UpdateUserIdentityInfo. Someone with that ability can change the login credentials of other users by changing their email address. This poses a security risk to your organization. They can change the email address of a user to the attacker's email address, and then reset the password through email. For more information, see Best Practices for Security Profiles in the Amazon Connect Administrator Guide.- Parameters:
updateUserIdentityInfoRequest-- Returns:
- A Java Future containing the result of the UpdateUserIdentityInfo operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserIdentityInfo
default CompletableFuture<UpdateUserIdentityInfoResponse> updateUserIdentityInfo(Consumer<UpdateUserIdentityInfoRequest.Builder> updateUserIdentityInfoRequest) Updates the identity information for the specified user.
We strongly recommend limiting who has the ability to invoke
UpdateUserIdentityInfo. Someone with that ability can change the login credentials of other users by changing their email address. This poses a security risk to your organization. They can change the email address of a user to the attacker's email address, and then reset the password through email. For more information, see Best Practices for Security Profiles in the Amazon Connect Administrator Guide.
This is a convenience which creates an instance of the
UpdateUserIdentityInfoRequest.Builderavoiding the need to create one manually viaUpdateUserIdentityInfoRequest.builder()- Parameters:
updateUserIdentityInfoRequest- AConsumerthat will call methods onUpdateUserIdentityInfoRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserIdentityInfo operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserPhoneConfig
default CompletableFuture<UpdateUserPhoneConfigResponse> updateUserPhoneConfig(UpdateUserPhoneConfigRequest updateUserPhoneConfigRequest) Updates the phone configuration settings for the specified user.
- Parameters:
updateUserPhoneConfigRequest-- Returns:
- A Java Future containing the result of the UpdateUserPhoneConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserPhoneConfig
default CompletableFuture<UpdateUserPhoneConfigResponse> updateUserPhoneConfig(Consumer<UpdateUserPhoneConfigRequest.Builder> updateUserPhoneConfigRequest) Updates the phone configuration settings for the specified user.
This is a convenience which creates an instance of the
UpdateUserPhoneConfigRequest.Builderavoiding the need to create one manually viaUpdateUserPhoneConfigRequest.builder()- Parameters:
updateUserPhoneConfigRequest- AConsumerthat will call methods onUpdateUserPhoneConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserPhoneConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserProficiencies
default CompletableFuture<UpdateUserProficienciesResponse> updateUserProficiencies(UpdateUserProficienciesRequest updateUserProficienciesRequest) Updates the properties associated with the proficiencies of a user.
- Parameters:
updateUserProficienciesRequest-- Returns:
- A Java Future containing the result of the UpdateUserProficiencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserProficiencies
default CompletableFuture<UpdateUserProficienciesResponse> updateUserProficiencies(Consumer<UpdateUserProficienciesRequest.Builder> updateUserProficienciesRequest) Updates the properties associated with the proficiencies of a user.
This is a convenience which creates an instance of the
UpdateUserProficienciesRequest.Builderavoiding the need to create one manually viaUpdateUserProficienciesRequest.builder()- Parameters:
updateUserProficienciesRequest- AConsumerthat will call methods onUpdateUserProficienciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserProficiencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserRoutingProfile
default CompletableFuture<UpdateUserRoutingProfileResponse> updateUserRoutingProfile(UpdateUserRoutingProfileRequest updateUserRoutingProfileRequest) Assigns the specified routing profile to the specified user.
- Parameters:
updateUserRoutingProfileRequest-- Returns:
- A Java Future containing the result of the UpdateUserRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserRoutingProfile
default CompletableFuture<UpdateUserRoutingProfileResponse> updateUserRoutingProfile(Consumer<UpdateUserRoutingProfileRequest.Builder> updateUserRoutingProfileRequest) Assigns the specified routing profile to the specified user.
This is a convenience which creates an instance of the
UpdateUserRoutingProfileRequest.Builderavoiding the need to create one manually viaUpdateUserRoutingProfileRequest.builder()- Parameters:
updateUserRoutingProfileRequest- AConsumerthat will call methods onUpdateUserRoutingProfileRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserRoutingProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserSecurityProfiles
default CompletableFuture<UpdateUserSecurityProfilesResponse> updateUserSecurityProfiles(UpdateUserSecurityProfilesRequest updateUserSecurityProfilesRequest) Assigns the specified security profiles to the specified user.
- Parameters:
updateUserSecurityProfilesRequest-- Returns:
- A Java Future containing the result of the UpdateUserSecurityProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserSecurityProfiles
default CompletableFuture<UpdateUserSecurityProfilesResponse> updateUserSecurityProfiles(Consumer<UpdateUserSecurityProfilesRequest.Builder> updateUserSecurityProfilesRequest) Assigns the specified security profiles to the specified user.
This is a convenience which creates an instance of the
UpdateUserSecurityProfilesRequest.Builderavoiding the need to create one manually viaUpdateUserSecurityProfilesRequest.builder()- Parameters:
updateUserSecurityProfilesRequest- AConsumerthat will call methods onUpdateUserSecurityProfilesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserSecurityProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- ThrottlingException The throttling limit has been exceeded.
- InternalServiceException Request processing failed because of an error or failure with the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateViewContent
default CompletableFuture<UpdateViewContentResponse> updateViewContent(UpdateViewContentRequest updateViewContentRequest) Updates the view content of the given view identifier in the specified Amazon Connect instance.
It performs content validation if
Statusis set toSAVEDand performs full content validation ifStatusisPUBLISHED. Note that theinvalid input: '$'SAVEDalias' content will always be updated, but theinvalid input: '$'LATESTalias' content will only be updated ifStatusisPUBLISHED.- Parameters:
updateViewContentRequest-- Returns:
- A Java Future containing the result of the UpdateViewContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateViewContent
default CompletableFuture<UpdateViewContentResponse> updateViewContent(Consumer<UpdateViewContentRequest.Builder> updateViewContentRequest) Updates the view content of the given view identifier in the specified Amazon Connect instance.
It performs content validation if
Statusis set toSAVEDand performs full content validation ifStatusisPUBLISHED. Note that theinvalid input: '$'SAVEDalias' content will always be updated, but theinvalid input: '$'LATESTalias' content will only be updated ifStatusisPUBLISHED.
This is a convenience which creates an instance of the
UpdateViewContentRequest.Builderavoiding the need to create one manually viaUpdateViewContentRequest.builder()- Parameters:
updateViewContentRequest- AConsumerthat will call methods onUpdateViewContentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateViewContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateViewMetadata
default CompletableFuture<UpdateViewMetadataResponse> updateViewMetadata(UpdateViewMetadataRequest updateViewMetadataRequest) Updates the view metadata. Note that either
NameorDescriptionmust be provided.- Parameters:
updateViewMetadataRequest-- Returns:
- A Java Future containing the result of the UpdateViewMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateViewMetadata
default CompletableFuture<UpdateViewMetadataResponse> updateViewMetadata(Consumer<UpdateViewMetadataRequest.Builder> updateViewMetadataRequest) Updates the view metadata. Note that either
NameorDescriptionmust be provided.
This is a convenience which creates an instance of the
UpdateViewMetadataRequest.Builderavoiding the need to create one manually viaUpdateViewMetadataRequest.builder()- Parameters:
updateViewMetadataRequest- AConsumerthat will call methods onUpdateViewMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateViewMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException You do not have sufficient permissions to perform this action.
- InvalidRequestException The request is not valid.
- InvalidParameterException One or more of the specified parameters are not valid.
- ResourceNotFoundException The specified resource was not found.
- InternalServiceException Request processing failed because of an error or failure with the service.
- TooManyRequestsException Displayed when rate-related API limits are exceeded.
- DuplicateResourceException A resource with the specified name already exists.
- ResourceInUseException That resource is already in use. Please try another.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aConnectAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aConnectAsyncClient.
-