Interface ChatbotClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() 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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatbotClientBuilderbuilder()Create a builder that can be used to configure and create aChatbotClient.static ChatbotClientcreate()Create aChatbotClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createChimeWebhookConfiguration(Consumer<CreateChimeWebhookConfigurationRequest.Builder> createChimeWebhookConfigurationRequest) Creates an AWS Chatbot configuration for Amazon Chime.createChimeWebhookConfiguration(CreateChimeWebhookConfigurationRequest createChimeWebhookConfigurationRequest) Creates an AWS Chatbot configuration for Amazon Chime.createMicrosoftTeamsChannelConfiguration(Consumer<CreateMicrosoftTeamsChannelConfigurationRequest.Builder> createMicrosoftTeamsChannelConfigurationRequest) Creates an AWS Chatbot configuration for Microsoft Teams.createMicrosoftTeamsChannelConfiguration(CreateMicrosoftTeamsChannelConfigurationRequest createMicrosoftTeamsChannelConfigurationRequest) Creates an AWS Chatbot configuration for Microsoft Teams.createSlackChannelConfiguration(Consumer<CreateSlackChannelConfigurationRequest.Builder> createSlackChannelConfigurationRequest) Creates an AWS Chatbot confugration for Slack.createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest createSlackChannelConfigurationRequest) Creates an AWS Chatbot confugration for Slack.deleteChimeWebhookConfiguration(Consumer<DeleteChimeWebhookConfigurationRequest.Builder> deleteChimeWebhookConfigurationRequest) Deletes a Amazon Chime webhook configuration for AWS Chatbot.deleteChimeWebhookConfiguration(DeleteChimeWebhookConfigurationRequest deleteChimeWebhookConfigurationRequest) Deletes a Amazon Chime webhook configuration for AWS Chatbot.deleteMicrosoftTeamsChannelConfiguration(Consumer<DeleteMicrosoftTeamsChannelConfigurationRequest.Builder> deleteMicrosoftTeamsChannelConfigurationRequest) Deletes a Microsoft Teams channel configuration for AWS ChatbotdeleteMicrosoftTeamsChannelConfiguration(DeleteMicrosoftTeamsChannelConfigurationRequest deleteMicrosoftTeamsChannelConfigurationRequest) Deletes a Microsoft Teams channel configuration for AWS ChatbotdeleteMicrosoftTeamsConfiguredTeam(Consumer<DeleteMicrosoftTeamsConfiguredTeamRequest.Builder> deleteMicrosoftTeamsConfiguredTeamRequest) Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team.deleteMicrosoftTeamsConfiguredTeam(DeleteMicrosoftTeamsConfiguredTeamRequest deleteMicrosoftTeamsConfiguredTeamRequest) Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team.deleteMicrosoftTeamsUserIdentity(Consumer<DeleteMicrosoftTeamsUserIdentityRequest.Builder> deleteMicrosoftTeamsUserIdentityRequest) Identifes a user level permission for a channel configuration.deleteMicrosoftTeamsUserIdentity(DeleteMicrosoftTeamsUserIdentityRequest deleteMicrosoftTeamsUserIdentityRequest) Identifes a user level permission for a channel configuration.deleteSlackChannelConfiguration(Consumer<DeleteSlackChannelConfigurationRequest.Builder> deleteSlackChannelConfigurationRequest) Deletes a Slack channel configuration for AWS ChatbotdeleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest deleteSlackChannelConfigurationRequest) Deletes a Slack channel configuration for AWS Chatbotdefault DeleteSlackUserIdentityResponsedeleteSlackUserIdentity(Consumer<DeleteSlackUserIdentityRequest.Builder> deleteSlackUserIdentityRequest) Deletes a user level permission for a Slack channel configuration.default DeleteSlackUserIdentityResponsedeleteSlackUserIdentity(DeleteSlackUserIdentityRequest deleteSlackUserIdentityRequest) Deletes a user level permission for a Slack channel configuration.deleteSlackWorkspaceAuthorization(Consumer<DeleteSlackWorkspaceAuthorizationRequest.Builder> deleteSlackWorkspaceAuthorizationRequest) Deletes the Slack workspace authorization that allows channels to be configured in that workspace.deleteSlackWorkspaceAuthorization(DeleteSlackWorkspaceAuthorizationRequest deleteSlackWorkspaceAuthorizationRequest) Deletes the Slack workspace authorization that allows channels to be configured in that workspace.describeChimeWebhookConfigurations(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest) Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArndescribeChimeWebhookConfigurations(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArndescribeChimeWebhookConfigurationsPaginator(Consumer<DescribeChimeWebhookConfigurationsRequest.Builder> describeChimeWebhookConfigurationsRequest) This is a variant ofdescribeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation.describeChimeWebhookConfigurationsPaginator(DescribeChimeWebhookConfigurationsRequest describeChimeWebhookConfigurationsRequest) This is a variant ofdescribeChimeWebhookConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest)operation.describeSlackChannelConfigurations(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest) Lists Slack channel configurations optionally filtered by ChatConfigurationArndescribeSlackChannelConfigurations(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest) Lists Slack channel configurations optionally filtered by ChatConfigurationArndescribeSlackChannelConfigurationsPaginator(Consumer<DescribeSlackChannelConfigurationsRequest.Builder> describeSlackChannelConfigurationsRequest) This is a variant ofdescribeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation.describeSlackChannelConfigurationsPaginator(DescribeSlackChannelConfigurationsRequest describeSlackChannelConfigurationsRequest) This is a variant ofdescribeSlackChannelConfigurations(software.amazon.awssdk.services.chatbot.model.DescribeSlackChannelConfigurationsRequest)operation.describeSlackUserIdentities(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest) Lists all Slack user identities with a mapped role.describeSlackUserIdentities(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest) Lists all Slack user identities with a mapped role.describeSlackUserIdentitiesPaginator(Consumer<DescribeSlackUserIdentitiesRequest.Builder> describeSlackUserIdentitiesRequest) This is a variant ofdescribeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation.describeSlackUserIdentitiesPaginator(DescribeSlackUserIdentitiesRequest describeSlackUserIdentitiesRequest) This is a variant ofdescribeSlackUserIdentities(software.amazon.awssdk.services.chatbot.model.DescribeSlackUserIdentitiesRequest)operation.default DescribeSlackWorkspacesResponsedescribeSlackWorkspaces(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.default DescribeSlackWorkspacesResponsedescribeSlackWorkspaces(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.default DescribeSlackWorkspacesIterabledescribeSlackWorkspacesPaginator(Consumer<DescribeSlackWorkspacesRequest.Builder> describeSlackWorkspacesRequest) This is a variant ofdescribeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.default DescribeSlackWorkspacesIterabledescribeSlackWorkspacesPaginator(DescribeSlackWorkspacesRequest describeSlackWorkspacesRequest) This is a variant ofdescribeSlackWorkspaces(software.amazon.awssdk.services.chatbot.model.DescribeSlackWorkspacesRequest)operation.default GetAccountPreferencesResponsegetAccountPreferences(Consumer<GetAccountPreferencesRequest.Builder> getAccountPreferencesRequest) Returns AWS Chatbot account preferences.default GetAccountPreferencesResponsegetAccountPreferences(GetAccountPreferencesRequest getAccountPreferencesRequest) Returns AWS Chatbot account preferences.getMicrosoftTeamsChannelConfiguration(Consumer<GetMicrosoftTeamsChannelConfigurationRequest.Builder> getMicrosoftTeamsChannelConfigurationRequest) Returns a Microsoft Teams channel configuration in an AWS account.getMicrosoftTeamsChannelConfiguration(GetMicrosoftTeamsChannelConfigurationRequest getMicrosoftTeamsChannelConfigurationRequest) Returns a Microsoft Teams channel configuration in an AWS account.listMicrosoftTeamsChannelConfigurations(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.listMicrosoftTeamsChannelConfigurations(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.listMicrosoftTeamsChannelConfigurationsPaginator(Consumer<ListMicrosoftTeamsChannelConfigurationsRequest.Builder> listMicrosoftTeamsChannelConfigurationsRequest) listMicrosoftTeamsChannelConfigurationsPaginator(ListMicrosoftTeamsChannelConfigurationsRequest listMicrosoftTeamsChannelConfigurationsRequest) listMicrosoftTeamsConfiguredTeams(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized Microsoft Teams for an AWS AccountlistMicrosoftTeamsConfiguredTeams(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) Lists all authorized Microsoft Teams for an AWS AccountlistMicrosoftTeamsConfiguredTeamsPaginator(Consumer<ListMicrosoftTeamsConfiguredTeamsRequest.Builder> listMicrosoftTeamsConfiguredTeamsRequest) This is a variant oflistMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation.listMicrosoftTeamsConfiguredTeamsPaginator(ListMicrosoftTeamsConfiguredTeamsRequest listMicrosoftTeamsConfiguredTeamsRequest) This is a variant oflistMicrosoftTeamsConfiguredTeams(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest)operation.listMicrosoftTeamsUserIdentities(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest) A list all Microsoft Teams user identities with a mapped role.listMicrosoftTeamsUserIdentities(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) A list all Microsoft Teams user identities with a mapped role.listMicrosoftTeamsUserIdentitiesPaginator(Consumer<ListMicrosoftTeamsUserIdentitiesRequest.Builder> listMicrosoftTeamsUserIdentitiesRequest) This is a variant oflistMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation.listMicrosoftTeamsUserIdentitiesPaginator(ListMicrosoftTeamsUserIdentitiesRequest listMicrosoftTeamsUserIdentitiesRequest) This is a variant oflistMicrosoftTeamsUserIdentities(software.amazon.awssdk.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).default UpdateAccountPreferencesResponseupdateAccountPreferences(Consumer<UpdateAccountPreferencesRequest.Builder> updateAccountPreferencesRequest) Updates AWS Chatbot account preferences.default UpdateAccountPreferencesResponseupdateAccountPreferences(UpdateAccountPreferencesRequest updateAccountPreferencesRequest) Updates AWS Chatbot account preferences.updateChimeWebhookConfiguration(Consumer<UpdateChimeWebhookConfigurationRequest.Builder> updateChimeWebhookConfigurationRequest) Updates a Amazon Chime webhook configuration.updateChimeWebhookConfiguration(UpdateChimeWebhookConfigurationRequest updateChimeWebhookConfigurationRequest) Updates a Amazon Chime webhook configuration.updateMicrosoftTeamsChannelConfiguration(Consumer<UpdateMicrosoftTeamsChannelConfigurationRequest.Builder> updateMicrosoftTeamsChannelConfigurationRequest) Updates an Microsoft Teams channel configuration.updateMicrosoftTeamsChannelConfiguration(UpdateMicrosoftTeamsChannelConfigurationRequest updateMicrosoftTeamsChannelConfigurationRequest) Updates an Microsoft Teams channel configuration.updateSlackChannelConfiguration(Consumer<UpdateSlackChannelConfigurationRequest.Builder> updateSlackChannelConfigurationRequest) Updates a Slack channel configuration.updateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest updateSlackChannelConfigurationRequest) Updates a Slack channel configuration.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createChimeWebhookConfiguration
default 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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
create
Create aChatbotClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aChatbotClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-