blib/lib/Paws/RedShift/DescribeEventSubscriptions.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RedShift::DescribeEventSubscriptions;
3 use Moose;
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 use MooseX::ClassAttribute;
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 L<Paws::RedShift>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeEventSubscriptions on the
26 L<Amazon Redshift|Paws::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 =head1 SYNOPSIS
32  
33 my $redshift = Paws->service('RedShift');
34 my $EventSubscriptionsMessage = $redshift->DescribeEventSubscriptions(
35 Marker => 'MyString', # OPTIONAL
36 MaxRecords => 1, # OPTIONAL
37 SubscriptionName => 'MyString', # OPTIONAL
38 TagKeys => [
39 'MyString', ... # max: 2147483647
40 ], # OPTIONAL
41 TagValues => [
42 'MyString', ... # max: 2147483647
43 ], # OPTIONAL
44 );
45  
46 # Results:
47 my $EventSubscriptionsList =
48 $EventSubscriptionsMessage->EventSubscriptionsList;
49 my $Marker = $EventSubscriptionsMessage->Marker;
50  
51 # Returns a L<Paws::RedShift::EventSubscriptionsMessage> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/DescribeEventSubscriptions>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 Marker => Str
60  
61 An optional parameter that specifies the starting point to return a set
62 of response records. When the results of a DescribeEventSubscriptions
63 request exceed the value specified in C<MaxRecords>, AWS returns a
64 value in the C<Marker> field of the response. You can retrieve the next
65 set of response records by providing the returned marker value in the
66 C<Marker> parameter and retrying the request.
67  
68  
69  
70 =head2 MaxRecords => Int
71  
72 The maximum number of response records to return in each call. If the
73 number of remaining response records exceeds the specified
74 C<MaxRecords> value, a value is returned in a C<marker> field of the
75 response. You can retrieve the next set of records by retrying the
76 command with the returned marker value.
77  
78 Default: C<100>
79  
80 Constraints: minimum 20, maximum 100.
81  
82  
83  
84 =head2 SubscriptionName => Str
85  
86 The name of the Amazon Redshift event notification subscription to be
87 described.
88  
89  
90  
91 =head2 TagKeys => ArrayRef[Str|Undef]
92  
93 A tag key or keys for which you want to return all matching event
94 notification subscriptions that are associated with the specified key
95 or keys. For example, suppose that you have subscriptions that are
96 tagged with keys called C<owner> and C<environment>. If you specify
97 both of these tag keys in the request, Amazon Redshift returns a
98 response with the subscriptions that have either or both of these tag
99 keys associated with them.
100  
101  
102  
103 =head2 TagValues => ArrayRef[Str|Undef]
104  
105 A tag value or values for which you want to return all matching event
106 notification subscriptions that are associated with the specified tag
107 value or values. For example, suppose that you have subscriptions that
108 are tagged with values called C<admin> and C<test>. If you specify both
109 of these tag values in the request, Amazon Redshift returns a response
110 with the subscriptions that have either or both of these tag values
111 associated with them.
112  
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, documenting arguments for method DescribeEventSubscriptions in L<Paws::RedShift>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127