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.BatchGrantPermissions

Description

Batch operation to grant permissions to the principal.

Synopsis

Creating a Request

data BatchGrantPermissions Source #

See: newBatchGrantPermissions smart constructor.

Constructors

BatchGrantPermissions' 

Fields

  • catalogId :: Maybe Text

    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.

  • entries :: [BatchPermissionsRequestEntry]

    A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.

Instances

Instances details
Eq BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Read BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Show BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Generic BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Associated Types

type Rep BatchGrantPermissions :: Type -> Type #

NFData BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Methods

rnf :: BatchGrantPermissions -> () #

Hashable BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

ToJSON BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

AWSRequest BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Associated Types

type AWSResponse BatchGrantPermissions #

ToHeaders BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

ToPath BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

ToQuery BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

type Rep BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

type Rep BatchGrantPermissions = D1 ('MetaData "BatchGrantPermissions" "Amazonka.LakeFormation.BatchGrantPermissions" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "BatchGrantPermissions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchPermissionsRequestEntry])))
type AWSResponse BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

newBatchGrantPermissions :: BatchGrantPermissions Source #

Create a value of BatchGrantPermissions 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:BatchGrantPermissions', batchGrantPermissions_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:entries:BatchGrantPermissions', batchGrantPermissions_entries - A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.

Request Lenses

batchGrantPermissions_catalogId :: Lens' BatchGrantPermissions (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.

batchGrantPermissions_entries :: Lens' BatchGrantPermissions [BatchPermissionsRequestEntry] Source #

A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.

Destructuring the Response

data BatchGrantPermissionsResponse Source #

See: newBatchGrantPermissionsResponse smart constructor.

Constructors

BatchGrantPermissionsResponse' 

Fields

Instances

Instances details
Eq BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Read BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Show BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Generic BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Associated Types

type Rep BatchGrantPermissionsResponse :: Type -> Type #

NFData BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

type Rep BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

type Rep BatchGrantPermissionsResponse = D1 ('MetaData "BatchGrantPermissionsResponse" "Amazonka.LakeFormation.BatchGrantPermissions" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "BatchGrantPermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchPermissionsFailureEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchGrantPermissionsResponse Source #

Create a value of BatchGrantPermissionsResponse 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:failures:BatchGrantPermissionsResponse', batchGrantPermissionsResponse_failures - A list of failures to grant permissions to the resources.

$sel:httpStatus:BatchGrantPermissionsResponse', batchGrantPermissionsResponse_httpStatus - The response's http status code.

Response Lenses