Struct aws_sdk_chatbot::operation::create_chime_webhook_configuration::CreateChimeWebhookConfigurationInput
source · #[non_exhaustive]pub struct CreateChimeWebhookConfigurationInput {
pub webhook_description: Option<String>,
pub webhook_url: 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>,
}
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: Option<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.
webhook_url: Option<String>
URL for the Chime webhook.
sns_topic_arns: Option<Vec<String>>
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
iam_role_arn: Option<String>
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.
Implementations§
source§impl CreateChimeWebhookConfigurationInput
impl CreateChimeWebhookConfigurationInput
sourcepub fn webhook_description(&self) -> Option<&str>
pub fn webhook_description(&self) -> Option<&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 webhook_url(&self) -> Option<&str>
pub fn webhook_url(&self) -> Option<&str>
URL for the Chime webhook.
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>
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.
source§impl CreateChimeWebhookConfigurationInput
impl CreateChimeWebhookConfigurationInput
sourcepub fn builder() -> CreateChimeWebhookConfigurationInputBuilder
pub fn builder() -> CreateChimeWebhookConfigurationInputBuilder
Creates a new builder-style object to manufacture CreateChimeWebhookConfigurationInput
.
Trait Implementations§
source§impl Clone for CreateChimeWebhookConfigurationInput
impl Clone for CreateChimeWebhookConfigurationInput
source§fn clone(&self) -> CreateChimeWebhookConfigurationInput
fn clone(&self) -> CreateChimeWebhookConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateChimeWebhookConfigurationInput
impl PartialEq for CreateChimeWebhookConfigurationInput
source§fn eq(&self, other: &CreateChimeWebhookConfigurationInput) -> bool
fn eq(&self, other: &CreateChimeWebhookConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.