blib/lib/Paws/RedshiftData/ListSchemas.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RedshiftData::ListSchemas;
3 use Moose;
4 has ClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
5 has ConnectedDatabase => (is => 'ro', isa => 'Str');
6 has Database => (is => 'ro', isa => 'Str', required => 1);
7 has DbUser => (is => 'ro', isa => 'Str');
8 has MaxResults => (is => 'ro', isa => 'Int');
9 has NextToken => (is => 'ro', isa => 'Str');
10 has SchemaPattern => (is => 'ro', isa => 'Str');
11 has SecretArn => (is => 'ro', isa => 'Str');
12  
13 use MooseX::ClassAttribute;
14  
15 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListSchemas');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedshiftData::ListSchemasResponse');
17 class_has _result_key => (isa => 'Str', is => 'ro');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::RedshiftData::ListSchemas - Arguments for method ListSchemas on L<Paws::RedshiftData>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method ListSchemas on the
29 L<Redshift Data API Service|Paws::RedshiftData> service. Use the attributes of this class
30 as arguments to method ListSchemas.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListSchemas.
33  
34 =head1 SYNOPSIS
35  
36 my $redshift-data = Paws->service('RedshiftData');
37 my $ListSchemasResponse = $redshift -data->ListSchemas(
38 ClusterIdentifier => 'MyLocation',
39 Database => 'MyString',
40 ConnectedDatabase => 'MyString', # OPTIONAL
41 DbUser => 'MyString', # OPTIONAL
42 MaxResults => 1, # OPTIONAL
43 NextToken => 'MyString', # OPTIONAL
44 SchemaPattern => 'MyString', # OPTIONAL
45 SecretArn => 'MySecretArn', # OPTIONAL
46 );
47  
48 # Results:
49 my $NextToken = $ListSchemasResponse->NextToken;
50 my $Schemas = $ListSchemasResponse->Schemas;
51  
52 # Returns a L<Paws::RedshiftData::ListSchemasResponse> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift-data/ListSchemas>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 B<REQUIRED> ClusterIdentifier => Str
61  
62 The cluster identifier. This parameter is required when authenticating
63 using either AWS Secrets Manager or temporary credentials.
64  
65  
66  
67 =head2 ConnectedDatabase => Str
68  
69 A database name. The connected database is specified when you connect
70 with your authentication credentials.
71  
72  
73  
74 =head2 B<REQUIRED> Database => Str
75  
76 The name of the database that contains the schemas to list. If
77 C<ConnectedDatabase> is not specified, this is also the database to
78 connect to with your authentication credentials.
79  
80  
81  
82 =head2 DbUser => Str
83  
84 The database user name. This parameter is required when authenticating
85 using temporary credentials.
86  
87  
88  
89 =head2 MaxResults => Int
90  
91 The maximum number of schemas to return in the response. If more
92 schemas exist than fit in one response, then C<NextToken> is returned
93 to page through the results.
94  
95  
96  
97 =head2 NextToken => Str
98  
99 A value that indicates the starting point for the next set of response
100 records in a subsequent request. If a value is returned in a response,
101 you can retrieve the next set of records by providing this returned
102 NextToken value in the next NextToken parameter and retrying the
103 command. If the NextToken field is empty, all response records have
104 been retrieved for the request.
105  
106  
107  
108 =head2 SchemaPattern => Str
109  
110 A pattern to filter results by schema name. Within a schema pattern,
111 "%" means match any substring of 0 or more characters and "_" means
112 match any one character. Only schema name entries matching the search
113 pattern are returned.
114  
115  
116  
117 =head2 SecretArn => Str
118  
119 The name or ARN of the secret that enables access to the database. This
120 parameter is required when authenticating using AWS Secrets Manager.
121  
122  
123  
124  
125 =head1 SEE ALSO
126  
127 This class forms part of L<Paws>, documenting arguments for method ListSchemas in L<Paws::RedshiftData>
128  
129 =head1 BUGS and CONTRIBUTIONS
130  
131 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
132  
133 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
134  
135 =cut
136