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

Description

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

Synopsis

Creating a Request

data UpdateResource Source #

See: newUpdateResource smart constructor.

Constructors

UpdateResource' 

Fields

Instances

Instances details
ToJSON UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

ToHeaders UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

ToPath UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

ToQuery UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

AWSRequest UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Associated Types

type AWSResponse UpdateResource #

Generic UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Associated Types

type Rep UpdateResource :: Type -> Type #

Read UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Show UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

NFData UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Methods

rnf :: UpdateResource -> () #

Eq UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Hashable UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

type AWSResponse UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

type Rep UpdateResource Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

type Rep UpdateResource = D1 ('MetaData "UpdateResource" "Amazonka.LakeFormation.UpdateResource" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "UpdateResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateResource Source #

Create a value of UpdateResource 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:

UpdateResource, updateResource_roleArn - The new role to use for the given resource registered in Lake Formation.

UpdateResource, updateResource_resourceArn - The resource ARN.

Request Lenses

updateResource_roleArn :: Lens' UpdateResource Text Source #

The new role to use for the given resource registered in Lake Formation.

Destructuring the Response

data UpdateResourceResponse Source #

See: newUpdateResourceResponse smart constructor.

Constructors

UpdateResourceResponse' 

Fields

Instances

Instances details
Generic UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Associated Types

type Rep UpdateResourceResponse :: Type -> Type #

Read UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Show UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

NFData UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

Methods

rnf :: UpdateResourceResponse -> () #

Eq UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

type Rep UpdateResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.UpdateResource

type Rep UpdateResourceResponse = D1 ('MetaData "UpdateResourceResponse" "Amazonka.LakeFormation.UpdateResource" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "UpdateResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateResourceResponse Source #

Create a value of UpdateResourceResponse 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:UpdateResourceResponse', updateResourceResponse_httpStatus - The response's http status code.

Response Lenses