pub struct UpdateNotificationRuleRequest {
pub arn: String,
pub detail_type: Option<String>,
pub event_type_ids: Option<Vec<String>>,
pub name: Option<String>,
pub status: Option<String>,
pub targets: Option<Vec<Target>>,
}
Fields§
§arn: String
The Amazon Resource Name (ARN) of the notification rule.
detail_type: Option<String>
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.
event_type_ids: Option<Vec<String>>
A list of event types associated with this notification rule.
name: Option<String>
The name of the notification rule.
status: Option<String>
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
targets: Option<Vec<Target>>
The address and type of the targets to receive notifications from this notification rule.
Trait Implementations§
Source§impl Clone for UpdateNotificationRuleRequest
impl Clone for UpdateNotificationRuleRequest
Source§fn clone(&self) -> UpdateNotificationRuleRequest
fn clone(&self) -> UpdateNotificationRuleRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for UpdateNotificationRuleRequest
impl Default for UpdateNotificationRuleRequest
Source§fn default() -> UpdateNotificationRuleRequest
fn default() -> UpdateNotificationRuleRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateNotificationRuleRequest
impl PartialEq for UpdateNotificationRuleRequest
Source§fn eq(&self, other: &UpdateNotificationRuleRequest) -> bool
fn eq(&self, other: &UpdateNotificationRuleRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateNotificationRuleRequest
Auto Trait Implementations§
impl Freeze for UpdateNotificationRuleRequest
impl RefUnwindSafe for UpdateNotificationRuleRequest
impl Send for UpdateNotificationRuleRequest
impl Sync for UpdateNotificationRuleRequest
impl Unpin for UpdateNotificationRuleRequest
impl UnwindSafe for UpdateNotificationRuleRequest
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
Mutably borrows from an owned value. Read more