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

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LakeFormation::PutDataLakeSettings;
3 use Moose;
4 has CatalogId => (is => 'ro', isa => 'Str');
5 has DataLakeSettings => (is => 'ro', isa => 'Paws::LakeFormation::DataLakeSettings', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutDataLakeSettings');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LakeFormation::PutDataLakeSettingsResponse');
11 class_has _result_key => (isa => 'Str', is => 'ro');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::LakeFormation::PutDataLakeSettings - Arguments for method PutDataLakeSettings on L<Paws::LakeFormation>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method PutDataLakeSettings on the
23 L<AWS Lake Formation|Paws::LakeFormation> service. Use the attributes of this class
24 as arguments to method PutDataLakeSettings.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutDataLakeSettings.
27  
28 =head1 SYNOPSIS
29  
30 my $lakeformation = Paws->service('LakeFormation');
31 my $PutDataLakeSettingsResponse = $lakeformation->PutDataLakeSettings(
32 DataLakeSettings => {
33 CreateDatabaseDefaultPermissions => [
34 {
35 Permissions => [
36 'ALL',
37 ... # values: ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS, CREATE_TAG, ALTER_TAG, DELETE_TAG, DESCRIBE_TAG, ASSOCIATE_TAG
38 ], # OPTIONAL
39 Principal => {
40 DataLakePrincipalIdentifier =>
41 'MyDataLakePrincipalString', # min: 1, max: 255; OPTIONAL
42 }, # OPTIONAL
43 },
44 ...
45 ], # OPTIONAL
46 CreateTableDefaultPermissions => [
47 {
48 Permissions => [
49 'ALL',
50 ... # values: ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS, CREATE_TAG, ALTER_TAG, DELETE_TAG, DESCRIBE_TAG, ASSOCIATE_TAG
51 ], # OPTIONAL
52 Principal => {
53 DataLakePrincipalIdentifier =>
54 'MyDataLakePrincipalString', # min: 1, max: 255; OPTIONAL
55 }, # OPTIONAL
56 },
57 ...
58 ], # OPTIONAL
59 DataLakeAdmins => [
60 {
61 DataLakePrincipalIdentifier =>
62 'MyDataLakePrincipalString', # min: 1, max: 255; OPTIONAL
63 },
64 ... # OPTIONAL
65 ], # max: 10; OPTIONAL
66 TrustedResourceOwners => [
67 'MyCatalogIdString', ... # min: 1, max: 255
68 ], # OPTIONAL
69 },
70 CatalogId => 'MyCatalogIdString', # OPTIONAL
71 );
72  
73 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.
74 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lakeformation/PutDataLakeSettings>
75  
76 =head1 ATTRIBUTES
77  
78  
79 =head2 CatalogId => Str
80  
81 The identifier for the Data Catalog. By default, the account ID. The
82 Data Catalog is the persistent metadata store. It contains database
83 definitions, table definitions, and other control information to manage
84 your AWS Lake Formation environment.
85  
86  
87  
88 =head2 B<REQUIRED> DataLakeSettings => L<Paws::LakeFormation::DataLakeSettings>
89  
90 A structure representing a list of AWS Lake Formation principals
91 designated as data lake administrators.
92  
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, documenting arguments for method PutDataLakeSettings in L<Paws::LakeFormation>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107