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