All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.lakeformation.AWSLakeFormationAsync Maven / Gradle / Ivy

/*
 * Copyright 2016-2021 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. *

*

* AWS Lake Formation *

* Defines the public endpoint for the AWS Lake Formation service. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSLakeFormationAsync extends AWSLakeFormation { /** *

* Attaches one or more 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 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); /** *

* 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); /** *

* Creates a 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 a 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); /** *

* Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the * operation will not do anything. If the attribute key exists, then the operation checks if any resources are * tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as * the tag key is still attached with resources. You can consider untagging resources with this tag key. *

* * @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 tag key name. If the attribute key does not exist or the tag does not exist, then the * operation will not do anything. If the attribute key exists, then the operation checks if any resources are * tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as * the tag key is still attached with resources. You can consider untagging resources with this tag key. *

* * @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); /** *

* 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 current data access role for the given resource registered in AWS 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 AWS 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); /** *

* 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 a 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 a 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 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 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); /** *

* 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 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 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); /** *

* 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); /** *

* 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 AWS Lake Formation permission to use the service-linked * role to access that location. *

*

* ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true *

*

* If UseServiceLinkedRole is not set to true, you must provide or set the RoleArn: *

*

* arn:aws:iam::12345:role/my-data-access-role *

* * @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 AWS Lake Formation permission to use the service-linked * role to access that location. *

*

* ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true *

*

* If UseServiceLinkedRole is not set to true, you must provide or set the RoleArn: *

*

* arn:aws:iam::12345:role/my-data-access-role *

* * @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 a 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 a 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 LFTags. This will be used by * admins who want to grant user permissions on certain LFTags. 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. *

* * @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 LFTags. This will be used by * admins who want to grant user permissions on certain LFTags. 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. *

* * @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); /** *

* Updates the list of possible values for the specified tag key. If the 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 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 tag key. If the 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 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 data access role used for vending access to the given (registered) resource in AWS 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 AWS 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); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy