blib/lib/Paws/Athena/ListTableMetadata.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::Athena::ListTableMetadata;
3 use Moose;
4 has CatalogName => (is => 'ro', isa => 'Str', required => 1);
5 has DatabaseName => (is => 'ro', isa => 'Str', required => 1);
6 has Expression => (is => 'ro', isa => 'Str');
7 has MaxResults => (is => 'ro', isa => 'Int');
8 has NextToken => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTableMetadata');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Athena::ListTableMetadataOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Athena::ListTableMetadata - Arguments for method ListTableMetadata on L<Paws::Athena>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ListTableMetadata on the
26 L<Amazon Athena|Paws::Athena> service. Use the attributes of this class
27 as arguments to method ListTableMetadata.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTableMetadata.
30  
31 =head1 SYNOPSIS
32  
33 my $athena = Paws->service('Athena');
34 my $ListTableMetadataOutput = $athena->ListTableMetadata(
35 CatalogName => 'MyCatalogNameString',
36 DatabaseName => 'MyNameString',
37 Expression => 'MyExpressionString', # OPTIONAL
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'MyToken', # OPTIONAL
40 );
41  
42 # Results:
43 my $NextToken = $ListTableMetadataOutput->NextToken;
44 my $TableMetadataList = $ListTableMetadataOutput->TableMetadataList;
45  
46 # Returns a L<Paws::Athena::ListTableMetadataOutput> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/athena/ListTableMetadata>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> CatalogName => Str
55  
56 The name of the data catalog for which table metadata should be
57 returned.
58  
59  
60  
61 =head2 B<REQUIRED> DatabaseName => Str
62  
63 The name of the database for which table metadata should be returned.
64  
65  
66  
67 =head2 Expression => Str
68  
69 A regex filter that pattern-matches table names. If no expression is
70 supplied, metadata for all tables are listed.
71  
72  
73  
74 =head2 MaxResults => Int
75  
76 Specifies the maximum number of results to return.
77  
78  
79  
80 =head2 NextToken => Str
81  
82 A token generated by the Athena service that specifies where to
83 continue pagination if a previous request was truncated. To obtain the
84 next set of pages, pass in the NextToken from the response object of
85 the previous page call.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method ListTableMetadata in L<Paws::Athena>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101