Struct aws_sdk_chatbot::types::SlackUserIdentity
source · #[non_exhaustive]pub struct SlackUserIdentity {
pub iam_role_arn: String,
pub chat_configuration_arn: String,
pub slack_team_id: String,
pub slack_user_id: String,
pub aws_user_identity: 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 SlackChannelConfiguration associated with the user identity.
slack_team_id: StringThe ID of the Slack workspace authorized with AWS Chatbot.
slack_user_id: StringThe ID of the user in Slack.
aws_user_identity: Option<String>The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.
Implementations§
source§impl SlackUserIdentity
impl SlackUserIdentity
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 SlackChannelConfiguration associated with the user identity.
sourcepub fn slack_team_id(&self) -> &str
pub fn slack_team_id(&self) -> &str
The ID of the Slack workspace authorized with AWS Chatbot.
sourcepub fn slack_user_id(&self) -> &str
pub fn slack_user_id(&self) -> &str
The ID of the user in Slack.
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 Slack User Identity with an IAM Role.
source§impl SlackUserIdentity
impl SlackUserIdentity
sourcepub fn builder() -> SlackUserIdentityBuilder
pub fn builder() -> SlackUserIdentityBuilder
Creates a new builder-style object to manufacture SlackUserIdentity.
Trait Implementations§
source§impl Clone for SlackUserIdentity
impl Clone for SlackUserIdentity
source§fn clone(&self) -> SlackUserIdentity
fn clone(&self) -> SlackUserIdentity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SlackUserIdentity
impl Debug for SlackUserIdentity
source§impl PartialEq for SlackUserIdentity
impl PartialEq for SlackUserIdentity
source§fn eq(&self, other: &SlackUserIdentity) -> bool
fn eq(&self, other: &SlackUserIdentity) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SlackUserIdentity
Auto Trait Implementations§
impl Freeze for SlackUserIdentity
impl RefUnwindSafe for SlackUserIdentity
impl Send for SlackUserIdentity
impl Sync for SlackUserIdentity
impl Unpin for SlackUserIdentity
impl UnwindSafe for SlackUserIdentity
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