Skip to content

aws.chatbot.list_microsoft_teams_user_identities

Example SQL Queries

SELECT * FROM
aws.chatbot.list_microsoft_teams_user_identities;

Description

Lists all Microsoft Teams user identities with a mapped role.

Table Definition

Column NameColumn Data Type
chat_configuration_arn Input Column

The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identities to list.

VARCHAR
max_results Input Column

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

BIGINT
next_token Input Column

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

teams_user_identities

User level permissions associated to a channel configuration.

STRUCT(
"iam_role_arn" VARCHAR,
"chat_configuration_arn" VARCHAR,
"team_id" VARCHAR,
"user_id" VARCHAR,
"aws_user_identity" VARCHAR,
"teams_channel_id" VARCHAR,
"teams_tenant_id" VARCHAR
)[]
Show child fields
teams_user_identities[]
Show child fields
teams_user_identities[].aws_user_identity

The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.

teams_user_identities[].chat_configuration_arn

The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.

teams_user_identities[].iam_role_arn

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.

teams_user_identities[].team_id

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.

teams_user_identities[].teams_channel_id

The ID of the Microsoft Teams channel.

teams_user_identities[].teams_tenant_id

The ID of the Microsoft Teams tenant.

teams_user_identities[].user_id

Id from Microsoft Teams for user.