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: 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 SlackChannelConfiguration associated with the user identity.
slack_team_id: String
The ID of the Slack workspace authorized with AWS Chatbot.
slack_user_id: String
The 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 ==
.