NAME
Paws::CodeStarNotifications::UpdateNotificationRule - Arguments for method UpdateNotificationRule on Paws::CodeStarNotifications
DESCRIPTION
This class represents the parameters used for calling the method UpdateNotificationRule on the AWS CodeStar Notifications service. Use the attributes of this class as arguments to method UpdateNotificationRule.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateNotificationRule.
SYNOPSIS
my $codestar-notifications = Paws->service('CodeStarNotifications');
my $UpdateNotificationRuleResult =
$codestar -notifications->UpdateNotificationRule(
Arn => 'MyNotificationRuleArn',
DetailType => 'BASIC', # OPTIONAL
EventTypeIds => [
'MyEventTypeId', ... # min: 1, max: 200
], # OPTIONAL
Name => 'MyNotificationRuleName', # OPTIONAL
Status => 'ENABLED', # OPTIONAL
Targets => [
{
TargetAddress => 'MyTargetAddress', # min: 1, max: 320; OPTIONAL
TargetType => 'MyTargetType', # OPTIONAL
},
...
], # OPTIONAL
);
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 https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications/UpdateNotificationRule
ATTRIBUTES
REQUIRED Arn => Str
The Amazon Resource Name (ARN) of the notification rule.
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: "BASIC"
, "FULL"
EventTypeIds => ArrayRef[Str|Undef]
A list of event types associated with this notification rule.
Name => Str
The name of the notification rule.
Status => Str
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
Valid values are: "ENABLED"
, "DISABLED"
Targets => ArrayRef[Paws::CodeStarNotifications::Target]
The address and type of the targets to receive notifications from this notification rule.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateNotificationRule in Paws::CodeStarNotifications
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues