File Coverage

blib/lib/Paws/RedShift/DescribeEventSubscriptions.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::DescribeEventSubscriptions;
3 1     1   386 use Moose;
  1         3  
  1         9  
4             has Marker => (is => 'ro', isa => 'Str');
5             has MaxRecords => (is => 'ro', isa => 'Int');
6             has SubscriptionName => (is => 'ro', isa => 'Str');
7             has TagKeys => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8             has TagValues => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9              
10 1     1   5948 use MooseX::ClassAttribute;
  1         3  
  1         9  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeEventSubscriptions');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::EventSubscriptionsMessage');
14             class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeEventSubscriptionsResult');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::RedShift::DescribeEventSubscriptions - Arguments for method DescribeEventSubscriptions on Paws::RedShift
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribeEventSubscriptions on the
26             Amazon Redshift service. Use the attributes of this class
27             as arguments to method DescribeEventSubscriptions.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEventSubscriptions.
30              
31             As an example:
32              
33             $service_obj->DescribeEventSubscriptions(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 Marker => Str
41              
42             An optional parameter that specifies the starting point to return a set
43             of response records. When the results of a DescribeEventSubscriptions
44             request exceed the value specified in C<MaxRecords>, AWS returns a
45             value in the C<Marker> field of the response. You can retrieve the next
46             set of response records by providing the returned marker value in the
47             C<Marker> parameter and retrying the request.
48              
49              
50              
51             =head2 MaxRecords => Int
52              
53             The maximum number of response records to return in each call. If the
54             number of remaining response records exceeds the specified
55             C<MaxRecords> value, a value is returned in a C<marker> field of the
56             response. You can retrieve the next set of records by retrying the
57             command with the returned marker value.
58              
59             Default: C<100>
60              
61             Constraints: minimum 20, maximum 100.
62              
63              
64              
65             =head2 SubscriptionName => Str
66              
67             The name of the Amazon Redshift event notification subscription to be
68             described.
69              
70              
71              
72             =head2 TagKeys => ArrayRef[Str|Undef]
73              
74             A tag key or keys for which you want to return all matching event
75             notification subscriptions that are associated with the specified key
76             or keys. For example, suppose that you have subscriptions that are
77             tagged with keys called C<owner> and C<environment>. If you specify
78             both of these tag keys in the request, Amazon Redshift returns a
79             response with the subscriptions that have either or both of these tag
80             keys associated with them.
81              
82              
83              
84             =head2 TagValues => ArrayRef[Str|Undef]
85              
86             A tag value or values for which you want to return all matching event
87             notification subscriptions that are associated with the specified tag
88             value or values. For example, suppose that you have subscriptions that
89             are tagged with values called C<admin> and C<test>. If you specify both
90             of these tag values in the request, Amazon Redshift returns a response
91             with the subscriptions that have either or both of these tag values
92             associated with them.
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, documenting arguments for method DescribeEventSubscriptions in L<Paws::RedShift>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108