![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeStarNotifications - Perl Interface to AWS AWS CodeStar Notifications SYNOPSISuse Paws; my $obj = Paws->service('CodeStarNotifications'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); DESCRIPTIONThis AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API to work with the following objects: Notification rules, by calling the following:
Targets, by calling the following:
Events, by calling the following:
Tags, by calling the following:
For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15> METHODSCreateNotificationRule
Each argument is described in detail in: Paws::CodeStarNotifications::CreateNotificationRule Returns: a Paws::CodeStarNotifications::CreateNotificationRuleResult instance 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. DeleteNotificationRuleEach argument is described in detail in: Paws::CodeStarNotifications::DeleteNotificationRule Returns: a Paws::CodeStarNotifications::DeleteNotificationRuleResult instance Deletes a notification rule for a resource. DeleteTarget
Each argument is described in detail in: Paws::CodeStarNotifications::DeleteTarget Returns: a Paws::CodeStarNotifications::DeleteTargetResult instance Deletes a specified target for notifications. DescribeNotificationRuleEach argument is described in detail in: Paws::CodeStarNotifications::DescribeNotificationRule Returns: a Paws::CodeStarNotifications::DescribeNotificationRuleResult instance Returns information about a specified notification rule. ListEventTypes
Each argument is described in detail in: Paws::CodeStarNotifications::ListEventTypes Returns: a Paws::CodeStarNotifications::ListEventTypesResult instance Returns information about the event types available for configuring notifications. ListNotificationRules
Each argument is described in detail in: Paws::CodeStarNotifications::ListNotificationRules Returns: a Paws::CodeStarNotifications::ListNotificationRulesResult instance Returns a list of the notification rules for an AWS account. ListTagsForResourceEach argument is described in detail in: Paws::CodeStarNotifications::ListTagsForResource Returns: a Paws::CodeStarNotifications::ListTagsForResourceResult instance Returns a list of the tags associated with a notification rule. ListTargets
Each argument is described in detail in: Paws::CodeStarNotifications::ListTargets Returns: a Paws::CodeStarNotifications::ListTargetsResult instance Returns a list of the notification rule targets for an AWS account. Subscribe
Each argument is described in detail in: Paws::CodeStarNotifications::Subscribe Returns: a Paws::CodeStarNotifications::SubscribeResult instance 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. TagResourceEach argument is described in detail in: Paws::CodeStarNotifications::TagResource Returns: a Paws::CodeStarNotifications::TagResourceResult instance Associates a set of provided tags with a notification rule. UnsubscribeEach argument is described in detail in: Paws::CodeStarNotifications::Unsubscribe Returns: a Paws::CodeStarNotifications::UnsubscribeResult instance 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. UntagResourceEach argument is described in detail in: Paws::CodeStarNotifications::UntagResource Returns: a Paws::CodeStarNotifications::UntagResourceResult instance Removes the association between one or more provided tags and a notification rule. UpdateNotificationRule
Each argument is described in detail in: Paws::CodeStarNotifications::UpdateNotificationRule Returns: a Paws::CodeStarNotifications::UpdateNotificationRuleResult instance 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. PAGINATORSPaginator methods are helpers that repetively call methods that return partial results ListAllEventTypes(sub { },[Filters => ArrayRef[Paws::CodeStarNotifications::ListEventTypesFilter], MaxResults => Int, NextToken => Str])ListAllEventTypes([Filters => ArrayRef[Paws::CodeStarNotifications::ListEventTypesFilter], MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - EventTypes, passing the object as the first parameter, and the string 'EventTypes' as the second parameter If not, it will return a a Paws::CodeStarNotifications::ListEventTypesResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllNotificationRules(sub { },[Filters => ArrayRef[Paws::CodeStarNotifications::ListNotificationRulesFilter], MaxResults => Int, NextToken => Str])ListAllNotificationRules([Filters => ArrayRef[Paws::CodeStarNotifications::ListNotificationRulesFilter], MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - NotificationRules, passing the object as the first parameter, and the string 'NotificationRules' as the second parameter If not, it will return a a Paws::CodeStarNotifications::ListNotificationRulesResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllTargets(sub { },[Filters => ArrayRef[Paws::CodeStarNotifications::ListTargetsFilter], MaxResults => Int, NextToken => Str])ListAllTargets([Filters => ArrayRef[Paws::CodeStarNotifications::ListTargetsFilter], MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - Targets, passing the object as the first parameter, and the string 'Targets' as the second parameter If not, it will return a a Paws::CodeStarNotifications::ListTargetsResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. SEE ALSOThis service class forms part of Paws BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|