File Coverage

blib/lib/Paws/Glue/GetPartitions.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Glue::GetPartitions;
3 1     1   496 use Moose;
  1         3  
  1         11  
4             has CatalogId => (is => 'ro', isa => 'Str');
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             has Segment => (is => 'ro', isa => 'Paws::Glue::Segment');
10             has TableName => (is => 'ro', isa => 'Str', required => 1);
11              
12 1     1   7582 use MooseX::ClassAttribute;
  1         3  
  1         10  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetPartitions');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Glue::GetPartitionsResponse');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Glue::GetPartitions - Arguments for method GetPartitions on Paws::Glue
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method GetPartitions on the
28             AWS Glue service. Use the attributes of this class
29             as arguments to method GetPartitions.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetPartitions.
32              
33             As an example:
34              
35             $service_obj->GetPartitions(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 CatalogId => Str
43              
44             The ID of the Data Catalog where the partitions in question reside. If
45             none is supplied, the AWS account ID is used by default.
46              
47              
48              
49             =head2 B<REQUIRED> DatabaseName => Str
50              
51             The name of the catalog database where the partitions reside.
52              
53              
54              
55             =head2 Expression => Str
56              
57             An expression filtering the partitions to be returned.
58              
59              
60              
61             =head2 MaxResults => Int
62              
63             The maximum number of partitions to return in a single response.
64              
65              
66              
67             =head2 NextToken => Str
68              
69             A continuation token, if this is not the first call to retrieve these
70             partitions.
71              
72              
73              
74             =head2 Segment => L<Paws::Glue::Segment>
75              
76             The segment of the table's partitions to scan in this request.
77              
78              
79              
80             =head2 B<REQUIRED> TableName => Str
81              
82             The name of the partitions' table.
83              
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, documenting arguments for method GetPartitions in L<Paws::Glue>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98