« blib/lib/Paws/LakeFormation/BatchPermissionsRequestEntry.pm
↑ Summary
blib/lib/Paws/LakeFormation/BatchRevokePermissionsResponse.pm »
| 1 | |||
| 2 | package Paws::LakeFormation::BatchRevokePermissions; | ||
| 3 | use Moose; | ||
| 4 | has CatalogId => (is => 'ro', isa => 'Str'); | ||
| 5 | has Entries => (is => 'ro', isa => 'ArrayRef[Paws::LakeFormation::BatchPermissionsRequestEntry]', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchRevokePermissions'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LakeFormation::BatchRevokePermissionsResponse'); | ||
| 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::BatchRevokePermissions - Arguments for method BatchRevokePermissions on L<Paws::LakeFormation> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method BatchRevokePermissions on the | ||
| 23 | L<AWS Lake Formation|Paws::LakeFormation> service. Use the attributes of this class | ||
| 24 | as arguments to method BatchRevokePermissions. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchRevokePermissions. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $lakeformation = Paws->service('LakeFormation'); | ||
| 31 | my $BatchRevokePermissionsResponse = $lakeformation->BatchRevokePermissions( | ||
| 32 | Entries => [ | ||
| 33 | { | ||
| 34 | Id => 'MyIdentifier', # min: 1, max: 255 | ||
| 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 | PermissionsWithGrantOption => [ | ||
| 40 | 'ALL', | ||
| 41 | ... # 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 | ||
| 42 | ], # OPTIONAL | ||
| 43 | Principal => { | ||
| 44 | DataLakePrincipalIdentifier => | ||
| 45 | 'MyDataLakePrincipalString', # min: 1, max: 255; OPTIONAL | ||
| 46 | }, # OPTIONAL | ||
| 47 | Resource => { | ||
| 48 | Catalog => { | ||
| 49 | |||
| 50 | }, # OPTIONAL | ||
| 51 | DataLocation => { | ||
| 52 | ResourceArn => 'MyResourceArnString', | ||
| 53 | CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | Database => { | ||
| 56 | Name => 'MyNameString', # min: 1, max: 255 | ||
| 57 | CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL | ||
| 58 | }, # OPTIONAL | ||
| 59 | LFTag => { | ||
| 60 | TagKey => 'MyNameString', # min: 1, max: 255 | ||
| 61 | TagValues => [ | ||
| 62 | 'MyLFTagValue', ... # max: 256 | ||
| 63 | ], # min: 1, max: 50 | ||
| 64 | CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL | ||
| 65 | }, # OPTIONAL | ||
| 66 | LFTagPolicy => { | ||
| 67 | Expression => [ | ||
| 68 | { | ||
| 69 | TagKey => 'MyLFTagKey', # min: 1, max: 128 | ||
| 70 | TagValues => [ | ||
| 71 | 'MyLFTagValue', ... # max: 256 | ||
| 72 | ], # min: 1, max: 50 | ||
| 73 | |||
| 74 | }, | ||
| 75 | ... | ||
| 76 | ], # min: 1, max: 5 | ||
| 77 | ResourceType => 'DATABASE', # values: DATABASE, TABLE | ||
| 78 | CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL | ||
| 79 | }, # OPTIONAL | ||
| 80 | Table => { | ||
| 81 | DatabaseName => 'MyNameString', # min: 1, max: 255 | ||
| 82 | CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL | ||
| 83 | Name => 'MyNameString', # min: 1, max: 255 | ||
| 84 | TableWildcard => { | ||
| 85 | |||
| 86 | }, # OPTIONAL | ||
| 87 | }, # OPTIONAL | ||
| 88 | TableWithColumns => { | ||
| 89 | DatabaseName => 'MyNameString', # min: 1, max: 255 | ||
| 90 | Name => 'MyNameString', # min: 1, max: 255 | ||
| 91 | CatalogId => 'MyCatalogIdString', # min: 1, max: 255; OPTIONAL | ||
| 92 | ColumnNames => [ | ||
| 93 | 'MyNameString', ... # min: 1, max: 255 | ||
| 94 | ], # OPTIONAL | ||
| 95 | ColumnWildcard => { | ||
| 96 | ExcludedColumnNames => [ | ||
| 97 | 'MyNameString', ... # min: 1, max: 255 | ||
| 98 | ], # OPTIONAL | ||
| 99 | }, # OPTIONAL | ||
| 100 | }, # OPTIONAL | ||
| 101 | }, # OPTIONAL | ||
| 102 | }, | ||
| 103 | ... | ||
| 104 | ], | ||
| 105 | CatalogId => 'MyCatalogIdString', # OPTIONAL | ||
| 106 | ); | ||
| 107 | |||
| 108 | # Results: | ||
| 109 | my $Failures = $BatchRevokePermissionsResponse->Failures; | ||
| 110 | |||
| 111 | # Returns a L<Paws::LakeFormation::BatchRevokePermissionsResponse> object. | ||
| 112 | |||
| 113 | 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. | ||
| 114 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lakeformation/BatchRevokePermissions> | ||
| 115 | |||
| 116 | =head1 ATTRIBUTES | ||
| 117 | |||
| 118 | |||
| 119 | =head2 CatalogId => Str | ||
| 120 | |||
| 121 | The identifier for the Data Catalog. By default, the account ID. The | ||
| 122 | Data Catalog is the persistent metadata store. It contains database | ||
| 123 | definitions, table definitions, and other control information to manage | ||
| 124 | your AWS Lake Formation environment. | ||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head2 B<REQUIRED> Entries => ArrayRef[L<Paws::LakeFormation::BatchPermissionsRequestEntry>] | ||
| 129 | |||
| 130 | A list of up to 20 entries for resource permissions to be revoked by | ||
| 131 | batch operation to the principal. | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | |||
| 136 | =head1 SEE ALSO | ||
| 137 | |||
| 138 | This class forms part of L<Paws>, documenting arguments for method BatchRevokePermissions in L<Paws::LakeFormation> | ||
| 139 | |||
| 140 | =head1 BUGS and CONTRIBUTIONS | ||
| 141 | |||
| 142 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 143 | |||
| 144 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 145 | |||
| 146 | =cut | ||
| 147 |