The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::LakeFormation - Perl Interface to AWS AWS Lake Formation

SYNOPSIS

  use Paws;

  my $obj = Paws->service('LakeFormation');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

AWS Lake Formation

Defines the public endpoint for the AWS Lake Formation service.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31

METHODS

BatchGrantPermissions

Entries => ArrayRef[Paws::LakeFormation::BatchPermissionsRequestEntry]
[CatalogId => Str]

Each argument is described in detail in: Paws::LakeFormation::BatchGrantPermissions

Returns: a Paws::LakeFormation::BatchGrantPermissionsResponse instance

Batch operation to grant permissions to the principal.

BatchRevokePermissions

Entries => ArrayRef[Paws::LakeFormation::BatchPermissionsRequestEntry]
[CatalogId => Str]

Each argument is described in detail in: Paws::LakeFormation::BatchRevokePermissions

Returns: a Paws::LakeFormation::BatchRevokePermissionsResponse instance

Batch operation to revoke permissions from the principal.

DeregisterResource

ResourceArn => Str

Each argument is described in detail in: Paws::LakeFormation::DeregisterResource

Returns: a Paws::LakeFormation::DeregisterResourceResponse instance

Deregisters the resource as managed by the Data Catalog.

When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.

DescribeResource

ResourceArn => Str

Each argument is described in detail in: Paws::LakeFormation::DescribeResource

Returns: a Paws::LakeFormation::DescribeResourceResponse instance

Retrieves the current data access role for the given resource registered in AWS Lake Formation.

GetDataLakeSettings

[CatalogId => Str]

Each argument is described in detail in: Paws::LakeFormation::GetDataLakeSettings

Returns: a Paws::LakeFormation::GetDataLakeSettingsResponse instance

The AWS Lake Formation principal.

GetEffectivePermissionsForPath

ResourceArn => Str
[CatalogId => Str]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::LakeFormation::GetEffectivePermissionsForPath

Returns: a Paws::LakeFormation::GetEffectivePermissionsForPathResponse instance

Returns the permissions for a specified table or database resource located at a path in Amazon S3.

GrantPermissions

Permissions => ArrayRef[Str|Undef]
Principal => Paws::LakeFormation::DataLakePrincipal
Resource => Paws::LakeFormation::Resource
[CatalogId => Str]
[PermissionsWithGrantOption => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::LakeFormation::GrantPermissions

Returns: a Paws::LakeFormation::GrantPermissionsResponse instance

Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.

For information about permissions, see Security and Access Control to Metadata and Data (https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html).

ListPermissions

[CatalogId => Str]
[MaxResults => Int]
[NextToken => Str]
[Principal => Paws::LakeFormation::DataLakePrincipal]
[Resource => Paws::LakeFormation::Resource]
[ResourceType => Str]

Each argument is described in detail in: Paws::LakeFormation::ListPermissions

Returns: a Paws::LakeFormation::ListPermissionsResponse instance

Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.

This operation returns only those permissions that have been explicitly granted.

For information about permissions, see Security and Access Control to Metadata and Data (https://docs-aws.amazon.com/michigan/latest/dg/security-data-access.html).

ListResources

[FilterConditionList => ArrayRef[Paws::LakeFormation::FilterCondition]]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::LakeFormation::ListResources

Returns: a Paws::LakeFormation::ListResourcesResponse instance

Lists the resources registered to be managed by the Data Catalog.

PutDataLakeSettings

DataLakeSettings => Paws::LakeFormation::DataLakeSettings
[CatalogId => Str]

Each argument is described in detail in: Paws::LakeFormation::PutDataLakeSettings

Returns: a Paws::LakeFormation::PutDataLakeSettingsResponse instance

The AWS Lake Formation principal.

RegisterResource

ResourceArn => Str
[RoleArn => Str]
[UseServiceLinkedRole => Bool]

Each argument is described in detail in: Paws::LakeFormation::RegisterResource

Returns: a Paws::LakeFormation::RegisterResourceResponse instance

Registers the resource as managed by the Data Catalog.

To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.

RevokePermissions

Permissions => ArrayRef[Str|Undef]
Principal => Paws::LakeFormation::DataLakePrincipal
Resource => Paws::LakeFormation::Resource
[CatalogId => Str]
[PermissionsWithGrantOption => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::LakeFormation::RevokePermissions

Returns: a Paws::LakeFormation::RevokePermissionsResponse instance

Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.

UpdateResource

ResourceArn => Str
RoleArn => Str

Each argument is described in detail in: Paws::LakeFormation::UpdateResource

Returns: a Paws::LakeFormation::UpdateResourceResponse instance

Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues