Struct aws_sdk_codestarnotifications::input::UpdateNotificationRuleInput [−][src]
#[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
pub 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
>
Creates a new builder-style object to manufacture UpdateNotificationRuleInput
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
A list of event types associated with this notification rule.
The address and type of the targets to receive notifications from this notification rule.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more