[][src]Trait rusoto_lakeformation::LakeFormation

pub trait LakeFormation {
    fn batch_grant_permissions<'life0, 'async_trait>(
        &'life0 self,
        input: BatchGrantPermissionsRequest
    ) -> Pin<Box<dyn Future<Output = Result<BatchGrantPermissionsResponse, RusotoError<BatchGrantPermissionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn batch_revoke_permissions<'life0, 'async_trait>(
        &'life0 self,
        input: BatchRevokePermissionsRequest
    ) -> Pin<Box<dyn Future<Output = Result<BatchRevokePermissionsResponse, RusotoError<BatchRevokePermissionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn deregister_resource<'life0, 'async_trait>(
        &'life0 self,
        input: DeregisterResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeregisterResourceResponse, RusotoError<DeregisterResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn describe_resource<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeResourceResponse, RusotoError<DescribeResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_data_lake_settings<'life0, 'async_trait>(
        &'life0 self,
        input: GetDataLakeSettingsRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetDataLakeSettingsResponse, RusotoError<GetDataLakeSettingsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_effective_permissions_for_path<'life0, 'async_trait>(
        &'life0 self,
        input: GetEffectivePermissionsForPathRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetEffectivePermissionsForPathResponse, RusotoError<GetEffectivePermissionsForPathError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn grant_permissions<'life0, 'async_trait>(
        &'life0 self,
        input: GrantPermissionsRequest
    ) -> Pin<Box<dyn Future<Output = Result<GrantPermissionsResponse, RusotoError<GrantPermissionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_permissions<'life0, 'async_trait>(
        &'life0 self,
        input: ListPermissionsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListPermissionsResponse, RusotoError<ListPermissionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_resources<'life0, 'async_trait>(
        &'life0 self,
        input: ListResourcesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListResourcesResponse, RusotoError<ListResourcesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn put_data_lake_settings<'life0, 'async_trait>(
        &'life0 self,
        input: PutDataLakeSettingsRequest
    ) -> Pin<Box<dyn Future<Output = Result<PutDataLakeSettingsResponse, RusotoError<PutDataLakeSettingsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn register_resource<'life0, 'async_trait>(
        &'life0 self,
        input: RegisterResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<RegisterResourceResponse, RusotoError<RegisterResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn revoke_permissions<'life0, 'async_trait>(
        &'life0 self,
        input: RevokePermissionsRequest
    ) -> Pin<Box<dyn Future<Output = Result<RevokePermissionsResponse, RusotoError<RevokePermissionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn update_resource<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateResourceResponse, RusotoError<UpdateResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Trait representing the capabilities of the AWS Lake Formation API. AWS Lake Formation clients implement this trait.

Required methods

fn batch_grant_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGrantPermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchGrantPermissionsResponse, RusotoError<BatchGrantPermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Batch operation to grant permissions to the principal.

fn batch_revoke_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: BatchRevokePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchRevokePermissionsResponse, RusotoError<BatchRevokePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Batch operation to revoke permissions from the principal.

fn deregister_resource<'life0, 'async_trait>(
    &'life0 self,
    input: DeregisterResourceRequest
) -> Pin<Box<dyn Future<Output = Result<DeregisterResourceResponse, RusotoError<DeregisterResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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.

fn describe_resource<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeResourceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeResourceResponse, RusotoError<DescribeResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Retrieves the current data access role for the given resource registered in AWS Lake Formation.

fn get_data_lake_settings<'life0, 'async_trait>(
    &'life0 self,
    input: GetDataLakeSettingsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDataLakeSettingsResponse, RusotoError<GetDataLakeSettingsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

The AWS Lake Formation principal.

fn get_effective_permissions_for_path<'life0, 'async_trait>(
    &'life0 self,
    input: GetEffectivePermissionsForPathRequest
) -> Pin<Box<dyn Future<Output = Result<GetEffectivePermissionsForPathResponse, RusotoError<GetEffectivePermissionsForPathError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Returns the permissions for a specified table or database resource located at a path in Amazon S3.

fn grant_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: GrantPermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<GrantPermissionsResponse, RusotoError<GrantPermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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.

fn list_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: ListPermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPermissionsResponse, RusotoError<ListPermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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.

fn list_resources<'life0, 'async_trait>(
    &'life0 self,
    input: ListResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListResourcesResponse, RusotoError<ListResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Lists the resources registered to be managed by the Data Catalog.

fn put_data_lake_settings<'life0, 'async_trait>(
    &'life0 self,
    input: PutDataLakeSettingsRequest
) -> Pin<Box<dyn Future<Output = Result<PutDataLakeSettingsResponse, RusotoError<PutDataLakeSettingsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

The AWS Lake Formation principal.

fn register_resource<'life0, 'async_trait>(
    &'life0 self,
    input: RegisterResourceRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterResourceResponse, RusotoError<RegisterResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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.

fn revoke_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: RevokePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<RevokePermissionsResponse, RusotoError<RevokePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.

fn update_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResourceResponse, RusotoError<UpdateResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.

Loading content...

Implementors

impl LakeFormation for LakeFormationClient[src]

fn batch_grant_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: BatchGrantPermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchGrantPermissionsResponse, RusotoError<BatchGrantPermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Batch operation to grant permissions to the principal.

fn batch_revoke_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: BatchRevokePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchRevokePermissionsResponse, RusotoError<BatchRevokePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Batch operation to revoke permissions from the principal.

fn deregister_resource<'life0, 'async_trait>(
    &'life0 self,
    input: DeregisterResourceRequest
) -> Pin<Box<dyn Future<Output = Result<DeregisterResourceResponse, RusotoError<DeregisterResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn describe_resource<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeResourceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeResourceResponse, RusotoError<DescribeResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the current data access role for the given resource registered in AWS Lake Formation.

fn get_data_lake_settings<'life0, 'async_trait>(
    &'life0 self,
    input: GetDataLakeSettingsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDataLakeSettingsResponse, RusotoError<GetDataLakeSettingsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

The AWS Lake Formation principal.

fn get_effective_permissions_for_path<'life0, 'async_trait>(
    &'life0 self,
    input: GetEffectivePermissionsForPathRequest
) -> Pin<Box<dyn Future<Output = Result<GetEffectivePermissionsForPathResponse, RusotoError<GetEffectivePermissionsForPathError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the permissions for a specified table or database resource located at a path in Amazon S3.

fn grant_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: GrantPermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<GrantPermissionsResponse, RusotoError<GrantPermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn list_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: ListPermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPermissionsResponse, RusotoError<ListPermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn list_resources<'life0, 'async_trait>(
    &'life0 self,
    input: ListResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListResourcesResponse, RusotoError<ListResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the resources registered to be managed by the Data Catalog.

fn put_data_lake_settings<'life0, 'async_trait>(
    &'life0 self,
    input: PutDataLakeSettingsRequest
) -> Pin<Box<dyn Future<Output = Result<PutDataLakeSettingsResponse, RusotoError<PutDataLakeSettingsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

The AWS Lake Formation principal.

fn register_resource<'life0, 'async_trait>(
    &'life0 self,
    input: RegisterResourceRequest
) -> Pin<Box<dyn Future<Output = Result<RegisterResourceResponse, RusotoError<RegisterResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

fn revoke_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: RevokePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<RevokePermissionsResponse, RusotoError<RevokePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.

fn update_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResourceResponse, RusotoError<UpdateResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.

Loading content...