libZSservicesZSamazonka-qldbZSamazonka-qldb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Description

Returns an array of all Amazon QLDB journal stream descriptors for a given ledger. The output of each stream descriptor includes the same details that are returned by DescribeJournalKinesisStream.

This action does not return any expired journal streams. For more information, see Expiration for terminal streams in the Amazon QLDB Developer Guide.

This action returns a maximum of MaxResults items. It is paginated so that you can retrieve all the items by calling ListJournalKinesisStreamsForLedger multiple times.

Synopsis

Creating a Request

data ListJournalKinesisStreamsForLedger Source #

Constructors

ListJournalKinesisStreamsForLedger' 

Fields

  • nextToken :: Maybe Text

    A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalKinesisStreamsForLedger call, you should use that value as input here.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single ListJournalKinesisStreamsForLedger request. (The actual number of results returned might be fewer.)

  • ledgerName :: Text

    The name of the ledger.

Instances

Instances details
Eq ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Read ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Show ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Generic ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Associated Types

type Rep ListJournalKinesisStreamsForLedger :: Type -> Type #

NFData ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Hashable ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

AWSRequest ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

ToHeaders ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

ToPath ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

ToQuery ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

type Rep ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

type Rep ListJournalKinesisStreamsForLedger = D1 ('MetaData "ListJournalKinesisStreamsForLedger" "Amazonka.QLDB.ListJournalKinesisStreamsForLedger" "libZSservicesZSamazonka-qldbZSamazonka-qldb" 'False) (C1 ('MetaCons "ListJournalKinesisStreamsForLedger'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "ledgerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListJournalKinesisStreamsForLedger Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

newListJournalKinesisStreamsForLedger Source #

Create a value of ListJournalKinesisStreamsForLedger 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:nextToken:ListJournalKinesisStreamsForLedger', listJournalKinesisStreamsForLedger_nextToken - A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalKinesisStreamsForLedger call, you should use that value as input here.

$sel:maxResults:ListJournalKinesisStreamsForLedger', listJournalKinesisStreamsForLedger_maxResults - The maximum number of results to return in a single ListJournalKinesisStreamsForLedger request. (The actual number of results returned might be fewer.)

$sel:ledgerName:ListJournalKinesisStreamsForLedger', listJournalKinesisStreamsForLedger_ledgerName - The name of the ledger.

Request Lenses

listJournalKinesisStreamsForLedger_nextToken :: Lens' ListJournalKinesisStreamsForLedger (Maybe Text) Source #

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalKinesisStreamsForLedger call, you should use that value as input here.

listJournalKinesisStreamsForLedger_maxResults :: Lens' ListJournalKinesisStreamsForLedger (Maybe Natural) Source #

The maximum number of results to return in a single ListJournalKinesisStreamsForLedger request. (The actual number of results returned might be fewer.)

Destructuring the Response

data ListJournalKinesisStreamsForLedgerResponse Source #

Constructors

ListJournalKinesisStreamsForLedgerResponse' 

Fields

  • nextToken :: Maybe Text
    • If NextToken is empty, the last page of results has been processed and there are no more results to be retrieved.
    • If NextToken is not empty, more results are available. To retrieve the next page of results, use the value of NextToken in a subsequent ListJournalKinesisStreamsForLedger call.
  • streams :: Maybe [JournalKinesisStreamDescription]

    The array of QLDB journal stream descriptors that are associated with the given ledger.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListJournalKinesisStreamsForLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Read ListJournalKinesisStreamsForLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Show ListJournalKinesisStreamsForLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

Generic ListJournalKinesisStreamsForLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

NFData ListJournalKinesisStreamsForLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

type Rep ListJournalKinesisStreamsForLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.ListJournalKinesisStreamsForLedger

type Rep ListJournalKinesisStreamsForLedgerResponse = D1 ('MetaData "ListJournalKinesisStreamsForLedgerResponse" "Amazonka.QLDB.ListJournalKinesisStreamsForLedger" "libZSservicesZSamazonka-qldbZSamazonka-qldb" 'False) (C1 ('MetaCons "ListJournalKinesisStreamsForLedgerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JournalKinesisStreamDescription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListJournalKinesisStreamsForLedgerResponse Source #

Create a value of ListJournalKinesisStreamsForLedgerResponse 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:nextToken:ListJournalKinesisStreamsForLedger', listJournalKinesisStreamsForLedgerResponse_nextToken - - If NextToken is empty, the last page of results has been processed and there are no more results to be retrieved.

  • If NextToken is not empty, more results are available. To retrieve the next page of results, use the value of NextToken in a subsequent ListJournalKinesisStreamsForLedger call.

$sel:streams:ListJournalKinesisStreamsForLedgerResponse', listJournalKinesisStreamsForLedgerResponse_streams - The array of QLDB journal stream descriptors that are associated with the given ledger.

$sel:httpStatus:ListJournalKinesisStreamsForLedgerResponse', listJournalKinesisStreamsForLedgerResponse_httpStatus - The response's http status code.

Response Lenses

listJournalKinesisStreamsForLedgerResponse_nextToken :: Lens' ListJournalKinesisStreamsForLedgerResponse (Maybe Text) Source #

  • If NextToken is empty, the last page of results has been processed and there are no more results to be retrieved.
  • If NextToken is not empty, more results are available. To retrieve the next page of results, use the value of NextToken in a subsequent ListJournalKinesisStreamsForLedger call.

listJournalKinesisStreamsForLedgerResponse_streams :: Lens' ListJournalKinesisStreamsForLedgerResponse (Maybe [JournalKinesisStreamDescription]) Source #

The array of QLDB journal stream descriptors that are associated with the given ledger.