libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LakeFormation.RevokePermissions

Description

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

Synopsis

Creating a Request

data RevokePermissions Source #

See: newRevokePermissions smart constructor.

Constructors

RevokePermissions' 

Fields

Instances

Instances details
Eq RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Read RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Show RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Generic RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Associated Types

type Rep RevokePermissions :: Type -> Type #

NFData RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Methods

rnf :: RevokePermissions -> () #

Hashable RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

ToJSON RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

AWSRequest RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Associated Types

type AWSResponse RevokePermissions #

ToHeaders RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

ToPath RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

ToQuery RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

type Rep RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

type Rep RevokePermissions = D1 ('MetaData "RevokePermissions" "Amazonka.LakeFormation.RevokePermissions" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "RevokePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "permissionsWithGrantOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Permission]))) :*: (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataLakePrincipal) :*: (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Resource) :*: S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Permission])))))
type AWSResponse RevokePermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

newRevokePermissions Source #

Create a value of RevokePermissions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:catalogId:RevokePermissions', revokePermissions_catalogId - 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.

$sel:permissionsWithGrantOption:RevokePermissions', revokePermissions_permissionsWithGrantOption - Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.

$sel:principal:RevokePermissions', revokePermissions_principal - The principal to be revoked permissions on the resource.

$sel:resource:RevokePermissions', revokePermissions_resource - The resource to which permissions are to be revoked.

$sel:permissions:RevokePermissions', revokePermissions_permissions - The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.

Request Lenses

revokePermissions_catalogId :: Lens' RevokePermissions (Maybe Text) Source #

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.

revokePermissions_permissionsWithGrantOption :: Lens' RevokePermissions (Maybe [Permission]) Source #

Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.

revokePermissions_principal :: Lens' RevokePermissions DataLakePrincipal Source #

The principal to be revoked permissions on the resource.

revokePermissions_resource :: Lens' RevokePermissions Resource Source #

The resource to which permissions are to be revoked.

revokePermissions_permissions :: Lens' RevokePermissions [Permission] Source #

The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.

Destructuring the Response

data RevokePermissionsResponse Source #

See: newRevokePermissionsResponse smart constructor.

Constructors

RevokePermissionsResponse' 

Fields

Instances

Instances details
Eq RevokePermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Read RevokePermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Show RevokePermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Generic RevokePermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

Associated Types

type Rep RevokePermissionsResponse :: Type -> Type #

NFData RevokePermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

type Rep RevokePermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.RevokePermissions

type Rep RevokePermissionsResponse = D1 ('MetaData "RevokePermissionsResponse" "Amazonka.LakeFormation.RevokePermissions" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "RevokePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRevokePermissionsResponse Source #

Create a value of RevokePermissionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:RevokePermissionsResponse', revokePermissionsResponse_httpStatus - The response's http status code.

Response Lenses