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.
AWS Chatbot API-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatbotAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aChatbotAsyncClient.static ChatbotAsyncClientcreate()Create aChatbotAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createChimeWebhookConfiguration(Consumer<CreateChimeWebhookConfigurationRequest.Builder> createChimeWebhookConfigurationRequest) Creates Chime Webhook ConfigurationcreateChimeWebhookConfiguration(CreateChimeWebhookConfigurationRequest createChimeWebhookConfigurationRequest) Creates Chime Webhook ConfigurationcreateMicrosoftTeamsChannelConfiguration(Consumer<CreateMicrosoftTeamsChannelConfigurationRequest.Builder> createMicrosoftTeamsChannelConfigurationRequest) Creates MS Teams Channel ConfigurationcreateMicrosoftTeamsChannelConfiguration(CreateMicrosoftTeamsChannelConfigurationRequest createMicrosoftTeamsChannelConfigurationRequest) Creates MS Teams Channel ConfigurationcreateSlackChannelConfiguration(Consumer<CreateSlackChannelConfigurationRequest.Builder> createSlackChannelConfigurationRequest) Creates Slack Channel ConfigurationcreateSlackChannelConfiguration(CreateSlackChannelConfigurationRequest createSlackChannelConfigurationRequest) Creates Slack Channel ConfigurationdeleteChimeWebhookConfiguration(Consumer<DeleteChimeWebhookConfigurationRequest.Builder> deleteChimeWebhookConfigurationRequest) Deletes a Chime Webhook ConfigurationdeleteChimeWebhookConfiguration(DeleteChimeWebhookConfigurationRequest deleteChimeWebhookConfigurationRequest) Deletes a Chime Webhook ConfigurationdeleteMicrosoftTeamsChannelConfiguration(Consumer<DeleteMicrosoftTeamsChannelConfigurationRequest.Builder> deleteMicrosoftTeamsChannelConfigurationRequest) Deletes MS Teams Channel ConfigurationdeleteMicrosoftTeamsChannelConfiguration(DeleteMicrosoftTeamsChannelConfigurationRequest deleteMicrosoftTeamsChannelConfigurationRequest) Deletes MS Teams Channel ConfigurationdeleteMicrosoftTeamsConfiguredTeam(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) Deletes a Teams user identitydeleteMicrosoftTeamsUserIdentity(DeleteMicrosoftTeamsUserIdentityRequest deleteMicrosoftTeamsUserIdentityRequest) Deletes a Teams user identitydeleteSlackChannelConfiguration(Consumer<DeleteSlackChannelConfigurationRequest.Builder> deleteSlackChannelConfigurationRequest) Deletes Slack Channel ConfigurationdeleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest deleteSlackChannelConfigurationRequest) Deletes Slack Channel ConfigurationdeleteSlackUserIdentity(Consumer<DeleteSlackUserIdentityRequest.Builder> deleteSlackUserIdentityRequest) Deletes a Slack user identitydeleteSlackUserIdentity(DeleteSlackUserIdentityRequest deleteSlackUserIdentityRequest) Deletes a Slack user identitydeleteSlackWorkspaceAuthorization(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 Chime Webhook Configurations optionally filtered by ChatConfigurationArndescribeChimeWebhookConfigurations(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) Lists 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) Lists all authorized Slack Workspaces for AWS AccountdescribeSlackWorkspaces(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) Lists all authorized Slack Workspaces for AWS Accountdefault DescribeSlackWorkspacesPublisherdescribeSlackWorkspacesPaginator(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) This is a variant ofdescribeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.default DescribeSlackWorkspacesPublisherdescribeSlackWorkspacesPaginator(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) This is a variant ofdescribeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.getAccountPreferences(Consumer<GetAccountPreferencesRequest.Builder> getAccountPreferencesRequest) Get Chatbot account level preferencesgetAccountPreferences(GetAccountPreferencesRequest getAccountPreferencesRequest) Get Chatbot account level preferencesgetMicrosoftTeamsChannelConfiguration(Consumer<GetMicrosoftTeamsChannelConfigurationRequest.Builder> getMicrosoftTeamsChannelConfigurationRequest) Get a single MS Teams Channel ConfigurationsgetMicrosoftTeamsChannelConfiguration(GetMicrosoftTeamsChannelConfigurationRequest getMicrosoftTeamsChannelConfigurationRequest) Get a single MS Teams Channel ConfigurationslistMicrosoftTeamsChannelConfigurations(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) Lists MS Teams Channel Configurations optionally filtered by TeamIdlistMicrosoftTeamsChannelConfigurations(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) Lists MS Teams Channel Configurations optionally filtered by TeamIdlistMicrosoftTeamsChannelConfigurationsPaginator(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) listMicrosoftTeamsChannelConfigurationsPaginator(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) listMicrosoftTeamsConfiguredTeams(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized MS teams for AWS AccountlistMicrosoftTeamsConfiguredTeams(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized MS teams for 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) Lists all Microsoft Teams user identities with a mapped role.listMicrosoftTeamsUserIdentities(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) Lists 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) Retrieves the list of tags applied to a configuration.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the list of tags applied to a configuration.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Applies the supplied tags to a configuration.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Applies the supplied tags to a configuration.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the supplied tags from a configurationdefault CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the supplied tags from a configurationupdateAccountPreferences(Consumer<UpdateAccountPreferencesRequest.Builder> updateAccountPreferencesRequest) Update Chatbot account level preferencesupdateAccountPreferences(UpdateAccountPreferencesRequest updateAccountPreferencesRequest) Update Chatbot account level preferencesupdateChimeWebhookConfiguration(Consumer<UpdateChimeWebhookConfigurationRequest.Builder> updateChimeWebhookConfigurationRequest) Updates a Chime Webhook ConfigurationupdateChimeWebhookConfiguration(UpdateChimeWebhookConfigurationRequest updateChimeWebhookConfigurationRequest) Updates a Chime Webhook ConfigurationupdateMicrosoftTeamsChannelConfiguration(Consumer<UpdateMicrosoftTeamsChannelConfigurationRequest.Builder> updateMicrosoftTeamsChannelConfigurationRequest) Updates MS Teams Channel ConfigurationupdateMicrosoftTeamsChannelConfiguration(UpdateMicrosoftTeamsChannelConfigurationRequest updateMicrosoftTeamsChannelConfigurationRequest) Updates MS Teams Channel ConfigurationupdateSlackChannelConfiguration(Consumer<UpdateSlackChannelConfigurationRequest.Builder> updateSlackChannelConfigurationRequest) Updates Slack Channel ConfigurationupdateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest updateSlackChannelConfigurationRequest) Updates Slack Channel ConfigurationMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(CreateChimeWebhookConfigurationRequest createChimeWebhookConfigurationRequest) Creates Chime Webhook Configuration- Parameters:
createChimeWebhookConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createChimeWebhookConfiguration
default CompletableFuture<CreateChimeWebhookConfigurationResponse> createChimeWebhookConfiguration(Consumer<CreateChimeWebhookConfigurationRequest.Builder> createChimeWebhookConfigurationRequest) Creates Chime Webhook Configuration
This is a convenience which creates an instance of the
CreateChimeWebhookConfigurationRequest.Builderavoiding the need to create one manually viaCreateChimeWebhookConfigurationRequest.builder()- Parameters:
createChimeWebhookConfigurationRequest- AConsumerthat will call methods onCreateChimeWebhookConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(CreateMicrosoftTeamsChannelConfigurationRequest createMicrosoftTeamsChannelConfigurationRequest) Creates MS Teams Channel Configuration- Parameters:
createMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMicrosoftTeamsChannelConfiguration
default CompletableFuture<CreateMicrosoftTeamsChannelConfigurationResponse> createMicrosoftTeamsChannelConfiguration(Consumer<CreateMicrosoftTeamsChannelConfigurationRequest.Builder> createMicrosoftTeamsChannelConfigurationRequest) Creates MS Teams Channel Configuration
This is a convenience which creates an instance of the
CreateMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaCreateMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
createMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onCreateMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest createSlackChannelConfigurationRequest) Creates Slack Channel Configuration- Parameters:
createSlackChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSlackChannelConfiguration
default CompletableFuture<CreateSlackChannelConfigurationResponse> createSlackChannelConfiguration(Consumer<CreateSlackChannelConfigurationRequest.Builder> createSlackChannelConfigurationRequest) Creates Slack Channel Configuration
This is a convenience which creates an instance of the
CreateSlackChannelConfigurationRequest.Builderavoiding the need to create one manually viaCreateSlackChannelConfigurationRequest.builder()- Parameters:
createSlackChannelConfigurationRequest- AConsumerthat will call methods onCreateSlackChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- LimitExceededException You have exceeded a service limit for AWS Chatbot.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- CreateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- ConflictException There was an issue processing your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteChimeWebhookConfiguration
default CompletableFuture<DeleteChimeWebhookConfigurationResponse> deleteChimeWebhookConfiguration(DeleteChimeWebhookConfigurationRequest deleteChimeWebhookConfigurationRequest) Deletes a Chime Webhook Configuration- Parameters:
deleteChimeWebhookConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteChimeWebhookConfiguration
default CompletableFuture<DeleteChimeWebhookConfigurationResponse> deleteChimeWebhookConfiguration(Consumer<DeleteChimeWebhookConfigurationRequest.Builder> deleteChimeWebhookConfigurationRequest) Deletes a Chime Webhook Configuration
This is a convenience which creates an instance of the
DeleteChimeWebhookConfigurationRequest.Builderavoiding the need to create one manually viaDeleteChimeWebhookConfigurationRequest.builder()- Parameters:
deleteChimeWebhookConfigurationRequest- AConsumerthat will call methods onDeleteChimeWebhookConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsChannelConfiguration
default CompletableFuture<DeleteMicrosoftTeamsChannelConfigurationResponse> deleteMicrosoftTeamsChannelConfiguration(DeleteMicrosoftTeamsChannelConfigurationRequest deleteMicrosoftTeamsChannelConfigurationRequest) Deletes MS Teams Channel Configuration- Parameters:
deleteMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsChannelConfiguration
default CompletableFuture<DeleteMicrosoftTeamsChannelConfigurationResponse> deleteMicrosoftTeamsChannelConfiguration(Consumer<DeleteMicrosoftTeamsChannelConfigurationRequest.Builder> deleteMicrosoftTeamsChannelConfigurationRequest) Deletes MS Teams Channel Configuration
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaDeleteMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
deleteMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onDeleteMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsConfiguredTeam
default CompletableFuture<DeleteMicrosoftTeamsConfiguredTeamResponse> deleteMicrosoftTeamsConfiguredTeam(DeleteMicrosoftTeamsConfiguredTeamRequest deleteMicrosoftTeamsConfiguredTeamRequest) Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.- Parameters:
deleteMicrosoftTeamsConfiguredTeamRequest-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsConfiguredTeam operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteTeamsConfiguredTeamException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsConfiguredTeam
default CompletableFuture<DeleteMicrosoftTeamsConfiguredTeamResponse> deleteMicrosoftTeamsConfiguredTeam(Consumer<DeleteMicrosoftTeamsConfiguredTeamRequest.Builder> deleteMicrosoftTeamsConfiguredTeamRequest) Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsConfiguredTeamRequest.Builderavoiding the need to create one manually viaDeleteMicrosoftTeamsConfiguredTeamRequest.builder()- Parameters:
deleteMicrosoftTeamsConfiguredTeamRequest- AConsumerthat will call methods onDeleteMicrosoftTeamsConfiguredTeamRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsConfiguredTeam operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteTeamsConfiguredTeamException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsUserIdentity
default CompletableFuture<DeleteMicrosoftTeamsUserIdentityResponse> deleteMicrosoftTeamsUserIdentity(DeleteMicrosoftTeamsUserIdentityRequest deleteMicrosoftTeamsUserIdentityRequest) Deletes a Teams user identity- Parameters:
deleteMicrosoftTeamsUserIdentityRequest-- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsUserIdentity operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- ResourceNotFoundException We were not able to find the resource for your request.
- DeleteMicrosoftTeamsUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMicrosoftTeamsUserIdentity
default CompletableFuture<DeleteMicrosoftTeamsUserIdentityResponse> deleteMicrosoftTeamsUserIdentity(Consumer<DeleteMicrosoftTeamsUserIdentityRequest.Builder> deleteMicrosoftTeamsUserIdentityRequest) Deletes a Teams user identity
This is a convenience which creates an instance of the
DeleteMicrosoftTeamsUserIdentityRequest.Builderavoiding the need to create one manually viaDeleteMicrosoftTeamsUserIdentityRequest.builder()- Parameters:
deleteMicrosoftTeamsUserIdentityRequest- AConsumerthat will call methods onDeleteMicrosoftTeamsUserIdentityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMicrosoftTeamsUserIdentity operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- ResourceNotFoundException We were not able to find the resource for your request.
- DeleteMicrosoftTeamsUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackChannelConfiguration
default CompletableFuture<DeleteSlackChannelConfigurationResponse> deleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest deleteSlackChannelConfigurationRequest) Deletes Slack Channel Configuration- Parameters:
deleteSlackChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackChannelConfiguration
default CompletableFuture<DeleteSlackChannelConfigurationResponse> deleteSlackChannelConfiguration(Consumer<DeleteSlackChannelConfigurationRequest.Builder> deleteSlackChannelConfigurationRequest) Deletes Slack Channel Configuration
This is a convenience which creates an instance of the
DeleteSlackChannelConfigurationRequest.Builderavoiding the need to create one manually viaDeleteSlackChannelConfigurationRequest.builder()- Parameters:
deleteSlackChannelConfigurationRequest- AConsumerthat will call methods onDeleteSlackChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(DeleteSlackUserIdentityRequest deleteSlackUserIdentityRequest) Deletes a Slack user identity- Parameters:
deleteSlackUserIdentityRequest-- Returns:
- A Java Future containing the result of the DeleteSlackUserIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- ResourceNotFoundException We were not able to find the resource for your request.
- DeleteSlackUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackUserIdentity
default CompletableFuture<DeleteSlackUserIdentityResponse> deleteSlackUserIdentity(Consumer<DeleteSlackUserIdentityRequest.Builder> deleteSlackUserIdentityRequest) Deletes a Slack user identity
This is a convenience which creates an instance of the
DeleteSlackUserIdentityRequest.Builderavoiding the need to create one manually viaDeleteSlackUserIdentityRequest.builder()- Parameters:
deleteSlackUserIdentityRequest- AConsumerthat will call methods onDeleteSlackUserIdentityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSlackUserIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- ResourceNotFoundException We were not able to find the resource for your request.
- DeleteSlackUserIdentityException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackWorkspaceAuthorization
default CompletableFuture<DeleteSlackWorkspaceAuthorizationResponse> deleteSlackWorkspaceAuthorization(DeleteSlackWorkspaceAuthorizationRequest deleteSlackWorkspaceAuthorizationRequest) Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.- Parameters:
deleteSlackWorkspaceAuthorizationRequest-- Returns:
- A Java Future containing the result of the DeleteSlackWorkspaceAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteSlackWorkspaceAuthorizationException There was an issue deleting your Slack workspace.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSlackWorkspaceAuthorization
default CompletableFuture<DeleteSlackWorkspaceAuthorizationResponse> deleteSlackWorkspaceAuthorization(Consumer<DeleteSlackWorkspaceAuthorizationRequest.Builder> deleteSlackWorkspaceAuthorizationRequest) Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
This is a convenience which creates an instance of the
DeleteSlackWorkspaceAuthorizationRequest.Builderavoiding the need to create one manually viaDeleteSlackWorkspaceAuthorizationRequest.builder()- Parameters:
deleteSlackWorkspaceAuthorizationRequest- AConsumerthat will call methods onDeleteSlackWorkspaceAuthorizationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSlackWorkspaceAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DeleteSlackWorkspaceAuthorizationException There was an issue deleting your Slack workspace.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeChimeWebhookConfigurations
default CompletableFuture<DescribeChimeWebhookConfigurationsResponse> describeChimeWebhookConfigurations(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn- Parameters:
describeChimeWebhookConfigurationsRequest-- Returns:
- A Java Future containing the result of the DescribeChimeWebhookConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeChimeWebhookConfigurations
default CompletableFuture<DescribeChimeWebhookConfigurationsResponse> describeChimeWebhookConfigurations(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest) Lists Chime Webhook Configurations optionally filtered by ChatConfigurationArn
This is a convenience which creates an instance of the
DescribeChimeWebhookConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeChimeWebhookConfigurationsRequest.builder()- Parameters:
describeChimeWebhookConfigurationsRequest- AConsumerthat will call methods onDescribeChimeWebhookConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeChimeWebhookConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeChimeWebhookConfigurationsPaginator
default DescribeChimeWebhookConfigurationsPublisher describeChimeWebhookConfigurationsPaginator(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) This is a variant of
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation.- Parameters:
describeChimeWebhookConfigurationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeChimeWebhookConfigurationsPaginator
default DescribeChimeWebhookConfigurationsPublisher describeChimeWebhookConfigurationsPaginator(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest) This is a variant of
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeChimeWebhookConfigurationsPublisher publisher = client.describeChimeWebhookConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation.
This is a convenience which creates an instance of the
DescribeChimeWebhookConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeChimeWebhookConfigurationsRequest.builder()- Parameters:
describeChimeWebhookConfigurationsRequest- AConsumerthat will call methods onDescribeChimeWebhookConfigurationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeChimeWebhookConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackChannelConfigurations
default CompletableFuture<DescribeSlackChannelConfigurationsResponse> describeSlackChannelConfigurations(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest) Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn- Parameters:
describeSlackChannelConfigurationsRequest-- Returns:
- A Java Future containing the result of the DescribeSlackChannelConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackChannelConfigurations
default CompletableFuture<DescribeSlackChannelConfigurationsResponse> describeSlackChannelConfigurations(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest) Lists Slack Channel Configurations optionally filtered by ChatConfigurationArn
This is a convenience which creates an instance of the
DescribeSlackChannelConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeSlackChannelConfigurationsRequest.builder()- Parameters:
describeSlackChannelConfigurationsRequest- AConsumerthat will call methods onDescribeSlackChannelConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSlackChannelConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackChannelConfigurationsPaginator
default DescribeSlackChannelConfigurationsPublisher describeSlackChannelConfigurationsPaginator(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest) This is a variant of
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation.- Parameters:
describeSlackChannelConfigurationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackChannelConfigurationsPaginator
default DescribeSlackChannelConfigurationsPublisher describeSlackChannelConfigurationsPaginator(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest) This is a variant of
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeSlackChannelConfigurationsPublisher publisher = client.describeSlackChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation.
This is a convenience which creates an instance of the
DescribeSlackChannelConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeSlackChannelConfigurationsRequest.builder()- Parameters:
describeSlackChannelConfigurationsRequest- AConsumerthat will call methods onDescribeSlackChannelConfigurationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackUserIdentities
default CompletableFuture<DescribeSlackUserIdentitiesResponse> describeSlackUserIdentities(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest) Lists all Slack user identities with a mapped role.- Parameters:
describeSlackUserIdentitiesRequest-- Returns:
- A Java Future containing the result of the DescribeSlackUserIdentities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackUserIdentities
default CompletableFuture<DescribeSlackUserIdentitiesResponse> describeSlackUserIdentities(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest) Lists all Slack user identities with a mapped role.
This is a convenience which creates an instance of the
DescribeSlackUserIdentitiesRequest.Builderavoiding the need to create one manually viaDescribeSlackUserIdentitiesRequest.builder()- Parameters:
describeSlackUserIdentitiesRequest- AConsumerthat will call methods onDescribeSlackUserIdentitiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSlackUserIdentities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackUserIdentitiesPaginator
default DescribeSlackUserIdentitiesPublisher describeSlackUserIdentitiesPaginator(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest) This is a variant of
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation.- Parameters:
describeSlackUserIdentitiesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackUserIdentitiesPaginator
default DescribeSlackUserIdentitiesPublisher describeSlackUserIdentitiesPaginator(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest) This is a variant of
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeSlackUserIdentitiesPublisher publisher = client.describeSlackUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation.
This is a convenience which creates an instance of the
DescribeSlackUserIdentitiesRequest.Builderavoiding the need to create one manually viaDescribeSlackUserIdentitiesRequest.builder()- Parameters:
describeSlackUserIdentitiesRequest- AConsumerthat will call methods onDescribeSlackUserIdentitiesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- DescribeSlackUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackWorkspaces
default CompletableFuture<DescribeSlackWorkspacesResponse> describeSlackWorkspaces(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) Lists all authorized Slack Workspaces for AWS Account- Parameters:
describeSlackWorkspacesRequest-- Returns:
- A Java Future containing the result of the DescribeSlackWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackWorkspaces
default CompletableFuture<DescribeSlackWorkspacesResponse> describeSlackWorkspaces(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) Lists all authorized Slack Workspaces for AWS Account
This is a convenience which creates an instance of the
DescribeSlackWorkspacesRequest.Builderavoiding the need to create one manually viaDescribeSlackWorkspacesRequest.builder()- Parameters:
describeSlackWorkspacesRequest- AConsumerthat will call methods onDescribeSlackWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSlackWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackWorkspacesPaginator
default DescribeSlackWorkspacesPublisher describeSlackWorkspacesPaginator(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) This is a variant of
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.- Parameters:
describeSlackWorkspacesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSlackWorkspacesPaginator
default DescribeSlackWorkspacesPublisher describeSlackWorkspacesPaginator(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) This is a variant of
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.DescribeSlackWorkspacesPublisher publisher = client.describeSlackWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.
This is a convenience which creates an instance of the
DescribeSlackWorkspacesRequest.Builderavoiding the need to create one manually viaDescribeSlackWorkspacesRequest.builder()- Parameters:
describeSlackWorkspacesRequest- AConsumerthat will call methods onDescribeSlackWorkspacesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- DescribeSlackWorkspacesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountPreferences
default CompletableFuture<GetAccountPreferencesResponse> getAccountPreferences(GetAccountPreferencesRequest getAccountPreferencesRequest) Get Chatbot account level preferences- Parameters:
getAccountPreferencesRequest-- Returns:
- A Java Future containing the result of the GetAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GetAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountPreferences
default CompletableFuture<GetAccountPreferencesResponse> getAccountPreferences(Consumer<GetAccountPreferencesRequest.Builder> getAccountPreferencesRequest) Get Chatbot account level preferences
This is a convenience which creates an instance of the
GetAccountPreferencesRequest.Builderavoiding the need to create one manually viaGetAccountPreferencesRequest.builder()- Parameters:
getAccountPreferencesRequest- AConsumerthat will call methods onGetAccountPreferencesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GetAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMicrosoftTeamsChannelConfiguration
default CompletableFuture<GetMicrosoftTeamsChannelConfigurationResponse> getMicrosoftTeamsChannelConfiguration(GetMicrosoftTeamsChannelConfigurationRequest getMicrosoftTeamsChannelConfigurationRequest) Get a single MS Teams Channel Configurations- Parameters:
getMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the GetMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMicrosoftTeamsChannelConfiguration
default CompletableFuture<GetMicrosoftTeamsChannelConfigurationResponse> getMicrosoftTeamsChannelConfiguration(Consumer<GetMicrosoftTeamsChannelConfigurationRequest.Builder> getMicrosoftTeamsChannelConfigurationRequest) Get a single MS Teams Channel Configurations
This is a convenience which creates an instance of the
GetMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaGetMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
getMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onGetMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- GetTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsChannelConfigurations
default CompletableFuture<ListMicrosoftTeamsChannelConfigurationsResponse> listMicrosoftTeamsChannelConfigurations(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) Lists MS Teams Channel Configurations optionally filtered by TeamId- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsChannelConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsChannelConfigurations
default CompletableFuture<ListMicrosoftTeamsChannelConfigurationsResponse> listMicrosoftTeamsChannelConfigurations(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) Lists MS Teams Channel Configurations optionally filtered by TeamId
This is a convenience which creates an instance of the
ListMicrosoftTeamsChannelConfigurationsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsChannelConfigurationsRequest.builder()- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest- AConsumerthat will call methods onListMicrosoftTeamsChannelConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsChannelConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsChannelConfigurationsPaginator
default ListMicrosoftTeamsChannelConfigurationsPublisher listMicrosoftTeamsChannelConfigurationsPaginator(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) This is a variant of
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation.- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsChannelConfigurationsPaginator
default ListMicrosoftTeamsChannelConfigurationsPublisher listMicrosoftTeamsChannelConfigurationsPaginator(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) This is a variant of
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsChannelConfigurationsPublisher publisher = client.listMicrosoftTeamsChannelConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsChannelConfigurations(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListMicrosoftTeamsChannelConfigurationsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsChannelConfigurationsRequest.builder()- Parameters:
listMicrosoftTeamsChannelConfigurationsRequest- AConsumerthat will call methods onListMicrosoftTeamsChannelConfigurationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListTeamsChannelConfigurationsException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsConfiguredTeams
default CompletableFuture<ListMicrosoftTeamsConfiguredTeamsResponse> listMicrosoftTeamsConfiguredTeams(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized MS teams for AWS Account- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsConfiguredTeams operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsConfiguredTeams
default CompletableFuture<ListMicrosoftTeamsConfiguredTeamsResponse> listMicrosoftTeamsConfiguredTeams(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized MS teams for AWS Account
This is a convenience which creates an instance of the
ListMicrosoftTeamsConfiguredTeamsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsConfiguredTeamsRequest.builder()- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest- AConsumerthat will call methods onListMicrosoftTeamsConfiguredTeamsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsConfiguredTeams operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsConfiguredTeamsPaginator
default ListMicrosoftTeamsConfiguredTeamsPublisher listMicrosoftTeamsConfiguredTeamsPaginator(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) This is a variant of
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation.- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsConfiguredTeamsPaginator
default ListMicrosoftTeamsConfiguredTeamsPublisher listMicrosoftTeamsConfiguredTeamsPaginator(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) This is a variant of
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsConfiguredTeamsPublisher publisher = client.listMicrosoftTeamsConfiguredTeamsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation.
This is a convenience which creates an instance of the
ListMicrosoftTeamsConfiguredTeamsRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsConfiguredTeamsRequest.builder()- Parameters:
listMicrosoftTeamsConfiguredTeamsRequest- AConsumerthat will call methods onListMicrosoftTeamsConfiguredTeamsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsConfiguredTeamsException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsUserIdentities
default CompletableFuture<ListMicrosoftTeamsUserIdentitiesResponse> listMicrosoftTeamsUserIdentities(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) Lists all Microsoft Teams user identities with a mapped role.- Parameters:
listMicrosoftTeamsUserIdentitiesRequest-- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsUserIdentities operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsUserIdentities
default CompletableFuture<ListMicrosoftTeamsUserIdentitiesResponse> listMicrosoftTeamsUserIdentities(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest) Lists all Microsoft Teams user identities with a mapped role.
This is a convenience which creates an instance of the
ListMicrosoftTeamsUserIdentitiesRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsUserIdentitiesRequest.builder()- Parameters:
listMicrosoftTeamsUserIdentitiesRequest- AConsumerthat will call methods onListMicrosoftTeamsUserIdentitiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMicrosoftTeamsUserIdentities operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsUserIdentitiesPaginator
default ListMicrosoftTeamsUserIdentitiesPublisher listMicrosoftTeamsUserIdentitiesPaginator(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) This is a variant of
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation.- Parameters:
listMicrosoftTeamsUserIdentitiesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMicrosoftTeamsUserIdentitiesPaginator
default ListMicrosoftTeamsUserIdentitiesPublisher listMicrosoftTeamsUserIdentitiesPaginator(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest) This is a variant of
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.chatbot.paginators.ListMicrosoftTeamsUserIdentitiesPublisher publisher = client.listMicrosoftTeamsUserIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation.
This is a convenience which creates an instance of the
ListMicrosoftTeamsUserIdentitiesRequest.Builderavoiding the need to create one manually viaListMicrosoftTeamsUserIdentitiesRequest.builder()- Parameters:
listMicrosoftTeamsUserIdentitiesRequest- AConsumerthat will call methods onListMicrosoftTeamsUserIdentitiesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ListMicrosoftTeamsUserIdentitiesException We can’t process your request right now because of a server issue. Try again later.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the list of tags applied to a configuration.- 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.- InternalServiceErrorException Customer/consumer-facing internal service exception. https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were not able 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:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the list of tags applied to a configuration.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Customer/consumer-facing internal service exception. https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were not able 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:
-
tagResource
Applies the supplied tags to a configuration.- 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.- InternalServiceErrorException Customer/consumer-facing internal service exception. https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were not able to find the resource for your 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) Applies the supplied tags to a configuration.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Customer/consumer-facing internal service exception. https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were not able to find the resource for your 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) Removes the supplied tags from a configuration- 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.- InternalServiceErrorException Customer/consumer-facing internal service exception. https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were not able 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:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the supplied tags from a configuration
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServiceErrorException Customer/consumer-facing internal service exception. https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError
- ServiceUnavailableException We can’t process your request right now because of a server issue. Try again later.
- ResourceNotFoundException We were not able 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:
-
updateAccountPreferences
default CompletableFuture<UpdateAccountPreferencesResponse> updateAccountPreferences(UpdateAccountPreferencesRequest updateAccountPreferencesRequest) Update Chatbot account level preferences- Parameters:
updateAccountPreferencesRequest-- Returns:
- A Java Future containing the result of the UpdateAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccountPreferences
default CompletableFuture<UpdateAccountPreferencesResponse> updateAccountPreferences(Consumer<UpdateAccountPreferencesRequest.Builder> updateAccountPreferencesRequest) Update Chatbot account level preferences
This is a convenience which creates an instance of the
UpdateAccountPreferencesRequest.Builderavoiding the need to create one manually viaUpdateAccountPreferencesRequest.builder()- Parameters:
updateAccountPreferencesRequest- AConsumerthat will call methods onUpdateAccountPreferencesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAccountPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UpdateAccountPreferencesException We can’t process your request right now because of a server issue. Try again later.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateChimeWebhookConfiguration
default CompletableFuture<UpdateChimeWebhookConfigurationResponse> updateChimeWebhookConfiguration(UpdateChimeWebhookConfigurationRequest updateChimeWebhookConfigurationRequest) Updates a Chime Webhook Configuration- Parameters:
updateChimeWebhookConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateChimeWebhookConfiguration
default CompletableFuture<UpdateChimeWebhookConfigurationResponse> updateChimeWebhookConfiguration(Consumer<UpdateChimeWebhookConfigurationRequest.Builder> updateChimeWebhookConfigurationRequest) Updates a Chime Webhook Configuration
This is a convenience which creates an instance of the
UpdateChimeWebhookConfigurationRequest.Builderavoiding the need to create one manually viaUpdateChimeWebhookConfigurationRequest.builder()- Parameters:
updateChimeWebhookConfigurationRequest- AConsumerthat will call methods onUpdateChimeWebhookConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateChimeWebhookConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateChimeWebhookConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMicrosoftTeamsChannelConfiguration
default CompletableFuture<UpdateMicrosoftTeamsChannelConfigurationResponse> updateMicrosoftTeamsChannelConfiguration(UpdateMicrosoftTeamsChannelConfigurationRequest updateMicrosoftTeamsChannelConfigurationRequest) Updates MS Teams Channel Configuration- Parameters:
updateMicrosoftTeamsChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMicrosoftTeamsChannelConfiguration
default CompletableFuture<UpdateMicrosoftTeamsChannelConfigurationResponse> updateMicrosoftTeamsChannelConfiguration(Consumer<UpdateMicrosoftTeamsChannelConfigurationRequest.Builder> updateMicrosoftTeamsChannelConfigurationRequest) Updates MS Teams Channel Configuration
This is a convenience which creates an instance of the
UpdateMicrosoftTeamsChannelConfigurationRequest.Builderavoiding the need to create one manually viaUpdateMicrosoftTeamsChannelConfigurationRequest.builder()- Parameters:
updateMicrosoftTeamsChannelConfigurationRequest- AConsumerthat will call methods onUpdateMicrosoftTeamsChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateMicrosoftTeamsChannelConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateTeamsChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSlackChannelConfiguration
default CompletableFuture<UpdateSlackChannelConfigurationResponse> updateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest updateSlackChannelConfigurationRequest) Updates Slack Channel Configuration- Parameters:
updateSlackChannelConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSlackChannelConfiguration
default CompletableFuture<UpdateSlackChannelConfigurationResponse> updateSlackChannelConfiguration(Consumer<UpdateSlackChannelConfigurationRequest.Builder> updateSlackChannelConfigurationRequest) Updates Slack Channel Configuration
This is a convenience which creates an instance of the
UpdateSlackChannelConfigurationRequest.Builderavoiding the need to create one manually viaUpdateSlackChannelConfigurationRequest.builder()- Parameters:
updateSlackChannelConfigurationRequest- AConsumerthat will call methods onUpdateSlackChannelConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSlackChannelConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException We were not able to find the resource for your request.
- InvalidParameterException Your request input doesn't meet the constraints that AWS Chatbot requires.
- InvalidRequestException Your request input doesn't meet the constraints that AWS Chatbot requires.
- UpdateSlackChannelConfigurationException We can’t process your request right now because of a server issue. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ChatbotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aChatbotAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aChatbotAsyncClient.
-