|
NAMEPaws::LakeFormation::ListPermissions - Arguments for method ListPermissions on Paws::LakeFormation DESCRIPTIONThis class represents the parameters used for calling the method ListPermissions on the AWS Lake Formation service. Use the attributes of this class as arguments to method ListPermissions. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListPermissions. SYNOPSIS my $lakeformation = Paws->service('LakeFormation');
my $ListPermissionsResponse = $lakeformation->ListPermissions(
CatalogId => 'MyCatalogIdString', # OPTIONAL
MaxResults => 1, # OPTIONAL
NextToken => 'MyToken', # OPTIONAL
Principal => {
DataLakePrincipalIdentifier =>
'MyDataLakePrincipalString', # min: 1, max: 255; OPTIONAL
}, # OPTIONAL
Resource => {
Catalog => {
}, # OPTIONAL
DataLocation => {
ResourceArn => 'MyResourceArnString',
CatalogId => 'MyCatalogIdString', # min: 1, max: 255
}, # OPTIONAL
Database => {
Name => 'MyNameString', # min: 1, max: 255
CatalogId => 'MyCatalogIdString', # min: 1, max: 255
}, # OPTIONAL
LFTag => {
TagKey => 'MyNameString', # min: 1, max: 255
TagValues => [
'MyLFTagValue', ... # max: 256
], # min: 1, max: 50
CatalogId => 'MyCatalogIdString', # min: 1, max: 255
}, # OPTIONAL
LFTagPolicy => {
Expression => [
{
TagKey => 'MyLFTagKey', # min: 1, max: 128
TagValues => [
'MyLFTagValue', ... # max: 256
], # min: 1, max: 50
},
...
], # min: 1, max: 5
ResourceType => 'DATABASE', # values: DATABASE, TABLE
CatalogId => 'MyCatalogIdString', # min: 1, max: 255
}, # OPTIONAL
Table => {
DatabaseName => 'MyNameString', # min: 1, max: 255
CatalogId => 'MyCatalogIdString', # min: 1, max: 255
Name => 'MyNameString', # min: 1, max: 255
TableWildcard => {
}, # OPTIONAL
}, # OPTIONAL
TableWithColumns => {
DatabaseName => 'MyNameString', # min: 1, max: 255
Name => 'MyNameString', # min: 1, max: 255
CatalogId => 'MyCatalogIdString', # min: 1, max: 255
ColumnNames => [
'MyNameString', ... # min: 1, max: 255
], # OPTIONAL
ColumnWildcard => {
ExcludedColumnNames => [
'MyNameString', ... # min: 1, max: 255
], # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
ResourceType => 'CATALOG', # OPTIONAL
);
# Results:
my $NextToken = $ListPermissionsResponse->NextToken;
my $PrincipalResourcePermissions =
$ListPermissionsResponse->PrincipalResourcePermissions;
# Returns a L<Paws::LakeFormation::ListPermissionsResponse> object.
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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/lakeformation/ListPermissions> ATTRIBUTESCatalogId => StrThe identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. MaxResults => IntThe maximum number of results to return. NextToken => StrA continuation token, if this is not the first call to retrieve this list. Principal => Paws::LakeFormation::DataLakePrincipalSpecifies a principal to filter the permissions returned. Resource => Paws::LakeFormation::ResourceA resource where you will get a list of the principal permissions. This operation does not support getting privileges on a table with columns. Instead, call this operation on the table, and the operation returns the table and the table w columns. ResourceType => StrSpecifies a resource type to filter the permissions returned. Valid values are: "CATALOG", "DATABASE", "TABLE", "DATA_LOCATION", "LF_TAG", "LF_TAG_POLICY", "LF_TAG_POLICY_DATABASE", "LF_TAG_POLICY_TABLE" SEE ALSOThis class forms part of Paws, documenting arguments for method ListPermissions in Paws::LakeFormation BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|