Struct aws_sdk_chatbot::types::ChimeWebhookConfiguration
source · #[non_exhaustive]pub struct ChimeWebhookConfiguration {
pub webhook_description: 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>,
}
Expand description
An AWS Chatbot configuration for Amazon Chime.
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.webhook_description: String
Description of the webhook. Recommend using the convention RoomName/WebhookName
. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.
chat_configuration_arn: String
The ARN of the ChimeWebhookConfiguration.
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>
Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include ERROR, INFO, or NONE.
Implementations§
source§impl ChimeWebhookConfiguration
impl ChimeWebhookConfiguration
sourcepub fn webhook_description(&self) -> &str
pub fn webhook_description(&self) -> &str
Description of the webhook. Recommend using the convention RoomName/WebhookName
. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.
sourcepub fn chat_configuration_arn(&self) -> &str
pub fn chat_configuration_arn(&self) -> &str
The ARN of the ChimeWebhookConfiguration.
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>
Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include ERROR, INFO, or NONE.
source§impl ChimeWebhookConfiguration
impl ChimeWebhookConfiguration
sourcepub fn builder() -> ChimeWebhookConfigurationBuilder
pub fn builder() -> ChimeWebhookConfigurationBuilder
Creates a new builder-style object to manufacture ChimeWebhookConfiguration
.
Trait Implementations§
source§impl Clone for ChimeWebhookConfiguration
impl Clone for ChimeWebhookConfiguration
source§fn clone(&self) -> ChimeWebhookConfiguration
fn clone(&self) -> ChimeWebhookConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChimeWebhookConfiguration
impl Debug for ChimeWebhookConfiguration
source§impl PartialEq for ChimeWebhookConfiguration
impl PartialEq for ChimeWebhookConfiguration
source§fn eq(&self, other: &ChimeWebhookConfiguration) -> bool
fn eq(&self, other: &ChimeWebhookConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.