File Coverage

blib/lib/Paws/RedShift/ModifyEventSubscription.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RedShift::ModifyEventSubscription;
3 1     1   612 use Moose;
  1         5  
  1         10  
4             has Enabled => (is => 'ro', isa => 'Bool');
5             has EventCategories => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has Severity => (is => 'ro', isa => 'Str');
7             has SnsTopicArn => (is => 'ro', isa => 'Str');
8             has SourceIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9             has SourceType => (is => 'ro', isa => 'Str');
10             has SubscriptionName => (is => 'ro', isa => 'Str', required => 1);
11              
12 1     1   10163 use MooseX::ClassAttribute;
  1         4  
  1         11  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyEventSubscription');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::ModifyEventSubscriptionResult');
16             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifyEventSubscriptionResult');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::RedShift::ModifyEventSubscription - Arguments for method ModifyEventSubscription on Paws::RedShift
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method ModifyEventSubscription on the
28             Amazon Redshift service. Use the attributes of this class
29             as arguments to method ModifyEventSubscription.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyEventSubscription.
32              
33             As an example:
34              
35             $service_obj->ModifyEventSubscription(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Enabled => Bool
43              
44             A Boolean value indicating if the subscription is enabled. C<true>
45             indicates the subscription is enabled
46              
47              
48              
49             =head2 EventCategories => ArrayRef[Str|Undef]
50              
51             Specifies the Amazon Redshift event categories to be published by the
52             event notification subscription.
53              
54             Values: Configuration, Management, Monitoring, Security
55              
56              
57              
58             =head2 Severity => Str
59              
60             Specifies the Amazon Redshift event severity to be published by the
61             event notification subscription.
62              
63             Values: ERROR, INFO
64              
65              
66              
67             =head2 SnsTopicArn => Str
68              
69             The Amazon Resource Name (ARN) of the SNS topic to be used by the event
70             notification subscription.
71              
72              
73              
74             =head2 SourceIds => ArrayRef[Str|Undef]
75              
76             A list of one or more identifiers of Amazon Redshift source objects.
77             All of the objects must be of the same type as was specified in the
78             source type parameter. The event subscription will return only events
79             generated by the specified objects. If not specified, then events are
80             returned for all objects within the source type specified.
81              
82             Example: my-cluster-1, my-cluster-2
83              
84             Example: my-snapshot-20131010
85              
86              
87              
88             =head2 SourceType => Str
89              
90             The type of source that will be generating the events. For example, if
91             you want to be notified of events generated by a cluster, you would set
92             this parameter to cluster. If this value is not specified, events are
93             returned for all Amazon Redshift objects in your AWS account. You must
94             specify a source type in order to specify source IDs.
95              
96             Valid values: cluster, cluster-parameter-group, cluster-security-group,
97             and cluster-snapshot.
98              
99              
100              
101             =head2 B<REQUIRED> SubscriptionName => Str
102              
103             The name of the modified Amazon Redshift event notification
104             subscription.
105              
106              
107              
108              
109             =head1 SEE ALSO
110              
111             This class forms part of L<Paws>, documenting arguments for method ModifyEventSubscription in L<Paws::RedShift>
112              
113             =head1 BUGS and CONTRIBUTIONS
114              
115             The source code is located here: https://github.com/pplu/aws-sdk-perl
116              
117             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
118              
119             =cut
120