404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.119.11.179: ~ $
**Example 1: To stream journal data to Kinesis Data Streams using input files**

The following ``stream-journal-to-kinesis`` example creates a stream of journal data within a specified date and time range from a ledger with the name ``myExampleLedger``. The stream sends the data to a specified Amazon Kinesis data stream. ::

    aws qldb stream-journal-to-kinesis \
        --ledger-name myExampleLedger \
        --inclusive-start-time 2020-05-29T00:00:00Z \
        --exclusive-end-time 2020-05-29T23:59:59Z \
        --role-arn arn:aws:iam::123456789012:role/my-kinesis-stream-role \
        --kinesis-configuration file://my-kinesis-config.json \
        --stream-name myExampleLedger-stream

Contents of ``my-kinesis-config.json``::

    {
        "StreamArn": "arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb",
        "AggregationEnabled": true
    }

Output::

    {
        "StreamId": "7ISCkqwe4y25YyHLzYUFAf"
    }

For more information, see `Streaming journal data from Amazon QLDB <https://docs.aws.amazon.com/qldb/latest/developerguide/streams.html>`__ in the *Amazon QLDB Developer Guide*.

**Example 2: To stream journal data to Kinesis Data Streams using shorthand syntax**

The following ``stream-journal-to-kinesis`` example creates a stream of journal data within a specified date and time range from a ledger with the name ``myExampleLedger``. The stream sends the data to a specified Amazon Kinesis data stream. ::

    aws qldb stream-journal-to-kinesis \
        --ledger-name myExampleLedger \
        --inclusive-start-time 2020-05-29T00:00:00Z \
        --exclusive-end-time 2020-05-29T23:59:59Z \
        --role-arn arn:aws:iam::123456789012:role/my-kinesis-stream-role \
        --stream-name myExampleLedger-stream \
        --kinesis-configuration StreamArn=arn:aws:kinesis:us-east-1:123456789012:stream/stream-for-qldb,AggregationEnabled=true

Output::

    {
        "StreamId": "7ISCkqwe4y25YyHLzYUFAf"
    }

For more information, see `Streaming journal data from Amazon QLDB <https://docs.aws.amazon.com/qldb/latest/developerguide/streams.html>`__ in the *Amazon QLDB Developer Guide*.

Filemanager

Name Type Size Permission Actions
cancel-journal-kinesis-stream.rst File 534 B 0644
create-ledger.rst File 1.95 KB 0644
delete-ledger.rst File 389 B 0644
describe-journal-kinesis-stream.rst File 1.22 KB 0644
describe-journal-s3-export.rst File 1.11 KB 0644
describe-ledger.rst File 850 B 0644
export-journal-to-s3.rst File 1.04 KB 0644
get-block.rst File 5.45 KB 0644
get-digest.rst File 611 B 0644
get-revision.rst File 3.99 KB 0644
list-journal-kinesis-streams-for-ledger.rst File 1.26 KB 0644
list-journal-s3-exports-for-ledger.rst File 1.15 KB 0644
list-journal-s3-exports.rst File 1.82 KB 0644
list-ledgers.rst File 751 B 0644
list-tags-for-resource.rst File 545 B 0644
stream-journal-to-kinesis.rst File 2.13 KB 0644
tag-resource.rst File 460 B 0644
untag-resource.rst File 497 B 0644
update-ledger-permissions-mode.rst File 1.15 KB 0644
update-ledger.rst File 2.15 KB 0644