codegen-resources.service-2.json Maven / Gradle / Ivy
Show all versions of qldb Show documentation
{
"version":"2.0",
"metadata":{
"apiVersion":"2019-01-02",
"endpointPrefix":"qldb",
"jsonVersion":"1.0",
"protocol":"rest-json",
"serviceAbbreviation":"QLDB",
"serviceFullName":"Amazon QLDB",
"serviceId":"QLDB",
"signatureVersion":"v4",
"signingName":"qldb",
"uid":"qldb-2019-01-02"
},
"operations":{
"CreateLedger":{
"name":"CreateLedger",
"http":{
"method":"POST",
"requestUri":"/ledgers"
},
"input":{"shape":"CreateLedgerRequest"},
"output":{"shape":"CreateLedgerResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceInUseException"}
],
"documentation":"Creates a new ledger in your AWS account.
"
},
"DeleteLedger":{
"name":"DeleteLedger",
"http":{
"method":"DELETE",
"requestUri":"/ledgers/{name}"
},
"input":{"shape":"DeleteLedgerRequest"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceInUseException"},
{"shape":"ResourcePreconditionNotMetException"}
],
"documentation":"Deletes a ledger and all of its contents. This action is irreversible.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false
. The QLDB console disables deletion protection for you when you use it to delete a ledger.
"
},
"DescribeJournalS3Export":{
"name":"DescribeJournalS3Export",
"http":{
"method":"GET",
"requestUri":"/ledgers/{name}/journal-s3-exports/{exportId}"
},
"input":{"shape":"DescribeJournalS3ExportRequest"},
"output":{"shape":"DescribeJournalS3ExportResponse"},
"errors":[
{"shape":"ResourceNotFoundException"}
],
"documentation":"Returns information about a journal export job, including the ledger name, export ID, when it was created, current status, and its start and end time export parameters.
If the export job with the given ExportId
doesn't exist, then throws ResourceNotFoundException
.
If the ledger with the given Name
doesn't exist, then throws ResourceNotFoundException
.
"
},
"DescribeLedger":{
"name":"DescribeLedger",
"http":{
"method":"GET",
"requestUri":"/ledgers/{name}"
},
"input":{"shape":"DescribeLedgerRequest"},
"output":{"shape":"DescribeLedgerResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"Returns information about a ledger, including its state and when it was created.
"
},
"ExportJournalToS3":{
"name":"ExportJournalToS3",
"http":{
"method":"POST",
"requestUri":"/ledgers/{name}/journal-s3-exports"
},
"input":{"shape":"ExportJournalToS3Request"},
"output":{"shape":"ExportJournalToS3Response"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ResourcePreconditionNotMetException"}
],
"documentation":"Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket. The data is written as files in Amazon Ion format.
If the ledger with the given Name
doesn't exist, then throws ResourceNotFoundException
.
If the ledger with the given Name
is in CREATING
status, then throws ResourcePreconditionNotMetException
.
You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export requests throw LimitExceededException
.
"
},
"GetBlock":{
"name":"GetBlock",
"http":{
"method":"POST",
"requestUri":"/ledgers/{name}/block"
},
"input":{"shape":"GetBlockRequest"},
"output":{"shape":"GetBlockResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourcePreconditionNotMetException"}
],
"documentation":"Returns a journal block object at a specified address in a ledger. Also returns a proof of the specified block for verification if DigestTipAddress
is provided.
If the specified ledger doesn't exist or is in DELETING
status, then throws ResourceNotFoundException
.
If the specified ledger is in CREATING
status, then throws ResourcePreconditionNotMetException
.
If no block exists with the specified address, then throws InvalidParameterException
.
"
},
"GetDigest":{
"name":"GetDigest",
"http":{
"method":"POST",
"requestUri":"/ledgers/{name}/digest"
},
"input":{"shape":"GetDigestRequest"},
"output":{"shape":"GetDigestResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourcePreconditionNotMetException"}
],
"documentation":"Returns the digest of a ledger at the latest committed block in the journal. The response includes a 256-bit hash value and a block address.
"
},
"GetRevision":{
"name":"GetRevision",
"http":{
"method":"POST",
"requestUri":"/ledgers/{name}/revision"
},
"input":{"shape":"GetRevisionRequest"},
"output":{"shape":"GetRevisionResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourcePreconditionNotMetException"}
],
"documentation":"Returns a revision data object for a specified document ID and block address. Also returns a proof of the specified revision for verification if DigestTipAddress
is provided.
"
},
"ListJournalS3Exports":{
"name":"ListJournalS3Exports",
"http":{
"method":"GET",
"requestUri":"/journal-s3-exports"
},
"input":{"shape":"ListJournalS3ExportsRequest"},
"output":{"shape":"ListJournalS3ExportsResponse"},
"documentation":"Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.
This action returns a maximum of MaxResults
items, and is paginated so that you can retrieve all the items by calling ListJournalS3Exports
multiple times.
"
},
"ListJournalS3ExportsForLedger":{
"name":"ListJournalS3ExportsForLedger",
"http":{
"method":"GET",
"requestUri":"/ledgers/{name}/journal-s3-exports"
},
"input":{"shape":"ListJournalS3ExportsForLedgerRequest"},
"output":{"shape":"ListJournalS3ExportsForLedgerResponse"},
"documentation":"Returns an array of journal export job descriptions for a specified ledger.
This action returns a maximum of MaxResults
items, and is paginated so that you can retrieve all the items by calling ListJournalS3ExportsForLedger
multiple times.
"
},
"ListLedgers":{
"name":"ListLedgers",
"http":{
"method":"GET",
"requestUri":"/ledgers"
},
"input":{"shape":"ListLedgersRequest"},
"output":{"shape":"ListLedgersResponse"},
"documentation":"Returns an array of ledger summaries that are associated with the current AWS account and Region.
This action returns a maximum of 100 items and is paginated so that you can retrieve all the items by calling ListLedgers
multiple times.
"
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
"method":"GET",
"requestUri":"/tags/{resourceArn}"
},
"input":{"shape":"ListTagsForResourceRequest"},
"output":{"shape":"ListTagsForResourceResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"Returns all tags for a specified Amazon QLDB resource.
"
},
"TagResource":{
"name":"TagResource",
"http":{
"method":"POST",
"requestUri":"/tags/{resourceArn}"
},
"input":{"shape":"TagResourceRequest"},
"output":{"shape":"TagResourceResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"Adds one or more tags to a specified Amazon QLDB resource.
A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.
"
},
"UntagResource":{
"name":"UntagResource",
"http":{
"method":"DELETE",
"requestUri":"/tags/{resourceArn}"
},
"input":{"shape":"UntagResourceRequest"},
"output":{"shape":"UntagResourceResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove.
"
},
"UpdateLedger":{
"name":"UpdateLedger",
"http":{
"method":"PATCH",
"requestUri":"/ledgers/{name}"
},
"input":{"shape":"UpdateLedgerRequest"},
"output":{"shape":"UpdateLedgerResponse"},
"errors":[
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"Updates properties on a ledger.
"
}
},
"shapes":{
"Arn":{
"type":"string",
"max":1600,
"min":20
},
"CreateLedgerRequest":{
"type":"structure",
"required":[
"Name",
"PermissionsMode"
],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger that you want to create. The name must be unique among all of your ledgers in the current AWS Region.
"
},
"Tags":{
"shape":"Tags",
"documentation":"The key-value pairs to add as tags to the ledger that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.
"
},
"PermissionsMode":{
"shape":"PermissionsMode",
"documentation":"The permissions mode to assign to the ledger that you want to create.
"
},
"DeletionProtection":{
"shape":"DeletionProtection",
"documentation":"The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true
) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false
. The QLDB console disables deletion protection for you when you use it to delete a ledger.
"
}
}
},
"CreateLedgerResponse":{
"type":"structure",
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
"
},
"Arn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) for the ledger.
"
},
"State":{
"shape":"LedgerState",
"documentation":"The current status of the ledger.
"
},
"CreationDateTime":{
"shape":"Timestamp",
"documentation":"The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
"
},
"DeletionProtection":{
"shape":"DeletionProtection",
"documentation":"The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true
) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false
. The QLDB console disables deletion protection for you when you use it to delete a ledger.
"
}
}
},
"DeleteLedgerRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger that you want to delete.
",
"location":"uri",
"locationName":"name"
}
}
},
"DeletionProtection":{"type":"boolean"},
"DescribeJournalS3ExportRequest":{
"type":"structure",
"required":[
"Name",
"ExportId"
],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
",
"location":"uri",
"locationName":"name"
},
"ExportId":{
"shape":"UniqueId",
"documentation":"The unique ID of the journal export job that you want to describe.
",
"location":"uri",
"locationName":"exportId"
}
}
},
"DescribeJournalS3ExportResponse":{
"type":"structure",
"required":["ExportDescription"],
"members":{
"ExportDescription":{
"shape":"JournalS3ExportDescription",
"documentation":"Information about the journal export job returned by a DescribeJournalS3Export
request.
"
}
}
},
"DescribeLedgerRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger that you want to describe.
",
"location":"uri",
"locationName":"name"
}
}
},
"DescribeLedgerResponse":{
"type":"structure",
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
"
},
"Arn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) for the ledger.
"
},
"State":{
"shape":"LedgerState",
"documentation":"The current status of the ledger.
"
},
"CreationDateTime":{
"shape":"Timestamp",
"documentation":"The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
"
},
"DeletionProtection":{
"shape":"DeletionProtection",
"documentation":"The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true
) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false
. The QLDB console disables deletion protection for you when you use it to delete a ledger.
"
}
}
},
"Digest":{
"type":"blob",
"max":32,
"min":32
},
"ErrorMessage":{"type":"string"},
"ExportJournalToS3Request":{
"type":"structure",
"required":[
"Name",
"InclusiveStartTime",
"ExclusiveEndTime",
"S3ExportConfiguration",
"RoleArn"
],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
",
"location":"uri",
"locationName":"name"
},
"InclusiveStartTime":{
"shape":"Timestamp",
"documentation":"The inclusive start date and time for the range of journal contents that you want to export.
The InclusiveStartTime
must be in ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
The InclusiveStartTime
must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's CreationDateTime
, Amazon QLDB defaults it to the ledger's CreationDateTime
.
"
},
"ExclusiveEndTime":{
"shape":"Timestamp",
"documentation":"The exclusive end date and time for the range of journal contents that you want to export.
The ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
The ExclusiveEndTime
must be less than or equal to the current UTC date and time.
"
},
"S3ExportConfiguration":{
"shape":"S3ExportConfiguration",
"documentation":"The configuration settings of the Amazon S3 bucket destination for your export request.
"
},
"RoleArn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
-
(Optional) Use your customer master key (CMK) in AWS Key Management Service (AWS KMS) for server-side encryption of your exported data.
"
}
}
},
"ExportJournalToS3Response":{
"type":"structure",
"required":["ExportId"],
"members":{
"ExportId":{
"shape":"UniqueId",
"documentation":"The unique ID that QLDB assigns to each journal export job.
To describe your export request and check the status of the job, you can use ExportId
to call DescribeJournalS3Export
.
"
}
}
},
"ExportStatus":{
"type":"string",
"enum":[
"IN_PROGRESS",
"COMPLETED",
"CANCELLED"
]
},
"GetBlockRequest":{
"type":"structure",
"required":[
"Name",
"BlockAddress"
],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
",
"location":"uri",
"locationName":"name"
},
"BlockAddress":{
"shape":"ValueHolder",
"documentation":"The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:14}
"
},
"DigestTipAddress":{
"shape":"ValueHolder",
"documentation":"The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:49}
"
}
}
},
"GetBlockResponse":{
"type":"structure",
"required":["Block"],
"members":{
"Block":{
"shape":"ValueHolder",
"documentation":"The block data object in Amazon Ion format.
"
},
"Proof":{
"shape":"ValueHolder",
"documentation":"The proof object in Amazon Ion format returned by a GetBlock
request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.
"
}
}
},
"GetDigestRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
",
"location":"uri",
"locationName":"name"
}
}
},
"GetDigestResponse":{
"type":"structure",
"required":[
"Digest",
"DigestTipAddress"
],
"members":{
"Digest":{
"shape":"Digest",
"documentation":"The 256-bit hash value representing the digest returned by a GetDigest
request.
"
},
"DigestTipAddress":{
"shape":"ValueHolder",
"documentation":"The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
"
}
}
},
"GetRevisionRequest":{
"type":"structure",
"required":[
"Name",
"BlockAddress",
"DocumentId"
],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
",
"location":"uri",
"locationName":"name"
},
"BlockAddress":{
"shape":"ValueHolder",
"documentation":"The block location of the document revision to be verified. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:14}
"
},
"DocumentId":{
"shape":"UniqueId",
"documentation":"The unique ID of the document to be verified.
"
},
"DigestTipAddress":{
"shape":"ValueHolder",
"documentation":"The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId
and sequenceNo
.
For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:49}
"
}
}
},
"GetRevisionResponse":{
"type":"structure",
"required":["Revision"],
"members":{
"Proof":{
"shape":"ValueHolder",
"documentation":"The proof object in Amazon Ion format returned by a GetRevision
request. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.
"
},
"Revision":{
"shape":"ValueHolder",
"documentation":"The document revision data object in Amazon Ion format.
"
}
}
},
"InvalidParameterException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"},
"ParameterName":{
"shape":"ParameterName",
"documentation":"The name of the invalid parameter.
"
}
},
"documentation":"One or more parameters in the request aren't valid.
",
"error":{"httpStatusCode":400},
"exception":true
},
"IonText":{
"type":"string",
"max":1048576,
"min":1,
"sensitive":true
},
"JournalS3ExportDescription":{
"type":"structure",
"required":[
"LedgerName",
"ExportId",
"ExportCreationTime",
"Status",
"InclusiveStartTime",
"ExclusiveEndTime",
"S3ExportConfiguration",
"RoleArn"
],
"members":{
"LedgerName":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
"
},
"ExportId":{
"shape":"UniqueId",
"documentation":"The unique ID of the journal export job.
"
},
"ExportCreationTime":{
"shape":"Timestamp",
"documentation":"The date and time, in epoch time format, when the export job was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
"
},
"Status":{
"shape":"ExportStatus",
"documentation":"The current state of the journal export job.
"
},
"InclusiveStartTime":{
"shape":"Timestamp",
"documentation":"The inclusive start date and time for the range of journal contents that are specified in the original export request.
"
},
"ExclusiveEndTime":{
"shape":"Timestamp",
"documentation":"The exclusive end date and time for the range of journal contents that are specified in the original export request.
"
},
"S3ExportConfiguration":{"shape":"S3ExportConfiguration"},
"RoleArn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
-
(Optional) Use your customer master key (CMK) in AWS Key Management Service (AWS KMS) for server-side encryption of your exported data.
"
}
},
"documentation":"The information about a journal export job, including the ledger name, export ID, when it was created, current status, and its start and end time export parameters.
"
},
"JournalS3ExportList":{
"type":"list",
"member":{"shape":"JournalS3ExportDescription"}
},
"LedgerList":{
"type":"list",
"member":{"shape":"LedgerSummary"}
},
"LedgerName":{
"type":"string",
"max":32,
"min":1,
"pattern":"(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$"
},
"LedgerState":{
"type":"string",
"enum":[
"CREATING",
"ACTIVE",
"DELETING",
"DELETED"
]
},
"LedgerSummary":{
"type":"structure",
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
"
},
"State":{
"shape":"LedgerState",
"documentation":"The current status of the ledger.
"
},
"CreationDateTime":{
"shape":"Timestamp",
"documentation":"The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
"
}
},
"documentation":"Information about a ledger, including its name, state, and when it was created.
"
},
"LimitExceededException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The type of resource.
"
}
},
"documentation":"You have reached the limit on the maximum number of resources allowed.
",
"error":{"httpStatusCode":400},
"exception":true
},
"ListJournalS3ExportsForLedgerRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
",
"location":"uri",
"locationName":"name"
},
"MaxResults":{
"shape":"MaxResults",
"documentation":"The maximum number of results to return in a single ListJournalS3ExportsForLedger
request. (The actual number of results returned might be fewer.)
",
"location":"querystring",
"locationName":"max_results"
},
"NextToken":{
"shape":"NextToken",
"documentation":"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 ListJournalS3ExportsForLedger
call, then you should use that value as input here.
",
"location":"querystring",
"locationName":"next_token"
}
}
},
"ListJournalS3ExportsForLedgerResponse":{
"type":"structure",
"members":{
"JournalS3Exports":{
"shape":"JournalS3ExportList",
"documentation":"The array of journal export job descriptions that are associated with the specified ledger.
"
},
"NextToken":{
"shape":"NextToken",
"documentation":" -
If NextToken
is empty, then the last page of results has been processed and there are no more results to be retrieved.
-
If NextToken
is not empty, then there are more results available. To retrieve the next page of results, use the value of NextToken
in a subsequent ListJournalS3ExportsForLedger
call.
"
}
}
},
"ListJournalS3ExportsRequest":{
"type":"structure",
"members":{
"MaxResults":{
"shape":"MaxResults",
"documentation":"The maximum number of results to return in a single ListJournalS3Exports
request. (The actual number of results returned might be fewer.)
",
"location":"querystring",
"locationName":"max_results"
},
"NextToken":{
"shape":"NextToken",
"documentation":"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 ListJournalS3Exports
call, then you should use that value as input here.
",
"location":"querystring",
"locationName":"next_token"
}
}
},
"ListJournalS3ExportsResponse":{
"type":"structure",
"members":{
"JournalS3Exports":{
"shape":"JournalS3ExportList",
"documentation":"The array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.
"
},
"NextToken":{
"shape":"NextToken",
"documentation":" -
If NextToken
is empty, then the last page of results has been processed and there are no more results to be retrieved.
-
If NextToken
is not empty, then there are more results available. To retrieve the next page of results, use the value of NextToken
in a subsequent ListJournalS3Exports
call.
"
}
}
},
"ListLedgersRequest":{
"type":"structure",
"members":{
"MaxResults":{
"shape":"MaxResults",
"documentation":"The maximum number of results to return in a single ListLedgers
request. (The actual number of results returned might be fewer.)
",
"location":"querystring",
"locationName":"max_results"
},
"NextToken":{
"shape":"NextToken",
"documentation":"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 ListLedgers
call, then you should use that value as input here.
",
"location":"querystring",
"locationName":"next_token"
}
}
},
"ListLedgersResponse":{
"type":"structure",
"members":{
"Ledgers":{
"shape":"LedgerList",
"documentation":"The array of ledger summaries that are associated with the current AWS account and Region.
"
},
"NextToken":{
"shape":"NextToken",
"documentation":"A pagination token, indicating whether there are more results available:
-
If NextToken
is empty, then the last page of results has been processed and there are no more results to be retrieved.
-
If NextToken
is not empty, then there are more results available. To retrieve the next page of results, use the value of NextToken
in a subsequent ListLedgers
call.
"
}
}
},
"ListTagsForResourceRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) for which you want to list the tags. For example:
arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger
",
"location":"uri",
"locationName":"resourceArn"
}
}
},
"ListTagsForResourceResponse":{
"type":"structure",
"members":{
"Tags":{
"shape":"Tags",
"documentation":"The tags that are currently associated with the specified Amazon QLDB resource.
"
}
}
},
"MaxResults":{
"type":"integer",
"max":100,
"min":1
},
"NextToken":{
"type":"string",
"max":1024,
"min":4,
"pattern":"^[A-Za-z-0-9+/=]+$"
},
"ParameterName":{"type":"string"},
"PermissionsMode":{
"type":"string",
"enum":["ALLOW_ALL"]
},
"ResourceAlreadyExistsException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The type of resource.
"
},
"ResourceName":{
"shape":"ResourceName",
"documentation":"The name of the resource.
"
}
},
"documentation":"The specified resource already exists.
",
"error":{"httpStatusCode":409},
"exception":true
},
"ResourceInUseException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The type of resource.
"
},
"ResourceName":{
"shape":"ResourceName",
"documentation":"The name of the resource.
"
}
},
"documentation":"The specified resource can't be modified at this time.
",
"error":{"httpStatusCode":409},
"exception":true
},
"ResourceName":{"type":"string"},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The type of resource.
"
},
"ResourceName":{
"shape":"ResourceName",
"documentation":"The name of the resource.
"
}
},
"documentation":"The specified resource doesn't exist.
",
"error":{"httpStatusCode":404},
"exception":true
},
"ResourcePreconditionNotMetException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"},
"ResourceType":{
"shape":"ResourceType",
"documentation":"The type of resource.
"
},
"ResourceName":{
"shape":"ResourceName",
"documentation":"The name of the resource.
"
}
},
"documentation":"The operation failed because a condition wasn't satisfied in advance.
",
"error":{"httpStatusCode":412},
"exception":true
},
"ResourceType":{"type":"string"},
"S3Bucket":{
"type":"string",
"max":255,
"min":3,
"pattern":"^[A-Za-z-0-9-_.]+$"
},
"S3EncryptionConfiguration":{
"type":"structure",
"required":["ObjectEncryptionType"],
"members":{
"ObjectEncryptionType":{
"shape":"S3ObjectEncryptionType",
"documentation":"The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
"
},
"KmsKeyArn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) for a customer master key (CMK) in AWS Key Management Service (AWS KMS).
You must provide a KmsKeyArn
if you specify SSE_KMS
as the ObjectEncryptionType
.
KmsKeyArn
is not required if you specify SSE_S3
as the ObjectEncryptionType
.
"
}
},
"documentation":"The encryption settings that are used by a journal export job to write data in an Amazon Simple Storage Service (Amazon S3) bucket.
"
},
"S3ExportConfiguration":{
"type":"structure",
"required":[
"Bucket",
"Prefix",
"EncryptionConfiguration"
],
"members":{
"Bucket":{
"shape":"S3Bucket",
"documentation":"The Amazon S3 bucket name in which a journal export job writes the journal contents.
The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and Limitations in the Amazon S3 Developer Guide.
"
},
"Prefix":{
"shape":"S3Prefix",
"documentation":"The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents.
The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in the Amazon S3 Developer Guide.
The following are examples of valid Prefix
values:
-
JournalExports-ForMyLedger/Testing/
-
JournalExports
-
My:Tests/
"
},
"EncryptionConfiguration":{
"shape":"S3EncryptionConfiguration",
"documentation":"The encryption settings that are used by a journal export job to write data in an Amazon S3 bucket.
"
}
},
"documentation":"The Amazon Simple Storage Service (Amazon S3) bucket location in which a journal export job writes the journal contents.
"
},
"S3ObjectEncryptionType":{
"type":"string",
"enum":[
"SSE_KMS",
"SSE_S3",
"NO_ENCRYPTION"
]
},
"S3Prefix":{
"type":"string",
"max":128,
"min":0
},
"TagKey":{
"type":"string",
"max":128,
"min":1
},
"TagKeyList":{
"type":"list",
"member":{"shape":"TagKey"},
"max":200,
"min":0
},
"TagResourceRequest":{
"type":"structure",
"required":[
"ResourceArn",
"Tags"
],
"members":{
"ResourceArn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) to which you want to add the tags. For example:
arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger
",
"location":"uri",
"locationName":"resourceArn"
},
"Tags":{
"shape":"Tags",
"documentation":"The key-value pairs to add as tags to the specified QLDB resource. Tag keys are case sensitive. If you specify a key that already exists for the resource, your request fails and returns an error. Tag values are case sensitive and can be null.
"
}
}
},
"TagResourceResponse":{
"type":"structure",
"members":{
}
},
"TagValue":{
"type":"string",
"max":256,
"min":0
},
"Tags":{
"type":"map",
"key":{"shape":"TagKey"},
"value":{"shape":"TagValue"},
"max":200,
"min":0
},
"Timestamp":{"type":"timestamp"},
"UniqueId":{
"type":"string",
"max":22,
"min":22,
"pattern":"^[A-Za-z-0-9]+$"
},
"UntagResourceRequest":{
"type":"structure",
"required":[
"ResourceArn",
"TagKeys"
],
"members":{
"ResourceArn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) from which you want to remove the tags. For example:
arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger
",
"location":"uri",
"locationName":"resourceArn"
},
"TagKeys":{
"shape":"TagKeyList",
"documentation":"The list of tag keys that you want to remove.
",
"location":"querystring",
"locationName":"tagKeys"
}
}
},
"UntagResourceResponse":{
"type":"structure",
"members":{
}
},
"UpdateLedgerRequest":{
"type":"structure",
"required":["Name"],
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
",
"location":"uri",
"locationName":"name"
},
"DeletionProtection":{
"shape":"DeletionProtection",
"documentation":"The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true
) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false
. The QLDB console disables deletion protection for you when you use it to delete a ledger.
"
}
}
},
"UpdateLedgerResponse":{
"type":"structure",
"members":{
"Name":{
"shape":"LedgerName",
"documentation":"The name of the ledger.
"
},
"Arn":{
"shape":"Arn",
"documentation":"The Amazon Resource Name (ARN) for the ledger.
"
},
"State":{
"shape":"LedgerState",
"documentation":"The current status of the ledger.
"
},
"CreationDateTime":{
"shape":"Timestamp",
"documentation":"The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
"
},
"DeletionProtection":{
"shape":"DeletionProtection",
"documentation":"The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true
) by default.
If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger
operation to set the flag to false
. The QLDB console disables deletion protection for you when you use it to delete a ledger.
"
}
}
},
"ValueHolder":{
"type":"structure",
"members":{
"IonText":{
"shape":"IonText",
"documentation":"An Amazon Ion plaintext value contained in a ValueHolder
structure.
"
}
},
"documentation":"A structure that can contain an Amazon Ion value in multiple encoding formats.
",
"sensitive":true
}
},
"documentation":"The control plane for Amazon QLDB
"
}