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

Description

For a specific governed table, provides a list of Amazon S3 objects that will be written during the current transaction and that can be automatically deleted if the transaction is canceled. Without this call, no Amazon S3 objects are automatically deleted when a transaction cancels.

The Glue ETL library function write_dynamic_frame.from_catalog() includes an option to automatically call DeleteObjectsOnCancel before writes. For more information, see Rolling Back Amazon S3 Writes.

Synopsis

Creating a Request

data DeleteObjectsOnCancel Source #

See: newDeleteObjectsOnCancel smart constructor.

Constructors

DeleteObjectsOnCancel' 

Fields

Instances

Instances details
ToJSON DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

ToHeaders DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

ToPath DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

ToQuery DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

AWSRequest DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Associated Types

type AWSResponse DeleteObjectsOnCancel #

Generic DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Associated Types

type Rep DeleteObjectsOnCancel :: Type -> Type #

Read DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Show DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

NFData DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Methods

rnf :: DeleteObjectsOnCancel -> () #

Eq DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Hashable DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

type AWSResponse DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

type Rep DeleteObjectsOnCancel Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

type Rep DeleteObjectsOnCancel = D1 ('MetaData "DeleteObjectsOnCancel" "Amazonka.LakeFormation.DeleteObjectsOnCancel" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "DeleteObjectsOnCancel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty VirtualObject))))))

newDeleteObjectsOnCancel Source #

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

DeleteObjectsOnCancel, deleteObjectsOnCancel_catalogId - The Glue data catalog that contains the governed table. Defaults to the current account ID.

DeleteObjectsOnCancel, deleteObjectsOnCancel_databaseName - The database that contains the governed table.

DeleteObjectsOnCancel, deleteObjectsOnCancel_tableName - The name of the governed table.

DeleteObjectsOnCancel, deleteObjectsOnCancel_transactionId - ID of the transaction that the writes occur in.

DeleteObjectsOnCancel, deleteObjectsOnCancel_objects - A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.

Request Lenses

deleteObjectsOnCancel_catalogId :: Lens' DeleteObjectsOnCancel (Maybe Text) Source #

The Glue data catalog that contains the governed table. Defaults to the current account ID.

deleteObjectsOnCancel_databaseName :: Lens' DeleteObjectsOnCancel Text Source #

The database that contains the governed table.

deleteObjectsOnCancel_transactionId :: Lens' DeleteObjectsOnCancel Text Source #

ID of the transaction that the writes occur in.

deleteObjectsOnCancel_objects :: Lens' DeleteObjectsOnCancel (NonEmpty VirtualObject) Source #

A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.

Destructuring the Response

data DeleteObjectsOnCancelResponse Source #

See: newDeleteObjectsOnCancelResponse smart constructor.

Constructors

DeleteObjectsOnCancelResponse' 

Fields

Instances

Instances details
Generic DeleteObjectsOnCancelResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Associated Types

type Rep DeleteObjectsOnCancelResponse :: Type -> Type #

Read DeleteObjectsOnCancelResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Show DeleteObjectsOnCancelResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

NFData DeleteObjectsOnCancelResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

Eq DeleteObjectsOnCancelResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

type Rep DeleteObjectsOnCancelResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteObjectsOnCancel

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

newDeleteObjectsOnCancelResponse Source #

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

Response Lenses