@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSLakeFormation
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSLakeFormation
instead.
Defines the public endpoint for the AWS Lake Formation service.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
BatchGrantPermissionsResult |
batchGrantPermissions(BatchGrantPermissionsRequest batchGrantPermissionsRequest)
Batch operation to grant permissions to the principal.
|
BatchRevokePermissionsResult |
batchRevokePermissions(BatchRevokePermissionsRequest batchRevokePermissionsRequest)
Batch operation to revoke permissions from the principal.
|
DeregisterResourceResult |
deregisterResource(DeregisterResourceRequest deregisterResourceRequest)
Deregisters the resource as managed by the Data Catalog.
|
DescribeResourceResult |
describeResource(DescribeResourceRequest describeResourceRequest)
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDataLakeSettingsResult |
getDataLakeSettings(GetDataLakeSettingsRequest getDataLakeSettingsRequest)
The AWS Lake Formation principal.
|
GetEffectivePermissionsForPathResult |
getEffectivePermissionsForPath(GetEffectivePermissionsForPathRequest getEffectivePermissionsForPathRequest)
Returns the permissions for a specified table or database resource located at a path in Amazon S3.
|
GrantPermissionsResult |
grantPermissions(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.
|
ListPermissionsResult |
listPermissions(ListPermissionsRequest listPermissionsRequest)
Returns a list of the principal permissions on the resource, filtered by the permissions of the caller.
|
ListResourcesResult |
listResources(ListResourcesRequest listResourcesRequest)
Lists the resources registered to be managed by the Data Catalog.
|
PutDataLakeSettingsResult |
putDataLakeSettings(PutDataLakeSettingsRequest putDataLakeSettingsRequest)
The AWS Lake Formation principal.
|
RegisterResourceResult |
registerResource(RegisterResourceRequest registerResourceRequest)
Registers the resource as managed by the Data Catalog.
|
RevokePermissionsResult |
revokePermissions(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.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateResourceResult |
updateResource(UpdateResourceRequest updateResourceRequest)
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
|
static final String ENDPOINT_PREFIX
BatchGrantPermissionsResult batchGrantPermissions(BatchGrantPermissionsRequest batchGrantPermissionsRequest)
Batch operation to grant permissions to the principal.
batchGrantPermissionsRequest
- InvalidInputException
- The input provided was not valid.OperationTimeoutException
- The operation timed out.BatchRevokePermissionsResult batchRevokePermissions(BatchRevokePermissionsRequest batchRevokePermissionsRequest)
Batch operation to revoke permissions from the principal.
batchRevokePermissionsRequest
- InvalidInputException
- The input provided was not valid.OperationTimeoutException
- The operation timed out.DeregisterResourceResult deregisterResource(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.
deregisterResourceRequest
- InvalidInputException
- The input provided was not valid.InternalServiceException
- An internal service error occurred.OperationTimeoutException
- The operation timed out.EntityNotFoundException
- A specified entity does not existDescribeResourceResult describeResource(DescribeResourceRequest describeResourceRequest)
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
describeResourceRequest
- InvalidInputException
- The input provided was not valid.InternalServiceException
- An internal service error occurred.OperationTimeoutException
- The operation timed out.EntityNotFoundException
- A specified entity does not existGetDataLakeSettingsResult getDataLakeSettings(GetDataLakeSettingsRequest getDataLakeSettingsRequest)
The AWS Lake Formation principal.
getDataLakeSettingsRequest
- InternalServiceException
- An internal service error occurred.InvalidInputException
- The input provided was not valid.EntityNotFoundException
- A specified entity does not existGetEffectivePermissionsForPathResult getEffectivePermissionsForPath(GetEffectivePermissionsForPathRequest getEffectivePermissionsForPathRequest)
Returns the permissions for a specified table or database resource located at a path in Amazon S3.
getEffectivePermissionsForPathRequest
- InvalidInputException
- The input provided was not valid.EntityNotFoundException
- A specified entity does not existOperationTimeoutException
- The operation timed out.InternalServiceException
- An internal service error occurred.GrantPermissionsResult grantPermissions(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.
grantPermissionsRequest
- ConcurrentModificationException
- Two processes are trying to modify a resource simultaneously.EntityNotFoundException
- A specified entity does not existInvalidInputException
- The input provided was not valid.ListPermissionsResult listPermissions(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.
listPermissionsRequest
- InvalidInputException
- The input provided was not valid.OperationTimeoutException
- The operation timed out.InternalServiceException
- An internal service error occurred.ListResourcesResult listResources(ListResourcesRequest listResourcesRequest)
Lists the resources registered to be managed by the Data Catalog.
listResourcesRequest
- InvalidInputException
- The input provided was not valid.InternalServiceException
- An internal service error occurred.OperationTimeoutException
- The operation timed out.PutDataLakeSettingsResult putDataLakeSettings(PutDataLakeSettingsRequest putDataLakeSettingsRequest)
The AWS Lake Formation principal.
putDataLakeSettingsRequest
- InternalServiceException
- An internal service error occurred.InvalidInputException
- The input provided was not valid.RegisterResourceResult registerResource(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.
registerResourceRequest
- InvalidInputException
- The input provided was not valid.InternalServiceException
- An internal service error occurred.OperationTimeoutException
- The operation timed out.AlreadyExistsException
- A resource to be created or added already exists.RevokePermissionsResult revokePermissions(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.
revokePermissionsRequest
- ConcurrentModificationException
- Two processes are trying to modify a resource simultaneously.EntityNotFoundException
- A specified entity does not existInvalidInputException
- The input provided was not valid.UpdateResourceResult updateResource(UpdateResourceRequest updateResourceRequest)
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
updateResourceRequest
- InvalidInputException
- The input provided was not valid.InternalServiceException
- An internal service error occurred.OperationTimeoutException
- The operation timed out.EntityNotFoundException
- A specified entity does not existvoid shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2019. All rights reserved.