Chatbot / Client / update_microsoft_teams_channel_configuration

update_microsoft_teams_channel_configuration#

Chatbot.Client.update_microsoft_teams_channel_configuration(**kwargs)#

Updates MS Teams Channel Configuration

See also: AWS API Documentation

Request Syntax

response = client.update_microsoft_teams_channel_configuration(
    ChatConfigurationArn='string',
    ChannelId='string',
    ChannelName='string',
    SnsTopicArns=[
        'string',
    ],
    IamRoleArn='string',
    LoggingLevel='string',
    GuardrailPolicyArns=[
        'string',
    ],
    UserAuthorizationRequired=True|False
)
Parameters:
  • ChatConfigurationArn (string) – [REQUIRED] The ARN of the MicrosoftTeamsChannelConfiguration to update.

  • ChannelId (string) – [REQUIRED] The ID of the Microsoft Teams channel.

  • ChannelName (string) – The name of the Microsoft Teams channel.

  • SnsTopicArns (list) –

    The ARNs of the SNS topics that deliver notifications to AWS Chatbot.

    • (string) –

  • IamRoleArn (string) – The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.

  • LoggingLevel (string) – Logging levels include ERROR, INFO, or NONE.

  • GuardrailPolicyArns (list) –

    The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed ‘AdministratorAccess’ policy is applied by default if this is not set.

    • (string) –

  • UserAuthorizationRequired (boolean) – Enables use of a user role requirement in your chat configuration.

Return type:

dict

Returns:

Response Syntax

{
    'ChannelConfiguration': {
        'ChannelId': 'string',
        'ChannelName': 'string',
        'TeamId': 'string',
        'TeamName': 'string',
        'TenantId': 'string',
        'ChatConfigurationArn': 'string',
        'IamRoleArn': 'string',
        'SnsTopicArns': [
            'string',
        ],
        'ConfigurationName': 'string',
        'LoggingLevel': 'string',
        'GuardrailPolicyArns': [
            'string',
        ],
        'UserAuthorizationRequired': True|False
    }
}

Response Structure

  • (dict) –

    • ChannelConfiguration (dict) – The configuration for a Microsoft Teams channel configured with AWS Chatbot.

      • ChannelId (string) – The ID of the Microsoft Teams channel.

      • ChannelName (string) – The name of the Microsoft Teams channel.

      • TeamId (string) – The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.

      • TeamName (string) – The name of the Microsoft Teams Team.

      • TenantId (string) – The ID of the Microsoft Teams tenant.

      • ChatConfigurationArn (string) – The ARN of the MicrosoftTeamsChannelConfiguration.

      • IamRoleArn (string) – The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.

      • SnsTopicArns (list) – The ARNs of the SNS topics that deliver notifications to AWS Chatbot.

        • (string) –

      • ConfigurationName (string) – The name of the configuration.

      • LoggingLevel (string) – Logging levels include ERROR, INFO, or NONE.

      • GuardrailPolicyArns (list) – The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed ‘AdministratorAccess’ policy is applied by default if this is not set.

        • (string) –

      • UserAuthorizationRequired (boolean) – Enables use of a user role requirement in your chat configuration.

Exceptions