amazonka-lakeformation-2.0: Amazon Lake Formation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 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
ToJSON BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.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

AWSRequest BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Associated Types

type AWSResponse BatchGrantPermissions #

Generic BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Associated Types

type Rep BatchGrantPermissions :: Type -> Type #

Read BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Show BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

NFData BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Methods

rnf :: BatchGrantPermissions -> () #

Eq BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Hashable BatchGrantPermissions Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

type AWSResponse 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" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" '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])))

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:

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 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 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
Generic BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Associated Types

type Rep BatchGrantPermissionsResponse :: Type -> Type #

Read BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Show BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

NFData BatchGrantPermissionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.BatchGrantPermissions

Eq 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" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" '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