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.Types.WriteOperation

Description

 
Synopsis

Documentation

data WriteOperation Source #

Defines an object to add to or delete from a governed table.

See: newWriteOperation smart constructor.

Constructors

WriteOperation' 

Fields

Instances

Instances details
ToJSON WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

Generic WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

Associated Types

type Rep WriteOperation :: Type -> Type #

Read WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

Show WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

NFData WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

Methods

rnf :: WriteOperation -> () #

Eq WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

Hashable WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

type Rep WriteOperation Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.WriteOperation

type Rep WriteOperation = D1 ('MetaData "WriteOperation" "Amazonka.LakeFormation.Types.WriteOperation" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "WriteOperation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddObjectInput)) :*: S1 ('MetaSel ('Just "deleteObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeleteObjectInput))))

newWriteOperation :: WriteOperation Source #

Create a value of WriteOperation 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:addObject:WriteOperation', writeOperation_addObject - A new object to add to the governed table.

$sel:deleteObject:WriteOperation', writeOperation_deleteObject - An object to delete from the governed table.

writeOperation_addObject :: Lens' WriteOperation (Maybe AddObjectInput) Source #

A new object to add to the governed table.

writeOperation_deleteObject :: Lens' WriteOperation (Maybe DeleteObjectInput) Source #

An object to delete from the governed table.