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. AWS Chatbot API
-
-
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
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(CreateChimeWebhookConfigurationRequest createChimeWebhookConfigurationRequest)
Creates Chime Webhook Configuration- 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 that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing 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
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(Consumer<CreateChimeWebhookConfigurationRequest.Builder> createChimeWebhookConfigurationRequest)
Creates Chime Webhook Configuration
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 that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing 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
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(CreateMicrosoftTeamsChannelConfigurationRequest createMicrosoftTeamsChannelConfigurationRequest)
Creates MS Teams Channel Configuration- 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 that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing 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
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(Consumer<CreateMicrosoftTeamsChannelConfigurationRequest.Builder> createMicrosoftTeamsChannelConfigurationRequest)
Creates MS Teams Channel Configuration
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 that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing 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
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest createSlackChannelConfigurationRequest)
Creates Slack Channel Configuration- 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 that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing 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
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(Consumer<CreateSlackChannelConfigurationRequest.Builder> createSlackChannelConfigurationRequest)
Creates Slack Channel Configuration
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 that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing 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
-
deleteChimeWebhookConfiguration
default CompletableFuture<DeleteChimeWebhookConfigurationResponse> deleteChimeWebhookConfiguration(DeleteChimeWebhookConfigurationRequest deleteChimeWebhookConfigurationRequest)
Deletes a Chime Webhook Configuration- 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 Chime Webhook Configuration
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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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
-
deleteMicrosoftTeamsChannelConfiguration
default CompletableFuture<DeleteMicrosoftTeamsChannelConfigurationResponse> deleteMicrosoftTeamsChannelConfiguration(DeleteMicrosoftTeamsChannelConfigurationRequest deleteMicrosoftTeamsChannelConfigurationRequest)
Deletes MS Teams Channel Configuration- 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 MS Teams Channel Configuration
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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 that AWS Chatbot requires.
- 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 that AWS Chatbot requires.
- 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)
Deletes a Teams user identity- 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 that AWS Chatbot requires.
- ResourceNotFoundException We were not able 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)
Deletes a Teams user identity
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 that AWS Chatbot requires.
- ResourceNotFoundException We were not able 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 Slack Channel Configuration- 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteSlackChannelConfigurationException 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(Consumer<DeleteSlackChannelConfigurationRequest.Builder> deleteSlackChannelConfigurationRequest)
Deletes Slack Channel Configuration
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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteSlackChannelConfigurationException 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
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(DeleteSlackUserIdentityRequest deleteSlackUserIdentityRequest)
Deletes a Slack user identity- 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 that AWS Chatbot requires.
- ResourceNotFoundException We were not able to find the resource for your request.
- DeleteSlackUserIdentityException 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
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(Consumer<DeleteSlackUserIdentityRequest.Builder> deleteSlackUserIdentityRequest)
Deletes a Slack user identity
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 that AWS Chatbot requires.
- ResourceNotFoundException We were not able to find the resource for your request.
- DeleteSlackUserIdentityException 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
-
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 that AWS Chatbot requires.
- 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 that AWS Chatbot requires.
- 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 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.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 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.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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)
Lists all authorized Slack Workspaces for AWS Account- 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.- 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Lists all authorized Slack Workspaces for AWS Account
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.- 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Get Chatbot account level 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.- GetAccountPreferencesException 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 that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Get Chatbot account level 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.- GetAccountPreferencesException 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 that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Get a single MS Teams Channel Configurations- 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.- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Get a single MS Teams Channel Configurations
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.- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 MS Teams Channel Configurations optionally filtered by TeamId- 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.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 MS Teams Channel Configurations optionally filtered by TeamId
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.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 MS teams for 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.- ListMicrosoftTeamsConfiguredTeamsException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 MS teams for 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.- ListMicrosoftTeamsConfiguredTeamsException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- ListMicrosoftTeamsConfiguredTeamsException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- ListMicrosoftTeamsConfiguredTeamsException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Lists 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.- ListMicrosoftTeamsUserIdentitiesException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Lists 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.- ListMicrosoftTeamsUserIdentitiesException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- ListMicrosoftTeamsUserIdentitiesException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.- ListMicrosoftTeamsUserIdentitiesException 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 that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Update Chatbot account level 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.- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)
Update Chatbot account level 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.- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateChimeWebhookConfigurationException 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(Consumer<UpdateChimeWebhookConfigurationRequest.Builder> updateChimeWebhookConfigurationRequest)
Updates a 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateChimeWebhookConfigurationException 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(UpdateMicrosoftTeamsChannelConfigurationRequest updateMicrosoftTeamsChannelConfigurationRequest)
Updates MS 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 MS 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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 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.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- 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.
-
-