Amazon Quantum Ledger Database (Amazon QLDB)
Developer Guide

Logging Amazon QLDB API Calls with AWS CloudTrail

Amazon QLDB is integrated with AWS CloudTrail, a service that provides a record of actions taken by a user, role, or an AWS service in QLDB. CloudTrail captures all API calls for QLDB as events. The calls that are captured include calls from the QLDB console and code calls to the QLDB API operations. If you create a trail, you can enable continuous delivery of CloudTrail events to an Amazon Simple Storage Service (Amazon S3) bucket, including events for QLDB. If you don't configure a trail, you can still view the most recent events on the CloudTrail console in Event history. Using the information collected by CloudTrail, you can determine the request that was made to QLDB, the IP address from which the request was made, who made the request, when it was made, and additional details.

To learn more about CloudTrail, see the AWS CloudTrail User Guide.

QLDB Information in CloudTrail

CloudTrail is enabled on your AWS account when you create the account. When activity occurs in QLDB, that activity is recorded in a CloudTrail event along with other AWS service events in Event history. You can view, search, and download recent events in your AWS account. For more information, see Viewing Events with CloudTrail Event History.

For an ongoing record of events in your AWS account, including events for QLDB, create a trail. A trail enables CloudTrail to deliver log files to an Amazon S3 bucket. By default, when you create a trail in the console, the trail applies to all AWS Regions. The trail logs events from all Regions in the AWS partition and delivers the log files to the Amazon S3 bucket that you specify. Additionally, you can configure other AWS services to further analyze and act upon the event data collected in CloudTrail logs.

For more information, see the following topics in the AWS CloudTrail User Guide:

All QLDB actions are logged by CloudTrail and are documented in the Amazon QLDB API Reference. For example, calls to the CreateLedger, DescribeLedger, and DeleteLedger actions generate entries in the CloudTrail log files.

Every event or log entry contains information about who generated the request. The identity information helps you determine the following:

  • Whether the request was made with root or AWS Identity and Access Management (IAM) user credentials

  • Whether the request was made with temporary security credentials for a role or federated user

  • Whether the request was made by another AWS service

For more information, see the CloudTrail userIdentity Element.

Understanding QLDB Log File Entries

A trail is a configuration that enables delivery of events as log files to an Amazon S3 bucket that you specify. CloudTrail log files contain one or more log entries. An event represents a single request from any source and includes information about the requested action, the date and time of the action, request parameters, and so on. CloudTrail log files aren't an ordered stack trace of the public API calls, so they don't appear in any specific order.

The following example shows a CloudTrail log entry that demonstrates these actions:

  • CreateLedger

  • DescribeLedger

  • ListTagsForResource

  • TagResource

  • UntagResource

  • ListLedgers

  • GetDigest

  • GetBlock

  • GetRevision

  • ExportJournalToS3

  • DescribeJournalS3Export

  • ListJournalS3ExportsForLedger

  • ListJournalS3Exports

  • DeleteLedger

