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

Description

Returns metadata about transactions and their status. To prevent the response from growing indefinitely, only uncommitted transactions and those available for time-travel queries are returned.

This operation can help you identify uncommitted transactions or to get information about transactions.

Synopsis

Creating a Request

data ListTransactions Source #

See: newListTransactions smart constructor.

Constructors

ListTransactions' 

Fields

Instances

Instances details
ToJSON ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

ToHeaders ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

ToPath ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

ToQuery ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

AWSRequest ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Associated Types

type AWSResponse ListTransactions #

Generic ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Associated Types

type Rep ListTransactions :: Type -> Type #

Read ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Show ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

NFData ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Methods

rnf :: ListTransactions -> () #

Eq ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Hashable ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

type AWSResponse ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

type Rep ListTransactions Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

type Rep ListTransactions = D1 ('MetaData "ListTransactions" "Amazonka.LakeFormation.ListTransactions" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "ListTransactions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransactionStatusFilter)))))

newListTransactions :: ListTransactions Source #

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

ListTransactions, listTransactions_catalogId - The catalog for which to list transactions. Defaults to the account ID of the caller.

$sel:maxResults:ListTransactions', listTransactions_maxResults - The maximum number of transactions to return in a single call.

ListTransactions, listTransactions_nextToken - A continuation token if this is not the first call to retrieve transactions.

$sel:statusFilter:ListTransactions', listTransactions_statusFilter - A filter indicating the status of transactions to return. Options are ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is ALL.

Request Lenses

listTransactions_catalogId :: Lens' ListTransactions (Maybe Text) Source #

The catalog for which to list transactions. Defaults to the account ID of the caller.

listTransactions_maxResults :: Lens' ListTransactions (Maybe Natural) Source #

The maximum number of transactions to return in a single call.

listTransactions_nextToken :: Lens' ListTransactions (Maybe Text) Source #

A continuation token if this is not the first call to retrieve transactions.

listTransactions_statusFilter :: Lens' ListTransactions (Maybe TransactionStatusFilter) Source #

A filter indicating the status of transactions to return. Options are ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is ALL.

Destructuring the Response

data ListTransactionsResponse Source #

See: newListTransactionsResponse smart constructor.

Constructors

ListTransactionsResponse' 

Fields

Instances

Instances details
Generic ListTransactionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Associated Types

type Rep ListTransactionsResponse :: Type -> Type #

Read ListTransactionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Show ListTransactionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

NFData ListTransactionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

Eq ListTransactionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

type Rep ListTransactionsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.ListTransactions

type Rep ListTransactionsResponse = D1 ('MetaData "ListTransactionsResponse" "Amazonka.LakeFormation.ListTransactions" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "ListTransactionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "transactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TransactionDescription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTransactionsResponse Source #

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

ListTransactions, listTransactionsResponse_nextToken - A continuation token indicating whether additional data is available.

$sel:transactions:ListTransactionsResponse', listTransactionsResponse_transactions - A list of transactions. The record for each transaction is a TransactionDescription object.

$sel:httpStatus:ListTransactionsResponse', listTransactionsResponse_httpStatus - The response's http status code.

Response Lenses

listTransactionsResponse_nextToken :: Lens' ListTransactionsResponse (Maybe Text) Source #

A continuation token indicating whether additional data is available.

listTransactionsResponse_transactions :: Lens' ListTransactionsResponse (Maybe [TransactionDescription]) Source #

A list of transactions. The record for each transaction is a TransactionDescription object.