Struct aws_sdk_chatbot::types::TeamsUserIdentity
source · #[non_exhaustive]pub struct TeamsUserIdentity {
pub iam_role_arn: String,
pub chat_configuration_arn: String,
pub team_id: String,
pub user_id: Option<String>,
pub aws_user_identity: Option<String>,
pub teams_channel_id: Option<String>,
pub teams_tenant_id: Option<String>,
}
Expand description
Identifes a user level permission for a channel configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.iam_role_arn: 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.
chat_configuration_arn: String
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
team_id: 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.
user_id: Option<String>
Id from Microsoft Teams for user.
aws_user_identity: Option<String>
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
teams_channel_id: Option<String>
The ID of the Microsoft Teams channel.
teams_tenant_id: Option<String>
The ID of the Microsoft Teams tenant.
Implementations§
source§impl TeamsUserIdentity
impl TeamsUserIdentity
sourcepub fn iam_role_arn(&self) -> &str
pub fn iam_role_arn(&self) -> &str
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.
sourcepub fn chat_configuration_arn(&self) -> &str
pub fn chat_configuration_arn(&self) -> &str
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
sourcepub fn team_id(&self) -> &str
pub fn team_id(&self) -> &str
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.
sourcepub fn aws_user_identity(&self) -> Option<&str>
pub fn aws_user_identity(&self) -> Option<&str>
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
sourcepub fn teams_channel_id(&self) -> Option<&str>
pub fn teams_channel_id(&self) -> Option<&str>
The ID of the Microsoft Teams channel.
sourcepub fn teams_tenant_id(&self) -> Option<&str>
pub fn teams_tenant_id(&self) -> Option<&str>
The ID of the Microsoft Teams tenant.
source§impl TeamsUserIdentity
impl TeamsUserIdentity
sourcepub fn builder() -> TeamsUserIdentityBuilder
pub fn builder() -> TeamsUserIdentityBuilder
Creates a new builder-style object to manufacture TeamsUserIdentity
.
Trait Implementations§
source§impl Clone for TeamsUserIdentity
impl Clone for TeamsUserIdentity
source§fn clone(&self) -> TeamsUserIdentity
fn clone(&self) -> TeamsUserIdentity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TeamsUserIdentity
impl Debug for TeamsUserIdentity
source§impl PartialEq for TeamsUserIdentity
impl PartialEq for TeamsUserIdentity
source§fn eq(&self, other: &TeamsUserIdentity) -> bool
fn eq(&self, other: &TeamsUserIdentity) -> bool
self
and other
values to be equal, and is used
by ==
.