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) -> &[String]
pub fn event_type_ids(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_type_ids.is_none()
.
sourcepub fn targets(&self) -> &[Target]
pub fn targets(&self) -> &[Target]
The address and type of the targets to receive notifications from this notification rule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .targets.is_none()
.
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
impl StructuralPartialEq for UpdateNotificationRuleInput
Auto Trait Implementations§
impl Freeze for UpdateNotificationRuleInput
impl RefUnwindSafe for UpdateNotificationRuleInput
impl Send for UpdateNotificationRuleInput
impl Sync for UpdateNotificationRuleInput
impl Unpin for UpdateNotificationRuleInput
impl UnwindSafe for UpdateNotificationRuleInput
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