Struct aws_sdk_chatbot::types::TeamsChannelConfiguration
source · #[non_exhaustive]pub struct TeamsChannelConfiguration {Show 13 fields
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>,
pub tags: Option<Vec<Tag>>,
}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: StringThe ID of the Microsoft Teams channel.
channel_name: Option<String>The name of the Microsoft Teams channel.
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.
team_name: Option<String>The name of the Microsoft Teams Team.
tenant_id: StringThe ID of the Microsoft Teams tenant.
chat_configuration_arn: StringThe ARN of the MicrosoftTeamsChannelConfiguration.
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.
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.
A list of tags applied to the 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.
A list of tags applied to the configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
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 ==.impl StructuralPartialEq for TeamsChannelConfiguration
Auto Trait Implementations§
impl Freeze for TeamsChannelConfiguration
impl RefUnwindSafe for TeamsChannelConfiguration
impl Send for TeamsChannelConfiguration
impl Sync for TeamsChannelConfiguration
impl Unpin for TeamsChannelConfiguration
impl UnwindSafe for TeamsChannelConfiguration
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