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: StringThe 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: StringThe ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
team_id: StringThe 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 ==.impl StructuralPartialEq for TeamsUserIdentity
Auto Trait Implementations§
impl Freeze for TeamsUserIdentity
impl RefUnwindSafe for TeamsUserIdentity
impl Send for TeamsUserIdentity
impl Sync for TeamsUserIdentity
impl Unpin for TeamsUserIdentity
impl UnwindSafe for TeamsUserIdentity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more