@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLakeFormationAsyncClient extends AWSLakeFormationClient implements AWSLakeFormationAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Defines the public endpoint for the AWS Lake Formation service.
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbatchGrantPermissions, batchRevokePermissions, builder, deregisterResource, describeResource, getCachedResponseMetadata, getDataLakeSettings, getEffectivePermissionsForPath, grantPermissions, listPermissions, listResources, putDataLakeSettings, registerResource, revokePermissions, updateResourceaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchGrantPermissions, batchRevokePermissions, deregisterResource, describeResource, getCachedResponseMetadata, getDataLakeSettings, getEffectivePermissionsForPath, grantPermissions, listPermissions, listResources, putDataLakeSettings, registerResource, revokePermissions, updateResourcepublic static AWSLakeFormationAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchGrantPermissionsResult> batchGrantPermissionsAsync(BatchGrantPermissionsRequest request)
AWSLakeFormationAsyncBatch operation to grant permissions to the principal.
batchGrantPermissionsAsync in interface AWSLakeFormationAsyncpublic Future<BatchGrantPermissionsResult> batchGrantPermissionsAsync(BatchGrantPermissionsRequest request, AsyncHandler<BatchGrantPermissionsRequest,BatchGrantPermissionsResult> asyncHandler)
AWSLakeFormationAsyncBatch operation to grant permissions to the principal.
batchGrantPermissionsAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchRevokePermissionsResult> batchRevokePermissionsAsync(BatchRevokePermissionsRequest request)
AWSLakeFormationAsyncBatch operation to revoke permissions from the principal.
batchRevokePermissionsAsync in interface AWSLakeFormationAsyncpublic Future<BatchRevokePermissionsResult> batchRevokePermissionsAsync(BatchRevokePermissionsRequest request, AsyncHandler<BatchRevokePermissionsRequest,BatchRevokePermissionsResult> asyncHandler)
AWSLakeFormationAsyncBatch operation to revoke permissions from the principal.
batchRevokePermissionsAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeregisterResourceResult> deregisterResourceAsync(DeregisterResourceRequest request)
AWSLakeFormationAsyncDeregisters the resource as managed by the Data Catalog.
When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
deregisterResourceAsync in interface AWSLakeFormationAsyncpublic Future<DeregisterResourceResult> deregisterResourceAsync(DeregisterResourceRequest request, AsyncHandler<DeregisterResourceRequest,DeregisterResourceResult> asyncHandler)
AWSLakeFormationAsyncDeregisters the resource as managed by the Data Catalog.
When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
deregisterResourceAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request)
AWSLakeFormationAsyncRetrieves the current data access role for the given resource registered in AWS Lake Formation.
describeResourceAsync in interface AWSLakeFormationAsyncpublic Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request, AsyncHandler<DescribeResourceRequest,DescribeResourceResult> asyncHandler)
AWSLakeFormationAsyncRetrieves the current data access role for the given resource registered in AWS Lake Formation.
describeResourceAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDataLakeSettingsResult> getDataLakeSettingsAsync(GetDataLakeSettingsRequest request)
AWSLakeFormationAsyncThe AWS Lake Formation principal.
getDataLakeSettingsAsync in interface AWSLakeFormationAsyncpublic Future<GetDataLakeSettingsResult> getDataLakeSettingsAsync(GetDataLakeSettingsRequest request, AsyncHandler<GetDataLakeSettingsRequest,GetDataLakeSettingsResult> asyncHandler)
AWSLakeFormationAsyncThe AWS Lake Formation principal.
getDataLakeSettingsAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEffectivePermissionsForPathResult> getEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request)
AWSLakeFormationAsyncReturns the permissions for a specified table or database resource located at a path in Amazon S3.
getEffectivePermissionsForPathAsync in interface AWSLakeFormationAsyncpublic Future<GetEffectivePermissionsForPathResult> getEffectivePermissionsForPathAsync(GetEffectivePermissionsForPathRequest request, AsyncHandler<GetEffectivePermissionsForPathRequest,GetEffectivePermissionsForPathResult> asyncHandler)
AWSLakeFormationAsyncReturns the permissions for a specified table or database resource located at a path in Amazon S3.
getEffectivePermissionsForPathAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GrantPermissionsResult> grantPermissionsAsync(GrantPermissionsRequest request)
AWSLakeFormationAsyncGrants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
For information about permissions, see Security and Access Control to Metadata and Data.
grantPermissionsAsync in interface AWSLakeFormationAsyncpublic Future<GrantPermissionsResult> grantPermissionsAsync(GrantPermissionsRequest request, AsyncHandler<GrantPermissionsRequest,GrantPermissionsResult> asyncHandler)
AWSLakeFormationAsyncGrants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
For information about permissions, see Security and Access Control to Metadata and Data.
grantPermissionsAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request)
AWSLakeFormationAsyncReturns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.
This operation returns only those permissions that have been explicitly granted.
For information about permissions, see Security and Access Control to Metadata and Data.
listPermissionsAsync in interface AWSLakeFormationAsyncpublic Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request, AsyncHandler<ListPermissionsRequest,ListPermissionsResult> asyncHandler)
AWSLakeFormationAsyncReturns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER.
This operation returns only those permissions that have been explicitly granted.
For information about permissions, see Security and Access Control to Metadata and Data.
listPermissionsAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request)
AWSLakeFormationAsyncLists the resources registered to be managed by the Data Catalog.
listResourcesAsync in interface AWSLakeFormationAsyncpublic Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AWSLakeFormationAsyncLists the resources registered to be managed by the Data Catalog.
listResourcesAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutDataLakeSettingsResult> putDataLakeSettingsAsync(PutDataLakeSettingsRequest request)
AWSLakeFormationAsyncThe AWS Lake Formation principal.
putDataLakeSettingsAsync in interface AWSLakeFormationAsyncpublic Future<PutDataLakeSettingsResult> putDataLakeSettingsAsync(PutDataLakeSettingsRequest request, AsyncHandler<PutDataLakeSettingsRequest,PutDataLakeSettingsResult> asyncHandler)
AWSLakeFormationAsyncThe AWS Lake Formation principal.
putDataLakeSettingsAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterResourceResult> registerResourceAsync(RegisterResourceRequest request)
AWSLakeFormationAsyncRegisters the resource as managed by the Data Catalog.
To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.
registerResourceAsync in interface AWSLakeFormationAsyncpublic Future<RegisterResourceResult> registerResourceAsync(RegisterResourceRequest request, AsyncHandler<RegisterResourceRequest,RegisterResourceResult> asyncHandler)
AWSLakeFormationAsyncRegisters the resource as managed by the Data Catalog.
To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.
registerResourceAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RevokePermissionsResult> revokePermissionsAsync(RevokePermissionsRequest request)
AWSLakeFormationAsyncRevokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
revokePermissionsAsync in interface AWSLakeFormationAsyncpublic Future<RevokePermissionsResult> revokePermissionsAsync(RevokePermissionsRequest request, AsyncHandler<RevokePermissionsRequest,RevokePermissionsResult> asyncHandler)
AWSLakeFormationAsyncRevokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
revokePermissionsAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request)
AWSLakeFormationAsyncUpdates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
updateResourceAsync in interface AWSLakeFormationAsyncpublic Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
AWSLakeFormationAsyncUpdates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
updateResourceAsync in interface AWSLakeFormationAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSLakeFormationshutdown in class AmazonWebServiceClientCopyright © 2020. All rights reserved.