@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLakeFormationAsyncClient extends AWSLakeFormationClient implements AWSLakeFormationAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Defines the public endpoint for the Lake Formation service.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddLFTagsToResource, assumeDecoratedRoleWithSAML, batchGrantPermissions, batchRevokePermissions, builder, cancelTransaction, commitTransaction, createDataCellsFilter, createLakeFormationIdentityCenterConfiguration, createLakeFormationOptIn, createLFTag, deleteDataCellsFilter, deleteLakeFormationIdentityCenterConfiguration, deleteLakeFormationOptIn, deleteLFTag, deleteObjectsOnCancel, deregisterResource, describeLakeFormationIdentityCenterConfiguration, describeResource, describeTransaction, extendTransaction, getCachedResponseMetadata, getDataCellsFilter, getDataLakePrincipal, getDataLakeSettings, getEffectivePermissionsForPath, getLFTag, getQueryState, getQueryStatistics, getResourceLFTags, getTableObjects, getTemporaryGluePartitionCredentials, getTemporaryGlueTableCredentials, getWorkUnitResults, getWorkUnits, grantPermissions, listDataCellsFilter, listLakeFormationOptIns, listLFTags, listPermissions, listResources, listTableStorageOptimizers, listTransactions, putDataLakeSettings, registerResource, removeLFTagsFromResource, revokePermissions, searchDatabasesByLFTags, searchTablesByLFTags, startQueryPlanning, startTransaction, updateDataCellsFilter, updateLakeFormationIdentityCenterConfiguration, updateLFTag, updateResource, updateTableObjects, updateTableStorageOptimizeraddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLFTagsToResource, assumeDecoratedRoleWithSAML, batchGrantPermissions, batchRevokePermissions, cancelTransaction, commitTransaction, createDataCellsFilter, createLakeFormationIdentityCenterConfiguration, createLakeFormationOptIn, createLFTag, deleteDataCellsFilter, deleteLakeFormationIdentityCenterConfiguration, deleteLakeFormationOptIn, deleteLFTag, deleteObjectsOnCancel, deregisterResource, describeLakeFormationIdentityCenterConfiguration, describeResource, describeTransaction, extendTransaction, getCachedResponseMetadata, getDataCellsFilter, getDataLakePrincipal, getDataLakeSettings, getEffectivePermissionsForPath, getLFTag, getQueryState, getQueryStatistics, getResourceLFTags, getTableObjects, getTemporaryGluePartitionCredentials, getTemporaryGlueTableCredentials, getWorkUnitResults, getWorkUnits, grantPermissions, listDataCellsFilter, listLakeFormationOptIns, listLFTags, listPermissions, listResources, listTableStorageOptimizers, listTransactions, putDataLakeSettings, registerResource, removeLFTagsFromResource, revokePermissions, searchDatabasesByLFTags, searchTablesByLFTags, startQueryPlanning, startTransaction, updateDataCellsFilter, updateLakeFormationIdentityCenterConfiguration, updateLFTag, updateResource, updateTableObjects, updateTableStorageOptimizerpublic static AWSLakeFormationAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddLFTagsToResourceResult> addLFTagsToResourceAsync(AddLFTagsToResourceRequest request)
AWSLakeFormationAsyncAttaches one or more LF-tags to an existing resource.
addLFTagsToResourceAsync in interface AWSLakeFormationAsyncpublic Future<AddLFTagsToResourceResult> addLFTagsToResourceAsync(AddLFTagsToResourceRequest request, AsyncHandler<AddLFTagsToResourceRequest,AddLFTagsToResourceResult> asyncHandler)
AWSLakeFormationAsyncAttaches one or more LF-tags to an existing resource.
addLFTagsToResourceAsync in interface AWSLakeFormationAsyncasyncHandler - 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<AssumeDecoratedRoleWithSAMLResult> assumeDecoratedRoleWithSAMLAsync(AssumeDecoratedRoleWithSAMLRequest request)
AWSLakeFormationAsyncAllows a caller to assume an IAM role decorated as the SAML user specified in the SAML assertion included in the request. This decoration allows Lake Formation to enforce access policies against the SAML users and groups. This API operation requires SAML federation setup in the caller’s account as it can only be called with valid SAML assertions. Lake Formation does not scope down the permission of the assumed role. All permissions attached to the role via the SAML federation setup will be included in the role session.
This decorated role is expected to access data in Amazon S3 by getting temporary access from Lake Formation which
is authorized via the virtual API GetDataAccess. Therefore, all SAML roles that can be assumed via
AssumeDecoratedRoleWithSAML must at a minimum include lakeformation:GetDataAccess in
their role policies. A typical IAM policy attached to such a role would look as follows:
assumeDecoratedRoleWithSAMLAsync in interface AWSLakeFormationAsyncpublic Future<AssumeDecoratedRoleWithSAMLResult> assumeDecoratedRoleWithSAMLAsync(AssumeDecoratedRoleWithSAMLRequest request, AsyncHandler<AssumeDecoratedRoleWithSAMLRequest,AssumeDecoratedRoleWithSAMLResult> asyncHandler)
AWSLakeFormationAsyncAllows a caller to assume an IAM role decorated as the SAML user specified in the SAML assertion included in the request. This decoration allows Lake Formation to enforce access policies against the SAML users and groups. This API operation requires SAML federation setup in the caller’s account as it can only be called with valid SAML assertions. Lake Formation does not scope down the permission of the assumed role. All permissions attached to the role via the SAML federation setup will be included in the role session.
This decorated role is expected to access data in Amazon S3 by getting temporary access from Lake Formation which
is authorized via the virtual API GetDataAccess. Therefore, all SAML roles that can be assumed via
AssumeDecoratedRoleWithSAML must at a minimum include lakeformation:GetDataAccess in
their role policies. A typical IAM policy attached to such a role would look as follows:
assumeDecoratedRoleWithSAMLAsync in interface AWSLakeFormationAsyncasyncHandler - 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<BatchGrantPermissionsResult> batchGrantPermissionsAsync(BatchGrantPermissionsRequest request)
AWSLakeFormationAsyncBatch operation to grant permissions to the principal.
batchGrantPermissionsAsync in interface AWSLakeFormationAsyncpublic Future<BatchGrantPermissionsResult> batchGrantPermissionsAsync(BatchGrantPermissionsRequest request, AsyncHandler<BatchGrantPermissionsRequest,BatchGrantPermissionsResult> asyncHandler)
AWSLakeFormationAsyncBatch operation to grant permissions to the principal.
batchGrantPermissionsAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncBatch operation to revoke permissions from the principal.
batchRevokePermissionsAsync in interface AWSLakeFormationAsyncpublic Future<BatchRevokePermissionsResult> batchRevokePermissionsAsync(BatchRevokePermissionsRequest request, AsyncHandler<BatchRevokePermissionsRequest,BatchRevokePermissionsResult> asyncHandler)
AWSLakeFormationAsyncBatch operation to revoke permissions from the principal.
batchRevokePermissionsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<CancelTransactionResult> cancelTransactionAsync(CancelTransactionRequest request)
AWSLakeFormationAsyncAttempts to cancel the specified transaction. Returns an exception if the transaction was previously committed.
cancelTransactionAsync in interface AWSLakeFormationAsyncpublic Future<CancelTransactionResult> cancelTransactionAsync(CancelTransactionRequest request, AsyncHandler<CancelTransactionRequest,CancelTransactionResult> asyncHandler)
AWSLakeFormationAsyncAttempts to cancel the specified transaction. Returns an exception if the transaction was previously committed.
cancelTransactionAsync in interface AWSLakeFormationAsyncasyncHandler - 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<CommitTransactionResult> commitTransactionAsync(CommitTransactionRequest request)
AWSLakeFormationAsyncAttempts to commit the specified transaction. Returns an exception if the transaction was previously aborted. This API action is idempotent if called multiple times for the same transaction.
commitTransactionAsync in interface AWSLakeFormationAsyncpublic Future<CommitTransactionResult> commitTransactionAsync(CommitTransactionRequest request, AsyncHandler<CommitTransactionRequest,CommitTransactionResult> asyncHandler)
AWSLakeFormationAsyncAttempts to commit the specified transaction. Returns an exception if the transaction was previously aborted. This API action is idempotent if called multiple times for the same transaction.
commitTransactionAsync in interface AWSLakeFormationAsyncasyncHandler - 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<CreateDataCellsFilterResult> createDataCellsFilterAsync(CreateDataCellsFilterRequest request)
AWSLakeFormationAsyncCreates a data cell filter to allow one to grant access to certain columns on certain rows.
createDataCellsFilterAsync in interface AWSLakeFormationAsyncpublic Future<CreateDataCellsFilterResult> createDataCellsFilterAsync(CreateDataCellsFilterRequest request, AsyncHandler<CreateDataCellsFilterRequest,CreateDataCellsFilterResult> asyncHandler)
AWSLakeFormationAsyncCreates a data cell filter to allow one to grant access to certain columns on certain rows.
createDataCellsFilterAsync in interface AWSLakeFormationAsyncasyncHandler - 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<CreateLFTagResult> createLFTagAsync(CreateLFTagRequest request)
AWSLakeFormationAsyncCreates an LF-tag with the specified name and values.
createLFTagAsync in interface AWSLakeFormationAsyncpublic Future<CreateLFTagResult> createLFTagAsync(CreateLFTagRequest request, AsyncHandler<CreateLFTagRequest,CreateLFTagResult> asyncHandler)
AWSLakeFormationAsyncCreates an LF-tag with the specified name and values.
createLFTagAsync in interface AWSLakeFormationAsyncasyncHandler - 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<CreateLakeFormationIdentityCenterConfigurationResult> createLakeFormationIdentityCenterConfigurationAsync(CreateLakeFormationIdentityCenterConfigurationRequest request)
AWSLakeFormationAsyncCreates an IAM Identity Center connection with Lake Formation to allow IAM Identity Center users and groups to access Data Catalog resources.
createLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncpublic Future<CreateLakeFormationIdentityCenterConfigurationResult> createLakeFormationIdentityCenterConfigurationAsync(CreateLakeFormationIdentityCenterConfigurationRequest request, AsyncHandler<CreateLakeFormationIdentityCenterConfigurationRequest,CreateLakeFormationIdentityCenterConfigurationResult> asyncHandler)
AWSLakeFormationAsyncCreates an IAM Identity Center connection with Lake Formation to allow IAM Identity Center users and groups to access Data Catalog resources.
createLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncasyncHandler - 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<CreateLakeFormationOptInResult> createLakeFormationOptInAsync(CreateLakeFormationOptInRequest request)
AWSLakeFormationAsyncEnforce Lake Formation permissions for the given databases, tables, and principals.
createLakeFormationOptInAsync in interface AWSLakeFormationAsyncpublic Future<CreateLakeFormationOptInResult> createLakeFormationOptInAsync(CreateLakeFormationOptInRequest request, AsyncHandler<CreateLakeFormationOptInRequest,CreateLakeFormationOptInResult> asyncHandler)
AWSLakeFormationAsyncEnforce Lake Formation permissions for the given databases, tables, and principals.
createLakeFormationOptInAsync in interface AWSLakeFormationAsyncasyncHandler - 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<DeleteDataCellsFilterResult> deleteDataCellsFilterAsync(DeleteDataCellsFilterRequest request)
AWSLakeFormationAsyncDeletes a data cell filter.
deleteDataCellsFilterAsync in interface AWSLakeFormationAsyncpublic Future<DeleteDataCellsFilterResult> deleteDataCellsFilterAsync(DeleteDataCellsFilterRequest request, AsyncHandler<DeleteDataCellsFilterRequest,DeleteDataCellsFilterResult> asyncHandler)
AWSLakeFormationAsyncDeletes a data cell filter.
deleteDataCellsFilterAsync in interface AWSLakeFormationAsyncasyncHandler - 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<DeleteLFTagResult> deleteLFTagAsync(DeleteLFTagRequest request)
AWSLakeFormationAsync
Deletes the specified LF-tag given a key name. If the input parameter tag key was not found, then the operation
will throw an exception. When you delete an LF-tag, the LFTagPolicy attached to the LF-tag becomes
invalid. If the deleted LF-tag was still assigned to any resource, the tag policy attach to the deleted LF-tag
will no longer be applied to the resource.
deleteLFTagAsync in interface AWSLakeFormationAsyncpublic Future<DeleteLFTagResult> deleteLFTagAsync(DeleteLFTagRequest request, AsyncHandler<DeleteLFTagRequest,DeleteLFTagResult> asyncHandler)
AWSLakeFormationAsync
Deletes the specified LF-tag given a key name. If the input parameter tag key was not found, then the operation
will throw an exception. When you delete an LF-tag, the LFTagPolicy attached to the LF-tag becomes
invalid. If the deleted LF-tag was still assigned to any resource, the tag policy attach to the deleted LF-tag
will no longer be applied to the resource.
deleteLFTagAsync in interface AWSLakeFormationAsyncasyncHandler - 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<DeleteLakeFormationIdentityCenterConfigurationResult> deleteLakeFormationIdentityCenterConfigurationAsync(DeleteLakeFormationIdentityCenterConfigurationRequest request)
AWSLakeFormationAsyncDeletes an IAM Identity Center connection with Lake Formation.
deleteLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncpublic Future<DeleteLakeFormationIdentityCenterConfigurationResult> deleteLakeFormationIdentityCenterConfigurationAsync(DeleteLakeFormationIdentityCenterConfigurationRequest request, AsyncHandler<DeleteLakeFormationIdentityCenterConfigurationRequest,DeleteLakeFormationIdentityCenterConfigurationResult> asyncHandler)
AWSLakeFormationAsyncDeletes an IAM Identity Center connection with Lake Formation.
deleteLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncasyncHandler - 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<DeleteLakeFormationOptInResult> deleteLakeFormationOptInAsync(DeleteLakeFormationOptInRequest request)
AWSLakeFormationAsyncRemove the Lake Formation permissions enforcement of the given databases, tables, and principals.
deleteLakeFormationOptInAsync in interface AWSLakeFormationAsyncpublic Future<DeleteLakeFormationOptInResult> deleteLakeFormationOptInAsync(DeleteLakeFormationOptInRequest request, AsyncHandler<DeleteLakeFormationOptInRequest,DeleteLakeFormationOptInResult> asyncHandler)
AWSLakeFormationAsyncRemove the Lake Formation permissions enforcement of the given databases, tables, and principals.
deleteLakeFormationOptInAsync in interface AWSLakeFormationAsyncasyncHandler - 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<DeleteObjectsOnCancelResult> deleteObjectsOnCancelAsync(DeleteObjectsOnCancelRequest request)
AWSLakeFormationAsyncFor a specific governed table, provides a list of Amazon S3 objects that will be written during the current transaction and that can be automatically deleted if the transaction is canceled. Without this call, no Amazon S3 objects are automatically deleted when a transaction cancels.
The Glue ETL library function write_dynamic_frame.from_catalog() includes an option to automatically
call DeleteObjectsOnCancel before writes. For more information, see Rolling Back Amazon S3 Writes.
deleteObjectsOnCancelAsync in interface AWSLakeFormationAsyncpublic Future<DeleteObjectsOnCancelResult> deleteObjectsOnCancelAsync(DeleteObjectsOnCancelRequest request, AsyncHandler<DeleteObjectsOnCancelRequest,DeleteObjectsOnCancelResult> asyncHandler)
AWSLakeFormationAsyncFor a specific governed table, provides a list of Amazon S3 objects that will be written during the current transaction and that can be automatically deleted if the transaction is canceled. Without this call, no Amazon S3 objects are automatically deleted when a transaction cancels.
The Glue ETL library function write_dynamic_frame.from_catalog() includes an option to automatically
call DeleteObjectsOnCancel before writes. For more information, see Rolling Back Amazon S3 Writes.
deleteObjectsOnCancelAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncDeregisters 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 AWSLakeFormationAsyncpublic Future<DeregisterResourceResult> deregisterResourceAsync(DeregisterResourceRequest request, AsyncHandler<DeregisterResourceRequest,DeregisterResourceResult> asyncHandler)
AWSLakeFormationAsyncDeregisters 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 AWSLakeFormationAsyncasyncHandler - 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<DescribeLakeFormationIdentityCenterConfigurationResult> describeLakeFormationIdentityCenterConfigurationAsync(DescribeLakeFormationIdentityCenterConfigurationRequest request)
AWSLakeFormationAsyncRetrieves the instance ARN and application ARN for the connection.
describeLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncpublic Future<DescribeLakeFormationIdentityCenterConfigurationResult> describeLakeFormationIdentityCenterConfigurationAsync(DescribeLakeFormationIdentityCenterConfigurationRequest request, AsyncHandler<DescribeLakeFormationIdentityCenterConfigurationRequest,DescribeLakeFormationIdentityCenterConfigurationResult> asyncHandler)
AWSLakeFormationAsyncRetrieves the instance ARN and application ARN for the connection.
describeLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncRetrieves the current data access role for the given resource registered in Lake Formation.
describeResourceAsync in interface AWSLakeFormationAsyncpublic Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request, AsyncHandler<DescribeResourceRequest,DescribeResourceResult> asyncHandler)
AWSLakeFormationAsyncRetrieves the current data access role for the given resource registered in Lake Formation.
describeResourceAsync in interface AWSLakeFormationAsyncasyncHandler - 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<DescribeTransactionResult> describeTransactionAsync(DescribeTransactionRequest request)
AWSLakeFormationAsyncReturns the details of a single transaction.
describeTransactionAsync in interface AWSLakeFormationAsyncpublic Future<DescribeTransactionResult> describeTransactionAsync(DescribeTransactionRequest request, AsyncHandler<DescribeTransactionRequest,DescribeTransactionResult> asyncHandler)
AWSLakeFormationAsyncReturns the details of a single transaction.
describeTransactionAsync in interface AWSLakeFormationAsyncasyncHandler - 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<ExtendTransactionResult> extendTransactionAsync(ExtendTransactionRequest request)
AWSLakeFormationAsyncIndicates to the service that the specified transaction is still active and should not be treated as idle and aborted.
Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.
extendTransactionAsync in interface AWSLakeFormationAsyncpublic Future<ExtendTransactionResult> extendTransactionAsync(ExtendTransactionRequest request, AsyncHandler<ExtendTransactionRequest,ExtendTransactionResult> asyncHandler)
AWSLakeFormationAsyncIndicates to the service that the specified transaction is still active and should not be treated as idle and aborted.
Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.
extendTransactionAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetDataCellsFilterResult> getDataCellsFilterAsync(GetDataCellsFilterRequest request)
AWSLakeFormationAsyncReturns a data cells filter.
getDataCellsFilterAsync in interface AWSLakeFormationAsyncpublic Future<GetDataCellsFilterResult> getDataCellsFilterAsync(GetDataCellsFilterRequest request, AsyncHandler<GetDataCellsFilterRequest,GetDataCellsFilterResult> asyncHandler)
AWSLakeFormationAsyncReturns a data cells filter.
getDataCellsFilterAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetDataLakePrincipalResult> getDataLakePrincipalAsync(GetDataLakePrincipalRequest request)
AWSLakeFormationAsyncReturns the identity of the invoking principal.
getDataLakePrincipalAsync in interface AWSLakeFormationAsyncpublic Future<GetDataLakePrincipalResult> getDataLakePrincipalAsync(GetDataLakePrincipalRequest request, AsyncHandler<GetDataLakePrincipalRequest,GetDataLakePrincipalResult> asyncHandler)
AWSLakeFormationAsyncReturns the identity of the invoking principal.
getDataLakePrincipalAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncRetrieves the list of the data lake administrators of a Lake Formation-managed data lake.
getDataLakeSettingsAsync in interface AWSLakeFormationAsyncpublic Future<GetDataLakeSettingsResult> getDataLakeSettingsAsync(GetDataLakeSettingsRequest request, AsyncHandler<GetDataLakeSettingsRequest,GetDataLakeSettingsResult> asyncHandler)
AWSLakeFormationAsyncRetrieves the list of the data lake administrators of a Lake Formation-managed data lake.
getDataLakeSettingsAsync in interface AWSLakeFormationAsyncasyncHandler - 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 AWSLakeFormationAsyncpublic 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 AWSLakeFormationAsyncasyncHandler - 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<GetLFTagResult> getLFTagAsync(GetLFTagRequest request)
AWSLakeFormationAsyncReturns an LF-tag definition.
getLFTagAsync in interface AWSLakeFormationAsyncpublic Future<GetLFTagResult> getLFTagAsync(GetLFTagRequest request, AsyncHandler<GetLFTagRequest,GetLFTagResult> asyncHandler)
AWSLakeFormationAsyncReturns an LF-tag definition.
getLFTagAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetQueryStateResult> getQueryStateAsync(GetQueryStateRequest request)
AWSLakeFormationAsync
Returns the state of a query previously submitted. Clients are expected to poll GetQueryState to
monitor the current state of the planning before retrieving the work units. A query state is only visible to the
principal that made the initial call to StartQueryPlanning.
getQueryStateAsync in interface AWSLakeFormationAsyncpublic Future<GetQueryStateResult> getQueryStateAsync(GetQueryStateRequest request, AsyncHandler<GetQueryStateRequest,GetQueryStateResult> asyncHandler)
AWSLakeFormationAsync
Returns the state of a query previously submitted. Clients are expected to poll GetQueryState to
monitor the current state of the planning before retrieving the work units. A query state is only visible to the
principal that made the initial call to StartQueryPlanning.
getQueryStateAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetQueryStatisticsResult> getQueryStatisticsAsync(GetQueryStatisticsRequest request)
AWSLakeFormationAsyncRetrieves statistics on the planning and execution of a query.
getQueryStatisticsAsync in interface AWSLakeFormationAsyncpublic Future<GetQueryStatisticsResult> getQueryStatisticsAsync(GetQueryStatisticsRequest request, AsyncHandler<GetQueryStatisticsRequest,GetQueryStatisticsResult> asyncHandler)
AWSLakeFormationAsyncRetrieves statistics on the planning and execution of a query.
getQueryStatisticsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetResourceLFTagsResult> getResourceLFTagsAsync(GetResourceLFTagsRequest request)
AWSLakeFormationAsyncReturns the LF-tags applied to a resource.
getResourceLFTagsAsync in interface AWSLakeFormationAsyncpublic Future<GetResourceLFTagsResult> getResourceLFTagsAsync(GetResourceLFTagsRequest request, AsyncHandler<GetResourceLFTagsRequest,GetResourceLFTagsResult> asyncHandler)
AWSLakeFormationAsyncReturns the LF-tags applied to a resource.
getResourceLFTagsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetTableObjectsResult> getTableObjectsAsync(GetTableObjectsRequest request)
AWSLakeFormationAsyncReturns the set of Amazon S3 objects that make up the specified governed table. A transaction ID or timestamp can be specified for time-travel queries.
getTableObjectsAsync in interface AWSLakeFormationAsyncpublic Future<GetTableObjectsResult> getTableObjectsAsync(GetTableObjectsRequest request, AsyncHandler<GetTableObjectsRequest,GetTableObjectsResult> asyncHandler)
AWSLakeFormationAsyncReturns the set of Amazon S3 objects that make up the specified governed table. A transaction ID or timestamp can be specified for time-travel queries.
getTableObjectsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetTemporaryGluePartitionCredentialsResult> getTemporaryGluePartitionCredentialsAsync(GetTemporaryGluePartitionCredentialsRequest request)
AWSLakeFormationAsync
This API is identical to GetTemporaryTableCredentials except that this is used when the target Data
Catalog resource is of type Partition. Lake Formation restricts the permission of the vended credentials with the
same scope down policy which restricts access to a single Amazon S3 prefix.
getTemporaryGluePartitionCredentialsAsync in interface AWSLakeFormationAsyncpublic Future<GetTemporaryGluePartitionCredentialsResult> getTemporaryGluePartitionCredentialsAsync(GetTemporaryGluePartitionCredentialsRequest request, AsyncHandler<GetTemporaryGluePartitionCredentialsRequest,GetTemporaryGluePartitionCredentialsResult> asyncHandler)
AWSLakeFormationAsync
This API is identical to GetTemporaryTableCredentials except that this is used when the target Data
Catalog resource is of type Partition. Lake Formation restricts the permission of the vended credentials with the
same scope down policy which restricts access to a single Amazon S3 prefix.
getTemporaryGluePartitionCredentialsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetTemporaryGlueTableCredentialsResult> getTemporaryGlueTableCredentialsAsync(GetTemporaryGlueTableCredentialsRequest request)
AWSLakeFormationAsyncAllows a caller in a secure environment to assume a role with permission to access Amazon S3. In order to vend such credentials, Lake Formation assumes the role associated with a registered location, for example an Amazon S3 bucket, with a scope down policy which restricts the access to a single prefix.
getTemporaryGlueTableCredentialsAsync in interface AWSLakeFormationAsyncpublic Future<GetTemporaryGlueTableCredentialsResult> getTemporaryGlueTableCredentialsAsync(GetTemporaryGlueTableCredentialsRequest request, AsyncHandler<GetTemporaryGlueTableCredentialsRequest,GetTemporaryGlueTableCredentialsResult> asyncHandler)
AWSLakeFormationAsyncAllows a caller in a secure environment to assume a role with permission to access Amazon S3. In order to vend such credentials, Lake Formation assumes the role associated with a registered location, for example an Amazon S3 bucket, with a scope down policy which restricts the access to a single prefix.
getTemporaryGlueTableCredentialsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetWorkUnitResultsResult> getWorkUnitResultsAsync(GetWorkUnitResultsRequest request)
AWSLakeFormationAsyncReturns the work units resulting from the query. Work units can be executed in any order and in parallel.
getWorkUnitResultsAsync in interface AWSLakeFormationAsyncpublic Future<GetWorkUnitResultsResult> getWorkUnitResultsAsync(GetWorkUnitResultsRequest request, AsyncHandler<GetWorkUnitResultsRequest,GetWorkUnitResultsResult> asyncHandler)
AWSLakeFormationAsyncReturns the work units resulting from the query. Work units can be executed in any order and in parallel.
getWorkUnitResultsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<GetWorkUnitsResult> getWorkUnitsAsync(GetWorkUnitsRequest request)
AWSLakeFormationAsync
Retrieves the work units generated by the StartQueryPlanning operation.
getWorkUnitsAsync in interface AWSLakeFormationAsyncpublic Future<GetWorkUnitsResult> getWorkUnitsAsync(GetWorkUnitsRequest request, AsyncHandler<GetWorkUnitsRequest,GetWorkUnitsResult> asyncHandler)
AWSLakeFormationAsync
Retrieves the work units generated by the StartQueryPlanning operation.
getWorkUnitsAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncGrants 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 AWSLakeFormationAsyncpublic Future<GrantPermissionsResult> grantPermissionsAsync(GrantPermissionsRequest request, AsyncHandler<GrantPermissionsRequest,GrantPermissionsResult> asyncHandler)
AWSLakeFormationAsyncGrants 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 AWSLakeFormationAsyncasyncHandler - 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<ListDataCellsFilterResult> listDataCellsFilterAsync(ListDataCellsFilterRequest request)
AWSLakeFormationAsyncLists all the data cell filters on a table.
listDataCellsFilterAsync in interface AWSLakeFormationAsyncpublic Future<ListDataCellsFilterResult> listDataCellsFilterAsync(ListDataCellsFilterRequest request, AsyncHandler<ListDataCellsFilterRequest,ListDataCellsFilterResult> asyncHandler)
AWSLakeFormationAsyncLists all the data cell filters on a table.
listDataCellsFilterAsync in interface AWSLakeFormationAsyncasyncHandler - 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<ListLFTagsResult> listLFTagsAsync(ListLFTagsRequest request)
AWSLakeFormationAsyncLists LF-tags that the requester has permission to view.
listLFTagsAsync in interface AWSLakeFormationAsyncpublic Future<ListLFTagsResult> listLFTagsAsync(ListLFTagsRequest request, AsyncHandler<ListLFTagsRequest,ListLFTagsResult> asyncHandler)
AWSLakeFormationAsyncLists LF-tags that the requester has permission to view.
listLFTagsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<ListLakeFormationOptInsResult> listLakeFormationOptInsAsync(ListLakeFormationOptInsRequest request)
AWSLakeFormationAsyncRetrieve the current list of resources and principals that are opt in to enforce Lake Formation permissions.
listLakeFormationOptInsAsync in interface AWSLakeFormationAsyncpublic Future<ListLakeFormationOptInsResult> listLakeFormationOptInsAsync(ListLakeFormationOptInsRequest request, AsyncHandler<ListLakeFormationOptInsRequest,ListLakeFormationOptInsResult> asyncHandler)
AWSLakeFormationAsyncRetrieve the current list of resources and principals that are opt in to enforce Lake Formation permissions.
listLakeFormationOptInsAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncReturns 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 AWSLakeFormationAsyncpublic Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request, AsyncHandler<ListPermissionsRequest,ListPermissionsResult> asyncHandler)
AWSLakeFormationAsyncReturns 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 AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncLists the resources registered to be managed by the Data Catalog.
listResourcesAsync in interface AWSLakeFormationAsyncpublic Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AWSLakeFormationAsyncLists the resources registered to be managed by the Data Catalog.
listResourcesAsync in interface AWSLakeFormationAsyncasyncHandler - 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<ListTableStorageOptimizersResult> listTableStorageOptimizersAsync(ListTableStorageOptimizersRequest request)
AWSLakeFormationAsyncReturns the configuration of all storage optimizers associated with a specified table.
listTableStorageOptimizersAsync in interface AWSLakeFormationAsyncpublic Future<ListTableStorageOptimizersResult> listTableStorageOptimizersAsync(ListTableStorageOptimizersRequest request, AsyncHandler<ListTableStorageOptimizersRequest,ListTableStorageOptimizersResult> asyncHandler)
AWSLakeFormationAsyncReturns the configuration of all storage optimizers associated with a specified table.
listTableStorageOptimizersAsync in interface AWSLakeFormationAsyncasyncHandler - 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<ListTransactionsResult> listTransactionsAsync(ListTransactionsRequest request)
AWSLakeFormationAsyncReturns metadata about transactions and their status. To prevent the response from growing indefinitely, only uncommitted transactions and those available for time-travel queries are returned.
This operation can help you identify uncommitted transactions or to get information about transactions.
listTransactionsAsync in interface AWSLakeFormationAsyncpublic Future<ListTransactionsResult> listTransactionsAsync(ListTransactionsRequest request, AsyncHandler<ListTransactionsRequest,ListTransactionsResult> asyncHandler)
AWSLakeFormationAsyncReturns metadata about transactions and their status. To prevent the response from growing indefinitely, only uncommitted transactions and those available for time-travel queries are returned.
This operation can help you identify uncommitted transactions or to get information about transactions.
listTransactionsAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncSets 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 AWSLakeFormationAsyncpublic Future<PutDataLakeSettingsResult> putDataLakeSettingsAsync(PutDataLakeSettingsRequest request, AsyncHandler<PutDataLakeSettingsRequest,PutDataLakeSettingsResult> asyncHandler)
AWSLakeFormationAsyncSets 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 AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncRegisters 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 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 AWSLakeFormationAsyncpublic Future<RegisterResourceResult> registerResourceAsync(RegisterResourceRequest request, AsyncHandler<RegisterResourceRequest,RegisterResourceResult> asyncHandler)
AWSLakeFormationAsyncRegisters 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 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 AWSLakeFormationAsyncasyncHandler - 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<RemoveLFTagsFromResourceResult> removeLFTagsFromResourceAsync(RemoveLFTagsFromResourceRequest request)
AWSLakeFormationAsync
Removes an LF-tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag
columns, use the column inclusion list in tableWithColumns to specify column input.
removeLFTagsFromResourceAsync in interface AWSLakeFormationAsyncpublic Future<RemoveLFTagsFromResourceResult> removeLFTagsFromResourceAsync(RemoveLFTagsFromResourceRequest request, AsyncHandler<RemoveLFTagsFromResourceRequest,RemoveLFTagsFromResourceResult> asyncHandler)
AWSLakeFormationAsync
Removes an LF-tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag
columns, use the column inclusion list in tableWithColumns to specify column input.
removeLFTagsFromResourceAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncRevokes 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 AWSLakeFormationAsyncpublic Future<RevokePermissionsResult> revokePermissionsAsync(RevokePermissionsRequest request, AsyncHandler<RevokePermissionsRequest,RevokePermissionsResult> asyncHandler)
AWSLakeFormationAsyncRevokes 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 AWSLakeFormationAsyncasyncHandler - 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<SearchDatabasesByLFTagsResult> searchDatabasesByLFTagsAsync(SearchDatabasesByLFTagsRequest request)
AWSLakeFormationAsync
This operation allows a search on DATABASE resources by TagCondition. This operation is
used by admins who want to grant user permissions on certain TagConditions. Before making a grant,
the admin can use SearchDatabasesByTags to find all resources where the given
TagConditions are valid to verify whether the returned resources can be shared.
searchDatabasesByLFTagsAsync in interface AWSLakeFormationAsyncpublic Future<SearchDatabasesByLFTagsResult> searchDatabasesByLFTagsAsync(SearchDatabasesByLFTagsRequest request, AsyncHandler<SearchDatabasesByLFTagsRequest,SearchDatabasesByLFTagsResult> asyncHandler)
AWSLakeFormationAsync
This operation allows a search on DATABASE resources by TagCondition. This operation is
used by admins who want to grant user permissions on certain TagConditions. Before making a grant,
the admin can use SearchDatabasesByTags to find all resources where the given
TagConditions are valid to verify whether the returned resources can be shared.
searchDatabasesByLFTagsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<SearchTablesByLFTagsResult> searchTablesByLFTagsAsync(SearchTablesByLFTagsRequest request)
AWSLakeFormationAsync
This operation allows a search on TABLE resources by LFTags. This will be used by
admins who want to grant user permissions on certain LF-tags. Before making a grant, the admin can use
SearchTablesByLFTags to find all resources where the given LFTags are valid to verify
whether the returned resources can be shared.
searchTablesByLFTagsAsync in interface AWSLakeFormationAsyncpublic Future<SearchTablesByLFTagsResult> searchTablesByLFTagsAsync(SearchTablesByLFTagsRequest request, AsyncHandler<SearchTablesByLFTagsRequest,SearchTablesByLFTagsResult> asyncHandler)
AWSLakeFormationAsync
This operation allows a search on TABLE resources by LFTags. This will be used by
admins who want to grant user permissions on certain LF-tags. Before making a grant, the admin can use
SearchTablesByLFTags to find all resources where the given LFTags are valid to verify
whether the returned resources can be shared.
searchTablesByLFTagsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<StartQueryPlanningResult> startQueryPlanningAsync(StartQueryPlanningRequest request)
AWSLakeFormationAsyncSubmits a request to process a query statement.
This operation generates work units that can be retrieved with the GetWorkUnits operation as soon as
the query state is WORKUNITS_AVAILABLE or FINISHED.
startQueryPlanningAsync in interface AWSLakeFormationAsyncpublic Future<StartQueryPlanningResult> startQueryPlanningAsync(StartQueryPlanningRequest request, AsyncHandler<StartQueryPlanningRequest,StartQueryPlanningResult> asyncHandler)
AWSLakeFormationAsyncSubmits a request to process a query statement.
This operation generates work units that can be retrieved with the GetWorkUnits operation as soon as
the query state is WORKUNITS_AVAILABLE or FINISHED.
startQueryPlanningAsync in interface AWSLakeFormationAsyncasyncHandler - 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<StartTransactionResult> startTransactionAsync(StartTransactionRequest request)
AWSLakeFormationAsyncStarts a new transaction and returns its transaction ID. Transaction IDs are opaque objects that you can use to identify a transaction.
startTransactionAsync in interface AWSLakeFormationAsyncpublic Future<StartTransactionResult> startTransactionAsync(StartTransactionRequest request, AsyncHandler<StartTransactionRequest,StartTransactionResult> asyncHandler)
AWSLakeFormationAsyncStarts a new transaction and returns its transaction ID. Transaction IDs are opaque objects that you can use to identify a transaction.
startTransactionAsync in interface AWSLakeFormationAsyncasyncHandler - 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<UpdateDataCellsFilterResult> updateDataCellsFilterAsync(UpdateDataCellsFilterRequest request)
AWSLakeFormationAsyncUpdates a data cell filter.
updateDataCellsFilterAsync in interface AWSLakeFormationAsyncpublic Future<UpdateDataCellsFilterResult> updateDataCellsFilterAsync(UpdateDataCellsFilterRequest request, AsyncHandler<UpdateDataCellsFilterRequest,UpdateDataCellsFilterResult> asyncHandler)
AWSLakeFormationAsyncUpdates a data cell filter.
updateDataCellsFilterAsync in interface AWSLakeFormationAsyncasyncHandler - 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<UpdateLFTagResult> updateLFTagAsync(UpdateLFTagRequest request)
AWSLakeFormationAsyncUpdates the list of possible values for the specified LF-tag key. If the LF-tag does not exist, the operation throws an EntityNotFoundException. The values in the delete key values will be deleted from list of possible values. If any value in the delete key values is attached to a resource, then API errors out with a 400 Exception - "Update not allowed". Untag the attribute before deleting the LF-tag key's value.
updateLFTagAsync in interface AWSLakeFormationAsyncpublic Future<UpdateLFTagResult> updateLFTagAsync(UpdateLFTagRequest request, AsyncHandler<UpdateLFTagRequest,UpdateLFTagResult> asyncHandler)
AWSLakeFormationAsyncUpdates the list of possible values for the specified LF-tag key. If the LF-tag does not exist, the operation throws an EntityNotFoundException. The values in the delete key values will be deleted from list of possible values. If any value in the delete key values is attached to a resource, then API errors out with a 400 Exception - "Update not allowed". Untag the attribute before deleting the LF-tag key's value.
updateLFTagAsync in interface AWSLakeFormationAsyncasyncHandler - 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<UpdateLakeFormationIdentityCenterConfigurationResult> updateLakeFormationIdentityCenterConfigurationAsync(UpdateLakeFormationIdentityCenterConfigurationRequest request)
AWSLakeFormationAsyncUpdates the IAM Identity Center connection parameters.
updateLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncpublic Future<UpdateLakeFormationIdentityCenterConfigurationResult> updateLakeFormationIdentityCenterConfigurationAsync(UpdateLakeFormationIdentityCenterConfigurationRequest request, AsyncHandler<UpdateLakeFormationIdentityCenterConfigurationRequest,UpdateLakeFormationIdentityCenterConfigurationResult> asyncHandler)
AWSLakeFormationAsyncUpdates the IAM Identity Center connection parameters.
updateLakeFormationIdentityCenterConfigurationAsync in interface AWSLakeFormationAsyncasyncHandler - 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)
AWSLakeFormationAsyncUpdates the data access role used for vending access to the given (registered) resource in Lake Formation.
updateResourceAsync in interface AWSLakeFormationAsyncpublic Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
AWSLakeFormationAsyncUpdates the data access role used for vending access to the given (registered) resource in Lake Formation.
updateResourceAsync in interface AWSLakeFormationAsyncasyncHandler - 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<UpdateTableObjectsResult> updateTableObjectsAsync(UpdateTableObjectsRequest request)
AWSLakeFormationAsyncUpdates the manifest of Amazon S3 objects that make up the specified governed table.
updateTableObjectsAsync in interface AWSLakeFormationAsyncpublic Future<UpdateTableObjectsResult> updateTableObjectsAsync(UpdateTableObjectsRequest request, AsyncHandler<UpdateTableObjectsRequest,UpdateTableObjectsResult> asyncHandler)
AWSLakeFormationAsyncUpdates the manifest of Amazon S3 objects that make up the specified governed table.
updateTableObjectsAsync in interface AWSLakeFormationAsyncasyncHandler - 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<UpdateTableStorageOptimizerResult> updateTableStorageOptimizerAsync(UpdateTableStorageOptimizerRequest request)
AWSLakeFormationAsyncUpdates the configuration of the storage optimizers for a table.
updateTableStorageOptimizerAsync in interface AWSLakeFormationAsyncpublic Future<UpdateTableStorageOptimizerResult> updateTableStorageOptimizerAsync(UpdateTableStorageOptimizerRequest request, AsyncHandler<UpdateTableStorageOptimizerRequest,UpdateTableStorageOptimizerResult> asyncHandler)
AWSLakeFormationAsyncUpdates the configuration of the storage optimizers for a table.
updateTableStorageOptimizerAsync in interface AWSLakeFormationAsyncasyncHandler - 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSLakeFormationshutdown in class AWSLakeFormationClient