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: StringA user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
chat_configuration_arn: StringThe Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.
team_id: StringThe ID of the Microsoft Teams 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 information, see Step 1: Configure a Microsoft Teams client in the AWS Chatbot Administrator Guide.
user_id: Option<String>The Microsoft Teams user ID.
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
A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
sourcepub fn chat_configuration_arn(&self) -> &str
pub fn chat_configuration_arn(&self) -> &str
The Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.
sourcepub fn team_id(&self) -> &str
pub fn team_id(&self) -> &str
The ID of the Microsoft Teams 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 information, see Step 1: Configure a Microsoft Teams client 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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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