Interface ChatbotAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
The AWS Chatbot API Reference provides descriptions, API request parameters, and the XML response for each of the AWS Chatbot API actions.
AWS Chatbot APIs are currently available in the following Regions:
-
US East (Ohio) -
us-east-2
-
US West (Oregon) -
us-west-2
-
Asia Pacific (Singapore) -
ap-southeast-1
-
Europe (Ireland) -
eu-west-1
The AWS Chatbot console can only be used in US East (Ohio). Your configuration data however, is stored in each of the relevant available Regions.
Your AWS CloudTrail events are logged in whatever Region you call from, not US East (N. Virginia) by default.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChatbotAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aChatbotAsyncClient
.static ChatbotAsyncClient
create()
Create aChatbotAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createChimeWebhookConfiguration
(Consumer<CreateChimeWebhookConfigurationRequest.Builder> createChimeWebhookConfigurationRequest) Creates an AWS Chatbot configuration for Amazon Chime.createChimeWebhookConfiguration
(CreateChimeWebhookConfigurationRequest createChimeWebhookConfigurationRequest) Creates an AWS Chatbot configuration for Amazon Chime.createMicrosoftTeamsChannelConfiguration
(Consumer<CreateMicrosoftTeamsChannelConfigurationRequest.Builder> createMicrosoftTeamsChannelConfigurationRequest) Creates an AWS Chatbot configuration for Microsoft Teams.createMicrosoftTeamsChannelConfiguration
(CreateMicrosoftTeamsChannelConfigurationRequest createMicrosoftTeamsChannelConfigurationRequest) Creates an AWS Chatbot configuration for Microsoft Teams.createSlackChannelConfiguration
(Consumer<CreateSlackChannelConfigurationRequest.Builder> createSlackChannelConfigurationRequest) Creates an AWS Chatbot confugration for Slack.createSlackChannelConfiguration
(CreateSlackChannelConfigurationRequest createSlackChannelConfigurationRequest) Creates an AWS Chatbot confugration for Slack.deleteChimeWebhookConfiguration
(Consumer<DeleteChimeWebhookConfigurationRequest.Builder> deleteChimeWebhookConfigurationRequest) Deletes a Amazon Chime webhook configuration for AWS Chatbot.deleteChimeWebhookConfiguration
(DeleteChimeWebhookConfigurationRequest deleteChimeWebhookConfigurationRequest) Deletes a Amazon Chime webhook configuration for AWS Chatbot.deleteMicrosoftTeamsChannelConfiguration
(Consumer<DeleteMicrosoftTeamsChannelConfigurationRequest.Builder> deleteMicrosoftTeamsChannelConfigurationRequest) Deletes a Microsoft Teams channel configuration for AWS ChatbotdeleteMicrosoftTeamsChannelConfiguration
(DeleteMicrosoftTeamsChannelConfigurationRequest deleteMicrosoftTeamsChannelConfigurationRequest) Deletes a Microsoft Teams channel configuration for AWS ChatbotdeleteMicrosoftTeamsConfiguredTeam
(Consumer<DeleteMicrosoftTeamsConfiguredTeamRequest.Builder> deleteMicrosoftTeamsConfiguredTeamRequest) Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team.deleteMicrosoftTeamsConfiguredTeam
(DeleteMicrosoftTeamsConfiguredTeamRequest deleteMicrosoftTeamsConfiguredTeamRequest) Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team.deleteMicrosoftTeamsUserIdentity
(Consumer<DeleteMicrosoftTeamsUserIdentityRequest.Builder> deleteMicrosoftTeamsUserIdentityRequest) Identifes a user level permission for a channel configuration.deleteMicrosoftTeamsUserIdentity
(DeleteMicrosoftTeamsUserIdentityRequest deleteMicrosoftTeamsUserIdentityRequest) Identifes a user level permission for a channel configuration.deleteSlackChannelConfiguration
(Consumer<DeleteSlackChannelConfigurationRequest.Builder> deleteSlackChannelConfigurationRequest) Deletes a Slack channel configuration for AWS ChatbotdeleteSlackChannelConfiguration
(DeleteSlackChannelConfigurationRequest deleteSlackChannelConfigurationRequest) Deletes a Slack channel configuration for AWS ChatbotdeleteSlackUserIdentity
(Consumer<DeleteSlackUserIdentityRequest.Builder> deleteSlackUserIdentityRequest) Deletes a user level permission for a Slack channel configuration.deleteSlackUserIdentity
(DeleteSlackUserIdentityRequest deleteSlackUserIdentityRequest) Deletes a user level permission for a Slack channel configuration.deleteSlackWorkspaceAuthorization
(Consumer<DeleteSlackWorkspaceAuthorizationRequest.Builder> deleteSlackWorkspaceAuthorizationRequest) Deletes the Slack workspace authorization that allows channels to be configured in that workspace.deleteSlackWorkspaceAuthorization
(DeleteSlackWorkspaceAuthorizationRequest deleteSlackWorkspaceAuthorizationRequest) Deletes the Slack workspace authorization that allows channels to be configured in that workspace.describeChimeWebhookConfigurations
(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest) Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArndescribeChimeWebhookConfigurations
(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArndescribeChimeWebhookConfigurationsPaginator
(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest) This is a variant ofdescribeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)
operation.describeChimeWebhookConfigurationsPaginator
(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) This is a variant ofdescribeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)
operation.describeSlackChannelConfigurations
(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest) Lists Slack channel configurations optionally filtered by ChatConfigurationArndescribeSlackChannelConfigurations
(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest) Lists Slack channel configurations optionally filtered by ChatConfigurationArndescribeSlackChannelConfigurationsPaginator
(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest) This is a variant ofdescribeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)
operation.describeSlackChannelConfigurationsPaginator
(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest) This is a variant ofdescribeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)
operation.describeSlackUserIdentities
(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest) Lists all Slack user identities with a mapped role.describeSlackUserIdentities
(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest) Lists all Slack user identities with a mapped role.describeSlackUserIdentitiesPaginator
(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest) This is a variant ofdescribeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)
operation.describeSlackUserIdentitiesPaginator
(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest) This is a variant ofdescribeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)
operation.describeSlackWorkspaces
(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.describeSlackWorkspaces
(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.default DescribeSlackWorkspacesPublisher
describeSlackWorkspacesPaginator
(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) This is a variant ofdescribeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)
operation.default DescribeSlackWorkspacesPublisher
describeSlackWorkspacesPaginator
(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) This is a variant ofdescribeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)
operation.getAccountPreferences
(Consumer<GetAccountPreferencesRequest.Builder> getAccountPreferencesRequest) Returns AWS Chatbot account preferences.getAccountPreferences
(GetAccountPreferencesRequest getAccountPreferencesRequest) Returns AWS Chatbot account preferences.getMicrosoftTeamsChannelConfiguration
(Consumer<GetMicrosoftTeamsChannelConfigurationRequest.Builder> getMicrosoftTeamsChannelConfigurationRequest) Returns a Microsoft Teams channel configuration in an AWS account.getMicrosoftTeamsChannelConfiguration
(GetMicrosoftTeamsChannelConfigurationRequest getMicrosoftTeamsChannelConfigurationRequest) Returns a Microsoft Teams channel configuration in an AWS account.listMicrosoftTeamsChannelConfigurations
(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.listMicrosoftTeamsChannelConfigurations
(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.listMicrosoftTeamsChannelConfigurationsPaginator
(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) listMicrosoftTeamsChannelConfigurationsPaginator
(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) listMicrosoftTeamsConfiguredTeams
(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized Microsoft Teams for an AWS AccountlistMicrosoftTeamsConfiguredTeams
(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized Microsoft Teams for an AWS AccountlistMicrosoftTeamsConfiguredTeamsPaginator
(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) This is a variant oflistMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)
operation.listMicrosoftTeamsConfiguredTeamsPaginator
(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) This is a variant oflistMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)
operation.listMicrosoftTeamsUserIdentities
(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest) A list all Microsoft Teams user identities with a mapped role.listMicrosoftTeamsUserIdentities
(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) A list all Microsoft Teams user identities with a mapped role.listMicrosoftTeamsUserIdentitiesPaginator
(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest) This is a variant oflistMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)
operation.listMicrosoftTeamsUserIdentitiesPaginator
(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) This is a variant oflistMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).updateAccountPreferences
(Consumer<UpdateAccountPreferencesRequest.Builder> updateAccountPreferencesRequest) Updates AWS Chatbot account preferences.updateAccountPreferences
(UpdateAccountPreferencesRequest updateAccountPreferencesRequest) Updates AWS Chatbot account preferences.updateChimeWebhookConfiguration
(Consumer<UpdateChimeWebhookConfigurationRequest.Builder> updateChimeWebhookConfigurationRequest) Updates a Amazon Chime webhook configuration.updateChimeWebhookConfiguration
(UpdateChimeWebhookConfigurationRequest updateChimeWebhookConfigurationRequest) Updates a Amazon Chime webhook configuration.updateMicrosoftTeamsChannelConfiguration
(Consumer<UpdateMicrosoftTeamsChannelConfigurationRequest.Builder> updateMicrosoftTeamsChannelConfigurationRequest) Updates an Microsoft Teams channel configuration.updateMicrosoftTeamsChannelConfiguration
(UpdateMicrosoftTeamsChannelConfigurationRequest updateMicrosoftTeamsChannelConfigurationRequest) Updates an Microsoft Teams channel configuration.updateSlackChannelConfiguration
(Consumer<UpdateSlackChannelConfigurationRequest.Builder> updateSlackChannelConfigurationRequest) Updates a Slack channel configuration.updateSlackChannelConfiguration
(UpdateSlackChannelConfigurationRequest updateSlackChannelConfigurationRequest) Updates a Slack channel configuration.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(CreateChimeWebhookConfigurationRequest createChimeWebhookConfigurationRequest) Creates an AWS Chatbot configuration for Amazon Chime.
- Parameters:
createChimeWebhookConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(Consumer<CreateChimeWebhookConfigurationRequest.Builder> createChimeWebhookConfigurationRequest) Creates an AWS Chatbot configuration for Amazon Chime.
This is a convenience which creates an instance of the
CreateChimeWebhookConfigurationRequest.Builder
avoiding the need to create one manually viaCreateChimeWebhookConfigurationRequest.builder()
- Parameters:
createChimeWebhookConfigurationRequest
- AConsumer
that will call methods onCreateChimeWebhookConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(CreateMicrosoftTeamsChannelConfigurationRequest createMicrosoftTeamsChannelConfigurationRequest) Creates an AWS Chatbot configuration for Microsoft Teams.
- Parameters:
createMicrosoftTeamsChannelConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(Consumer<CreateMicrosoftTeamsChannelConfigurationRequest.Builder> createMicrosoftTeamsChannelConfigurationRequest) Creates an AWS Chatbot configuration for Microsoft Teams.
This is a convenience which creates an instance of the
CreateMicrosoftTeamsChannelConfigurationRequest.Builder
avoiding the need to create one manually viaCreateMicrosoftTeamsChannelConfigurationRequest.builder()
- Parameters:
createMicrosoftTeamsChannelConfigurationRequest
- AConsumer
that will call methods onCreateMicrosoftTeamsChannelConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest createSlackChannelConfigurationRequest) Creates an AWS Chatbot confugration for Slack.
- Parameters:
createSlackChannelConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(Consumer<CreateSlackChannelConfigurationRequest.Builder> createSlackChannelConfigurationRequest) Creates an AWS Chatbot confugration for Slack.
This is a convenience which creates an instance of the
CreateSlackChannelConfigurationRequest.Builder
avoiding the need to create one manually viaCreateSlackChannelConfigurationRequest.builder()
- Parameters:
createSlackChannelConfigurationRequest
- AConsumer
that will call methods onCreateSlackChannelConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ConflictException There was an issue processing your request.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteChimeWebhookConfiguration
default CompletableFuture<DeleteChimeWebhookConfigurationResponse> deleteChimeWebhookConfiguration(DeleteChimeWebhookConfigurationRequest deleteChimeWebhookConfigurationRequest) Deletes a Amazon Chime webhook configuration for AWS Chatbot.
- Parameters:
deleteChimeWebhookConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteChimeWebhookConfiguration
default CompletableFuture<DeleteChimeWebhookConfigurationResponse> deleteChimeWebhookConfiguration(Consumer<DeleteChimeWebhookConfigurationRequest.Builder> deleteChimeWebhookConfigurationRequest) Deletes a Amazon Chime webhook configuration for AWS Chatbot.
This is a convenience which creates an instance of the
DeleteChimeWebhookConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteChimeWebhookConfigurationRequest.builder()
- Parameters:
deleteChimeWebhookConfigurationRequest
- AConsumer
that will call methods onDeleteChimeWebhookConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsChannelConfiguration
default CompletableFuture<DeleteMicrosoftTeamsChannelConfigurationResponse> deleteMicrosoftTeamsChannelConfiguration(DeleteMicrosoftTeamsChannelConfigurationRequest deleteMicrosoftTeamsChannelConfigurationRequest) Deletes a Microsoft Teams channel configuration for AWS Chatbot
- Parameters:
deleteMicrosoftTeamsChannelConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsChannelConfiguration
default CompletableFuture<DeleteMicrosoftTeamsChannelConfigurationResponse> deleteMicrosoftTeamsChannelConfiguration(Consumer<DeleteMicrosoftTeamsChannelConfigurationRequest.Builder> deleteMicrosoftTeamsChannelConfigurationRequest) Deletes a Microsoft Teams channel configuration for AWS Chatbot
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsChannelConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteMicrosoftTeamsChannelConfigurationRequest.builder()
- Parameters:
deleteMicrosoftTeamsChannelConfigurationRequest
- AConsumer
that will call methods onDeleteMicrosoftTeamsChannelConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsConfiguredTeam
default CompletableFuture<DeleteMicrosoftTeamsConfiguredTeamResponse> deleteMicrosoftTeamsConfiguredTeam(DeleteMicrosoftTeamsConfiguredTeamRequest deleteMicrosoftTeamsConfiguredTeamRequest) Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
- Parameters:
deleteMicrosoftTeamsConfiguredTeamRequest
-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsConfiguredTeam operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteTeamsConfiguredTeamException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteMicrosoftTeamsConfiguredTeamRequest.builder()
- Parameters:
deleteMicrosoftTeamsConfiguredTeamRequest
- AConsumer
that will call methods onDeleteMicrosoftTeamsConfiguredTeamRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsConfiguredTeam operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteTeamsConfiguredTeamException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsUserIdentity
default CompletableFuture<DeleteMicrosoftTeamsUserIdentityResponse> deleteMicrosoftTeamsUserIdentity(DeleteMicrosoftTeamsUserIdentityRequest deleteMicrosoftTeamsUserIdentityRequest) Identifes a user level permission for a channel configuration.
- Parameters:
deleteMicrosoftTeamsUserIdentityRequest
-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsUserIdentity operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteMicrosoftTeamsUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsUserIdentity
default CompletableFuture<DeleteMicrosoftTeamsUserIdentityResponse> deleteMicrosoftTeamsUserIdentity(Consumer<DeleteMicrosoftTeamsUserIdentityRequest.Builder> deleteMicrosoftTeamsUserIdentityRequest) Identifes a user level permission for a channel configuration.
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsUserIdentityRequest.Builder
avoiding the need to create one manually viaDeleteMicrosoftTeamsUserIdentityRequest.builder()
- Parameters:
deleteMicrosoftTeamsUserIdentityRequest
- AConsumer
that will call methods onDeleteMicrosoftTeamsUserIdentityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsUserIdentity operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- DeleteMicrosoftTeamsUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackChannelConfiguration
default CompletableFuture<DeleteSlackChannelConfigurationResponse> deleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest deleteSlackChannelConfigurationRequest) Deletes a Slack channel configuration for AWS Chatbot
- Parameters:
deleteSlackChannelConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackChannelConfiguration
default CompletableFuture<DeleteSlackChannelConfigurationResponse> deleteSlackChannelConfiguration(Consumer<DeleteSlackChannelConfigurationRequest.Builder> deleteSlackChannelConfigurationRequest) Deletes a Slack channel configuration for AWS Chatbot
This is a convenience which creates an instance of the
DeleteSlackChannelConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteSlackChannelConfigurationRequest.builder()
- Parameters:
deleteSlackChannelConfigurationRequest
- AConsumer
that will call methods onDeleteSlackChannelConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(DeleteSlackUserIdentityRequest deleteSlackUserIdentityRequest) Deletes a user level permission for a Slack channel configuration.
- Parameters:
deleteSlackUserIdentityRequest
-- Returns:
- A Java Future containing the result of the DeleteSlackUserIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(Consumer<DeleteSlackUserIdentityRequest.Builder> deleteSlackUserIdentityRequest) Deletes a user level permission for a Slack channel configuration.
This is a convenience which creates an instance of the
DeleteSlackUserIdentityRequest.Builder
avoiding the need to create one manually viaDeleteSlackUserIdentityRequest.builder()
- Parameters:
deleteSlackUserIdentityRequest
- AConsumer
that will call methods onDeleteSlackUserIdentityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSlackUserIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackWorkspaceAuthorization
default CompletableFuture<DeleteSlackWorkspaceAuthorizationResponse> deleteSlackWorkspaceAuthorization(DeleteSlackWorkspaceAuthorizationRequest deleteSlackWorkspaceAuthorizationRequest) Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
- Parameters:
deleteSlackWorkspaceAuthorizationRequest
-- Returns:
- A Java Future containing the result of the DeleteSlackWorkspaceAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackWorkspaceAuthorizationException There was an issue deleting your Slack workspace.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteSlackWorkspaceAuthorizationRequest.builder()
- Parameters:
deleteSlackWorkspaceAuthorizationRequest
- AConsumer
that will call methods onDeleteSlackWorkspaceAuthorizationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSlackWorkspaceAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DeleteSlackWorkspaceAuthorizationException There was an issue deleting your Slack workspace.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeChimeWebhookConfigurations
default CompletableFuture<DescribeChimeWebhookConfigurationsResponse> describeChimeWebhookConfigurations(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
- Parameters:
describeChimeWebhookConfigurationsRequest
-- Returns:
- A Java Future containing the result of the DescribeChimeWebhookConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeChimeWebhookConfigurations
default CompletableFuture<DescribeChimeWebhookConfigurationsResponse> describeChimeWebhookConfigurations(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest) Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
This is a convenience which creates an instance of the
DescribeChimeWebhookConfigurationsRequest.Builder
avoiding the need to create one manually viaDescribeChimeWebhookConfigurationsRequest.builder()
- Parameters:
describeChimeWebhookConfigurationsRequest
- AConsumer
that will call methods onDescribeChimeWebhookConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeChimeWebhookConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)
operation.- Parameters:
describeChimeWebhookConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaDescribeChimeWebhookConfigurationsRequest.builder()
- Parameters:
describeChimeWebhookConfigurationsRequest
- AConsumer
that will call methods onDescribeChimeWebhookConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackChannelConfigurations
default CompletableFuture<DescribeSlackChannelConfigurationsResponse> describeSlackChannelConfigurations(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest) Lists Slack channel configurations optionally filtered by ChatConfigurationArn
- Parameters:
describeSlackChannelConfigurationsRequest
-- Returns:
- A Java Future containing the result of the DescribeSlackChannelConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeSlackChannelConfigurationsRequest.builder()
- Parameters:
describeSlackChannelConfigurationsRequest
- AConsumer
that will call methods onDescribeSlackChannelConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSlackChannelConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)
operation.- Parameters:
describeSlackChannelConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaDescribeSlackChannelConfigurationsRequest.builder()
- Parameters:
describeSlackChannelConfigurationsRequest
- AConsumer
that will call methods onDescribeSlackChannelConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackUserIdentities
default CompletableFuture<DescribeSlackUserIdentitiesResponse> describeSlackUserIdentities(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest) Lists all Slack user identities with a mapped role.
- Parameters:
describeSlackUserIdentitiesRequest
-- Returns:
- A Java Future containing the result of the DescribeSlackUserIdentities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeSlackUserIdentitiesRequest.builder()
- Parameters:
describeSlackUserIdentitiesRequest
- AConsumer
that will call methods onDescribeSlackUserIdentitiesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSlackUserIdentities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)
operation.- Parameters:
describeSlackUserIdentitiesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaDescribeSlackUserIdentitiesRequest.builder()
- Parameters:
describeSlackUserIdentitiesRequest
- AConsumer
that will call methods onDescribeSlackUserIdentitiesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackWorkspaces
default CompletableFuture<DescribeSlackWorkspacesResponse> describeSlackWorkspaces(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
- Parameters:
describeSlackWorkspacesRequest
-- Returns:
- A Java Future containing the result of the DescribeSlackWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackWorkspaces
default CompletableFuture<DescribeSlackWorkspacesResponse> describeSlackWorkspaces(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
This is a convenience which creates an instance of the
DescribeSlackWorkspacesRequest.Builder
avoiding the need to create one manually viaDescribeSlackWorkspacesRequest.builder()
- Parameters:
describeSlackWorkspacesRequest
- AConsumer
that will call methods onDescribeSlackWorkspacesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSlackWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)
operation.- Parameters:
describeSlackWorkspacesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaDescribeSlackWorkspacesRequest.builder()
- Parameters:
describeSlackWorkspacesRequest
- AConsumer
that will call methods onDescribeSlackWorkspacesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountPreferences
default CompletableFuture<GetAccountPreferencesResponse> getAccountPreferences(GetAccountPreferencesRequest getAccountPreferencesRequest) Returns AWS Chatbot account preferences.
- Parameters:
getAccountPreferencesRequest
-- Returns:
- A Java Future containing the result of the GetAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountPreferences
default CompletableFuture<GetAccountPreferencesResponse> getAccountPreferences(Consumer<GetAccountPreferencesRequest.Builder> getAccountPreferencesRequest) Returns AWS Chatbot account preferences.
This is a convenience which creates an instance of the
GetAccountPreferencesRequest.Builder
avoiding the need to create one manually viaGetAccountPreferencesRequest.builder()
- Parameters:
getAccountPreferencesRequest
- AConsumer
that will call methods onGetAccountPreferencesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMicrosoftTeamsChannelConfiguration
default CompletableFuture<GetMicrosoftTeamsChannelConfigurationResponse> getMicrosoftTeamsChannelConfiguration(GetMicrosoftTeamsChannelConfigurationRequest getMicrosoftTeamsChannelConfigurationRequest) Returns a Microsoft Teams channel configuration in an AWS account.
- Parameters:
getMicrosoftTeamsChannelConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMicrosoftTeamsChannelConfiguration
default CompletableFuture<GetMicrosoftTeamsChannelConfigurationResponse> getMicrosoftTeamsChannelConfiguration(Consumer<GetMicrosoftTeamsChannelConfigurationRequest.Builder> getMicrosoftTeamsChannelConfigurationRequest) Returns a Microsoft Teams channel configuration in an AWS account.
This is a convenience which creates an instance of the
GetMicrosoftTeamsChannelConfigurationRequest.Builder
avoiding the need to create one manually viaGetMicrosoftTeamsChannelConfigurationRequest.builder()
- Parameters:
getMicrosoftTeamsChannelConfigurationRequest
- AConsumer
that will call methods onGetMicrosoftTeamsChannelConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsChannelConfigurations
default CompletableFuture<ListMicrosoftTeamsChannelConfigurationsResponse> listMicrosoftTeamsChannelConfigurations(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsChannelConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsChannelConfigurations
default CompletableFuture<ListMicrosoftTeamsChannelConfigurationsResponse> listMicrosoftTeamsChannelConfigurations(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
This is a convenience which creates an instance of the
ListMicrosoftTeamsChannelConfigurationsRequest.Builder
avoiding the need to create one manually viaListMicrosoftTeamsChannelConfigurationsRequest.builder()
- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest
- AConsumer
that will call methods onListMicrosoftTeamsChannelConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsChannelConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)
operation.- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListMicrosoftTeamsChannelConfigurationsRequest.builder()
- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest
- AConsumer
that will call methods onListMicrosoftTeamsChannelConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsConfiguredTeams
default CompletableFuture<ListMicrosoftTeamsConfiguredTeamsResponse> listMicrosoftTeamsConfiguredTeams(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized Microsoft Teams for an AWS Account
- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest
-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsConfiguredTeams operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsConfiguredTeams
default CompletableFuture<ListMicrosoftTeamsConfiguredTeamsResponse> listMicrosoftTeamsConfiguredTeams(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized Microsoft Teams for an AWS Account
This is a convenience which creates an instance of the
ListMicrosoftTeamsConfiguredTeamsRequest.Builder
avoiding the need to create one manually viaListMicrosoftTeamsConfiguredTeamsRequest.builder()
- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest
- AConsumer
that will call methods onListMicrosoftTeamsConfiguredTeamsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsConfiguredTeams operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)
operation.- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListMicrosoftTeamsConfiguredTeamsRequest.builder()
- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest
- AConsumer
that will call methods onListMicrosoftTeamsConfiguredTeamsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsUserIdentities
default CompletableFuture<ListMicrosoftTeamsUserIdentitiesResponse> listMicrosoftTeamsUserIdentities(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) A list all Microsoft Teams user identities with a mapped role.
- Parameters:
listMicrosoftTeamsUserIdentitiesRequest
-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsUserIdentities operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsUserIdentities
default CompletableFuture<ListMicrosoftTeamsUserIdentitiesResponse> listMicrosoftTeamsUserIdentities(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest) A list all Microsoft Teams user identities with a mapped role.
This is a convenience which creates an instance of the
ListMicrosoftTeamsUserIdentitiesRequest.Builder
avoiding the need to create one manually viaListMicrosoftTeamsUserIdentitiesRequest.builder()
- Parameters:
listMicrosoftTeamsUserIdentitiesRequest
- AConsumer
that will call methods onListMicrosoftTeamsUserIdentitiesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsUserIdentities operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)
operation.- Parameters:
listMicrosoftTeamsUserIdentitiesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListMicrosoftTeamsUserIdentitiesRequest.builder()
- Parameters:
listMicrosoftTeamsUserIdentitiesRequest
- AConsumer
that will call methods onListMicrosoftTeamsUserIdentitiesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- TooManyTagsException The supplied list of tags contains too many tags.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- TooManyTagsException The supplied list of tags contains too many tags.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- InternalServiceErrorException Unexpected error during processing of request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccountPreferences
default CompletableFuture<UpdateAccountPreferencesResponse> updateAccountPreferences(UpdateAccountPreferencesRequest updateAccountPreferencesRequest) Updates AWS Chatbot account preferences.
- Parameters:
updateAccountPreferencesRequest
-- Returns:
- A Java Future containing the result of the UpdateAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccountPreferences
default CompletableFuture<UpdateAccountPreferencesResponse> updateAccountPreferences(Consumer<UpdateAccountPreferencesRequest.Builder> updateAccountPreferencesRequest) Updates AWS Chatbot account preferences.
This is a convenience which creates an instance of the
UpdateAccountPreferencesRequest.Builder
avoiding the need to create one manually viaUpdateAccountPreferencesRequest.builder()
- Parameters:
updateAccountPreferencesRequest
- AConsumer
that will call methods onUpdateAccountPreferencesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateChimeWebhookConfiguration
default CompletableFuture<UpdateChimeWebhookConfigurationResponse> updateChimeWebhookConfiguration(UpdateChimeWebhookConfigurationRequest updateChimeWebhookConfigurationRequest) Updates a Amazon Chime webhook configuration.
- Parameters:
updateChimeWebhookConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateChimeWebhookConfiguration
default CompletableFuture<UpdateChimeWebhookConfigurationResponse> updateChimeWebhookConfiguration(Consumer<UpdateChimeWebhookConfigurationRequest.Builder> updateChimeWebhookConfigurationRequest) Updates a Amazon Chime webhook configuration.
This is a convenience which creates an instance of the
UpdateChimeWebhookConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateChimeWebhookConfigurationRequest.builder()
- Parameters:
updateChimeWebhookConfigurationRequest
- AConsumer
that will call methods onUpdateChimeWebhookConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- UpdateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were unable to find the resource for your request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMicrosoftTeamsChannelConfiguration
default CompletableFuture<UpdateMicrosoftTeamsChannelConfigurationResponse> updateMicrosoftTeamsChannelConfiguration(UpdateMicrosoftTeamsChannelConfigurationRequest updateMicrosoftTeamsChannelConfigurationRequest) Updates an Microsoft Teams channel configuration.
- Parameters:
updateMicrosoftTeamsChannelConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMicrosoftTeamsChannelConfiguration
default CompletableFuture<UpdateMicrosoftTeamsChannelConfigurationResponse> updateMicrosoftTeamsChannelConfiguration(Consumer<UpdateMicrosoftTeamsChannelConfigurationRequest.Builder> updateMicrosoftTeamsChannelConfigurationRequest) Updates an Microsoft Teams channel configuration.
This is a convenience which creates an instance of the
UpdateMicrosoftTeamsChannelConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateMicrosoftTeamsChannelConfigurationRequest.builder()
- Parameters:
updateMicrosoftTeamsChannelConfigurationRequest
- AConsumer
that will call methods onUpdateMicrosoftTeamsChannelConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSlackChannelConfiguration
default CompletableFuture<UpdateSlackChannelConfigurationResponse> updateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest updateSlackChannelConfigurationRequest) Updates a Slack channel configuration.
- Parameters:
updateSlackChannelConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSlackChannelConfiguration
default CompletableFuture<UpdateSlackChannelConfigurationResponse> updateSlackChannelConfiguration(Consumer<UpdateSlackChannelConfigurationRequest.Builder> updateSlackChannelConfigurationRequest) Updates a Slack channel configuration.
This is a convenience which creates an instance of the
UpdateSlackChannelConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateSlackChannelConfigurationRequest.builder()
- Parameters:
updateSlackChannelConfigurationRequest
- AConsumer
that will call methods onUpdateSlackChannelConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints required by AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints required by AWS Chatbot.
- ResourceNotFoundException We were unable to find the resource for your request
- UpdateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aChatbotAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aChatbotAsyncClient
.
-