Struct aws_sdk_chatbot::types::TeamsChannelConfiguration
source · #[non_exhaustive]pub struct TeamsChannelConfiguration {
pub channel_id: String,
pub channel_name: Option<String>,
pub team_id: String,
pub team_name: Option<String>,
pub tenant_id: String,
pub chat_configuration_arn: String,
pub iam_role_arn: String,
pub sns_topic_arns: Vec<String>,
pub configuration_name: Option<String>,
pub logging_level: Option<String>,
pub guardrail_policy_arns: Option<Vec<String>>,
pub user_authorization_required: Option<bool>,
}
Expand description
An AWS Chatbot configuration for Microsoft Teams.
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.channel_id: String
The ID of the Microsoft Teams channel.
channel_name: Option<String>
The name of the Microsoft Teams channel.
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.
team_name: Option<String>
The name of the Microsoft Teams Team.
tenant_id: String
The ID of the Microsoft Teams tenant.
chat_configuration_arn: String
The ARN of the MicrosoftTeamsChannelConfiguration.
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.
sns_topic_arns: Vec<String>
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
configuration_name: Option<String>
The name of the configuration.
logging_level: Option<String>
Logging levels include ERROR, INFO, or NONE.
guardrail_policy_arns: Option<Vec<String>>
The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed ‘AdministratorAccess’ policy is applied by default if this is not set.
Enables use of a user role requirement in your chat configuration.
Implementations§
source§impl TeamsChannelConfiguration
impl TeamsChannelConfiguration
sourcepub fn channel_id(&self) -> &str
pub fn channel_id(&self) -> &str
The ID of the Microsoft Teams channel.
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The name of the Microsoft Teams channel.
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 chat_configuration_arn(&self) -> &str
pub fn chat_configuration_arn(&self) -> &str
The ARN of the MicrosoftTeamsChannelConfiguration.
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 sns_topic_arns(&self) -> &[String]
pub fn sns_topic_arns(&self) -> &[String]
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
sourcepub fn configuration_name(&self) -> Option<&str>
pub fn configuration_name(&self) -> Option<&str>
The name of the configuration.
sourcepub fn logging_level(&self) -> Option<&str>
pub fn logging_level(&self) -> Option<&str>
Logging levels include ERROR, INFO, or NONE.
sourcepub fn guardrail_policy_arns(&self) -> &[String]
pub fn guardrail_policy_arns(&self) -> &[String]
The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed ‘AdministratorAccess’ policy is applied by default if this is not set.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .guardrail_policy_arns.is_none()
.
Enables use of a user role requirement in your chat configuration.
source§impl TeamsChannelConfiguration
impl TeamsChannelConfiguration
sourcepub fn builder() -> TeamsChannelConfigurationBuilder
pub fn builder() -> TeamsChannelConfigurationBuilder
Creates a new builder-style object to manufacture TeamsChannelConfiguration
.
Trait Implementations§
source§impl Clone for TeamsChannelConfiguration
impl Clone for TeamsChannelConfiguration
source§fn clone(&self) -> TeamsChannelConfiguration
fn clone(&self) -> TeamsChannelConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TeamsChannelConfiguration
impl Debug for TeamsChannelConfiguration
source§impl PartialEq for TeamsChannelConfiguration
impl PartialEq for TeamsChannelConfiguration
source§fn eq(&self, other: &TeamsChannelConfiguration) -> bool
fn eq(&self, other: &TeamsChannelConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.