[][src]Struct rusoto_codestar_notifications::CreateNotificationRuleRequest

pub struct CreateNotificationRuleRequest {
    pub client_request_token: Option<String>,
    pub detail_type: String,
    pub event_type_ids: Vec<String>,
    pub name: String,
    pub resource: String,
    pub status: Option<String>,
    pub tags: Option<HashMap<String, String>>,
    pub targets: Vec<Target>,
}

Fields

client_request_token: Option<String>

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token.

The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.

detail_type: 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: Vec<String>

A list of event types associated with this notification rule. For a list of allowed events, see EventTypeSummary.

name: String

The name for the notification rule. Notifictaion rule names must be unique in your AWS account.

resource: String

The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline, repositories in AWS CodeCommit, and build projects in AWS CodeBuild.

status: Option<String>

The status of the notification rule. The default value is ENABLED. If the status is set to DISABLED, notifications aren't sent for the notification rule.

tags: Option<HashMap<String, String>>

A list of tags to apply to this notification rule. Key names cannot start with "aws".

targets: Vec<Target>

A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.

Trait Implementations

impl Clone for CreateNotificationRuleRequest[src]

impl Debug for CreateNotificationRuleRequest[src]

impl Default for CreateNotificationRuleRequest[src]

impl PartialEq<CreateNotificationRuleRequest> for CreateNotificationRuleRequest[src]

impl Serialize for CreateNotificationRuleRequest[src]

impl StructuralPartialEq for CreateNotificationRuleRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.