Interface ChatbotAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ChatbotAsyncClient extends AwsClient
Service client for accessing AWS Chatbot asynchronously. This can be created using the staticbuilder()method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClientsupported 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.The AWS Chatbot API Reference provides descriptions, API request parameters, and the XML response for each of the AWS Chatbot API actions.
AWS Chatbot APIs are currently available in the following Regions:
-
US East (Ohio) -
us-east-2 -
US West (Oregon) -
us-west-2 -
Asia Pacific (Singapore) -
ap-southeast-1 -
Europe (Ireland) -
eu-west-1
The AWS Chatbot console can only be used in US East (Ohio). Your configuration data however, is stored in each of the relevant available Regions.
Your AWS CloudTrail events are logged in whatever Region you call from, not US East (N. Virginia) by default.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateToConfiguration
default CompletableFuture<AssociateToConfigurationResponse> associateToConfiguration(AssociateToConfigurationRequest associateToConfigurationRequest)
Links a resource (for example, a custom action) to a channel configuration.
- Parameters:
associateToConfigurationRequest-- Returns:
- A Java Future containing the result of the AssociateToConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
associateToConfiguration
default CompletableFuture<AssociateToConfigurationResponse> associateToConfiguration(Consumer<AssociateToConfigurationRequest.Builder> associateToConfigurationRequest)
Links a resource (for example, a custom action) to a channel configuration.
This is a convenience which creates an instance of the
AssociateToConfigurationRequest.Builderavoiding the need to create one manually viaAssociateToConfigurationRequest.builder()- Parameters:
associateToConfigurationRequest- AConsumerthat will call methods onAssociateToConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateToConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(CreateChimeWebhookConfigurationRequest createChimeWebhookConfigurationRequest)
Creates an AWS Chatbot configuration for Amazon Chime.
- Parameters:
createChimeWebhookConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(Consumer<CreateChimeWebhookConfigurationRequest.Builder> createChimeWebhookConfigurationRequest)
Creates an AWS Chatbot configuration for Amazon Chime.
This is a convenience which creates an instance of the
CreateChimeWebhookConfigurationRequest.Builderavoiding the need to create one manually viaCreateChimeWebhookConfigurationRequest.builder()- Parameters:
createChimeWebhookConfigurationRequest- AConsumerthat will call methods onCreateChimeWebhookConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCustomAction
default CompletableFuture<CreateCustomActionResponse> createCustomAction(CreateCustomActionRequest createCustomActionRequest)
Creates a custom action that can be invoked as an alias or as a button on a notification.
- Parameters:
createCustomActionRequest-- Returns:
- A Java Future containing the result of the CreateCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- ConflictException There was an issue processing your request.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCustomAction
default CompletableFuture<CreateCustomActionResponse> createCustomAction(Consumer<CreateCustomActionRequest.Builder> createCustomActionRequest)
Creates a custom action that can be invoked as an alias or as a button on a notification.
This is a convenience which creates an instance of the
CreateCustomActionRequest.Builderavoiding the need to create one manually viaCreateCustomActionRequest.builder()- Parameters:
createCustomActionRequest- AConsumerthat will call methods onCreateCustomActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- ConflictException There was an issue processing your request.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(CreateMicrosoftTeamsChannelConfigurationRequest createMicrosoftTeamsChannelConfigurationRequest)
Creates an AWS Chatbot configuration for Microsoft Teams.
- Parameters:
createMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(Consumer<CreateMicrosoftTeamsChannelConfigurationRequest.Builder> createMicrosoftTeamsChannelConfigurationRequest)
Creates an AWS Chatbot configuration for Microsoft Teams.
This is a convenience which creates an instance of the
CreateMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaCreateMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
createMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onCreateMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest createSlackChannelConfigurationRequest)
Creates an AWS Chatbot confugration for Slack.
- Parameters:
createSlackChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(Consumer<CreateSlackChannelConfigurationRequest.Builder> createSlackChannelConfigurationRequest)
Creates an AWS Chatbot confugration for Slack.
This is a convenience which creates an instance of the
CreateSlackChannelConfigurationRequest.Builderavoiding the need to create one manually viaCreateSlackChannelConfigurationRequest.builder()- Parameters:
createSlackChannelConfigurationRequest- AConsumerthat will call methods onCreateSlackChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteChimeWebhookConfiguration
default CompletableFuture<DeleteChimeWebhookConfigurationResponse> deleteChimeWebhookConfiguration(DeleteChimeWebhookConfigurationRequest deleteChimeWebhookConfigurationRequest)
Deletes a Amazon Chime webhook configuration for AWS Chatbot.
- Parameters:
deleteChimeWebhookConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteChimeWebhookConfiguration
default CompletableFuture<DeleteChimeWebhookConfigurationResponse> deleteChimeWebhookConfiguration(Consumer<DeleteChimeWebhookConfigurationRequest.Builder> deleteChimeWebhookConfigurationRequest)
Deletes a Amazon Chime webhook configuration for AWS Chatbot.
This is a convenience which creates an instance of the
DeleteChimeWebhookConfigurationRequest.Builderavoiding the need to create one manually viaDeleteChimeWebhookConfigurationRequest.builder()- Parameters:
deleteChimeWebhookConfigurationRequest- AConsumerthat will call methods onDeleteChimeWebhookConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteCustomAction
default CompletableFuture<DeleteCustomActionResponse> deleteCustomAction(DeleteCustomActionRequest deleteCustomActionRequest)
Deletes a custom action.
- Parameters:
deleteCustomActionRequest-- Returns:
- A Java Future containing the result of the DeleteCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteCustomAction
default CompletableFuture<DeleteCustomActionResponse> deleteCustomAction(Consumer<DeleteCustomActionRequest.Builder> deleteCustomActionRequest)
Deletes a custom action.
This is a convenience which creates an instance of the
DeleteCustomActionRequest.Builderavoiding the need to create one manually viaDeleteCustomActionRequest.builder()- Parameters:
deleteCustomActionRequest- AConsumerthat will call methods onDeleteCustomActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteMicrosoftTeamsChannelConfiguration
default CompletableFuture<DeleteMicrosoftTeamsChannelConfigurationResponse> deleteMicrosoftTeamsChannelConfiguration(DeleteMicrosoftTeamsChannelConfigurationRequest deleteMicrosoftTeamsChannelConfigurationRequest)
Deletes a Microsoft Teams channel configuration for AWS Chatbot
- Parameters:
deleteMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteMicrosoftTeamsChannelConfiguration
default CompletableFuture<DeleteMicrosoftTeamsChannelConfigurationResponse> deleteMicrosoftTeamsChannelConfiguration(Consumer<DeleteMicrosoftTeamsChannelConfigurationRequest.Builder> deleteMicrosoftTeamsChannelConfigurationRequest)
Deletes a Microsoft Teams channel configuration for AWS Chatbot
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaDeleteMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
deleteMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onDeleteMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteMicrosoftTeamsConfiguredTeam
default CompletableFuture<DeleteMicrosoftTeamsConfiguredTeamResponse> deleteMicrosoftTeamsConfiguredTeam(DeleteMicrosoftTeamsConfiguredTeamRequest deleteMicrosoftTeamsConfiguredTeamRequest)
Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
- Parameters:
deleteMicrosoftTeamsConfiguredTeamRequest-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsConfiguredTeam operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteTeamsConfiguredTeamException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteMicrosoftTeamsConfiguredTeam
default CompletableFuture<DeleteMicrosoftTeamsConfiguredTeamResponse> deleteMicrosoftTeamsConfiguredTeam(Consumer<DeleteMicrosoftTeamsConfiguredTeamRequest.Builder> deleteMicrosoftTeamsConfiguredTeamRequest)
Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsConfiguredTeamRequest.Builderavoiding the need to create one manually viaDeleteMicrosoftTeamsConfiguredTeamRequest.builder()- Parameters:
deleteMicrosoftTeamsConfiguredTeamRequest- AConsumerthat will call methods onDeleteMicrosoftTeamsConfiguredTeamRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsConfiguredTeam operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteTeamsConfiguredTeamException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteMicrosoftTeamsUserIdentity
default CompletableFuture<DeleteMicrosoftTeamsUserIdentityResponse> deleteMicrosoftTeamsUserIdentity(DeleteMicrosoftTeamsUserIdentityRequest deleteMicrosoftTeamsUserIdentityRequest)
Identifes a user level permission for a channel configuration.
- Parameters:
deleteMicrosoftTeamsUserIdentityRequest-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsUserIdentity operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteMicrosoftTeamsUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteMicrosoftTeamsUserIdentity
default CompletableFuture<DeleteMicrosoftTeamsUserIdentityResponse> deleteMicrosoftTeamsUserIdentity(Consumer<DeleteMicrosoftTeamsUserIdentityRequest.Builder> deleteMicrosoftTeamsUserIdentityRequest)
Identifes a user level permission for a channel configuration.
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsUserIdentityRequest.Builderavoiding the need to create one manually viaDeleteMicrosoftTeamsUserIdentityRequest.builder()- Parameters:
deleteMicrosoftTeamsUserIdentityRequest- AConsumerthat will call methods onDeleteMicrosoftTeamsUserIdentityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsUserIdentity operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteMicrosoftTeamsUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSlackChannelConfiguration
default CompletableFuture<DeleteSlackChannelConfigurationResponse> deleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest deleteSlackChannelConfigurationRequest)
Deletes a Slack channel configuration for AWS Chatbot
- Parameters:
deleteSlackChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSlackChannelConfiguration
default CompletableFuture<DeleteSlackChannelConfigurationResponse> deleteSlackChannelConfiguration(Consumer<DeleteSlackChannelConfigurationRequest.Builder> deleteSlackChannelConfigurationRequest)
Deletes a Slack channel configuration for AWS Chatbot
This is a convenience which creates an instance of the
DeleteSlackChannelConfigurationRequest.Builderavoiding the need to create one manually viaDeleteSlackChannelConfigurationRequest.builder()- Parameters:
deleteSlackChannelConfigurationRequest- AConsumerthat will call methods onDeleteSlackChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(DeleteSlackUserIdentityRequest deleteSlackUserIdentityRequest)
Deletes a user level permission for a Slack channel configuration.
- Parameters:
deleteSlackUserIdentityRequest-- Returns:
- A Java Future containing the result of the DeleteSlackUserIdentity operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(Consumer<DeleteSlackUserIdentityRequest.Builder> deleteSlackUserIdentityRequest)
Deletes a user level permission for a Slack channel configuration.
This is a convenience which creates an instance of the
DeleteSlackUserIdentityRequest.Builderavoiding the need to create one manually viaDeleteSlackUserIdentityRequest.builder()- Parameters:
deleteSlackUserIdentityRequest- AConsumerthat will call methods onDeleteSlackUserIdentityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSlackUserIdentity operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSlackWorkspaceAuthorization
default CompletableFuture<DeleteSlackWorkspaceAuthorizationResponse> deleteSlackWorkspaceAuthorization(DeleteSlackWorkspaceAuthorizationRequest deleteSlackWorkspaceAuthorizationRequest)
Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
- Parameters:
deleteSlackWorkspaceAuthorizationRequest-- Returns:
- A Java Future containing the result of the DeleteSlackWorkspaceAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackWorkspaceAuthorizationException There was an issue deleting your Slack workspace.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSlackWorkspaceAuthorization
default CompletableFuture<DeleteSlackWorkspaceAuthorizationResponse> deleteSlackWorkspaceAuthorization(Consumer<DeleteSlackWorkspaceAuthorizationRequest.Builder> deleteSlackWorkspaceAuthorizationRequest)
Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
This is a convenience which creates an instance of the
DeleteSlackWorkspaceAuthorizationRequest.Builderavoiding the need to create one manually viaDeleteSlackWorkspaceAuthorizationRequest.builder()- Parameters:
deleteSlackWorkspaceAuthorizationRequest- AConsumerthat will call methods onDeleteSlackWorkspaceAuthorizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSlackWorkspaceAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackWorkspaceAuthorizationException There was an issue deleting your Slack workspace.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeChimeWebhookConfigurations
default CompletableFuture<DescribeChimeWebhookConfigurationsResponse> describeChimeWebhookConfigurations(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest)
Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
- Parameters:
describeChimeWebhookConfigurationsRequest-- Returns:
- A Java Future containing the result of the DescribeChimeWebhookConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeChimeWebhookConfigurations
default CompletableFuture<DescribeChimeWebhookConfigurationsResponse> describeChimeWebhookConfigurations(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest)
Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
This is a convenience which creates an instance of the
DescribeChimeWebhookConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeChimeWebhookConfigurationsRequest.builder()- Parameters:
describeChimeWebhookConfigurationsRequest- AConsumerthat will call methods onDescribeChimeWebhookConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeChimeWebhookConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeChimeWebhookConfigurationsPaginator
default DescribeChimeWebhookConfigurationsPublisher describeChimeWebhookConfigurationsPaginator(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest)
This is a variant of
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(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.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse 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
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation.- Parameters:
describeChimeWebhookConfigurationsRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeChimeWebhookConfigurationsPaginator
default DescribeChimeWebhookConfigurationsPublisher describeChimeWebhookConfigurationsPaginator(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest)
This is a variant of
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(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.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse 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
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation.
This is a convenience which creates an instance of the
DescribeChimeWebhookConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeChimeWebhookConfigurationsRequest.builder()- Parameters:
describeChimeWebhookConfigurationsRequest- AConsumerthat will call methods onDescribeChimeWebhookConfigurationsRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackChannelConfigurations
default CompletableFuture<DescribeSlackChannelConfigurationsResponse> describeSlackChannelConfigurations(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest)
Lists Slack channel configurations optionally filtered by ChatConfigurationArn
- Parameters:
describeSlackChannelConfigurationsRequest-- Returns:
- A Java Future containing the result of the DescribeSlackChannelConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackChannelConfigurations
default CompletableFuture<DescribeSlackChannelConfigurationsResponse> describeSlackChannelConfigurations(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest)
Lists Slack channel configurations optionally filtered by ChatConfigurationArn
This is a convenience which creates an instance of the
DescribeSlackChannelConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeSlackChannelConfigurationsRequest.builder()- Parameters:
describeSlackChannelConfigurationsRequest- AConsumerthat will call methods onDescribeSlackChannelConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSlackChannelConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackChannelConfigurationsPaginator
default DescribeSlackChannelConfigurationsPublisher describeSlackChannelConfigurationsPaginator(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest)
This is a variant of
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(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.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse 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
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation.- Parameters:
describeSlackChannelConfigurationsRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackChannelConfigurationsPaginator
default DescribeSlackChannelConfigurationsPublisher describeSlackChannelConfigurationsPaginator(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest)
This is a variant of
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(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.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse 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
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation.
This is a convenience which creates an instance of the
DescribeSlackChannelConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeSlackChannelConfigurationsRequest.builder()- Parameters:
describeSlackChannelConfigurationsRequest- AConsumerthat will call methods onDescribeSlackChannelConfigurationsRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackUserIdentities
default CompletableFuture<DescribeSlackUserIdentitiesResponse> describeSlackUserIdentities(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest)
Lists all Slack user identities with a mapped role.
- Parameters:
describeSlackUserIdentitiesRequest-- Returns:
- A Java Future containing the result of the DescribeSlackUserIdentities operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackUserIdentities
default CompletableFuture<DescribeSlackUserIdentitiesResponse> describeSlackUserIdentities(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest)
Lists all Slack user identities with a mapped role.
This is a convenience which creates an instance of the
DescribeSlackUserIdentitiesRequest.Builderavoiding the need to create one manually viaDescribeSlackUserIdentitiesRequest.builder()- Parameters:
describeSlackUserIdentitiesRequest- AConsumerthat will call methods onDescribeSlackUserIdentitiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSlackUserIdentities operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackUserIdentitiesPaginator
default DescribeSlackUserIdentitiesPublisher describeSlackUserIdentitiesPaginator(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest)
This is a variant of
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(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.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse 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
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation.- Parameters:
describeSlackUserIdentitiesRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackUserIdentitiesPaginator
default DescribeSlackUserIdentitiesPublisher describeSlackUserIdentitiesPaginator(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest)
This is a variant of
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(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.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse 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
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation.
This is a convenience which creates an instance of the
DescribeSlackUserIdentitiesRequest.Builderavoiding the need to create one manually viaDescribeSlackUserIdentitiesRequest.builder()- Parameters:
describeSlackUserIdentitiesRequest- AConsumerthat will call methods onDescribeSlackUserIdentitiesRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackWorkspaces
default CompletableFuture<DescribeSlackWorkspacesResponse> describeSlackWorkspaces(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest)
List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
- Parameters:
describeSlackWorkspacesRequest-- Returns:
- A Java Future containing the result of the DescribeSlackWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackWorkspaces
default CompletableFuture<DescribeSlackWorkspacesResponse> describeSlackWorkspaces(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest)
List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
This is a convenience which creates an instance of the
DescribeSlackWorkspacesRequest.Builderavoiding the need to create one manually viaDescribeSlackWorkspacesRequest.builder()- Parameters:
describeSlackWorkspacesRequest- AConsumerthat will call methods onDescribeSlackWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSlackWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackWorkspacesPaginator
default DescribeSlackWorkspacesPublisher describeSlackWorkspacesPaginator(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest)
This is a variant of
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(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.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse 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
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.- Parameters:
describeSlackWorkspacesRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeSlackWorkspacesPaginator
default DescribeSlackWorkspacesPublisher describeSlackWorkspacesPaginator(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest)
This is a variant of
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(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.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse 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
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.
This is a convenience which creates an instance of the
DescribeSlackWorkspacesRequest.Builderavoiding the need to create one manually viaDescribeSlackWorkspacesRequest.builder()- Parameters:
describeSlackWorkspacesRequest- AConsumerthat will call methods onDescribeSlackWorkspacesRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disassociateFromConfiguration
default CompletableFuture<DisassociateFromConfigurationResponse> disassociateFromConfiguration(DisassociateFromConfigurationRequest disassociateFromConfigurationRequest)
Unlink a resource, for example a custom action, from a channel configuration.
- Parameters:
disassociateFromConfigurationRequest-- Returns:
- A Java Future containing the result of the DisassociateFromConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disassociateFromConfiguration
default CompletableFuture<DisassociateFromConfigurationResponse> disassociateFromConfiguration(Consumer<DisassociateFromConfigurationRequest.Builder> disassociateFromConfigurationRequest)
Unlink a resource, for example a custom action, from a channel configuration.
This is a convenience which creates an instance of the
DisassociateFromConfigurationRequest.Builderavoiding the need to create one manually viaDisassociateFromConfigurationRequest.builder()- Parameters:
disassociateFromConfigurationRequest- AConsumerthat will call methods onDisassociateFromConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateFromConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAccountPreferences
default CompletableFuture<GetAccountPreferencesResponse> getAccountPreferences(GetAccountPreferencesRequest getAccountPreferencesRequest)
Returns AWS Chatbot account preferences.
- Parameters:
getAccountPreferencesRequest-- Returns:
- A Java Future containing the result of the GetAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAccountPreferences
default CompletableFuture<GetAccountPreferencesResponse> getAccountPreferences(Consumer<GetAccountPreferencesRequest.Builder> getAccountPreferencesRequest)
Returns AWS Chatbot account preferences.
This is a convenience which creates an instance of the
GetAccountPreferencesRequest.Builderavoiding the need to create one manually viaGetAccountPreferencesRequest.builder()- Parameters:
getAccountPreferencesRequest- AConsumerthat will call methods onGetAccountPreferencesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCustomAction
default CompletableFuture<GetCustomActionResponse> getCustomAction(GetCustomActionRequest getCustomActionRequest)
Returns a custom action.
- Parameters:
getCustomActionRequest-- Returns:
- A Java Future containing the result of the GetCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCustomAction
default CompletableFuture<GetCustomActionResponse> getCustomAction(Consumer<GetCustomActionRequest.Builder> getCustomActionRequest)
Returns a custom action.
This is a convenience which creates an instance of the
GetCustomActionRequest.Builderavoiding the need to create one manually viaGetCustomActionRequest.builder()- Parameters:
getCustomActionRequest- AConsumerthat will call methods onGetCustomActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMicrosoftTeamsChannelConfiguration
default CompletableFuture<GetMicrosoftTeamsChannelConfigurationResponse> getMicrosoftTeamsChannelConfiguration(GetMicrosoftTeamsChannelConfigurationRequest getMicrosoftTeamsChannelConfigurationRequest)
Returns a Microsoft Teams channel configuration in an AWS account.
- Parameters:
getMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the GetMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMicrosoftTeamsChannelConfiguration
default CompletableFuture<GetMicrosoftTeamsChannelConfigurationResponse> getMicrosoftTeamsChannelConfiguration(Consumer<GetMicrosoftTeamsChannelConfigurationRequest.Builder> getMicrosoftTeamsChannelConfigurationRequest)
Returns a Microsoft Teams channel configuration in an AWS account.
This is a convenience which creates an instance of the
GetMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaGetMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
getMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onGetMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAssociations
default CompletableFuture<ListAssociationsResponse> listAssociations(ListAssociationsRequest listAssociationsRequest)
Lists resources associated with a channel configuration.
- Parameters:
listAssociationsRequest-- Returns:
- A Java Future containing the result of the ListAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAssociations
default CompletableFuture<ListAssociationsResponse> listAssociations(Consumer<ListAssociationsRequest.Builder> listAssociationsRequest)
Lists resources associated with a channel configuration.
This is a convenience which creates an instance of the
ListAssociationsRequest.Builderavoiding the need to create one manually viaListAssociationsRequest.builder()- Parameters:
listAssociationsRequest- AConsumerthat will call methods onListAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAssociationsPaginator
default ListAssociationsPublisher listAssociationsPaginator(ListAssociationsRequest listAssociationsRequest)
This is a variant of
listAssociations(software.amazon.awssdk.services.chatbot.model.ListAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(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.chatbot.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListAssociationsResponse 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
listAssociations(software.amazon.awssdk.services.chatbot.model.ListAssociationsRequest)operation.- Parameters:
listAssociationsRequest-- 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAssociationsPaginator
default ListAssociationsPublisher listAssociationsPaginator(Consumer<ListAssociationsRequest.Builder> listAssociationsRequest)
This is a variant of
listAssociations(software.amazon.awssdk.services.chatbot.model.ListAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(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.chatbot.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListAssociationsResponse 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
listAssociations(software.amazon.awssdk.services.chatbot.model.ListAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListAssociationsRequest.Builderavoiding the need to create one manually viaListAssociationsRequest.builder()- Parameters:
listAssociationsRequest- AConsumerthat will call methods onListAssociationsRequest.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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomActions
default CompletableFuture<ListCustomActionsResponse> listCustomActions(ListCustomActionsRequest listCustomActionsRequest)
Lists custom actions defined in this account.
- Parameters:
listCustomActionsRequest-- Returns:
- A Java Future containing the result of the ListCustomActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomActions
default CompletableFuture<ListCustomActionsResponse> listCustomActions(Consumer<ListCustomActionsRequest.Builder> listCustomActionsRequest)
Lists custom actions defined in this account.
This is a convenience which creates an instance of the
ListCustomActionsRequest.Builderavoiding the need to create one manually viaListCustomActionsRequest.builder()- Parameters:
listCustomActionsRequest- AConsumerthat will call methods onListCustomActionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCustomActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomActionsPaginator
default ListCustomActionsPublisher listCustomActionsPaginator(ListCustomActionsRequest listCustomActionsRequest)
This is a variant of
listCustomActions(software.amazon.awssdk.services.chatbot.model.ListCustomActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListCustomActionsPublisher publisher = client.listCustomActionsPaginator(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.chatbot.paginators.ListCustomActionsPublisher publisher = client.listCustomActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListCustomActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListCustomActionsResponse 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
listCustomActions(software.amazon.awssdk.services.chatbot.model.ListCustomActionsRequest)operation.- Parameters:
listCustomActionsRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomActionsPaginator
default ListCustomActionsPublisher listCustomActionsPaginator(Consumer<ListCustomActionsRequest.Builder> listCustomActionsRequest)
This is a variant of
listCustomActions(software.amazon.awssdk.services.chatbot.model.ListCustomActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListCustomActionsPublisher publisher = client.listCustomActionsPaginator(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.chatbot.paginators.ListCustomActionsPublisher publisher = client.listCustomActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListCustomActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListCustomActionsResponse 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
listCustomActions(software.amazon.awssdk.services.chatbot.model.ListCustomActionsRequest)operation.
This is a convenience which creates an instance of the
ListCustomActionsRequest.Builderavoiding the need to create one manually viaListCustomActionsRequest.builder()- Parameters:
listCustomActionsRequest- AConsumerthat will call methods onListCustomActionsRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsChannelConfigurations
default CompletableFuture<ListMicrosoftTeamsChannelConfigurationsResponse> listMicrosoftTeamsChannelConfigurations(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest)
Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsChannelConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsChannelConfigurations
default CompletableFuture<ListMicrosoftTeamsChannelConfigurationsResponse> listMicrosoftTeamsChannelConfigurations(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest)
Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
This is a convenience which creates an instance of the
ListMicrosoftTeamsChannelConfigurationsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsChannelConfigurationsRequest.builder()- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest- AConsumerthat will call methods onListMicrosoftTeamsChannelConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsChannelConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsChannelConfigurationsPaginator
default ListMicrosoftTeamsChannelConfigurationsPublisher listMicrosoftTeamsChannelConfigurationsPaginator(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest)
This is a variant of
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(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.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse 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
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation.- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsChannelConfigurationsPaginator
default ListMicrosoftTeamsChannelConfigurationsPublisher listMicrosoftTeamsChannelConfigurationsPaginator(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest)
This is a variant of
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(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.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse 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
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListMicrosoftTeamsChannelConfigurationsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsChannelConfigurationsRequest.builder()- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest- AConsumerthat will call methods onListMicrosoftTeamsChannelConfigurationsRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsConfiguredTeams
default CompletableFuture<ListMicrosoftTeamsConfiguredTeamsResponse> listMicrosoftTeamsConfiguredTeams(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest)
Lists all authorized Microsoft Teams for an AWS Account
- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsConfiguredTeams operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsConfiguredTeams
default CompletableFuture<ListMicrosoftTeamsConfiguredTeamsResponse> listMicrosoftTeamsConfiguredTeams(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest)
Lists all authorized Microsoft Teams for an AWS Account
This is a convenience which creates an instance of the
ListMicrosoftTeamsConfiguredTeamsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsConfiguredTeamsRequest.builder()- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest- AConsumerthat will call methods onListMicrosoftTeamsConfiguredTeamsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsConfiguredTeams operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsConfiguredTeamsPaginator
default ListMicrosoftTeamsConfiguredTeamsPublisher listMicrosoftTeamsConfiguredTeamsPaginator(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest)
This is a variant of
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(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.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse 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
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation.- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsConfiguredTeamsPaginator
default ListMicrosoftTeamsConfiguredTeamsPublisher listMicrosoftTeamsConfiguredTeamsPaginator(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest)
This is a variant of
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(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.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse 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
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation.
This is a convenience which creates an instance of the
ListMicrosoftTeamsConfiguredTeamsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsConfiguredTeamsRequest.builder()- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest- AConsumerthat will call methods onListMicrosoftTeamsConfiguredTeamsRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsUserIdentities
default CompletableFuture<ListMicrosoftTeamsUserIdentitiesResponse> listMicrosoftTeamsUserIdentities(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest)
A list all Microsoft Teams user identities with a mapped role.
- Parameters:
listMicrosoftTeamsUserIdentitiesRequest-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsUserIdentities operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsUserIdentities
default CompletableFuture<ListMicrosoftTeamsUserIdentitiesResponse> listMicrosoftTeamsUserIdentities(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest)
A list all Microsoft Teams user identities with a mapped role.
This is a convenience which creates an instance of the
ListMicrosoftTeamsUserIdentitiesRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsUserIdentitiesRequest.builder()- Parameters:
listMicrosoftTeamsUserIdentitiesRequest- AConsumerthat will call methods onListMicrosoftTeamsUserIdentitiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsUserIdentities operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsUserIdentitiesPaginator
default ListMicrosoftTeamsUserIdentitiesPublisher listMicrosoftTeamsUserIdentitiesPaginator(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest)
This is a variant of
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(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.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse 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
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation.- Parameters:
listMicrosoftTeamsUserIdentitiesRequest-- 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMicrosoftTeamsUserIdentitiesPaginator
default ListMicrosoftTeamsUserIdentitiesPublisher listMicrosoftTeamsUserIdentitiesPaginator(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest)
This is a variant of
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(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.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse 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
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation.
This is a convenience which creates an instance of the
ListMicrosoftTeamsUserIdentitiesRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsUserIdentitiesRequest.builder()- Parameters:
listMicrosoftTeamsUserIdentitiesRequest- AConsumerthat will call methods onListMicrosoftTeamsUserIdentitiesRequest.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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
- 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.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
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.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
- 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.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- TooManyTagsException The supplied list of tags contains too many 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.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
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.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- TooManyTagsException The supplied list of tags contains too many 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.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
- 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.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
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.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateAccountPreferences
default CompletableFuture<UpdateAccountPreferencesResponse> updateAccountPreferences(UpdateAccountPreferencesRequest updateAccountPreferencesRequest)
Updates AWS Chatbot account preferences.
- Parameters:
updateAccountPreferencesRequest-- Returns:
- A Java Future containing the result of the UpdateAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateAccountPreferences
default CompletableFuture<UpdateAccountPreferencesResponse> updateAccountPreferences(Consumer<UpdateAccountPreferencesRequest.Builder> updateAccountPreferencesRequest)
Updates AWS Chatbot account preferences.
This is a convenience which creates an instance of the
UpdateAccountPreferencesRequest.Builderavoiding the need to create one manually viaUpdateAccountPreferencesRequest.builder()- Parameters:
updateAccountPreferencesRequest- AConsumerthat will call methods onUpdateAccountPreferencesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateChimeWebhookConfiguration
default CompletableFuture<UpdateChimeWebhookConfigurationResponse> updateChimeWebhookConfiguration(UpdateChimeWebhookConfigurationRequest updateChimeWebhookConfigurationRequest)
Updates a Amazon Chime webhook configuration.
- Parameters:
updateChimeWebhookConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateChimeWebhookConfiguration
default CompletableFuture<UpdateChimeWebhookConfigurationResponse> updateChimeWebhookConfiguration(Consumer<UpdateChimeWebhookConfigurationRequest.Builder> updateChimeWebhookConfigurationRequest)
Updates a Amazon Chime webhook configuration.
This is a convenience which creates an instance of the
UpdateChimeWebhookConfigurationRequest.Builderavoiding the need to create one manually viaUpdateChimeWebhookConfigurationRequest.builder()- Parameters:
updateChimeWebhookConfigurationRequest- AConsumerthat will call methods onUpdateChimeWebhookConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCustomAction
default CompletableFuture<UpdateCustomActionResponse> updateCustomAction(UpdateCustomActionRequest updateCustomActionRequest)
Updates a custom action.
- Parameters:
updateCustomActionRequest-- Returns:
- A Java Future containing the result of the UpdateCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCustomAction
default CompletableFuture<UpdateCustomActionResponse> updateCustomAction(Consumer<UpdateCustomActionRequest.Builder> updateCustomActionRequest)
Updates a custom action.
This is a convenience which creates an instance of the
UpdateCustomActionRequest.Builderavoiding the need to create one manually viaUpdateCustomActionRequest.builder()- Parameters:
updateCustomActionRequest- AConsumerthat will call methods onUpdateCustomActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateCustomAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- UnauthorizedException The request was rejected because it doesn't have valid credentials for the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateMicrosoftTeamsChannelConfiguration
default CompletableFuture<UpdateMicrosoftTeamsChannelConfigurationResponse> updateMicrosoftTeamsChannelConfiguration(UpdateMicrosoftTeamsChannelConfigurationRequest updateMicrosoftTeamsChannelConfigurationRequest)
Updates an Microsoft Teams channel configuration.
- Parameters:
updateMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateMicrosoftTeamsChannelConfiguration
default CompletableFuture<UpdateMicrosoftTeamsChannelConfigurationResponse> updateMicrosoftTeamsChannelConfiguration(Consumer<UpdateMicrosoftTeamsChannelConfigurationRequest.Builder> updateMicrosoftTeamsChannelConfigurationRequest)
Updates an Microsoft Teams channel configuration.
This is a convenience which creates an instance of the
UpdateMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaUpdateMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
updateMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onUpdateMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateSlackChannelConfiguration
default CompletableFuture<UpdateSlackChannelConfigurationResponse> updateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest updateSlackChannelConfigurationRequest)
Updates a Slack channel configuration.
- Parameters:
updateSlackChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateSlackChannelConfiguration
default CompletableFuture<UpdateSlackChannelConfigurationResponse> updateSlackChannelConfiguration(Consumer<UpdateSlackChannelConfigurationRequest.Builder> updateSlackChannelConfigurationRequest)
Updates a Slack channel configuration.
This is a convenience which creates an instance of the
UpdateSlackChannelConfigurationRequest.Builderavoiding the need to create one manually viaUpdateSlackChannelConfigurationRequest.builder()- Parameters:
updateSlackChannelConfigurationRequest- AConsumerthat will call methods onUpdateSlackChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default ChatbotServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static ChatbotAsyncClient create()
Create aChatbotAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static ChatbotAsyncClientBuilder builder()
Create a builder that can be used to configure and create aChatbotAsyncClient.
-
-