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