blib/lib/Paws/LakeFormation/Resource.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::LakeFormation::Resource;
3 use Moose;
4 has Catalog => (is => 'ro', isa => 'Paws::LakeFormation::CatalogResource');
5 has Database => (is => 'ro', isa => 'Paws::LakeFormation::DatabaseResource');
6 has DataLocation => (is => 'ro', isa => 'Paws::LakeFormation::DataLocationResource');
7 has LFTag => (is => 'ro', isa => 'Paws::LakeFormation::LFTagKeyResource');
8 has LFTagPolicy => (is => 'ro', isa => 'Paws::LakeFormation::LFTagPolicyResource');
9 has Table => (is => 'ro', isa => 'Paws::LakeFormation::TableResource');
10 has TableWithColumns => (is => 'ro', isa => 'Paws::LakeFormation::TableWithColumnsResource');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::LakeFormation::Resource
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::LakeFormation::Resource object:
30  
31 $service_obj->Method(Att1 => { Catalog => $value, ..., TableWithColumns => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::LakeFormation::Resource object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Catalog
39  
40 =head1 DESCRIPTION
41  
42 A structure for the resource.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Catalog => L<Paws::LakeFormation::CatalogResource>
48  
49 The identifier for the Data Catalog. By default, the account ID. The
50 Data Catalog is the persistent metadata store. It contains database
51 definitions, table definitions, and other control information to manage
52 your AWS Lake Formation environment.
53  
54  
55 =head2 Database => L<Paws::LakeFormation::DatabaseResource>
56  
57 The database for the resource. Unique to the Data Catalog. A database
58 is a set of associated table definitions organized into a logical
59 group. You can Grant and Revoke database permissions to a principal.
60  
61  
62 =head2 DataLocation => L<Paws::LakeFormation::DataLocationResource>
63  
64 The location of an Amazon S3 path where permissions are granted or
65 revoked.
66  
67  
68 =head2 LFTag => L<Paws::LakeFormation::LFTagKeyResource>
69  
70 The tag key and values attached to a resource.
71  
72  
73 =head2 LFTagPolicy => L<Paws::LakeFormation::LFTagPolicyResource>
74  
75 A list of tag conditions that define a resource's tag policy.
76  
77  
78 =head2 Table => L<Paws::LakeFormation::TableResource>
79  
80 The table for the resource. A table is a metadata definition that
81 represents your data. You can Grant and Revoke table privileges to a
82 principal.
83  
84  
85 =head2 TableWithColumns => L<Paws::LakeFormation::TableWithColumnsResource>
86  
87 The table with columns for the resource. A principal with permissions
88 to this resource can select metadata from the columns of a table in the
89 Data Catalog and the underlying data in Amazon S3.
90  
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, describing an object used in L<Paws::LakeFormation>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104