Struct aws_sdk_autoscaling::operation::put_notification_configuration::PutNotificationConfigurationInput
source · #[non_exhaustive]pub struct PutNotificationConfigurationInput {
pub auto_scaling_group_name: Option<String>,
pub topic_arn: Option<String>,
pub notification_types: Option<Vec<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.auto_scaling_group_name: Option<String>The name of the Auto Scaling group.
topic_arn: Option<String>The Amazon Resource Name (ARN) of the Amazon SNS topic.
notification_types: Option<Vec<String>>The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
Implementations§
source§impl PutNotificationConfigurationInput
impl PutNotificationConfigurationInput
sourcepub fn auto_scaling_group_name(&self) -> Option<&str>
pub fn auto_scaling_group_name(&self) -> Option<&str>
The name of the Auto Scaling group.
sourcepub fn topic_arn(&self) -> Option<&str>
pub fn topic_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon SNS topic.
sourcepub fn notification_types(&self) -> &[String]
pub fn notification_types(&self) -> &[String]
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .notification_types.is_none().
source§impl PutNotificationConfigurationInput
impl PutNotificationConfigurationInput
sourcepub fn builder() -> PutNotificationConfigurationInputBuilder
pub fn builder() -> PutNotificationConfigurationInputBuilder
Creates a new builder-style object to manufacture PutNotificationConfigurationInput.
Trait Implementations§
source§impl Clone for PutNotificationConfigurationInput
impl Clone for PutNotificationConfigurationInput
source§fn clone(&self) -> PutNotificationConfigurationInput
fn clone(&self) -> PutNotificationConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PutNotificationConfigurationInput
impl PartialEq for PutNotificationConfigurationInput
source§fn eq(&self, other: &PutNotificationConfigurationInput) -> bool
fn eq(&self, other: &PutNotificationConfigurationInput) -> bool
self and other values to be equal, and is used
by ==.