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>,
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.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.
A list of tags to apply to the configuration.
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.
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 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 ==
.impl StructuralPartialEq for CreateChimeWebhookConfigurationInput
Auto Trait Implementations§
impl Freeze for CreateChimeWebhookConfigurationInput
impl RefUnwindSafe for CreateChimeWebhookConfigurationInput
impl Send for CreateChimeWebhookConfigurationInput
impl Sync for CreateChimeWebhookConfigurationInput
impl Unpin for CreateChimeWebhookConfigurationInput
impl UnwindSafe for CreateChimeWebhookConfigurationInput
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