[][src]Struct rusoto_lakeformation::GrantPermissionsRequest

pub struct GrantPermissionsRequest {
    pub catalog_id: Option<String>,
    pub permissions: Vec<String>,
    pub permissions_with_grant_option: Option<Vec<String>>,
    pub principal: DataLakePrincipal,
    pub resource: Resource,
}

Fields

catalog_id: Option<String>

The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.

permissions: Vec<String>

The permissions granted to the principal on the resource. AWS Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. AWS Lake Formation requires that each principal be authorized to perform a specific task on AWS Lake Formation resources.

permissions_with_grant_option: Option<Vec<String>>

Indicates a list of the granted permissions that the principal may pass to other users. These permissions may only be a subset of the permissions granted in the Privileges.

principal: DataLakePrincipal

The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles, and they are defined by their principal type and their ARN.

Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted.

resource: Resource

The resource to which permissions are to be granted. Resources in AWS Lake Formation are the Data Catalog, databases, and tables.

Trait Implementations

impl Clone for GrantPermissionsRequest[src]

impl Debug for GrantPermissionsRequest[src]

impl Default for GrantPermissionsRequest[src]

impl PartialEq<GrantPermissionsRequest> for GrantPermissionsRequest[src]

impl Serialize for GrantPermissionsRequest[src]

impl StructuralPartialEq for GrantPermissionsRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.