Struct aws_sdk_ssm::types::builders::NotificationConfigBuilder
source · #[non_exhaustive]pub struct NotificationConfigBuilder { /* private fields */ }
Expand description
A builder for NotificationConfig
.
Implementations§
source§impl NotificationConfigBuilder
impl NotificationConfigBuilder
sourcepub fn notification_arn(self, input: impl Into<String>) -> Self
pub fn notification_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
sourcepub fn set_notification_arn(self, input: Option<String>) -> Self
pub fn set_notification_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
sourcepub fn get_notification_arn(&self) -> &Option<String>
pub fn get_notification_arn(&self) -> &Option<String>
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
sourcepub fn notification_events(self, input: NotificationEvent) -> Self
pub fn notification_events(self, input: NotificationEvent) -> Self
Appends an item to notification_events
.
To override the contents of this collection use set_notification_events
.
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
sourcepub fn set_notification_events(
self,
input: Option<Vec<NotificationEvent>>
) -> Self
pub fn set_notification_events( self, input: Option<Vec<NotificationEvent>> ) -> Self
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
sourcepub fn get_notification_events(&self) -> &Option<Vec<NotificationEvent>>
pub fn get_notification_events(&self) -> &Option<Vec<NotificationEvent>>
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
sourcepub fn notification_type(self, input: NotificationType) -> Self
pub fn notification_type(self, input: NotificationType) -> Self
The type of notification.
-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple managed nodes, receive notification on a per-node basis when the status of a command changes.
sourcepub fn set_notification_type(self, input: Option<NotificationType>) -> Self
pub fn set_notification_type(self, input: Option<NotificationType>) -> Self
The type of notification.
-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple managed nodes, receive notification on a per-node basis when the status of a command changes.
sourcepub fn get_notification_type(&self) -> &Option<NotificationType>
pub fn get_notification_type(&self) -> &Option<NotificationType>
The type of notification.
-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple managed nodes, receive notification on a per-node basis when the status of a command changes.
sourcepub fn build(self) -> NotificationConfig
pub fn build(self) -> NotificationConfig
Consumes the builder and constructs a NotificationConfig
.
Trait Implementations§
source§impl Clone for NotificationConfigBuilder
impl Clone for NotificationConfigBuilder
source§fn clone(&self) -> NotificationConfigBuilder
fn clone(&self) -> NotificationConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotificationConfigBuilder
impl Debug for NotificationConfigBuilder
source§impl Default for NotificationConfigBuilder
impl Default for NotificationConfigBuilder
source§fn default() -> NotificationConfigBuilder
fn default() -> NotificationConfigBuilder
source§impl PartialEq for NotificationConfigBuilder
impl PartialEq for NotificationConfigBuilder
source§fn eq(&self, other: &NotificationConfigBuilder) -> bool
fn eq(&self, other: &NotificationConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.