#[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.
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 AWS 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
sourceimpl UpdateNotificationRuleInput
impl UpdateNotificationRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateNotificationRule, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateNotificationRule, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateNotificationRule
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateNotificationRuleInput
sourceimpl 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.
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 AWS 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.
Trait Implementations
sourceimpl Clone for UpdateNotificationRuleInput
impl Clone for UpdateNotificationRuleInput
sourcefn clone(&self) -> UpdateNotificationRuleInput
fn clone(&self) -> UpdateNotificationRuleInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateNotificationRuleInput
impl Debug for UpdateNotificationRuleInput
sourceimpl PartialEq<UpdateNotificationRuleInput> for UpdateNotificationRuleInput
impl PartialEq<UpdateNotificationRuleInput> for UpdateNotificationRuleInput
sourcefn eq(&self, other: &UpdateNotificationRuleInput) -> bool
fn eq(&self, other: &UpdateNotificationRuleInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateNotificationRuleInput) -> bool
fn ne(&self, other: &UpdateNotificationRuleInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateNotificationRuleInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateNotificationRuleInput
impl Send for UpdateNotificationRuleInput
impl Sync for UpdateNotificationRuleInput
impl Unpin for UpdateNotificationRuleInput
impl UnwindSafe for UpdateNotificationRuleInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more