[][src]Trait rusoto_codestar_notifications::CodeStarNotifications

pub trait CodeStarNotifications {
#[must_use]    pub fn create_notification_rule<'life0, 'async_trait>(
        &'life0 self,
        input: CreateNotificationRuleRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateNotificationRuleResult, RusotoError<CreateNotificationRuleError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_notification_rule<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteNotificationRuleRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteNotificationRuleResult, RusotoError<DeleteNotificationRuleError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn delete_target<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteTargetRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteTargetResult, RusotoError<DeleteTargetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn describe_notification_rule<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeNotificationRuleRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeNotificationRuleResult, RusotoError<DescribeNotificationRuleError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_event_types<'life0, 'async_trait>(
        &'life0 self,
        input: ListEventTypesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListEventTypesResult, RusotoError<ListEventTypesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_notification_rules<'life0, 'async_trait>(
        &'life0 self,
        input: ListNotificationRulesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListNotificationRulesResult, RusotoError<ListNotificationRulesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_tags_for_resource<'life0, 'async_trait>(
        &'life0 self,
        input: ListTagsForResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResult, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn list_targets<'life0, 'async_trait>(
        &'life0 self,
        input: ListTargetsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListTargetsResult, RusotoError<ListTargetsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn subscribe<'life0, 'async_trait>(
        &'life0 self,
        input: SubscribeRequest
    ) -> Pin<Box<dyn Future<Output = Result<SubscribeResult, RusotoError<SubscribeError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn tag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: TagResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<TagResourceResult, RusotoError<TagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn unsubscribe<'life0, 'async_trait>(
        &'life0 self,
        input: UnsubscribeRequest
    ) -> Pin<Box<dyn Future<Output = Result<UnsubscribeResult, RusotoError<UnsubscribeError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn untag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: UntagResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<UntagResourceResult, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] pub fn update_notification_rule<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateNotificationRuleRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateNotificationRuleResult, RusotoError<UpdateNotificationRuleError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Trait representing the capabilities of the AWS CodeStar Notifications API. AWS CodeStar Notifications clients implement this trait.

Required methods

#[must_use]pub fn create_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<CreateNotificationRuleResult, RusotoError<CreateNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as SNS topics) where you want to receive them.

#[must_use]pub fn delete_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteNotificationRuleResult, RusotoError<DeleteNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a notification rule for a resource.

#[must_use]pub fn delete_target<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteTargetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteTargetResult, RusotoError<DeleteTargetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a specified target for notifications.

#[must_use]pub fn describe_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeNotificationRuleResult, RusotoError<DescribeNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about a specified notification rule.

#[must_use]pub fn list_event_types<'life0, 'async_trait>(
    &'life0 self,
    input: ListEventTypesRequest
) -> Pin<Box<dyn Future<Output = Result<ListEventTypesResult, RusotoError<ListEventTypesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the event types available for configuring notifications.

#[must_use]pub fn list_notification_rules<'life0, 'async_trait>(
    &'life0 self,
    input: ListNotificationRulesRequest
) -> Pin<Box<dyn Future<Output = Result<ListNotificationRulesResult, RusotoError<ListNotificationRulesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of the notification rules for an AWS account.

#[must_use]pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResult, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of the tags associated with a notification rule.

#[must_use]pub fn list_targets<'life0, 'async_trait>(
    &'life0 self,
    input: ListTargetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTargetsResult, RusotoError<ListTargetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of the notification rule targets for an AWS account.

#[must_use]pub fn subscribe<'life0, 'async_trait>(
    &'life0 self,
    input: SubscribeRequest
) -> Pin<Box<dyn Future<Output = Result<SubscribeResult, RusotoError<SubscribeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an association between a notification rule and an SNS topic so that the associated target can receive notifications when the events described in the rule are triggered.

#[must_use]pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResult, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Associates a set of provided tags with a notification rule.

#[must_use]pub fn unsubscribe<'life0, 'async_trait>(
    &'life0 self,
    input: UnsubscribeRequest
) -> Pin<Box<dyn Future<Output = Result<UnsubscribeResult, RusotoError<UnsubscribeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes an association between a notification rule and an Amazon SNS topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.

#[must_use]pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResult, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes the association between one or more provided tags and a notification rule.

#[must_use]pub fn update_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateNotificationRuleResult, RusotoError<UpdateNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.

To add or remove tags for a notification rule, you must use TagResource and UntagResource.

Loading content...

Implementors

impl CodeStarNotifications for CodeStarNotificationsClient[src]

pub fn create_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<CreateNotificationRuleResult, RusotoError<CreateNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as SNS topics) where you want to receive them.

pub fn delete_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteNotificationRuleResult, RusotoError<DeleteNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a notification rule for a resource.

pub fn delete_target<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteTargetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteTargetResult, RusotoError<DeleteTargetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a specified target for notifications.

pub fn describe_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeNotificationRuleResult, RusotoError<DescribeNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about a specified notification rule.

pub fn list_event_types<'life0, 'async_trait>(
    &'life0 self,
    input: ListEventTypesRequest
) -> Pin<Box<dyn Future<Output = Result<ListEventTypesResult, RusotoError<ListEventTypesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the event types available for configuring notifications.

pub fn list_notification_rules<'life0, 'async_trait>(
    &'life0 self,
    input: ListNotificationRulesRequest
) -> Pin<Box<dyn Future<Output = Result<ListNotificationRulesResult, RusotoError<ListNotificationRulesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of the notification rules for an AWS account.

pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResult, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of the tags associated with a notification rule.

pub fn list_targets<'life0, 'async_trait>(
    &'life0 self,
    input: ListTargetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTargetsResult, RusotoError<ListTargetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of the notification rule targets for an AWS account.

pub fn subscribe<'life0, 'async_trait>(
    &'life0 self,
    input: SubscribeRequest
) -> Pin<Box<dyn Future<Output = Result<SubscribeResult, RusotoError<SubscribeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an association between a notification rule and an SNS topic so that the associated target can receive notifications when the events described in the rule are triggered.

pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResult, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Associates a set of provided tags with a notification rule.

pub fn unsubscribe<'life0, 'async_trait>(
    &'life0 self,
    input: UnsubscribeRequest
) -> Pin<Box<dyn Future<Output = Result<UnsubscribeResult, RusotoError<UnsubscribeError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes an association between a notification rule and an Amazon SNS topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.

pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResult, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes the association between one or more provided tags and a notification rule.

pub fn update_notification_rule<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateNotificationRuleRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateNotificationRuleResult, RusotoError<UpdateNotificationRuleError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.

To add or remove tags for a notification rule, you must use TagResource and UntagResource.

Loading content...