ChatbotClient#
Auto-generated documentation for Chatbot type annotations stubs module types-boto3-chatbot.
ChatbotClient#
Type annotations and code completion for boto3.client("chatbot")
.
boto3 documentation
# ChatbotClient usage example
from boto3.session import Session
from types_boto3_chatbot.client import ChatbotClient
def get_chatbot_client() -> ChatbotClient:
return Session().client("chatbot")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("chatbot").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("chatbot")
try:
do_something(client)
except (
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.CreateChimeWebhookConfigurationException,
client.exceptions.CreateSlackChannelConfigurationException,
client.exceptions.CreateTeamsChannelConfigurationException,
client.exceptions.DeleteChimeWebhookConfigurationException,
client.exceptions.DeleteMicrosoftTeamsUserIdentityException,
client.exceptions.DeleteSlackChannelConfigurationException,
client.exceptions.DeleteSlackUserIdentityException,
client.exceptions.DeleteSlackWorkspaceAuthorizationFault,
client.exceptions.DeleteTeamsChannelConfigurationException,
client.exceptions.DeleteTeamsConfiguredTeamException,
client.exceptions.DescribeChimeWebhookConfigurationsException,
client.exceptions.DescribeSlackChannelConfigurationsException,
client.exceptions.DescribeSlackUserIdentitiesException,
client.exceptions.DescribeSlackWorkspacesException,
client.exceptions.GetAccountPreferencesException,
client.exceptions.GetTeamsChannelConfigurationException,
client.exceptions.InternalServiceError,
client.exceptions.InvalidParameterException,
client.exceptions.InvalidRequestException,
client.exceptions.LimitExceededException,
client.exceptions.ListMicrosoftTeamsConfiguredTeamsException,
client.exceptions.ListMicrosoftTeamsUserIdentitiesException,
client.exceptions.ListTeamsChannelConfigurationsException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceUnavailableException,
client.exceptions.TooManyTagsException,
client.exceptions.UnauthorizedException,
client.exceptions.UpdateAccountPreferencesException,
client.exceptions.UpdateChimeWebhookConfigurationException,
client.exceptions.UpdateSlackChannelConfigurationException,
client.exceptions.UpdateTeamsChannelConfigurationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from types_boto3_chatbot.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("chatbot").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("chatbot").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
associate_to_configuration#
Links a resource (for example, a custom action) to a channel configuration.
Type annotations and code completion for boto3.client("chatbot").associate_to_configuration
method.
boto3 documentation
# associate_to_configuration method definition
def associate_to_configuration(
self,
*,
Resource: str,
ChatConfiguration: str,
) -> dict[str, Any]:
...
# associate_to_configuration method usage example with argument unpacking
kwargs: AssociateToConfigurationRequestRequestTypeDef = { # (1)
"Resource": ...,
"ChatConfiguration": ...,
}
parent.associate_to_configuration(**kwargs)
create_chime_webhook_configuration#
Creates an AWS Chatbot configuration for Amazon Chime.
Type annotations and code completion for boto3.client("chatbot").create_chime_webhook_configuration
method.
boto3 documentation
# create_chime_webhook_configuration method definition
def create_chime_webhook_configuration(
self,
*,
WebhookDescription: str,
WebhookUrl: str,
SnsTopicArns: Sequence[str],
IamRoleArn: str,
ConfigurationName: str,
LoggingLevel: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateChimeWebhookConfigurationResultTypeDef: # (2)
...
# create_chime_webhook_configuration method usage example with argument unpacking
kwargs: CreateChimeWebhookConfigurationRequestRequestTypeDef = { # (1)
"WebhookDescription": ...,
"WebhookUrl": ...,
"SnsTopicArns": ...,
"IamRoleArn": ...,
"ConfigurationName": ...,
}
parent.create_chime_webhook_configuration(**kwargs)
create_custom_action#
Creates a custom action that can be invoked as an alias or as a button on a notification.
Type annotations and code completion for boto3.client("chatbot").create_custom_action
method.
boto3 documentation
# create_custom_action method definition
def create_custom_action(
self,
*,
Definition: CustomActionDefinitionTypeDef, # (1)
ActionName: str,
AliasName: str = ...,
Attachments: Sequence[CustomActionAttachmentUnionTypeDef] = ..., # (2)
Tags: Sequence[TagTypeDef] = ..., # (3)
ClientToken: str = ...,
) -> CreateCustomActionResultTypeDef: # (4)
...
- See CustomActionDefinitionTypeDef
- See CustomActionAttachmentTypeDef CustomActionAttachmentOutputTypeDef
- See TagTypeDef
- See CreateCustomActionResultTypeDef
# create_custom_action method usage example with argument unpacking
kwargs: CreateCustomActionRequestRequestTypeDef = { # (1)
"Definition": ...,
"ActionName": ...,
}
parent.create_custom_action(**kwargs)
create_microsoft_teams_channel_configuration#
Creates an AWS Chatbot configuration for Microsoft Teams.
Type annotations and code completion for boto3.client("chatbot").create_microsoft_teams_channel_configuration
method.
boto3 documentation
# create_microsoft_teams_channel_configuration method definition
def create_microsoft_teams_channel_configuration(
self,
*,
ChannelId: str,
TeamId: str,
TenantId: str,
IamRoleArn: str,
ConfigurationName: str,
ChannelName: str = ...,
TeamName: str = ...,
SnsTopicArns: Sequence[str] = ...,
LoggingLevel: str = ...,
GuardrailPolicyArns: Sequence[str] = ...,
UserAuthorizationRequired: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateTeamsChannelConfigurationResultTypeDef: # (2)
...
# create_microsoft_teams_channel_configuration method usage example with argument unpacking
kwargs: CreateTeamsChannelConfigurationRequestRequestTypeDef = { # (1)
"ChannelId": ...,
"TeamId": ...,
"TenantId": ...,
"IamRoleArn": ...,
"ConfigurationName": ...,
}
parent.create_microsoft_teams_channel_configuration(**kwargs)
create_slack_channel_configuration#
Creates an AWS Chatbot confugration for Slack.
Type annotations and code completion for boto3.client("chatbot").create_slack_channel_configuration
method.
boto3 documentation
# create_slack_channel_configuration method definition
def create_slack_channel_configuration(
self,
*,
SlackTeamId: str,
SlackChannelId: str,
IamRoleArn: str,
ConfigurationName: str,
SlackChannelName: str = ...,
SnsTopicArns: Sequence[str] = ...,
LoggingLevel: str = ...,
GuardrailPolicyArns: Sequence[str] = ...,
UserAuthorizationRequired: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateSlackChannelConfigurationResultTypeDef: # (2)
...
# create_slack_channel_configuration method usage example with argument unpacking
kwargs: CreateSlackChannelConfigurationRequestRequestTypeDef = { # (1)
"SlackTeamId": ...,
"SlackChannelId": ...,
"IamRoleArn": ...,
"ConfigurationName": ...,
}
parent.create_slack_channel_configuration(**kwargs)
delete_chime_webhook_configuration#
Deletes a Amazon Chime webhook configuration for AWS Chatbot.
Type annotations and code completion for boto3.client("chatbot").delete_chime_webhook_configuration
method.
boto3 documentation
# delete_chime_webhook_configuration method definition
def delete_chime_webhook_configuration(
self,
*,
ChatConfigurationArn: str,
) -> dict[str, Any]:
...
# delete_chime_webhook_configuration method usage example with argument unpacking
kwargs: DeleteChimeWebhookConfigurationRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
}
parent.delete_chime_webhook_configuration(**kwargs)
delete_custom_action#
Deletes a custom action.
Type annotations and code completion for boto3.client("chatbot").delete_custom_action
method.
boto3 documentation
# delete_custom_action method definition
def delete_custom_action(
self,
*,
CustomActionArn: str,
) -> dict[str, Any]:
...
# delete_custom_action method usage example with argument unpacking
kwargs: DeleteCustomActionRequestRequestTypeDef = { # (1)
"CustomActionArn": ...,
}
parent.delete_custom_action(**kwargs)
delete_microsoft_teams_channel_configuration#
Deletes a Microsoft Teams channel configuration for AWS Chatbot.
Type annotations and code completion for boto3.client("chatbot").delete_microsoft_teams_channel_configuration
method.
boto3 documentation
# delete_microsoft_teams_channel_configuration method definition
def delete_microsoft_teams_channel_configuration(
self,
*,
ChatConfigurationArn: str,
) -> dict[str, Any]:
...
# delete_microsoft_teams_channel_configuration method usage example with argument unpacking
kwargs: DeleteTeamsChannelConfigurationRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
}
parent.delete_microsoft_teams_channel_configuration(**kwargs)
delete_microsoft_teams_configured_team#
Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team.
Type annotations and code completion for boto3.client("chatbot").delete_microsoft_teams_configured_team
method.
boto3 documentation
# delete_microsoft_teams_configured_team method definition
def delete_microsoft_teams_configured_team(
self,
*,
TeamId: str,
) -> dict[str, Any]:
...
# delete_microsoft_teams_configured_team method usage example with argument unpacking
kwargs: DeleteTeamsConfiguredTeamRequestRequestTypeDef = { # (1)
"TeamId": ...,
}
parent.delete_microsoft_teams_configured_team(**kwargs)
delete_microsoft_teams_user_identity#
Identifes a user level permission for a channel configuration.
Type annotations and code completion for boto3.client("chatbot").delete_microsoft_teams_user_identity
method.
boto3 documentation
# delete_microsoft_teams_user_identity method definition
def delete_microsoft_teams_user_identity(
self,
*,
ChatConfigurationArn: str,
UserId: str,
) -> dict[str, Any]:
...
# delete_microsoft_teams_user_identity method usage example with argument unpacking
kwargs: DeleteMicrosoftTeamsUserIdentityRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
"UserId": ...,
}
parent.delete_microsoft_teams_user_identity(**kwargs)
delete_slack_channel_configuration#
Deletes a Slack channel configuration for AWS Chatbot.
Type annotations and code completion for boto3.client("chatbot").delete_slack_channel_configuration
method.
boto3 documentation
# delete_slack_channel_configuration method definition
def delete_slack_channel_configuration(
self,
*,
ChatConfigurationArn: str,
) -> dict[str, Any]:
...
# delete_slack_channel_configuration method usage example with argument unpacking
kwargs: DeleteSlackChannelConfigurationRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
}
parent.delete_slack_channel_configuration(**kwargs)
delete_slack_user_identity#
Deletes a user level permission for a Slack channel configuration.
Type annotations and code completion for boto3.client("chatbot").delete_slack_user_identity
method.
boto3 documentation
# delete_slack_user_identity method definition
def delete_slack_user_identity(
self,
*,
ChatConfigurationArn: str,
SlackTeamId: str,
SlackUserId: str,
) -> dict[str, Any]:
...
# delete_slack_user_identity method usage example with argument unpacking
kwargs: DeleteSlackUserIdentityRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
"SlackTeamId": ...,
"SlackUserId": ...,
}
parent.delete_slack_user_identity(**kwargs)
delete_slack_workspace_authorization#
Deletes the Slack workspace authorization that allows channels to be configured in that workspace.
Type annotations and code completion for boto3.client("chatbot").delete_slack_workspace_authorization
method.
boto3 documentation
# delete_slack_workspace_authorization method definition
def delete_slack_workspace_authorization(
self,
*,
SlackTeamId: str,
) -> dict[str, Any]:
...
# delete_slack_workspace_authorization method usage example with argument unpacking
kwargs: DeleteSlackWorkspaceAuthorizationRequestRequestTypeDef = { # (1)
"SlackTeamId": ...,
}
parent.delete_slack_workspace_authorization(**kwargs)
describe_chime_webhook_configurations#
Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn.
Type annotations and code completion for boto3.client("chatbot").describe_chime_webhook_configurations
method.
boto3 documentation
# describe_chime_webhook_configurations method definition
def describe_chime_webhook_configurations(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
ChatConfigurationArn: str = ...,
) -> DescribeChimeWebhookConfigurationsResultTypeDef: # (1)
...
# describe_chime_webhook_configurations method usage example with argument unpacking
kwargs: DescribeChimeWebhookConfigurationsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.describe_chime_webhook_configurations(**kwargs)
describe_slack_channel_configurations#
Lists Slack channel configurations optionally filtered by ChatConfigurationArn.
Type annotations and code completion for boto3.client("chatbot").describe_slack_channel_configurations
method.
boto3 documentation
# describe_slack_channel_configurations method definition
def describe_slack_channel_configurations(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
ChatConfigurationArn: str = ...,
) -> DescribeSlackChannelConfigurationsResultTypeDef: # (1)
...
# describe_slack_channel_configurations method usage example with argument unpacking
kwargs: DescribeSlackChannelConfigurationsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.describe_slack_channel_configurations(**kwargs)
describe_slack_user_identities#
Lists all Slack user identities with a mapped role.
Type annotations and code completion for boto3.client("chatbot").describe_slack_user_identities
method.
boto3 documentation
# describe_slack_user_identities method definition
def describe_slack_user_identities(
self,
*,
ChatConfigurationArn: str = ...,
NextToken: str = ...,
MaxResults: int = ...,
) -> DescribeSlackUserIdentitiesResultTypeDef: # (1)
...
# describe_slack_user_identities method usage example with argument unpacking
kwargs: DescribeSlackUserIdentitiesRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
}
parent.describe_slack_user_identities(**kwargs)
describe_slack_workspaces#
List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
Type annotations and code completion for boto3.client("chatbot").describe_slack_workspaces
method.
boto3 documentation
# describe_slack_workspaces method definition
def describe_slack_workspaces(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeSlackWorkspacesResultTypeDef: # (1)
...
# describe_slack_workspaces method usage example with argument unpacking
kwargs: DescribeSlackWorkspacesRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.describe_slack_workspaces(**kwargs)
disassociate_from_configuration#
Unlink a resource, for example a custom action, from a channel configuration.
Type annotations and code completion for boto3.client("chatbot").disassociate_from_configuration
method.
boto3 documentation
# disassociate_from_configuration method definition
def disassociate_from_configuration(
self,
*,
Resource: str,
ChatConfiguration: str,
) -> dict[str, Any]:
...
# disassociate_from_configuration method usage example with argument unpacking
kwargs: DisassociateFromConfigurationRequestRequestTypeDef = { # (1)
"Resource": ...,
"ChatConfiguration": ...,
}
parent.disassociate_from_configuration(**kwargs)
get_account_preferences#
Returns AWS Chatbot account preferences.
Type annotations and code completion for boto3.client("chatbot").get_account_preferences
method.
boto3 documentation
# get_account_preferences method definition
def get_account_preferences(
self,
) -> GetAccountPreferencesResultTypeDef: # (1)
...
get_custom_action#
Returns a custom action.
Type annotations and code completion for boto3.client("chatbot").get_custom_action
method.
boto3 documentation
# get_custom_action method definition
def get_custom_action(
self,
*,
CustomActionArn: str,
) -> GetCustomActionResultTypeDef: # (1)
...
# get_custom_action method usage example with argument unpacking
kwargs: GetCustomActionRequestRequestTypeDef = { # (1)
"CustomActionArn": ...,
}
parent.get_custom_action(**kwargs)
get_microsoft_teams_channel_configuration#
Returns a Microsoft Teams channel configuration in an AWS account.
Type annotations and code completion for boto3.client("chatbot").get_microsoft_teams_channel_configuration
method.
boto3 documentation
# get_microsoft_teams_channel_configuration method definition
def get_microsoft_teams_channel_configuration(
self,
*,
ChatConfigurationArn: str,
) -> GetTeamsChannelConfigurationResultTypeDef: # (1)
...
# get_microsoft_teams_channel_configuration method usage example with argument unpacking
kwargs: GetTeamsChannelConfigurationRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
}
parent.get_microsoft_teams_channel_configuration(**kwargs)
list_associations#
Lists resources associated with a channel configuration.
Type annotations and code completion for boto3.client("chatbot").list_associations
method.
boto3 documentation
# list_associations method definition
def list_associations(
self,
*,
ChatConfiguration: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListAssociationsResultTypeDef: # (1)
...
# list_associations method usage example with argument unpacking
kwargs: ListAssociationsRequestRequestTypeDef = { # (1)
"ChatConfiguration": ...,
}
parent.list_associations(**kwargs)
list_custom_actions#
Lists custom actions defined in this account.
Type annotations and code completion for boto3.client("chatbot").list_custom_actions
method.
boto3 documentation
# list_custom_actions method definition
def list_custom_actions(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCustomActionsResultTypeDef: # (1)
...
# list_custom_actions method usage example with argument unpacking
kwargs: ListCustomActionsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_custom_actions(**kwargs)
list_microsoft_teams_channel_configurations#
Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
Type annotations and code completion for boto3.client("chatbot").list_microsoft_teams_channel_configurations
method.
boto3 documentation
# list_microsoft_teams_channel_configurations method definition
def list_microsoft_teams_channel_configurations(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
TeamId: str = ...,
) -> ListTeamsChannelConfigurationsResultTypeDef: # (1)
...
# list_microsoft_teams_channel_configurations method usage example with argument unpacking
kwargs: ListTeamsChannelConfigurationsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_microsoft_teams_channel_configurations(**kwargs)
list_microsoft_teams_configured_teams#
Lists all authorized Microsoft Teams for an AWS Account.
Type annotations and code completion for boto3.client("chatbot").list_microsoft_teams_configured_teams
method.
boto3 documentation
# list_microsoft_teams_configured_teams method definition
def list_microsoft_teams_configured_teams(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListMicrosoftTeamsConfiguredTeamsResultTypeDef: # (1)
...
# list_microsoft_teams_configured_teams method usage example with argument unpacking
kwargs: ListMicrosoftTeamsConfiguredTeamsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_microsoft_teams_configured_teams(**kwargs)
list_microsoft_teams_user_identities#
A list all Microsoft Teams user identities with a mapped role.
Type annotations and code completion for boto3.client("chatbot").list_microsoft_teams_user_identities
method.
boto3 documentation
# list_microsoft_teams_user_identities method definition
def list_microsoft_teams_user_identities(
self,
*,
ChatConfigurationArn: str = ...,
NextToken: str = ...,
MaxResults: int = ...,
) -> ListMicrosoftTeamsUserIdentitiesResultTypeDef: # (1)
...
# list_microsoft_teams_user_identities method usage example with argument unpacking
kwargs: ListMicrosoftTeamsUserIdentitiesRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
}
parent.list_microsoft_teams_user_identities(**kwargs)
list_tags_for_resource#
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
Type annotations and code completion for boto3.client("chatbot").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceARN: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
}
parent.list_tags_for_resource(**kwargs)
tag_resource#
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
Type annotations and code completion for boto3.client("chatbot").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
) -> dict[str, Any]:
...
- See TagTypeDef
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).
Type annotations and code completion for boto3.client("chatbot").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceARN: str,
TagKeys: Sequence[str],
) -> dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_account_preferences#
Updates AWS Chatbot account preferences.
Type annotations and code completion for boto3.client("chatbot").update_account_preferences
method.
boto3 documentation
# update_account_preferences method definition
def update_account_preferences(
self,
*,
UserAuthorizationRequired: bool = ...,
TrainingDataCollectionEnabled: bool = ...,
) -> UpdateAccountPreferencesResultTypeDef: # (1)
...
# update_account_preferences method usage example with argument unpacking
kwargs: UpdateAccountPreferencesRequestRequestTypeDef = { # (1)
"UserAuthorizationRequired": ...,
}
parent.update_account_preferences(**kwargs)
update_chime_webhook_configuration#
Updates a Amazon Chime webhook configuration.
Type annotations and code completion for boto3.client("chatbot").update_chime_webhook_configuration
method.
boto3 documentation
# update_chime_webhook_configuration method definition
def update_chime_webhook_configuration(
self,
*,
ChatConfigurationArn: str,
WebhookDescription: str = ...,
WebhookUrl: str = ...,
SnsTopicArns: Sequence[str] = ...,
IamRoleArn: str = ...,
LoggingLevel: str = ...,
) -> UpdateChimeWebhookConfigurationResultTypeDef: # (1)
...
# update_chime_webhook_configuration method usage example with argument unpacking
kwargs: UpdateChimeWebhookConfigurationRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
}
parent.update_chime_webhook_configuration(**kwargs)
update_custom_action#
Updates a custom action.
Type annotations and code completion for boto3.client("chatbot").update_custom_action
method.
boto3 documentation
# update_custom_action method definition
def update_custom_action(
self,
*,
CustomActionArn: str,
Definition: CustomActionDefinitionTypeDef, # (1)
AliasName: str = ...,
Attachments: Sequence[CustomActionAttachmentTypeDef] = ..., # (2)
) -> UpdateCustomActionResultTypeDef: # (3)
...
- See CustomActionDefinitionTypeDef
- See CustomActionAttachmentTypeDef
- See UpdateCustomActionResultTypeDef
# update_custom_action method usage example with argument unpacking
kwargs: UpdateCustomActionRequestRequestTypeDef = { # (1)
"CustomActionArn": ...,
"Definition": ...,
}
parent.update_custom_action(**kwargs)
update_microsoft_teams_channel_configuration#
Updates an Microsoft Teams channel configuration.
Type annotations and code completion for boto3.client("chatbot").update_microsoft_teams_channel_configuration
method.
boto3 documentation
# update_microsoft_teams_channel_configuration method definition
def update_microsoft_teams_channel_configuration(
self,
*,
ChatConfigurationArn: str,
ChannelId: str,
ChannelName: str = ...,
SnsTopicArns: Sequence[str] = ...,
IamRoleArn: str = ...,
LoggingLevel: str = ...,
GuardrailPolicyArns: Sequence[str] = ...,
UserAuthorizationRequired: bool = ...,
) -> UpdateTeamsChannelConfigurationResultTypeDef: # (1)
...
# update_microsoft_teams_channel_configuration method usage example with argument unpacking
kwargs: UpdateTeamsChannelConfigurationRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
"ChannelId": ...,
}
parent.update_microsoft_teams_channel_configuration(**kwargs)
update_slack_channel_configuration#
Updates a Slack channel configuration.
Type annotations and code completion for boto3.client("chatbot").update_slack_channel_configuration
method.
boto3 documentation
# update_slack_channel_configuration method definition
def update_slack_channel_configuration(
self,
*,
ChatConfigurationArn: str,
SlackChannelId: str,
SlackChannelName: str = ...,
SnsTopicArns: Sequence[str] = ...,
IamRoleArn: str = ...,
LoggingLevel: str = ...,
GuardrailPolicyArns: Sequence[str] = ...,
UserAuthorizationRequired: bool = ...,
) -> UpdateSlackChannelConfigurationResultTypeDef: # (1)
...
# update_slack_channel_configuration method usage example with argument unpacking
kwargs: UpdateSlackChannelConfigurationRequestRequestTypeDef = { # (1)
"ChatConfigurationArn": ...,
"SlackChannelId": ...,
}
parent.update_slack_channel_configuration(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("chatbot").get_paginator
method with overloads.
client.get_paginator("describe_chime_webhook_configurations")
-> DescribeChimeWebhookConfigurationsPaginatorclient.get_paginator("describe_slack_channel_configurations")
-> DescribeSlackChannelConfigurationsPaginatorclient.get_paginator("describe_slack_user_identities")
-> DescribeSlackUserIdentitiesPaginatorclient.get_paginator("describe_slack_workspaces")
-> DescribeSlackWorkspacesPaginatorclient.get_paginator("list_associations")
-> ListAssociationsPaginatorclient.get_paginator("list_custom_actions")
-> ListCustomActionsPaginatorclient.get_paginator("list_microsoft_teams_channel_configurations")
-> ListMicrosoftTeamsChannelConfigurationsPaginatorclient.get_paginator("list_microsoft_teams_configured_teams")
-> ListMicrosoftTeamsConfiguredTeamsPaginatorclient.get_paginator("list_microsoft_teams_user_identities")
-> ListMicrosoftTeamsUserIdentitiesPaginator