Struct aws_sdk_codestarnotifications::operation::update_notification_rule::UpdateNotificationRuleInput
source · #[non_exhaustive]pub struct UpdateNotificationRuleInput {
pub arn: Option<String>,
pub name: Option<String>,
pub status: Option<NotificationRuleStatus>,
pub event_type_ids: Option<Vec<String>>,
pub targets: Option<Vec<Target>>,
pub detail_type: Option<DetailType>,
}
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.arn: Option<String>
The Amazon Resource Name (ARN) of the notification rule.
name: Option<String>
The name of the notification rule.
status: Option<NotificationRuleStatus>
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
event_type_ids: Option<Vec<String>>
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
targets: Option<Vec<Target>>
The address and type of the targets to receive notifications from this notification rule.
detail_type: Option<DetailType>
The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
Implementations§
source§impl UpdateNotificationRuleInput
impl UpdateNotificationRuleInput
sourcepub fn status(&self) -> Option<&NotificationRuleStatus>
pub fn status(&self) -> Option<&NotificationRuleStatus>
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
sourcepub fn event_type_ids(&self) -> Option<&[String]>
pub fn event_type_ids(&self) -> Option<&[String]>
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
sourcepub fn targets(&self) -> Option<&[Target]>
pub fn targets(&self) -> Option<&[Target]>
The address and type of the targets to receive notifications from this notification rule.
sourcepub fn detail_type(&self) -> Option<&DetailType>
pub fn detail_type(&self) -> Option<&DetailType>
The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
source§impl UpdateNotificationRuleInput
impl UpdateNotificationRuleInput
sourcepub fn builder() -> UpdateNotificationRuleInputBuilder
pub fn builder() -> UpdateNotificationRuleInputBuilder
Creates a new builder-style object to manufacture UpdateNotificationRuleInput
.
Trait Implementations§
source§impl Clone for UpdateNotificationRuleInput
impl Clone for UpdateNotificationRuleInput
source§fn clone(&self) -> UpdateNotificationRuleInput
fn clone(&self) -> UpdateNotificationRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateNotificationRuleInput
impl Debug for UpdateNotificationRuleInput
source§impl PartialEq<UpdateNotificationRuleInput> for UpdateNotificationRuleInput
impl PartialEq<UpdateNotificationRuleInput> for UpdateNotificationRuleInput
source§fn eq(&self, other: &UpdateNotificationRuleInput) -> bool
fn eq(&self, other: &UpdateNotificationRuleInput) -> bool
self
and other
values to be equal, and is used
by ==
.