Type definitions#
Auto-generated documentation for Chatbot type annotations stubs module mypy-boto3-chatbot.
AccountPreferencesTypeDef#
# AccountPreferencesTypeDef definition
class AccountPreferencesTypeDef(TypedDict):
UserAuthorizationRequired: NotRequired[bool],
TrainingDataCollectionEnabled: NotRequired[bool],
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
TagKey: str,
TagValue: str,
ConfiguredTeamTypeDef#
# ConfiguredTeamTypeDef definition
class ConfiguredTeamTypeDef(TypedDict):
TenantId: str,
TeamId: str,
TeamName: NotRequired[str],
State: NotRequired[str],
StateReason: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteChimeWebhookConfigurationRequestRequestTypeDef#
# DeleteChimeWebhookConfigurationRequestRequestTypeDef definition
class DeleteChimeWebhookConfigurationRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
DeleteMicrosoftTeamsUserIdentityRequestRequestTypeDef#
# DeleteMicrosoftTeamsUserIdentityRequestRequestTypeDef definition
class DeleteMicrosoftTeamsUserIdentityRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
UserId: str,
DeleteSlackChannelConfigurationRequestRequestTypeDef#
# DeleteSlackChannelConfigurationRequestRequestTypeDef definition
class DeleteSlackChannelConfigurationRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
DeleteSlackUserIdentityRequestRequestTypeDef#
# DeleteSlackUserIdentityRequestRequestTypeDef definition
class DeleteSlackUserIdentityRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
SlackTeamId: str,
SlackUserId: str,
DeleteSlackWorkspaceAuthorizationRequestRequestTypeDef#
# DeleteSlackWorkspaceAuthorizationRequestRequestTypeDef definition
class DeleteSlackWorkspaceAuthorizationRequestRequestTypeDef(TypedDict):
SlackTeamId: str,
DeleteTeamsChannelConfigurationRequestRequestTypeDef#
# DeleteTeamsChannelConfigurationRequestRequestTypeDef definition
class DeleteTeamsChannelConfigurationRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
DeleteTeamsConfiguredTeamRequestRequestTypeDef#
# DeleteTeamsConfiguredTeamRequestRequestTypeDef definition
class DeleteTeamsConfiguredTeamRequestRequestTypeDef(TypedDict):
TeamId: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeChimeWebhookConfigurationsRequestRequestTypeDef#
# DescribeChimeWebhookConfigurationsRequestRequestTypeDef definition
class DescribeChimeWebhookConfigurationsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ChatConfigurationArn: NotRequired[str],
DescribeSlackChannelConfigurationsRequestRequestTypeDef#
# DescribeSlackChannelConfigurationsRequestRequestTypeDef definition
class DescribeSlackChannelConfigurationsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ChatConfigurationArn: NotRequired[str],
DescribeSlackUserIdentitiesRequestRequestTypeDef#
# DescribeSlackUserIdentitiesRequestRequestTypeDef definition
class DescribeSlackUserIdentitiesRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
SlackUserIdentityTypeDef#
# SlackUserIdentityTypeDef definition
class SlackUserIdentityTypeDef(TypedDict):
IamRoleArn: str,
ChatConfigurationArn: str,
SlackTeamId: str,
SlackUserId: str,
AwsUserIdentity: NotRequired[str],
DescribeSlackWorkspacesRequestRequestTypeDef#
# DescribeSlackWorkspacesRequestRequestTypeDef definition
class DescribeSlackWorkspacesRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
SlackWorkspaceTypeDef#
# SlackWorkspaceTypeDef definition
class SlackWorkspaceTypeDef(TypedDict):
SlackTeamId: str,
SlackTeamName: str,
State: NotRequired[str],
StateReason: NotRequired[str],
GetTeamsChannelConfigurationRequestRequestTypeDef#
# GetTeamsChannelConfigurationRequestRequestTypeDef definition
class GetTeamsChannelConfigurationRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
ListMicrosoftTeamsConfiguredTeamsRequestRequestTypeDef#
# ListMicrosoftTeamsConfiguredTeamsRequestRequestTypeDef definition
class ListMicrosoftTeamsConfiguredTeamsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListMicrosoftTeamsUserIdentitiesRequestRequestTypeDef#
# ListMicrosoftTeamsUserIdentitiesRequestRequestTypeDef definition
class ListMicrosoftTeamsUserIdentitiesRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
TeamsUserIdentityTypeDef#
# TeamsUserIdentityTypeDef definition
class TeamsUserIdentityTypeDef(TypedDict):
IamRoleArn: str,
ChatConfigurationArn: str,
TeamId: str,
UserId: NotRequired[str],
AwsUserIdentity: NotRequired[str],
TeamsChannelId: NotRequired[str],
TeamsTenantId: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
ListTeamsChannelConfigurationsRequestRequestTypeDef#
# ListTeamsChannelConfigurationsRequestRequestTypeDef definition
class ListTeamsChannelConfigurationsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
TeamId: NotRequired[str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
TagKeys: Sequence[str],
UpdateAccountPreferencesRequestRequestTypeDef#
# UpdateAccountPreferencesRequestRequestTypeDef definition
class UpdateAccountPreferencesRequestRequestTypeDef(TypedDict):
UserAuthorizationRequired: NotRequired[bool],
TrainingDataCollectionEnabled: NotRequired[bool],
UpdateChimeWebhookConfigurationRequestRequestTypeDef#
# UpdateChimeWebhookConfigurationRequestRequestTypeDef definition
class UpdateChimeWebhookConfigurationRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
WebhookDescription: NotRequired[str],
WebhookUrl: NotRequired[str],
SnsTopicArns: NotRequired[Sequence[str]],
IamRoleArn: NotRequired[str],
LoggingLevel: NotRequired[str],
UpdateSlackChannelConfigurationRequestRequestTypeDef#
# UpdateSlackChannelConfigurationRequestRequestTypeDef definition
class UpdateSlackChannelConfigurationRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
SlackChannelId: str,
SlackChannelName: NotRequired[str],
SnsTopicArns: NotRequired[Sequence[str]],
IamRoleArn: NotRequired[str],
LoggingLevel: NotRequired[str],
GuardrailPolicyArns: NotRequired[Sequence[str]],
UserAuthorizationRequired: NotRequired[bool],
UpdateTeamsChannelConfigurationRequestRequestTypeDef#
# UpdateTeamsChannelConfigurationRequestRequestTypeDef definition
class UpdateTeamsChannelConfigurationRequestRequestTypeDef(TypedDict):
ChatConfigurationArn: str,
ChannelId: str,
ChannelName: NotRequired[str],
SnsTopicArns: NotRequired[Sequence[str]],
IamRoleArn: NotRequired[str],
LoggingLevel: NotRequired[str],
GuardrailPolicyArns: NotRequired[Sequence[str]],
UserAuthorizationRequired: NotRequired[bool],
ChimeWebhookConfigurationTypeDef#
# ChimeWebhookConfigurationTypeDef definition
class ChimeWebhookConfigurationTypeDef(TypedDict):
WebhookDescription: str,
ChatConfigurationArn: str,
IamRoleArn: str,
SnsTopicArns: List[str],
ConfigurationName: NotRequired[str],
LoggingLevel: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (1)
State: NotRequired[str],
StateReason: NotRequired[str],
- See TagTypeDef
CreateChimeWebhookConfigurationRequestRequestTypeDef#
# CreateChimeWebhookConfigurationRequestRequestTypeDef definition
class CreateChimeWebhookConfigurationRequestRequestTypeDef(TypedDict):
WebhookDescription: str,
WebhookUrl: str,
SnsTopicArns: Sequence[str],
IamRoleArn: str,
ConfigurationName: str,
LoggingLevel: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
CreateSlackChannelConfigurationRequestRequestTypeDef#
# CreateSlackChannelConfigurationRequestRequestTypeDef definition
class CreateSlackChannelConfigurationRequestRequestTypeDef(TypedDict):
SlackTeamId: str,
SlackChannelId: str,
IamRoleArn: str,
ConfigurationName: str,
SlackChannelName: NotRequired[str],
SnsTopicArns: NotRequired[Sequence[str]],
LoggingLevel: NotRequired[str],
GuardrailPolicyArns: NotRequired[Sequence[str]],
UserAuthorizationRequired: NotRequired[bool],
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
CreateTeamsChannelConfigurationRequestRequestTypeDef#
# CreateTeamsChannelConfigurationRequestRequestTypeDef definition
class CreateTeamsChannelConfigurationRequestRequestTypeDef(TypedDict):
ChannelId: str,
TeamId: str,
TenantId: str,
IamRoleArn: str,
ConfigurationName: str,
ChannelName: NotRequired[str],
TeamName: NotRequired[str],
SnsTopicArns: NotRequired[Sequence[str]],
LoggingLevel: NotRequired[str],
GuardrailPolicyArns: NotRequired[Sequence[str]],
UserAuthorizationRequired: NotRequired[bool],
Tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
SlackChannelConfigurationTypeDef#
# SlackChannelConfigurationTypeDef definition
class SlackChannelConfigurationTypeDef(TypedDict):
SlackTeamName: str,
SlackTeamId: str,
SlackChannelId: str,
SlackChannelName: str,
ChatConfigurationArn: str,
IamRoleArn: str,
SnsTopicArns: List[str],
ConfigurationName: NotRequired[str],
LoggingLevel: NotRequired[str],
GuardrailPolicyArns: NotRequired[List[str]],
UserAuthorizationRequired: NotRequired[bool],
Tags: NotRequired[List[TagTypeDef]], # (1)
State: NotRequired[str],
StateReason: NotRequired[str],
- See TagTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
TeamsChannelConfigurationTypeDef#
# TeamsChannelConfigurationTypeDef definition
class TeamsChannelConfigurationTypeDef(TypedDict):
ChannelId: str,
TeamId: str,
TenantId: str,
ChatConfigurationArn: str,
IamRoleArn: str,
SnsTopicArns: List[str],
ChannelName: NotRequired[str],
TeamName: NotRequired[str],
ConfigurationName: NotRequired[str],
LoggingLevel: NotRequired[str],
GuardrailPolicyArns: NotRequired[List[str]],
UserAuthorizationRequired: NotRequired[bool],
Tags: NotRequired[List[TagTypeDef]], # (1)
State: NotRequired[str],
StateReason: NotRequired[str],
- See TagTypeDef
GetAccountPreferencesResultTypeDef#
# GetAccountPreferencesResultTypeDef definition
class GetAccountPreferencesResultTypeDef(TypedDict):
AccountPreferences: AccountPreferencesTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListMicrosoftTeamsConfiguredTeamsResultTypeDef#
# ListMicrosoftTeamsConfiguredTeamsResultTypeDef definition
class ListMicrosoftTeamsConfiguredTeamsResultTypeDef(TypedDict):
ConfiguredTeams: List[ConfiguredTeamTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
UpdateAccountPreferencesResultTypeDef#
# UpdateAccountPreferencesResultTypeDef definition
class UpdateAccountPreferencesResultTypeDef(TypedDict):
AccountPreferences: AccountPreferencesTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChimeWebhookConfigurationsRequestDescribeChimeWebhookConfigurationsPaginateTypeDef#
# DescribeChimeWebhookConfigurationsRequestDescribeChimeWebhookConfigurationsPaginateTypeDef definition
class DescribeChimeWebhookConfigurationsRequestDescribeChimeWebhookConfigurationsPaginateTypeDef(TypedDict):
ChatConfigurationArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeSlackChannelConfigurationsRequestDescribeSlackChannelConfigurationsPaginateTypeDef#
# DescribeSlackChannelConfigurationsRequestDescribeSlackChannelConfigurationsPaginateTypeDef definition
class DescribeSlackChannelConfigurationsRequestDescribeSlackChannelConfigurationsPaginateTypeDef(TypedDict):
ChatConfigurationArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeSlackUserIdentitiesRequestDescribeSlackUserIdentitiesPaginateTypeDef#
# DescribeSlackUserIdentitiesRequestDescribeSlackUserIdentitiesPaginateTypeDef definition
class DescribeSlackUserIdentitiesRequestDescribeSlackUserIdentitiesPaginateTypeDef(TypedDict):
ChatConfigurationArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeSlackWorkspacesRequestDescribeSlackWorkspacesPaginateTypeDef#
# DescribeSlackWorkspacesRequestDescribeSlackWorkspacesPaginateTypeDef definition
class DescribeSlackWorkspacesRequestDescribeSlackWorkspacesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMicrosoftTeamsConfiguredTeamsRequestListMicrosoftTeamsConfiguredTeamsPaginateTypeDef#
# ListMicrosoftTeamsConfiguredTeamsRequestListMicrosoftTeamsConfiguredTeamsPaginateTypeDef definition
class ListMicrosoftTeamsConfiguredTeamsRequestListMicrosoftTeamsConfiguredTeamsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMicrosoftTeamsUserIdentitiesRequestListMicrosoftTeamsUserIdentitiesPaginateTypeDef#
# ListMicrosoftTeamsUserIdentitiesRequestListMicrosoftTeamsUserIdentitiesPaginateTypeDef definition
class ListMicrosoftTeamsUserIdentitiesRequestListMicrosoftTeamsUserIdentitiesPaginateTypeDef(TypedDict):
ChatConfigurationArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListTeamsChannelConfigurationsRequestListMicrosoftTeamsChannelConfigurationsPaginateTypeDef#
# ListTeamsChannelConfigurationsRequestListMicrosoftTeamsChannelConfigurationsPaginateTypeDef definition
class ListTeamsChannelConfigurationsRequestListMicrosoftTeamsChannelConfigurationsPaginateTypeDef(TypedDict):
TeamId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeSlackUserIdentitiesResultTypeDef#
# DescribeSlackUserIdentitiesResultTypeDef definition
class DescribeSlackUserIdentitiesResultTypeDef(TypedDict):
SlackUserIdentities: List[SlackUserIdentityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeSlackWorkspacesResultTypeDef#
# DescribeSlackWorkspacesResultTypeDef definition
class DescribeSlackWorkspacesResultTypeDef(TypedDict):
SlackWorkspaces: List[SlackWorkspaceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListMicrosoftTeamsUserIdentitiesResultTypeDef#
# ListMicrosoftTeamsUserIdentitiesResultTypeDef definition
class ListMicrosoftTeamsUserIdentitiesResultTypeDef(TypedDict):
TeamsUserIdentities: List[TeamsUserIdentityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CreateChimeWebhookConfigurationResultTypeDef#
# CreateChimeWebhookConfigurationResultTypeDef definition
class CreateChimeWebhookConfigurationResultTypeDef(TypedDict):
WebhookConfiguration: ChimeWebhookConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeChimeWebhookConfigurationsResultTypeDef#
# DescribeChimeWebhookConfigurationsResultTypeDef definition
class DescribeChimeWebhookConfigurationsResultTypeDef(TypedDict):
WebhookConfigurations: List[ChimeWebhookConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
UpdateChimeWebhookConfigurationResultTypeDef#
# UpdateChimeWebhookConfigurationResultTypeDef definition
class UpdateChimeWebhookConfigurationResultTypeDef(TypedDict):
WebhookConfiguration: ChimeWebhookConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateSlackChannelConfigurationResultTypeDef#
# CreateSlackChannelConfigurationResultTypeDef definition
class CreateSlackChannelConfigurationResultTypeDef(TypedDict):
ChannelConfiguration: SlackChannelConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeSlackChannelConfigurationsResultTypeDef#
# DescribeSlackChannelConfigurationsResultTypeDef definition
class DescribeSlackChannelConfigurationsResultTypeDef(TypedDict):
SlackChannelConfigurations: List[SlackChannelConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
UpdateSlackChannelConfigurationResultTypeDef#
# UpdateSlackChannelConfigurationResultTypeDef definition
class UpdateSlackChannelConfigurationResultTypeDef(TypedDict):
ChannelConfiguration: SlackChannelConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateTeamsChannelConfigurationResultTypeDef#
# CreateTeamsChannelConfigurationResultTypeDef definition
class CreateTeamsChannelConfigurationResultTypeDef(TypedDict):
ChannelConfiguration: TeamsChannelConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetTeamsChannelConfigurationResultTypeDef#
# GetTeamsChannelConfigurationResultTypeDef definition
class GetTeamsChannelConfigurationResultTypeDef(TypedDict):
ChannelConfiguration: TeamsChannelConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTeamsChannelConfigurationsResultTypeDef#
# ListTeamsChannelConfigurationsResultTypeDef definition
class ListTeamsChannelConfigurationsResultTypeDef(TypedDict):
TeamChannelConfigurations: List[TeamsChannelConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
UpdateTeamsChannelConfigurationResultTypeDef#
# UpdateTeamsChannelConfigurationResultTypeDef definition
class UpdateTeamsChannelConfigurationResultTypeDef(TypedDict):
ChannelConfiguration: TeamsChannelConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)