{ "endTime": 1561497717208, "startTime": 1561497687254, "calls": [ { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:27Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "CreateLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "Name": "CloudtrailTest", "PermissionsMode": "ALLOW_ALL" }, "responseElements": { "CreationDateTime": 1.561497687403E9, "Arn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest", "State": "CREATING", "Name": "CloudtrailTest" }, "requestID": "3135aec7-978f-11e9-b313-1dd92a14919e", "eventID": "bf703ff9-676f-41dd-be6f-5f666c9f7852", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:27Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"CreateLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"Name\":\"CloudtrailTest\",\"PermissionsMode\":\"ALLOW_ALL\"},\"responseElements\":{\"CreationDateTime\":1.561497687403E9,\"Arn\":\"arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest\",\"State\":\"CREATING\",\"Name\":\"CloudtrailTest\"},\"requestID\":\"3135aec7-978f-11e9-b313-1dd92a14919e\",\"eventID\":\"bf703ff9-676f-41dd-be6f-5f666c9f7852\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "CreateLedger", "request": [ "com.amazonaws.services.qldb.model.CreateLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "tags": null, "permissionsMode": "ALLOW_ALL" } ], "requestId": "3135aec7-978f-11e9-b313-1dd92a14919e" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:43Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "DescribeLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "3af51ba0-978f-11e9-8ae6-837dd17a19f8", "eventID": "be128e61-3e38-4503-83de-49fdc7fc0afb", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:43Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"DescribeLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3af51ba0-978f-11e9-8ae6-837dd17a19f8\",\"eventID\":\"be128e61-3e38-4503-83de-49fdc7fc0afb\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "DescribeLedger", "request": [ "com.amazonaws.services.qldb.model.DescribeLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest" } ], "requestId": "3af51ba0-978f-11e9-8ae6-837dd17a19f8" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "TagResource", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "resourceArn": "arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest", "Tags": { "TagKey": "TagValue" } }, "responseElements": null, "requestID": "3b1d6371-978f-11e9-916c-b7d64ec76521", "eventID": "6101c94a-7683-4431-812b-9a91afb8c849", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"TagResource\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"resourceArn\":\"arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest\",\"Tags\":{\"TagKey\":\"TagValue\"}},\"responseElements\":null,\"requestID\":\"3b1d6371-978f-11e9-916c-b7d64ec76521\",\"eventID\":\"6101c94a-7683-4431-812b-9a91afb8c849\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "TagResource", "request": [ "com.amazonaws.services.qldb.model.TagResourceRequest", { "customRequestHeaders": null, "customQueryParameters": null, "resourceArn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest", "tags": { "TagKey": "TagValue" } } ], "requestId": "3b1d6371-978f-11e9-916c-b7d64ec76521" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "ListTagsForResource", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "resourceArn": "arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest" }, "responseElements": null, "requestID": "3b56c321-978f-11e9-8527-2517d5bfa8fd", "eventID": "375e57d7-cf94-495a-9a48-ac2192181c02", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"ListTagsForResource\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"resourceArn\":\"arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3b56c321-978f-11e9-8527-2517d5bfa8fd\",\"eventID\":\"375e57d7-cf94-495a-9a48-ac2192181c02\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListTagsForResource", "request": [ "com.amazonaws.services.qldb.model.ListTagsForResourceRequest", { "customRequestHeaders": null, "customQueryParameters": null, "resourceArn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest" } ], "requestId": "3b56c321-978f-11e9-8527-2517d5bfa8fd" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "UntagResource", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "tagKeys": "TagKey", "resourceArn": "arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest" }, "responseElements": null, "requestID": "3b87e59b-978f-11e9-8b9a-bb6dc3a800a9", "eventID": "bcdcdca3-699f-4363-b092-88242780406f", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"UntagResource\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"tagKeys\":\"TagKey\",\"resourceArn\":\"arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3b87e59b-978f-11e9-8b9a-bb6dc3a800a9\",\"eventID\":\"bcdcdca3-699f-4363-b092-88242780406f\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "UntagResource", "request": [ "com.amazonaws.services.qldb.model.UntagResourceRequest", { "customRequestHeaders": null, "customQueryParameters": null, "resourceArn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest", "tagKeys": [ "TagKey" ] } ], "requestId": "3b87e59b-978f-11e9-8b9a-bb6dc3a800a9" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "ListLedgers", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": null, "responseElements": null, "requestID": "3bafb877-978f-11e9-a6de-dbe6464b9dec", "eventID": "6ebe7d49-af59-4f29-aaa2-beffe536e20c", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"ListLedgers\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":null,\"responseElements\":null,\"requestID\":\"3bafb877-978f-11e9-a6de-dbe6464b9dec\",\"eventID\":\"6ebe7d49-af59-4f29-aaa2-beffe536e20c\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListLedgers", "request": [ "com.amazonaws.services.qldb.model.ListLedgersRequest", { "customRequestHeaders": null, "customQueryParameters": null, "maxResults": null, "nextToken": null } ], "requestId": "3bafb877-978f-11e9-a6de-dbe6464b9dec" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:49Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "GetDigest", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "3cddd8a1-978f-11e9-a6de-dbe6464b9dec", "eventID": "a5cb60db-e6c5-4f5e-a5fc-0712249622b3", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:49Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"GetDigest\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3cddd8a1-978f-11e9-a6de-dbe6464b9dec\",\"eventID\":\"a5cb60db-e6c5-4f5e-a5fc-0712249622b3\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "GetDigest", "request": [ "com.amazonaws.services.qldb.model.GetDigestRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "digestTipAddress": null } ], "requestId": "3cddd8a1-978f-11e9-a6de-dbe6464b9dec" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:50Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "GetBlock", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "BlockAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" }, "name": "CloudtrailTest", "DigestTipAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" } }, "responseElements": null, "requestID": "3eaea09f-978f-11e9-bdc2-c1e55368155e", "eventID": "1f7da83f-d829-4e35-953d-30b925ceee66", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:50Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"GetBlock\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"BlockAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:0}\"},\"name\":\"CloudtrailTest\",\"DigestTipAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:0}\"}},\"responseElements\":null,\"requestID\":\"3eaea09f-978f-11e9-bdc2-c1e55368155e\",\"eventID\":\"1f7da83f-d829-4e35-953d-30b925ceee66\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "GetBlock", "request": [ "com.amazonaws.services.qldb.model.GetBlockRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "blockAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" }, "digestTipAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" } } ], "requestId": "3eaea09f-978f-11e9-bdc2-c1e55368155e" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:55Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "GetRevision", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "BlockAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" }, "name": "CloudtrailTest", "DocumentId": "8UyXvDw6ApoFfVOA2HPfUE", "DigestTipAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" } }, "responseElements": null, "requestID": "41e19139-978f-11e9-aaed-dfe1dafe37ab", "eventID": "43bf2661-5046-41ec-a1d3-87706954aa10", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:55Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"GetRevision\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"BlockAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:1}\"},\"name\":\"CloudtrailTest\",\"DocumentId\":\"8UyXvDw6ApoFfVOA2HPfUE\",\"DigestTipAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:1}\"}},\"responseElements\":null,\"requestID\":\"41e19139-978f-11e9-aaed-dfe1dafe37ab\",\"eventID\":\"43bf2661-5046-41ec-a1d3-87706954aa10\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "GetRevision", "request": [ "com.amazonaws.services.qldb.model.GetRevisionRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "blockAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" }, "documentId": "8UyXvDw6ApoFfVOA2HPfUE", "digestTipAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" } } ], "requestId": "41e19139-978f-11e9-aaed-dfe1dafe37ab" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "ExportJournalToS3", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "InclusiveStartTime": 1.561497687254E9, "name": "CloudtrailTest", "S3ExportConfiguration": { "Bucket": "cloudtrailtests-123456789012-us-east-2", "Prefix": "CloudtrailTestsJournalExport", "EncryptionConfiguration": { "ObjectEncryptionType": "SSE_S3" } }, "ExclusiveEndTime": 1.561497715795E9 }, "responseElements": { "ExportId": "BabQhsmJRYDCGMnA2xYBDG" }, "requestID": "423815f8-978f-11e9-afcf-55f7d0f3583d", "eventID": "1b5abdc4-52fa-435f-857e-8995ef7a19b7", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"ExportJournalToS3\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"InclusiveStartTime\":1.561497687254E9,\"name\":\"CloudtrailTest\",\"S3ExportConfiguration\":{\"Bucket\":\"cloudtrailtests-123456789012-us-east-2\",\"Prefix\":\"CloudtrailTestsJournalExport\",\"EncryptionConfiguration\":{\"ObjectEncryptionType\":\"SSE_S3\"}},\"ExclusiveEndTime\":1.561497715795E9},\"responseElements\":{\"ExportId\":\"BabQhsmJRYDCGMnA2xYBDG\"},\"requestID\":\"423815f8-978f-11e9-afcf-55f7d0f3583d\",\"eventID\":\"1b5abdc4-52fa-435f-857e-8995ef7a19b7\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ExportJournalToS3", "request": [ "com.amazonaws.services.qldb.model.ExportJournalToS3Request", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "inclusiveStartTime": 1561497687254, "exclusiveEndTime": 1561497715795, "s3ExportConfiguration": { "bucket": "cloudtrailtests-123456789012-us-east-2", "prefix": "CloudtrailTestsJournalExport", "encryptionConfiguration": { "objectEncryptionType": "SSE_S3", "kmsKeyArn": null } } } ], "requestId": "423815f8-978f-11e9-afcf-55f7d0f3583d" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "DescribeJournalS3Export", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest", "exportId": "BabQhsmJRYDCGMnA2xYBDG" }, "responseElements": null, "requestID": "427ebbbc-978f-11e9-8888-e9894c9c4bb9", "eventID": "ca8ffc88-16ff-45f5-9042-d94fadb389c3", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"DescribeJournalS3Export\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\",\"exportId\":\"BabQhsmJRYDCGMnA2xYBDG\"},\"responseElements\":null,\"requestID\":\"427ebbbc-978f-11e9-8888-e9894c9c4bb9\",\"eventID\":\"ca8ffc88-16ff-45f5-9042-d94fadb389c3\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "DescribeJournalS3Export", "request": [ "com.amazonaws.services.qldb.model.DescribeJournalS3ExportRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "exportId": "BabQhsmJRYDCGMnA2xYBDG" } ], "requestId": "427ebbbc-978f-11e9-8888-e9894c9c4bb9" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "ListJournalS3ExportsForLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "429ca40c-978f-11e9-8c4b-d13a8018a286", "eventID": "34f0e76b-58a5-45be-881c-786d22e34e96", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"ListJournalS3ExportsForLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"429ca40c-978f-11e9-8c4b-d13a8018a286\",\"eventID\":\"34f0e76b-58a5-45be-881c-786d22e34e96\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListJournalS3ExportsForLedger", "request": [ "com.amazonaws.services.qldb.model.ListJournalS3ExportsForLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "maxResults": null, "nextToken": null } ], "requestId": "429ca40c-978f-11e9-8c4b-d13a8018a286" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "ListJournalS3Exports", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": null, "responseElements": null, "requestID": "42cc1814-978f-11e9-befb-f5dbaa142118", "eventID": "4c24d7d6-810c-4cf4-884e-00482278b6ce", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"ListJournalS3Exports\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":null,\"responseElements\":null,\"requestID\":\"42cc1814-978f-11e9-befb-f5dbaa142118\",\"eventID\":\"4c24d7d6-810c-4cf4-884e-00482278b6ce\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListJournalS3Exports", "request": [ "com.amazonaws.services.qldb.model.ListJournalS3ExportsRequest", { "customRequestHeaders": null, "customQueryParameters": null, "maxResults": null, "nextToken": null } ], "requestId": "42cc1814-978f-11e9-befb-f5dbaa142118" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:57Z", "eventSource": "gamma-qldb.amazonaws.com", "eventName": "DeleteLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "42f439b9-978f-11e9-8b2c-69ef598d66e9", "eventID": "429f5163-cba5-4d86-bd7e-f606e057c6cf", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:57Z\",\"eventSource\":\"gamma-qldb.amazonaws.com\",\"eventName\":\"DeleteLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"42f439b9-978f-11e9-8b2c-69ef598d66e9\",\"eventID\":\"429f5163-cba5-4d86-bd7e-f606e057c6cf\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "DeleteLedger", "request": [ "com.amazonaws.services.qldb.model.DeleteLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest" } ], "requestId": "42f439b9-978f-11e9-8b2c-69ef598d66e9" } ] }