blib/lib/Paws/RedShift/DescribeHsmConfigurations.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::DescribeHsmConfigurations;
3 use Moose;
4 has HsmConfigurationIdentifier => (is => 'ro', isa => 'Str');
5 has Marker => (is => 'ro', isa => 'Str');
6 has MaxRecords => (is => 'ro', isa => 'Int');
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 => 'DescribeHsmConfigurations');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::HsmConfigurationMessage');
14 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeHsmConfigurationsResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::RedShift::DescribeHsmConfigurations - Arguments for method DescribeHsmConfigurations on L<Paws::RedShift>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeHsmConfigurations on the
26 L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class
27 as arguments to method DescribeHsmConfigurations.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeHsmConfigurations.
30  
31 =head1 SYNOPSIS
32  
33 my $redshift = Paws->service('RedShift');
34 my $HsmConfigurationMessage = $redshift->DescribeHsmConfigurations(
35 HsmConfigurationIdentifier => 'MyString', # OPTIONAL
36 Marker => 'MyString', # OPTIONAL
37 MaxRecords => 1, # OPTIONAL
38 TagKeys => [
39 'MyString', ... # max: 2147483647
40 ], # OPTIONAL
41 TagValues => [
42 'MyString', ... # max: 2147483647
43 ], # OPTIONAL
44 );
45  
46 # Results:
47 my $HsmConfigurations = $HsmConfigurationMessage->HsmConfigurations;
48 my $Marker = $HsmConfigurationMessage->Marker;
49  
50 # Returns a L<Paws::RedShift::HsmConfigurationMessage> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/DescribeHsmConfigurations>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 HsmConfigurationIdentifier => Str
59  
60 The identifier of a specific Amazon Redshift HSM configuration to be
61 described. If no identifier is specified, information is returned for
62 all HSM configurations owned by your AWS customer account.
63  
64  
65  
66 =head2 Marker => Str
67  
68 An optional parameter that specifies the starting point to return a set
69 of response records. When the results of a DescribeHsmConfigurations
70 request exceed the value specified in C<MaxRecords>, AWS returns a
71 value in the C<Marker> field of the response. You can retrieve the next
72 set of response records by providing the returned marker value in the
73 C<Marker> parameter and retrying the request.
74  
75  
76  
77 =head2 MaxRecords => Int
78  
79 The maximum number of response records to return in each call. If the
80 number of remaining response records exceeds the specified
81 C<MaxRecords> value, a value is returned in a C<marker> field of the
82 response. You can retrieve the next set of records by retrying the
83 command with the returned marker value.
84  
85 Default: C<100>
86  
87 Constraints: minimum 20, maximum 100.
88  
89  
90  
91 =head2 TagKeys => ArrayRef[Str|Undef]
92  
93 A tag key or keys for which you want to return all matching HSM
94 configurations that are associated with the specified key or keys. For
95 example, suppose that you have HSM configurations that are tagged with
96 keys called C<owner> and C<environment>. If you specify both of these
97 tag keys in the request, Amazon Redshift returns a response with the
98 HSM configurations that have either or both of these tag keys
99 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 HSM
106 configurations that are associated with the specified tag value or
107 values. For example, suppose that you have HSM configurations that are
108 tagged with values called C<admin> and C<test>. If you specify both of
109 these tag values in the request, Amazon Redshift returns a response
110 with the HSM configurations that have either or both of these tag
111 values associated with them.
112  
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, documenting arguments for method DescribeHsmConfigurations 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