PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::CodeStarNotifications::CreateNotificationRule; use Moose; has ClientRequestToken => (is => 'ro', isa => 'Str'); has DetailType => (is => 'ro', isa => 'Str', required => 1); has EventTypeIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); has Name => (is => 'ro', isa => 'Str', required => 1); has Resource => (is => 'ro', isa => 'Str', required => 1); has Status => (is => 'ro', isa => 'Str'); has Tags => (is => 'ro', isa => 'Paws::CodeStarNotifications::Tags'); has Targets => (is => 'ro', isa => 'ArrayRef[Paws::CodeStarNotifications::Target]', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateNotificationRule'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/createNotificationRule'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeStarNotifications::CreateNotificationRuleResult'); 1; ### main pod documentation begin ### =head1 NAME Paws::CodeStarNotifications::CreateNotificationRule - Arguments for method CreateNotificationRule on L =head1 DESCRIPTION This class represents the parameters used for calling the method CreateNotificationRule on the L service. Use the attributes of this class as arguments to method CreateNotificationRule. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateNotificationRule. =head1 SYNOPSIS my $codestar-notifications = Paws->service('CodeStarNotifications'); my $CreateNotificationRuleResult = $codestar -notifications->CreateNotificationRule( DetailType => 'BASIC', EventTypeIds => [ 'MyEventTypeId', ... # min: 1, max: 200 ], Name => 'MyNotificationRuleName', Resource => 'MyNotificationRuleResource', Targets => [ { TargetAddress => 'MyTargetAddress', # min: 1, max: 320; OPTIONAL TargetType => 'MyTargetType', # OPTIONAL }, ... ], ClientRequestToken => 'MyClientRequestToken', # OPTIONAL Status => 'ENABLED', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $Arn = $CreateNotificationRuleResult->Arn; # Returns a L object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 ClientRequestToken => Str 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. =head2 B DetailType => Str 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. Valid values are: C<"BASIC">, C<"FULL"> =head2 B EventTypeIds => ArrayRef[Str|Undef] A list of event types associated with this notification rule. For a list of allowed events, see EventTypeSummary. =head2 B Name => Str The name for the notification rule. Notifictaion rule names must be unique in your AWS account. =head2 B Resource => Str 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. =head2 Status => Str 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. Valid values are: C<"ENABLED">, C<"DISABLED"> =head2 Tags => L A list of tags to apply to this notification rule. Key names cannot start with "aws". =head2 B Targets => ArrayRef[L] A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule. =head1 SEE ALSO This class forms part of L, documenting arguments for method CreateNotificationRule in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut