@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSLakeFormationAsync extends AbstractAWSLakeFormation implements AWSLakeFormationAsync
AWSLakeFormationAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<BatchGrantPermissionsResult> |
batchGrantPermissionsAsync(BatchGrantPermissionsRequest request)
Batch operation to grant permissions to the principal.
|
Future<BatchGrantPermissionsResult> |
batchGrantPermissionsAsync(BatchGrantPermissionsRequest request,
AsyncHandler<BatchGrantPermissionsRequest,BatchGrantPermissionsResult> asyncHandler)
Batch operation to grant permissions to the principal.
|
Future<BatchRevokePermissionsResult> |
batchRevokePermissionsAsync(BatchRevokePermissionsRequest request)
Batch operation to revoke permissions from the principal.
|
Future<BatchRevokePermissionsResult> |
batchRevokePermissionsAsync(BatchRevokePermissionsRequest request,
AsyncHandler<BatchRevokePermissionsRequest,BatchRevokePermissionsResult> asyncHandler)
Batch operation to revoke permissions from the principal.
|
Future<DeregisterResourceResult> |
deregisterResourceAsync(DeregisterResourceRequest request)
Deregisters the resource as managed by the Data Catalog.
|
Future<DeregisterResourceResult> |
deregisterResourceAsync(DeregisterResourceRequest request,
AsyncHandler<DeregisterResourceRequest,DeregisterResourceResult> asyncHandler)
Deregisters the resource as managed by the Data Catalog.
|
Future<DescribeResourceResult> |
describeResourceAsync(DescribeResourceRequest request)
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
|
Future<DescribeResourceResult> |
describeResourceAsync(DescribeResourceRequest request,
AsyncHandler<DescribeResourceRequest,DescribeResourceResult> asyncHandler)
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
|
Future<GetDataLakeSettingsResult> |
getDataLakeSettingsAsync(GetDataLakeSettingsRequest request)
Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
|
Future<GetDataLakeSettingsResult> |
getDataLakeSettingsAsync(GetDataLakeSettingsRequest request,
AsyncHandler<GetDataLakeSettingsRequest,GetDataLakeSettingsResult> asyncHandler)
Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
|
Future<GetEffectivePermissionsForPathResult> |
getEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request)
Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3.
|
Future<GetEffectivePermissionsForPathResult> |
getEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request,
AsyncHandler<GetEffectivePermissionsForPathRequest,GetEffectivePermissionsForPathResult> asyncHandler)
Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3.
|
Future<GrantPermissionsResult> |
grantPermissionsAsync(GrantPermissionsRequest request)
Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data
storage such as Amazon S3.
|
Future<GrantPermissionsResult> |
grantPermissionsAsync(GrantPermissionsRequest request,
AsyncHandler<GrantPermissionsRequest,GrantPermissionsResult> asyncHandler)
Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data
storage such as Amazon S3.
|
Future<ListPermissionsResult> |
listPermissionsAsync(ListPermissionsRequest request)
Returns a list of the principal permissions on the resource, filtered by the permissions of the caller.
|
Future<ListPermissionsResult> |
listPermissionsAsync(ListPermissionsRequest request,
AsyncHandler<ListPermissionsRequest,ListPermissionsResult> asyncHandler)
Returns a list of the principal permissions on the resource, filtered by the permissions of the caller.
|
Future<ListResourcesResult> |
listResourcesAsync(ListResourcesRequest request)
Lists the resources registered to be managed by the Data Catalog.
|
Future<ListResourcesResult> |
listResourcesAsync(ListResourcesRequest request,
AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
Lists the resources registered to be managed by the Data Catalog.
|
Future<PutDataLakeSettingsResult> |
putDataLakeSettingsAsync(PutDataLakeSettingsRequest request)
Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation.
|
Future<PutDataLakeSettingsResult> |
putDataLakeSettingsAsync(PutDataLakeSettingsRequest request,
AsyncHandler<PutDataLakeSettingsRequest,PutDataLakeSettingsResult> asyncHandler)
Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation.
|
Future<RegisterResourceResult> |
registerResourceAsync(RegisterResourceRequest request)
Registers the resource as managed by the Data Catalog.
|
Future<RegisterResourceResult> |
registerResourceAsync(RegisterResourceRequest request,
AsyncHandler<RegisterResourceRequest,RegisterResourceResult> asyncHandler)
Registers the resource as managed by the Data Catalog.
|
Future<RevokePermissionsResult> |
revokePermissionsAsync(RevokePermissionsRequest request)
Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data
storage such as Amazon S3.
|
Future<RevokePermissionsResult> |
revokePermissionsAsync(RevokePermissionsRequest request,
AsyncHandler<RevokePermissionsRequest,RevokePermissionsResult> asyncHandler)
Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data
storage such as Amazon S3.
|
Future<UpdateResourceResult> |
updateResourceAsync(UpdateResourceRequest request)
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
|
Future<UpdateResourceResult> |
updateResourceAsync(UpdateResourceRequest request,
AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
|
batchGrantPermissions, batchRevokePermissions, deregisterResource, describeResource, getCachedResponseMetadata, getDataLakeSettings, getEffectivePermissionsForPath, grantPermissions, listPermissions, listResources, putDataLakeSettings, registerResource, revokePermissions, shutdown, updateResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchGrantPermissions, batchRevokePermissions, deregisterResource, describeResource, getCachedResponseMetadata, getDataLakeSettings, getEffectivePermissionsForPath, grantPermissions, listPermissions, listResources, putDataLakeSettings, registerResource, revokePermissions, shutdown, updateResource
public Future<BatchGrantPermissionsResult> batchGrantPermissionsAsync(BatchGrantPermissionsRequest request)
AWSLakeFormationAsync
Batch operation to grant permissions to the principal.
batchGrantPermissionsAsync
in interface AWSLakeFormationAsync
public Future<BatchGrantPermissionsResult> batchGrantPermissionsAsync(BatchGrantPermissionsRequest request, AsyncHandler<BatchGrantPermissionsRequest,BatchGrantPermissionsResult> asyncHandler)
AWSLakeFormationAsync
Batch operation to grant permissions to the principal.
batchGrantPermissionsAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchRevokePermissionsResult> batchRevokePermissionsAsync(BatchRevokePermissionsRequest request)
AWSLakeFormationAsync
Batch operation to revoke permissions from the principal.
batchRevokePermissionsAsync
in interface AWSLakeFormationAsync
public Future<BatchRevokePermissionsResult> batchRevokePermissionsAsync(BatchRevokePermissionsRequest request, AsyncHandler<BatchRevokePermissionsRequest,BatchRevokePermissionsResult> asyncHandler)
AWSLakeFormationAsync
Batch operation to revoke permissions from the principal.
batchRevokePermissionsAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeregisterResourceResult> deregisterResourceAsync(DeregisterResourceRequest request)
AWSLakeFormationAsync
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.
deregisterResourceAsync
in interface AWSLakeFormationAsync
public Future<DeregisterResourceResult> deregisterResourceAsync(DeregisterResourceRequest request, AsyncHandler<DeregisterResourceRequest,DeregisterResourceResult> asyncHandler)
AWSLakeFormationAsync
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.
deregisterResourceAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request)
AWSLakeFormationAsync
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
describeResourceAsync
in interface AWSLakeFormationAsync
public Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request, AsyncHandler<DescribeResourceRequest,DescribeResourceResult> asyncHandler)
AWSLakeFormationAsync
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
describeResourceAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDataLakeSettingsResult> getDataLakeSettingsAsync(GetDataLakeSettingsRequest request)
AWSLakeFormationAsync
Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
getDataLakeSettingsAsync
in interface AWSLakeFormationAsync
public Future<GetDataLakeSettingsResult> getDataLakeSettingsAsync(GetDataLakeSettingsRequest request, AsyncHandler<GetDataLakeSettingsRequest,GetDataLakeSettingsResult> asyncHandler)
AWSLakeFormationAsync
Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
getDataLakeSettingsAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEffectivePermissionsForPathResult> getEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request)
AWSLakeFormationAsync
Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3.
GetEffectivePermissionsForPath
will not return databases and tables if the catalog is encrypted.
getEffectivePermissionsForPathAsync
in interface AWSLakeFormationAsync
public Future<GetEffectivePermissionsForPathResult> getEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request, AsyncHandler<GetEffectivePermissionsForPathRequest,GetEffectivePermissionsForPathResult> asyncHandler)
AWSLakeFormationAsync
Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3.
GetEffectivePermissionsForPath
will not return databases and tables if the catalog is encrypted.
getEffectivePermissionsForPathAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GrantPermissionsResult> grantPermissionsAsync(GrantPermissionsRequest request)
AWSLakeFormationAsync
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.
grantPermissionsAsync
in interface AWSLakeFormationAsync
public Future<GrantPermissionsResult> grantPermissionsAsync(GrantPermissionsRequest request, AsyncHandler<GrantPermissionsRequest,GrantPermissionsResult> asyncHandler)
AWSLakeFormationAsync
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.
grantPermissionsAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request)
AWSLakeFormationAsync
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.
listPermissionsAsync
in interface AWSLakeFormationAsync
public Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request, AsyncHandler<ListPermissionsRequest,ListPermissionsResult> asyncHandler)
AWSLakeFormationAsync
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.
listPermissionsAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request)
AWSLakeFormationAsync
Lists the resources registered to be managed by the Data Catalog.
listResourcesAsync
in interface AWSLakeFormationAsync
public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AWSLakeFormationAsync
Lists the resources registered to be managed by the Data Catalog.
listResourcesAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutDataLakeSettingsResult> putDataLakeSettingsAsync(PutDataLakeSettingsRequest request)
AWSLakeFormationAsync
Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see Granting Lake Formation Permissions.
This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.
putDataLakeSettingsAsync
in interface AWSLakeFormationAsync
public Future<PutDataLakeSettingsResult> putDataLakeSettingsAsync(PutDataLakeSettingsRequest request, AsyncHandler<PutDataLakeSettingsRequest,PutDataLakeSettingsResult> asyncHandler)
AWSLakeFormationAsync
Sets the list of data lake administrators who have admin privileges on all resources managed by Lake Formation. For more information on admin privileges, see Granting Lake Formation Permissions.
This API replaces the current list of data lake admins with the new list being passed. To add an admin, fetch the current list and add the new admin to that list and pass that list in this API.
putDataLakeSettingsAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterResourceResult> registerResourceAsync(RegisterResourceRequest request)
AWSLakeFormationAsync
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.
The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.
ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true
If UseServiceLinkedRole
is not set to true, you must provide or set the RoleArn
:
arn:aws:iam::12345:role/my-data-access-role
registerResourceAsync
in interface AWSLakeFormationAsync
public Future<RegisterResourceResult> registerResourceAsync(RegisterResourceRequest request, AsyncHandler<RegisterResourceRequest,RegisterResourceResult> asyncHandler)
AWSLakeFormationAsync
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.
The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location.
ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true
If UseServiceLinkedRole
is not set to true, you must provide or set the RoleArn
:
arn:aws:iam::12345:role/my-data-access-role
registerResourceAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RevokePermissionsResult> revokePermissionsAsync(RevokePermissionsRequest request)
AWSLakeFormationAsync
Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
revokePermissionsAsync
in interface AWSLakeFormationAsync
public Future<RevokePermissionsResult> revokePermissionsAsync(RevokePermissionsRequest request, AsyncHandler<RevokePermissionsRequest,RevokePermissionsResult> asyncHandler)
AWSLakeFormationAsync
Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
revokePermissionsAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request)
AWSLakeFormationAsync
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
updateResourceAsync
in interface AWSLakeFormationAsync
public Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
AWSLakeFormationAsync
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
updateResourceAsync
in interface AWSLakeFormationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.