Struct aws_sdk_chatbot::operation::create_microsoft_teams_channel_configuration::CreateMicrosoftTeamsChannelConfigurationInput
source · #[non_exhaustive]pub struct CreateMicrosoftTeamsChannelConfigurationInput {
pub channel_id: Option<String>,
pub channel_name: Option<String>,
pub team_id: Option<String>,
pub team_name: Option<String>,
pub tenant_id: Option<String>,
pub sns_topic_arns: Option<Vec<String>>,
pub iam_role_arn: Option<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>>,
}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: Option<String>The ID of the Microsoft Teams channel.
channel_name: Option<String>The name of the Microsoft Teams channel.
team_id: Option<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: Option<String>The ID of the Microsoft Teams tenant.
sns_topic_arns: Option<Vec<String>>The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
iam_role_arn: Option<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.
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 to apply to the configuration.
Implementations§
source§impl CreateMicrosoftTeamsChannelConfigurationInput
impl CreateMicrosoftTeamsChannelConfigurationInput
sourcepub fn channel_id(&self) -> Option<&str>
pub fn channel_id(&self) -> Option<&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) -> Option<&str>
pub fn team_id(&self) -> Option<&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 sns_topic_arns(&self) -> &[String]
pub fn sns_topic_arns(&self) -> &[String]
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sns_topic_arns.is_none().
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&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 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 to apply 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 CreateMicrosoftTeamsChannelConfigurationInput
impl CreateMicrosoftTeamsChannelConfigurationInput
sourcepub fn builder() -> CreateMicrosoftTeamsChannelConfigurationInputBuilder
pub fn builder() -> CreateMicrosoftTeamsChannelConfigurationInputBuilder
Creates a new builder-style object to manufacture CreateMicrosoftTeamsChannelConfigurationInput.
Trait Implementations§
source§impl Clone for CreateMicrosoftTeamsChannelConfigurationInput
impl Clone for CreateMicrosoftTeamsChannelConfigurationInput
source§fn clone(&self) -> CreateMicrosoftTeamsChannelConfigurationInput
fn clone(&self) -> CreateMicrosoftTeamsChannelConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateMicrosoftTeamsChannelConfigurationInput
impl PartialEq for CreateMicrosoftTeamsChannelConfigurationInput
source§fn eq(&self, other: &CreateMicrosoftTeamsChannelConfigurationInput) -> bool
fn eq(&self, other: &CreateMicrosoftTeamsChannelConfigurationInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateMicrosoftTeamsChannelConfigurationInput
Auto Trait Implementations§
impl Freeze for CreateMicrosoftTeamsChannelConfigurationInput
impl RefUnwindSafe for CreateMicrosoftTeamsChannelConfigurationInput
impl Send for CreateMicrosoftTeamsChannelConfigurationInput
impl Sync for CreateMicrosoftTeamsChannelConfigurationInput
impl Unpin for CreateMicrosoftTeamsChannelConfigurationInput
impl UnwindSafe for CreateMicrosoftTeamsChannelConfigurationInput
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> 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