com.amazonaws.services.lakeformation.AWSLakeFormationAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-lakeformation Show documentation
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.lakeformation;
import javax.annotation.Generated;
import com.amazonaws.services.lakeformation.model.*;
/**
* Interface for accessing AWS Lake Formation asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
*
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.lakeformation.AbstractAWSLakeFormationAsync} instead.
*
*
* Lake Formation
*
* Defines the public endpoint for the Lake Formation service.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSLakeFormationAsync extends AWSLakeFormation {
/**
*
* Attaches one or more LF-tags to an existing resource.
*
*
* @param addLFTagsToResourceRequest
* @return A Java Future containing the result of the AddLFTagsToResource operation returned by the service.
* @sample AWSLakeFormationAsync.AddLFTagsToResource
* @see AWS API Documentation
*/
java.util.concurrent.Future addLFTagsToResourceAsync(AddLFTagsToResourceRequest addLFTagsToResourceRequest);
/**
*
* Attaches one or more LF-tags to an existing resource.
*
*
* @param addLFTagsToResourceRequest
* @param 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.
* @return A Java Future containing the result of the AddLFTagsToResource operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.AddLFTagsToResource
* @see AWS API Documentation
*/
java.util.concurrent.Future addLFTagsToResourceAsync(AddLFTagsToResourceRequest addLFTagsToResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Allows 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:
*
*
* @param assumeDecoratedRoleWithSAMLRequest
* @return A Java Future containing the result of the AssumeDecoratedRoleWithSAML operation returned by the service.
* @sample AWSLakeFormationAsync.AssumeDecoratedRoleWithSAML
* @see AWS API Documentation
*/
java.util.concurrent.Future assumeDecoratedRoleWithSAMLAsync(
AssumeDecoratedRoleWithSAMLRequest assumeDecoratedRoleWithSAMLRequest);
/**
*
* Allows 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:
*
*
* @param assumeDecoratedRoleWithSAMLRequest
* @param 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.
* @return A Java Future containing the result of the AssumeDecoratedRoleWithSAML operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.AssumeDecoratedRoleWithSAML
* @see AWS API Documentation
*/
java.util.concurrent.Future assumeDecoratedRoleWithSAMLAsync(
AssumeDecoratedRoleWithSAMLRequest assumeDecoratedRoleWithSAMLRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Batch operation to grant permissions to the principal.
*
*
* @param batchGrantPermissionsRequest
* @return A Java Future containing the result of the BatchGrantPermissions operation returned by the service.
* @sample AWSLakeFormationAsync.BatchGrantPermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future batchGrantPermissionsAsync(BatchGrantPermissionsRequest batchGrantPermissionsRequest);
/**
*
* Batch operation to grant permissions to the principal.
*
*
* @param batchGrantPermissionsRequest
* @param 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.
* @return A Java Future containing the result of the BatchGrantPermissions operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.BatchGrantPermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future batchGrantPermissionsAsync(BatchGrantPermissionsRequest batchGrantPermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Batch operation to revoke permissions from the principal.
*
*
* @param batchRevokePermissionsRequest
* @return A Java Future containing the result of the BatchRevokePermissions operation returned by the service.
* @sample AWSLakeFormationAsync.BatchRevokePermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future batchRevokePermissionsAsync(BatchRevokePermissionsRequest batchRevokePermissionsRequest);
/**
*
* Batch operation to revoke permissions from the principal.
*
*
* @param batchRevokePermissionsRequest
* @param 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.
* @return A Java Future containing the result of the BatchRevokePermissions operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.BatchRevokePermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future batchRevokePermissionsAsync(BatchRevokePermissionsRequest batchRevokePermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Attempts to cancel the specified transaction. Returns an exception if the transaction was previously committed.
*
*
* @param cancelTransactionRequest
* @return A Java Future containing the result of the CancelTransaction operation returned by the service.
* @sample AWSLakeFormationAsync.CancelTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future cancelTransactionAsync(CancelTransactionRequest cancelTransactionRequest);
/**
*
* Attempts to cancel the specified transaction. Returns an exception if the transaction was previously committed.
*
*
* @param cancelTransactionRequest
* @param 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.
* @return A Java Future containing the result of the CancelTransaction operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.CancelTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future cancelTransactionAsync(CancelTransactionRequest cancelTransactionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Attempts 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.
*
*
* @param commitTransactionRequest
* @return A Java Future containing the result of the CommitTransaction operation returned by the service.
* @sample AWSLakeFormationAsync.CommitTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future commitTransactionAsync(CommitTransactionRequest commitTransactionRequest);
/**
*
* Attempts 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.
*
*
* @param commitTransactionRequest
* @param 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.
* @return A Java Future containing the result of the CommitTransaction operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.CommitTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future commitTransactionAsync(CommitTransactionRequest commitTransactionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a data cell filter to allow one to grant access to certain columns on certain rows.
*
*
* @param createDataCellsFilterRequest
* @return A Java Future containing the result of the CreateDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsync.CreateDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future createDataCellsFilterAsync(CreateDataCellsFilterRequest createDataCellsFilterRequest);
/**
*
* Creates a data cell filter to allow one to grant access to certain columns on certain rows.
*
*
* @param createDataCellsFilterRequest
* @param 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.
* @return A Java Future containing the result of the CreateDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.CreateDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future createDataCellsFilterAsync(CreateDataCellsFilterRequest createDataCellsFilterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an LF-tag with the specified name and values.
*
*
* @param createLFTagRequest
* @return A Java Future containing the result of the CreateLFTag operation returned by the service.
* @sample AWSLakeFormationAsync.CreateLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createLFTagAsync(CreateLFTagRequest createLFTagRequest);
/**
*
* Creates an LF-tag with the specified name and values.
*
*
* @param createLFTagRequest
* @param 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.
* @return A Java Future containing the result of the CreateLFTag operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.CreateLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createLFTagAsync(CreateLFTagRequest createLFTagRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates an IAM Identity Center connection with Lake Formation to allow IAM Identity Center users and groups to
* access Data Catalog resources.
*
*
* @param createLakeFormationIdentityCenterConfigurationRequest
* @return A Java Future containing the result of the CreateLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsync.CreateLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future createLakeFormationIdentityCenterConfigurationAsync(
CreateLakeFormationIdentityCenterConfigurationRequest createLakeFormationIdentityCenterConfigurationRequest);
/**
*
* Creates an IAM Identity Center connection with Lake Formation to allow IAM Identity Center users and groups to
* access Data Catalog resources.
*
*
* @param createLakeFormationIdentityCenterConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the CreateLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsyncHandler.CreateLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future createLakeFormationIdentityCenterConfigurationAsync(
CreateLakeFormationIdentityCenterConfigurationRequest createLakeFormationIdentityCenterConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enforce Lake Formation permissions for the given databases, tables, and principals.
*
*
* @param createLakeFormationOptInRequest
* @return A Java Future containing the result of the CreateLakeFormationOptIn operation returned by the service.
* @sample AWSLakeFormationAsync.CreateLakeFormationOptIn
* @see AWS API Documentation
*/
java.util.concurrent.Future createLakeFormationOptInAsync(CreateLakeFormationOptInRequest createLakeFormationOptInRequest);
/**
*
* Enforce Lake Formation permissions for the given databases, tables, and principals.
*
*
* @param createLakeFormationOptInRequest
* @param 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.
* @return A Java Future containing the result of the CreateLakeFormationOptIn operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.CreateLakeFormationOptIn
* @see AWS API Documentation
*/
java.util.concurrent.Future createLakeFormationOptInAsync(CreateLakeFormationOptInRequest createLakeFormationOptInRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a data cell filter.
*
*
* @param deleteDataCellsFilterRequest
* @return A Java Future containing the result of the DeleteDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsync.DeleteDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDataCellsFilterAsync(DeleteDataCellsFilterRequest deleteDataCellsFilterRequest);
/**
*
* Deletes a data cell filter.
*
*
* @param deleteDataCellsFilterRequest
* @param 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.
* @return A Java Future containing the result of the DeleteDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.DeleteDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteDataCellsFilterAsync(DeleteDataCellsFilterRequest deleteDataCellsFilterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deleteLFTagRequest
* @return A Java Future containing the result of the DeleteLFTag operation returned by the service.
* @sample AWSLakeFormationAsync.DeleteLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteLFTagAsync(DeleteLFTagRequest deleteLFTagRequest);
/**
*
* 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.
*
*
* @param deleteLFTagRequest
* @param 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.
* @return A Java Future containing the result of the DeleteLFTag operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.DeleteLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteLFTagAsync(DeleteLFTagRequest deleteLFTagRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an IAM Identity Center connection with Lake Formation.
*
*
* @param deleteLakeFormationIdentityCenterConfigurationRequest
* @return A Java Future containing the result of the DeleteLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsync.DeleteLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteLakeFormationIdentityCenterConfigurationAsync(
DeleteLakeFormationIdentityCenterConfigurationRequest deleteLakeFormationIdentityCenterConfigurationRequest);
/**
*
* Deletes an IAM Identity Center connection with Lake Formation.
*
*
* @param deleteLakeFormationIdentityCenterConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the DeleteLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsyncHandler.DeleteLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteLakeFormationIdentityCenterConfigurationAsync(
DeleteLakeFormationIdentityCenterConfigurationRequest deleteLakeFormationIdentityCenterConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Remove the Lake Formation permissions enforcement of the given databases, tables, and principals.
*
*
* @param deleteLakeFormationOptInRequest
* @return A Java Future containing the result of the DeleteLakeFormationOptIn operation returned by the service.
* @sample AWSLakeFormationAsync.DeleteLakeFormationOptIn
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteLakeFormationOptInAsync(DeleteLakeFormationOptInRequest deleteLakeFormationOptInRequest);
/**
*
* Remove the Lake Formation permissions enforcement of the given databases, tables, and principals.
*
*
* @param deleteLakeFormationOptInRequest
* @param 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.
* @return A Java Future containing the result of the DeleteLakeFormationOptIn operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.DeleteLakeFormationOptIn
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteLakeFormationOptInAsync(DeleteLakeFormationOptInRequest deleteLakeFormationOptInRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* For 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.
*
*
* @param deleteObjectsOnCancelRequest
* @return A Java Future containing the result of the DeleteObjectsOnCancel operation returned by the service.
* @sample AWSLakeFormationAsync.DeleteObjectsOnCancel
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteObjectsOnCancelAsync(DeleteObjectsOnCancelRequest deleteObjectsOnCancelRequest);
/**
*
* For 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.
*
*
* @param deleteObjectsOnCancelRequest
* @param 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.
* @return A Java Future containing the result of the DeleteObjectsOnCancel operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.DeleteObjectsOnCancel
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteObjectsOnCancelAsync(DeleteObjectsOnCancelRequest deleteObjectsOnCancelRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deregisterResourceRequest
* @return A Java Future containing the result of the DeregisterResource operation returned by the service.
* @sample AWSLakeFormationAsync.DeregisterResource
* @see AWS API Documentation
*/
java.util.concurrent.Future deregisterResourceAsync(DeregisterResourceRequest deregisterResourceRequest);
/**
*
* 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.
*
*
* @param deregisterResourceRequest
* @param 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.
* @return A Java Future containing the result of the DeregisterResource operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.DeregisterResource
* @see AWS API Documentation
*/
java.util.concurrent.Future deregisterResourceAsync(DeregisterResourceRequest deregisterResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the instance ARN and application ARN for the connection.
*
*
* @param describeLakeFormationIdentityCenterConfigurationRequest
* @return A Java Future containing the result of the DescribeLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsync.DescribeLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future describeLakeFormationIdentityCenterConfigurationAsync(
DescribeLakeFormationIdentityCenterConfigurationRequest describeLakeFormationIdentityCenterConfigurationRequest);
/**
*
* Retrieves the instance ARN and application ARN for the connection.
*
*
* @param describeLakeFormationIdentityCenterConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the DescribeLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsyncHandler.DescribeLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future describeLakeFormationIdentityCenterConfigurationAsync(
DescribeLakeFormationIdentityCenterConfigurationRequest describeLakeFormationIdentityCenterConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the current data access role for the given resource registered in Lake Formation.
*
*
* @param describeResourceRequest
* @return A Java Future containing the result of the DescribeResource operation returned by the service.
* @sample AWSLakeFormationAsync.DescribeResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeResourceAsync(DescribeResourceRequest describeResourceRequest);
/**
*
* Retrieves the current data access role for the given resource registered in Lake Formation.
*
*
* @param describeResourceRequest
* @param 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.
* @return A Java Future containing the result of the DescribeResource operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.DescribeResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future describeResourceAsync(DescribeResourceRequest describeResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the details of a single transaction.
*
*
* @param describeTransactionRequest
* @return A Java Future containing the result of the DescribeTransaction operation returned by the service.
* @sample AWSLakeFormationAsync.DescribeTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future describeTransactionAsync(DescribeTransactionRequest describeTransactionRequest);
/**
*
* Returns the details of a single transaction.
*
*
* @param describeTransactionRequest
* @param 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.
* @return A Java Future containing the result of the DescribeTransaction operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.DescribeTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future describeTransactionAsync(DescribeTransactionRequest describeTransactionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Indicates 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.
*
*
* @param extendTransactionRequest
* @return A Java Future containing the result of the ExtendTransaction operation returned by the service.
* @sample AWSLakeFormationAsync.ExtendTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future extendTransactionAsync(ExtendTransactionRequest extendTransactionRequest);
/**
*
* Indicates 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.
*
*
* @param extendTransactionRequest
* @param 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.
* @return A Java Future containing the result of the ExtendTransaction operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ExtendTransaction
* @see AWS API Documentation
*/
java.util.concurrent.Future extendTransactionAsync(ExtendTransactionRequest extendTransactionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a data cells filter.
*
*
* @param getDataCellsFilterRequest
* @return A Java Future containing the result of the GetDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsync.GetDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataCellsFilterAsync(GetDataCellsFilterRequest getDataCellsFilterRequest);
/**
*
* Returns a data cells filter.
*
*
* @param getDataCellsFilterRequest
* @param 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.
* @return A Java Future containing the result of the GetDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataCellsFilterAsync(GetDataCellsFilterRequest getDataCellsFilterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the identity of the invoking principal.
*
*
* @param getDataLakePrincipalRequest
* @return A Java Future containing the result of the GetDataLakePrincipal operation returned by the service.
* @sample AWSLakeFormationAsync.GetDataLakePrincipal
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataLakePrincipalAsync(GetDataLakePrincipalRequest getDataLakePrincipalRequest);
/**
*
* Returns the identity of the invoking principal.
*
*
* @param getDataLakePrincipalRequest
* @param 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.
* @return A Java Future containing the result of the GetDataLakePrincipal operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetDataLakePrincipal
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataLakePrincipalAsync(GetDataLakePrincipalRequest getDataLakePrincipalRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
*
*
* @param getDataLakeSettingsRequest
* @return A Java Future containing the result of the GetDataLakeSettings operation returned by the service.
* @sample AWSLakeFormationAsync.GetDataLakeSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataLakeSettingsAsync(GetDataLakeSettingsRequest getDataLakeSettingsRequest);
/**
*
* Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.
*
*
* @param getDataLakeSettingsRequest
* @param 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.
* @return A Java Future containing the result of the GetDataLakeSettings operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetDataLakeSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future getDataLakeSettingsAsync(GetDataLakeSettingsRequest getDataLakeSettingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param getEffectivePermissionsForPathRequest
* @return A Java Future containing the result of the GetEffectivePermissionsForPath operation returned by the
* service.
* @sample AWSLakeFormationAsync.GetEffectivePermissionsForPath
* @see AWS API Documentation
*/
java.util.concurrent.Future getEffectivePermissionsForPathAsync(
GetEffectivePermissionsForPathRequest getEffectivePermissionsForPathRequest);
/**
*
* 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.
*
*
* @param getEffectivePermissionsForPathRequest
* @param 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.
* @return A Java Future containing the result of the GetEffectivePermissionsForPath operation returned by the
* service.
* @sample AWSLakeFormationAsyncHandler.GetEffectivePermissionsForPath
* @see AWS API Documentation
*/
java.util.concurrent.Future getEffectivePermissionsForPathAsync(
GetEffectivePermissionsForPathRequest getEffectivePermissionsForPathRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns an LF-tag definition.
*
*
* @param getLFTagRequest
* @return A Java Future containing the result of the GetLFTag operation returned by the service.
* @sample AWSLakeFormationAsync.GetLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getLFTagAsync(GetLFTagRequest getLFTagRequest);
/**
*
* Returns an LF-tag definition.
*
*
* @param getLFTagRequest
* @param 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.
* @return A Java Future containing the result of the GetLFTag operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getLFTagAsync(GetLFTagRequest getLFTagRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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
.
*
*
* @param getQueryStateRequest
* @return A Java Future containing the result of the GetQueryState operation returned by the service.
* @sample AWSLakeFormationAsync.GetQueryState
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getQueryStateAsync(GetQueryStateRequest getQueryStateRequest);
/**
*
* 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
.
*
*
* @param getQueryStateRequest
* @param 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.
* @return A Java Future containing the result of the GetQueryState operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetQueryState
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getQueryStateAsync(GetQueryStateRequest getQueryStateRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves statistics on the planning and execution of a query.
*
*
* @param getQueryStatisticsRequest
* @return A Java Future containing the result of the GetQueryStatistics operation returned by the service.
* @sample AWSLakeFormationAsync.GetQueryStatistics
* @see AWS API Documentation
*/
java.util.concurrent.Future getQueryStatisticsAsync(GetQueryStatisticsRequest getQueryStatisticsRequest);
/**
*
* Retrieves statistics on the planning and execution of a query.
*
*
* @param getQueryStatisticsRequest
* @param 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.
* @return A Java Future containing the result of the GetQueryStatistics operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetQueryStatistics
* @see AWS API Documentation
*/
java.util.concurrent.Future getQueryStatisticsAsync(GetQueryStatisticsRequest getQueryStatisticsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the LF-tags applied to a resource.
*
*
* @param getResourceLFTagsRequest
* @return A Java Future containing the result of the GetResourceLFTags operation returned by the service.
* @sample AWSLakeFormationAsync.GetResourceLFTags
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceLFTagsAsync(GetResourceLFTagsRequest getResourceLFTagsRequest);
/**
*
* Returns the LF-tags applied to a resource.
*
*
* @param getResourceLFTagsRequest
* @param 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.
* @return A Java Future containing the result of the GetResourceLFTags operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetResourceLFTags
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceLFTagsAsync(GetResourceLFTagsRequest getResourceLFTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns 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.
*
*
* @param getTableObjectsRequest
* @return A Java Future containing the result of the GetTableObjects operation returned by the service.
* @sample AWSLakeFormationAsync.GetTableObjects
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getTableObjectsAsync(GetTableObjectsRequest getTableObjectsRequest);
/**
*
* Returns 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.
*
*
* @param getTableObjectsRequest
* @param 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.
* @return A Java Future containing the result of the GetTableObjects operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetTableObjects
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getTableObjectsAsync(GetTableObjectsRequest getTableObjectsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param getTemporaryGluePartitionCredentialsRequest
* @return A Java Future containing the result of the GetTemporaryGluePartitionCredentials operation returned by the
* service.
* @sample AWSLakeFormationAsync.GetTemporaryGluePartitionCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future getTemporaryGluePartitionCredentialsAsync(
GetTemporaryGluePartitionCredentialsRequest getTemporaryGluePartitionCredentialsRequest);
/**
*
* 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.
*
*
* @param getTemporaryGluePartitionCredentialsRequest
* @param 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.
* @return A Java Future containing the result of the GetTemporaryGluePartitionCredentials operation returned by the
* service.
* @sample AWSLakeFormationAsyncHandler.GetTemporaryGluePartitionCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future getTemporaryGluePartitionCredentialsAsync(
GetTemporaryGluePartitionCredentialsRequest getTemporaryGluePartitionCredentialsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Allows 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.
*
*
* @param getTemporaryGlueTableCredentialsRequest
* @return A Java Future containing the result of the GetTemporaryGlueTableCredentials operation returned by the
* service.
* @sample AWSLakeFormationAsync.GetTemporaryGlueTableCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future getTemporaryGlueTableCredentialsAsync(
GetTemporaryGlueTableCredentialsRequest getTemporaryGlueTableCredentialsRequest);
/**
*
* Allows 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.
*
*
* @param getTemporaryGlueTableCredentialsRequest
* @param 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.
* @return A Java Future containing the result of the GetTemporaryGlueTableCredentials operation returned by the
* service.
* @sample AWSLakeFormationAsyncHandler.GetTemporaryGlueTableCredentials
* @see AWS API Documentation
*/
java.util.concurrent.Future getTemporaryGlueTableCredentialsAsync(
GetTemporaryGlueTableCredentialsRequest getTemporaryGlueTableCredentialsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the work units resulting from the query. Work units can be executed in any order and in parallel.
*
*
* @param getWorkUnitResultsRequest
* @return A Java Future containing the result of the GetWorkUnitResults operation returned by the service.
* @sample AWSLakeFormationAsync.GetWorkUnitResults
* @see AWS API Documentation
*/
java.util.concurrent.Future getWorkUnitResultsAsync(GetWorkUnitResultsRequest getWorkUnitResultsRequest);
/**
*
* Returns the work units resulting from the query. Work units can be executed in any order and in parallel.
*
*
* @param getWorkUnitResultsRequest
* @param 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.
* @return A Java Future containing the result of the GetWorkUnitResults operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetWorkUnitResults
* @see AWS API Documentation
*/
java.util.concurrent.Future getWorkUnitResultsAsync(GetWorkUnitResultsRequest getWorkUnitResultsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the work units generated by the StartQueryPlanning
operation.
*
*
* @param getWorkUnitsRequest
* @return A Java Future containing the result of the GetWorkUnits operation returned by the service.
* @sample AWSLakeFormationAsync.GetWorkUnits
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getWorkUnitsAsync(GetWorkUnitsRequest getWorkUnitsRequest);
/**
*
* Retrieves the work units generated by the StartQueryPlanning
operation.
*
*
* @param getWorkUnitsRequest
* @param 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.
* @return A Java Future containing the result of the GetWorkUnits operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GetWorkUnits
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getWorkUnitsAsync(GetWorkUnitsRequest getWorkUnitsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param grantPermissionsRequest
* @return A Java Future containing the result of the GrantPermissions operation returned by the service.
* @sample AWSLakeFormationAsync.GrantPermissions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future grantPermissionsAsync(GrantPermissionsRequest grantPermissionsRequest);
/**
*
* 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.
*
*
* @param grantPermissionsRequest
* @param 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.
* @return A Java Future containing the result of the GrantPermissions operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.GrantPermissions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future grantPermissionsAsync(GrantPermissionsRequest grantPermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists all the data cell filters on a table.
*
*
* @param listDataCellsFilterRequest
* @return A Java Future containing the result of the ListDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsync.ListDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future listDataCellsFilterAsync(ListDataCellsFilterRequest listDataCellsFilterRequest);
/**
*
* Lists all the data cell filters on a table.
*
*
* @param listDataCellsFilterRequest
* @param 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.
* @return A Java Future containing the result of the ListDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ListDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future listDataCellsFilterAsync(ListDataCellsFilterRequest listDataCellsFilterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists LF-tags that the requester has permission to view.
*
*
* @param listLFTagsRequest
* @return A Java Future containing the result of the ListLFTags operation returned by the service.
* @sample AWSLakeFormationAsync.ListLFTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listLFTagsAsync(ListLFTagsRequest listLFTagsRequest);
/**
*
* Lists LF-tags that the requester has permission to view.
*
*
* @param listLFTagsRequest
* @param 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.
* @return A Java Future containing the result of the ListLFTags operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ListLFTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listLFTagsAsync(ListLFTagsRequest listLFTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieve the current list of resources and principals that are opt in to enforce Lake Formation permissions.
*
*
* @param listLakeFormationOptInsRequest
* @return A Java Future containing the result of the ListLakeFormationOptIns operation returned by the service.
* @sample AWSLakeFormationAsync.ListLakeFormationOptIns
* @see AWS API Documentation
*/
java.util.concurrent.Future listLakeFormationOptInsAsync(ListLakeFormationOptInsRequest listLakeFormationOptInsRequest);
/**
*
* Retrieve the current list of resources and principals that are opt in to enforce Lake Formation permissions.
*
*
* @param listLakeFormationOptInsRequest
* @param 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.
* @return A Java Future containing the result of the ListLakeFormationOptIns operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ListLakeFormationOptIns
* @see AWS API Documentation
*/
java.util.concurrent.Future listLakeFormationOptInsAsync(ListLakeFormationOptInsRequest listLakeFormationOptInsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param listPermissionsRequest
* @return A Java Future containing the result of the ListPermissions operation returned by the service.
* @sample AWSLakeFormationAsync.ListPermissions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listPermissionsAsync(ListPermissionsRequest listPermissionsRequest);
/**
*
* 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.
*
*
* @param listPermissionsRequest
* @param 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.
* @return A Java Future containing the result of the ListPermissions operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ListPermissions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listPermissionsAsync(ListPermissionsRequest listPermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the resources registered to be managed by the Data Catalog.
*
*
* @param listResourcesRequest
* @return A Java Future containing the result of the ListResources operation returned by the service.
* @sample AWSLakeFormationAsync.ListResources
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listResourcesAsync(ListResourcesRequest listResourcesRequest);
/**
*
* Lists the resources registered to be managed by the Data Catalog.
*
*
* @param listResourcesRequest
* @param 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.
* @return A Java Future containing the result of the ListResources operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ListResources
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listResourcesAsync(ListResourcesRequest listResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the configuration of all storage optimizers associated with a specified table.
*
*
* @param listTableStorageOptimizersRequest
* @return A Java Future containing the result of the ListTableStorageOptimizers operation returned by the service.
* @sample AWSLakeFormationAsync.ListTableStorageOptimizers
* @see AWS API Documentation
*/
java.util.concurrent.Future listTableStorageOptimizersAsync(
ListTableStorageOptimizersRequest listTableStorageOptimizersRequest);
/**
*
* Returns the configuration of all storage optimizers associated with a specified table.
*
*
* @param listTableStorageOptimizersRequest
* @param 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.
* @return A Java Future containing the result of the ListTableStorageOptimizers operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ListTableStorageOptimizers
* @see AWS API Documentation
*/
java.util.concurrent.Future listTableStorageOptimizersAsync(
ListTableStorageOptimizersRequest listTableStorageOptimizersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns 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.
*
*
* @param listTransactionsRequest
* @return A Java Future containing the result of the ListTransactions operation returned by the service.
* @sample AWSLakeFormationAsync.ListTransactions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTransactionsAsync(ListTransactionsRequest listTransactionsRequest);
/**
*
* Returns 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.
*
*
* @param listTransactionsRequest
* @param 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.
* @return A Java Future containing the result of the ListTransactions operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.ListTransactions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listTransactionsAsync(ListTransactionsRequest listTransactionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param putDataLakeSettingsRequest
* @return A Java Future containing the result of the PutDataLakeSettings operation returned by the service.
* @sample AWSLakeFormationAsync.PutDataLakeSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future putDataLakeSettingsAsync(PutDataLakeSettingsRequest putDataLakeSettingsRequest);
/**
*
* 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.
*
*
* @param putDataLakeSettingsRequest
* @param 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.
* @return A Java Future containing the result of the PutDataLakeSettings operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.PutDataLakeSettings
* @see AWS API Documentation
*/
java.util.concurrent.Future putDataLakeSettingsAsync(PutDataLakeSettingsRequest putDataLakeSettingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 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
*
*
* @param registerResourceRequest
* @return A Java Future containing the result of the RegisterResource operation returned by the service.
* @sample AWSLakeFormationAsync.RegisterResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future registerResourceAsync(RegisterResourceRequest registerResourceRequest);
/**
*
* 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 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
*
*
* @param registerResourceRequest
* @param 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.
* @return A Java Future containing the result of the RegisterResource operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.RegisterResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future registerResourceAsync(RegisterResourceRequest registerResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param removeLFTagsFromResourceRequest
* @return A Java Future containing the result of the RemoveLFTagsFromResource operation returned by the service.
* @sample AWSLakeFormationAsync.RemoveLFTagsFromResource
* @see AWS API Documentation
*/
java.util.concurrent.Future removeLFTagsFromResourceAsync(RemoveLFTagsFromResourceRequest removeLFTagsFromResourceRequest);
/**
*
* 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.
*
*
* @param removeLFTagsFromResourceRequest
* @param 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.
* @return A Java Future containing the result of the RemoveLFTagsFromResource operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.RemoveLFTagsFromResource
* @see AWS API Documentation
*/
java.util.concurrent.Future removeLFTagsFromResourceAsync(RemoveLFTagsFromResourceRequest removeLFTagsFromResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data
* storage such as Amazon S3.
*
*
* @param revokePermissionsRequest
* @return A Java Future containing the result of the RevokePermissions operation returned by the service.
* @sample AWSLakeFormationAsync.RevokePermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future revokePermissionsAsync(RevokePermissionsRequest revokePermissionsRequest);
/**
*
* Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data
* storage such as Amazon S3.
*
*
* @param revokePermissionsRequest
* @param 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.
* @return A Java Future containing the result of the RevokePermissions operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.RevokePermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future revokePermissionsAsync(RevokePermissionsRequest revokePermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param searchDatabasesByLFTagsRequest
* @return A Java Future containing the result of the SearchDatabasesByLFTags operation returned by the service.
* @sample AWSLakeFormationAsync.SearchDatabasesByLFTags
* @see AWS API Documentation
*/
java.util.concurrent.Future searchDatabasesByLFTagsAsync(SearchDatabasesByLFTagsRequest searchDatabasesByLFTagsRequest);
/**
*
* 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.
*
*
* @param searchDatabasesByLFTagsRequest
* @param 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.
* @return A Java Future containing the result of the SearchDatabasesByLFTags operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.SearchDatabasesByLFTags
* @see AWS API Documentation
*/
java.util.concurrent.Future searchDatabasesByLFTagsAsync(SearchDatabasesByLFTagsRequest searchDatabasesByLFTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* This operation allows a search on TABLE
resources by LFTag
s. 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 LFTag
s are valid to verify
* whether the returned resources can be shared.
*
*
* @param searchTablesByLFTagsRequest
* @return A Java Future containing the result of the SearchTablesByLFTags operation returned by the service.
* @sample AWSLakeFormationAsync.SearchTablesByLFTags
* @see AWS API Documentation
*/
java.util.concurrent.Future searchTablesByLFTagsAsync(SearchTablesByLFTagsRequest searchTablesByLFTagsRequest);
/**
*
* This operation allows a search on TABLE
resources by LFTag
s. 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 LFTag
s are valid to verify
* whether the returned resources can be shared.
*
*
* @param searchTablesByLFTagsRequest
* @param 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.
* @return A Java Future containing the result of the SearchTablesByLFTags operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.SearchTablesByLFTags
* @see AWS API Documentation
*/
java.util.concurrent.Future searchTablesByLFTagsAsync(SearchTablesByLFTagsRequest searchTablesByLFTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Submits 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.
*
*
* @param startQueryPlanningRequest
* @return A Java Future containing the result of the StartQueryPlanning operation returned by the service.
* @sample AWSLakeFormationAsync.StartQueryPlanning
* @see AWS API Documentation
*/
java.util.concurrent.Future startQueryPlanningAsync(StartQueryPlanningRequest startQueryPlanningRequest);
/**
*
* Submits 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.
*
*
* @param startQueryPlanningRequest
* @param 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.
* @return A Java Future containing the result of the StartQueryPlanning operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.StartQueryPlanning
* @see AWS API Documentation
*/
java.util.concurrent.Future startQueryPlanningAsync(StartQueryPlanningRequest startQueryPlanningRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Starts a new transaction and returns its transaction ID. Transaction IDs are opaque objects that you can use to
* identify a transaction.
*
*
* @param startTransactionRequest
* @return A Java Future containing the result of the StartTransaction operation returned by the service.
* @sample AWSLakeFormationAsync.StartTransaction
* @see AWS
* API Documentation
*/
java.util.concurrent.Future startTransactionAsync(StartTransactionRequest startTransactionRequest);
/**
*
* Starts a new transaction and returns its transaction ID. Transaction IDs are opaque objects that you can use to
* identify a transaction.
*
*
* @param startTransactionRequest
* @param 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.
* @return A Java Future containing the result of the StartTransaction operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.StartTransaction
* @see AWS
* API Documentation
*/
java.util.concurrent.Future startTransactionAsync(StartTransactionRequest startTransactionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a data cell filter.
*
*
* @param updateDataCellsFilterRequest
* @return A Java Future containing the result of the UpdateDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsync.UpdateDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDataCellsFilterAsync(UpdateDataCellsFilterRequest updateDataCellsFilterRequest);
/**
*
* Updates a data cell filter.
*
*
* @param updateDataCellsFilterRequest
* @param 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.
* @return A Java Future containing the result of the UpdateDataCellsFilter operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.UpdateDataCellsFilter
* @see AWS API Documentation
*/
java.util.concurrent.Future updateDataCellsFilterAsync(UpdateDataCellsFilterRequest updateDataCellsFilterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates 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.
*
*
* @param updateLFTagRequest
* @return A Java Future containing the result of the UpdateLFTag operation returned by the service.
* @sample AWSLakeFormationAsync.UpdateLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateLFTagAsync(UpdateLFTagRequest updateLFTagRequest);
/**
*
* Updates 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.
*
*
* @param updateLFTagRequest
* @param 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.
* @return A Java Future containing the result of the UpdateLFTag operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.UpdateLFTag
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateLFTagAsync(UpdateLFTagRequest updateLFTagRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the IAM Identity Center connection parameters.
*
*
* @param updateLakeFormationIdentityCenterConfigurationRequest
* @return A Java Future containing the result of the UpdateLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsync.UpdateLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateLakeFormationIdentityCenterConfigurationAsync(
UpdateLakeFormationIdentityCenterConfigurationRequest updateLakeFormationIdentityCenterConfigurationRequest);
/**
*
* Updates the IAM Identity Center connection parameters.
*
*
* @param updateLakeFormationIdentityCenterConfigurationRequest
* @param 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.
* @return A Java Future containing the result of the UpdateLakeFormationIdentityCenterConfiguration operation
* returned by the service.
* @sample AWSLakeFormationAsyncHandler.UpdateLakeFormationIdentityCenterConfiguration
* @see AWS API Documentation
*/
java.util.concurrent.Future updateLakeFormationIdentityCenterConfigurationAsync(
UpdateLakeFormationIdentityCenterConfigurationRequest updateLakeFormationIdentityCenterConfigurationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the data access role used for vending access to the given (registered) resource in Lake Formation.
*
*
* @param updateResourceRequest
* @return A Java Future containing the result of the UpdateResource operation returned by the service.
* @sample AWSLakeFormationAsync.UpdateResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateResourceAsync(UpdateResourceRequest updateResourceRequest);
/**
*
* Updates the data access role used for vending access to the given (registered) resource in Lake Formation.
*
*
* @param updateResourceRequest
* @param 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.
* @return A Java Future containing the result of the UpdateResource operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.UpdateResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateResourceAsync(UpdateResourceRequest updateResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the manifest of Amazon S3 objects that make up the specified governed table.
*
*
* @param updateTableObjectsRequest
* @return A Java Future containing the result of the UpdateTableObjects operation returned by the service.
* @sample AWSLakeFormationAsync.UpdateTableObjects
* @see AWS API Documentation
*/
java.util.concurrent.Future updateTableObjectsAsync(UpdateTableObjectsRequest updateTableObjectsRequest);
/**
*
* Updates the manifest of Amazon S3 objects that make up the specified governed table.
*
*
* @param updateTableObjectsRequest
* @param 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.
* @return A Java Future containing the result of the UpdateTableObjects operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.UpdateTableObjects
* @see AWS API Documentation
*/
java.util.concurrent.Future updateTableObjectsAsync(UpdateTableObjectsRequest updateTableObjectsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the configuration of the storage optimizers for a table.
*
*
* @param updateTableStorageOptimizerRequest
* @return A Java Future containing the result of the UpdateTableStorageOptimizer operation returned by the service.
* @sample AWSLakeFormationAsync.UpdateTableStorageOptimizer
* @see AWS API Documentation
*/
java.util.concurrent.Future updateTableStorageOptimizerAsync(
UpdateTableStorageOptimizerRequest updateTableStorageOptimizerRequest);
/**
*
* Updates the configuration of the storage optimizers for a table.
*
*
* @param updateTableStorageOptimizerRequest
* @param 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.
* @return A Java Future containing the result of the UpdateTableStorageOptimizer operation returned by the service.
* @sample AWSLakeFormationAsyncHandler.UpdateTableStorageOptimizer
* @see AWS API Documentation
*/
java.util.concurrent.Future updateTableStorageOptimizerAsync(
UpdateTableStorageOptimizerRequest updateTableStorageOptimizerRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}