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>,
pub tags: Option<Vec<Tag>>,
}
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
A description of the webhook. We recommend using the convention RoomName/WebhookName
.
For more information, see Tutorial: Get started with Amazon Chime in the AWS Chatbot Administrator Guide.
chat_configuration_arn: String
The Amazon Resource Number (ARN) of the ChimeWebhookConfiguration.
iam_role_arn: String
A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
sns_topic_arns: Vec<String>
The Amazon Resource Names (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
.
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
Implementations§
source§impl ChimeWebhookConfiguration
impl ChimeWebhookConfiguration
sourcepub fn webhook_description(&self) -> &str
pub fn webhook_description(&self) -> &str
A description of the webhook. We recommend using the convention RoomName/WebhookName
.
For more information, see Tutorial: Get started with Amazon Chime in the AWS Chatbot Administrator Guide.
sourcepub fn chat_configuration_arn(&self) -> &str
pub fn chat_configuration_arn(&self) -> &str
The Amazon Resource Number (ARN) of the ChimeWebhookConfiguration.
sourcepub fn iam_role_arn(&self) -> &str
pub fn iam_role_arn(&self) -> &str
A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
sourcepub fn sns_topic_arns(&self) -> &[String]
pub fn sns_topic_arns(&self) -> &[String]
The Amazon Resource Names (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
.
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
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 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
impl StructuralPartialEq for ChimeWebhookConfiguration
Auto Trait Implementations§
impl Freeze for ChimeWebhookConfiguration
impl RefUnwindSafe for ChimeWebhookConfiguration
impl Send for ChimeWebhookConfiguration
impl Sync for ChimeWebhookConfiguration
impl Unpin for ChimeWebhookConfiguration
impl UnwindSafe for ChimeWebhookConfiguration
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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