Module: Aws::QLDB::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-qldb/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

Arn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Arn')
Boolean =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'Boolean')
CancelJournalKinesisStreamRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CancelJournalKinesisStreamRequest')
CancelJournalKinesisStreamResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CancelJournalKinesisStreamResponse')
CreateLedgerRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateLedgerRequest')
CreateLedgerResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateLedgerResponse')
DeleteLedgerRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteLedgerRequest')
DeletionProtection =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'DeletionProtection')
DescribeJournalKinesisStreamRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeJournalKinesisStreamRequest')
DescribeJournalKinesisStreamResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeJournalKinesisStreamResponse')
DescribeJournalS3ExportRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeJournalS3ExportRequest')
DescribeJournalS3ExportResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeJournalS3ExportResponse')
DescribeLedgerRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeLedgerRequest')
DescribeLedgerResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeLedgerResponse')
Digest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BlobShape.new(name: 'Digest')
EncryptionStatus =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EncryptionStatus')
ErrorCause =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ErrorCause')
ErrorMessage =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ErrorMessage')
ExportJournalToS3Request =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExportJournalToS3Request')
ExportJournalToS3Response =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ExportJournalToS3Response')
ExportStatus =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ExportStatus')
GetBlockRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetBlockRequest')
GetBlockResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetBlockResponse')
GetDigestRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetDigestRequest')
GetDigestResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetDigestResponse')
GetRevisionRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetRevisionRequest')
GetRevisionResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'GetRevisionResponse')
InvalidParameterException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidParameterException')
IonText =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'IonText')
JournalKinesisStreamDescription =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'JournalKinesisStreamDescription')
JournalKinesisStreamDescriptionList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'JournalKinesisStreamDescriptionList')
JournalS3ExportDescription =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'JournalS3ExportDescription')
JournalS3ExportList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'JournalS3ExportList')
KinesisConfiguration =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'KinesisConfiguration')
KmsKey =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'KmsKey')
LedgerEncryptionDescription =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LedgerEncryptionDescription')
LedgerList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'LedgerList')
LedgerName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LedgerName')
LedgerState =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'LedgerState')
LedgerSummary =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LedgerSummary')
LimitExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LimitExceededException')
ListJournalKinesisStreamsForLedgerRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListJournalKinesisStreamsForLedgerRequest')
ListJournalKinesisStreamsForLedgerResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListJournalKinesisStreamsForLedgerResponse')
ListJournalS3ExportsForLedgerRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListJournalS3ExportsForLedgerRequest')
ListJournalS3ExportsForLedgerResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListJournalS3ExportsForLedgerResponse')
ListJournalS3ExportsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListJournalS3ExportsRequest')
ListJournalS3ExportsResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListJournalS3ExportsResponse')
ListLedgersRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListLedgersRequest')
ListLedgersResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListLedgersResponse')
ListTagsForResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
ListTagsForResourceResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
MaxResults =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'MaxResults')
NextToken =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NextToken')
OutputFormat =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'OutputFormat')
ParameterName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ParameterName')
PermissionsMode =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'PermissionsMode')
ResourceAlreadyExistsException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
ResourceInUseException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ResourceInUseException')
ResourceName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourceName')
ResourceNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ResourceNotFoundException')
ResourcePreconditionNotMetException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ResourcePreconditionNotMetException')
ResourceType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourceType')
S3Bucket =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'S3Bucket')
S3EncryptionConfiguration =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'S3EncryptionConfiguration')
S3ExportConfiguration =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'S3ExportConfiguration')
S3ObjectEncryptionType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'S3ObjectEncryptionType')
S3Prefix =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'S3Prefix')
StreamJournalToKinesisRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'StreamJournalToKinesisRequest')
StreamJournalToKinesisResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'StreamJournalToKinesisResponse')
StreamName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'StreamName')
StreamStatus =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'StreamStatus')
TagKey =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagKey')
TagKeyList =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'TagKeyList')
TagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagResourceRequest')
TagResourceResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagResourceResponse')
TagValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagValue')
Tags =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::MapShape.new(name: 'Tags')
Timestamp =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'Timestamp')
UniqueId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'UniqueId')
UntagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UntagResourceRequest')
UntagResourceResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UntagResourceResponse')
UpdateLedgerPermissionsModeRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateLedgerPermissionsModeRequest')
UpdateLedgerPermissionsModeResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateLedgerPermissionsModeResponse')
UpdateLedgerRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateLedgerRequest')
UpdateLedgerResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateLedgerResponse')
ValueHolder =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ValueHolder')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2019-01-02"

  api. = {
    "apiVersion" => "2019-01-02",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "qldb",
    "jsonVersion" => "1.0",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceAbbreviation" => "QLDB",
    "serviceFullName" => "Amazon QLDB",
    "serviceId" => "QLDB",
    "signatureVersion" => "v4",
    "signingName" => "qldb",
    "uid" => "qldb-2019-01-02",
  }

  api.add_operation(:cancel_journal_kinesis_stream, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CancelJournalKinesisStream"
    o.http_method = "DELETE"
    o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams/{streamId}"
    o.input = Shapes::ShapeRef.new(shape: CancelJournalKinesisStreamRequest)
    o.output = Shapes::ShapeRef.new(shape: CancelJournalKinesisStreamResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:create_ledger, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateLedger"
    o.http_method = "POST"
    o.http_request_uri = "/ledgers"
    o.input = Shapes::ShapeRef.new(shape: CreateLedgerRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateLedgerResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
  end)

  api.add_operation(:delete_ledger, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteLedger"
    o.http_method = "DELETE"
    o.http_request_uri = "/ledgers/{name}"
    o.input = Shapes::ShapeRef.new(shape: DeleteLedgerRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:describe_journal_kinesis_stream, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeJournalKinesisStream"
    o.http_method = "GET"
    o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams/{streamId}"
    o.input = Shapes::ShapeRef.new(shape: DescribeJournalKinesisStreamRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeJournalKinesisStreamResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:describe_journal_s3_export, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeJournalS3Export"
    o.http_method = "GET"
    o.http_request_uri = "/ledgers/{name}/journal-s3-exports/{exportId}"
    o.input = Shapes::ShapeRef.new(shape: DescribeJournalS3ExportRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeJournalS3ExportResponse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:describe_ledger, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeLedger"
    o.http_method = "GET"
    o.http_request_uri = "/ledgers/{name}"
    o.input = Shapes::ShapeRef.new(shape: DescribeLedgerRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeLedgerResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:export_journal_to_s3, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ExportJournalToS3"
    o.http_method = "POST"
    o.http_request_uri = "/ledgers/{name}/journal-s3-exports"
    o.input = Shapes::ShapeRef.new(shape: ExportJournalToS3Request)
    o.output = Shapes::ShapeRef.new(shape: ExportJournalToS3Response)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:get_block, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetBlock"
    o.http_method = "POST"
    o.http_request_uri = "/ledgers/{name}/block"
    o.input = Shapes::ShapeRef.new(shape: GetBlockRequest)
    o.output = Shapes::ShapeRef.new(shape: GetBlockResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:get_digest, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetDigest"
    o.http_method = "POST"
    o.http_request_uri = "/ledgers/{name}/digest"
    o.input = Shapes::ShapeRef.new(shape: GetDigestRequest)
    o.output = Shapes::ShapeRef.new(shape: GetDigestResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:get_revision, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetRevision"
    o.http_method = "POST"
    o.http_request_uri = "/ledgers/{name}/revision"
    o.input = Shapes::ShapeRef.new(shape: GetRevisionRequest)
    o.output = Shapes::ShapeRef.new(shape: GetRevisionResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:list_journal_kinesis_streams_for_ledger, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListJournalKinesisStreamsForLedger"
    o.http_method = "GET"
    o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams"
    o.input = Shapes::ShapeRef.new(shape: ListJournalKinesisStreamsForLedgerRequest)
    o.output = Shapes::ShapeRef.new(shape: ListJournalKinesisStreamsForLedgerResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_journal_s3_exports, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListJournalS3Exports"
    o.http_method = "GET"
    o.http_request_uri = "/journal-s3-exports"
    o.input = Shapes::ShapeRef.new(shape: ListJournalS3ExportsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListJournalS3ExportsResponse)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_journal_s3_exports_for_ledger, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListJournalS3ExportsForLedger"
    o.http_method = "GET"
    o.http_request_uri = "/ledgers/{name}/journal-s3-exports"
    o.input = Shapes::ShapeRef.new(shape: ListJournalS3ExportsForLedgerRequest)
    o.output = Shapes::ShapeRef.new(shape: ListJournalS3ExportsForLedgerResponse)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_ledgers, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListLedgers"
    o.http_method = "GET"
    o.http_request_uri = "/ledgers"
    o.input = Shapes::ShapeRef.new(shape: ListLedgersRequest)
    o.output = Shapes::ShapeRef.new(shape: ListLedgersResponse)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListTagsForResource"
    o.http_method = "GET"
    o.http_request_uri = "/tags/{resourceArn}"
    o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:stream_journal_to_kinesis, Seahorse::Model::Operation.new.tap do |o|
    o.name = "StreamJournalToKinesis"
    o.http_method = "POST"
    o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams"
    o.input = Shapes::ShapeRef.new(shape: StreamJournalToKinesisRequest)
    o.output = Shapes::ShapeRef.new(shape: StreamJournalToKinesisResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException)
  end)

  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "TagResource"
    o.http_method = "POST"
    o.http_request_uri = "/tags/{resourceArn}"
    o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UntagResource"
    o.http_method = "DELETE"
    o.http_request_uri = "/tags/{resourceArn}"
    o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:update_ledger, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateLedger"
    o.http_method = "PATCH"
    o.http_request_uri = "/ledgers/{name}"
    o.input = Shapes::ShapeRef.new(shape: UpdateLedgerRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateLedgerResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)

  api.add_operation(:update_ledger_permissions_mode, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateLedgerPermissionsMode"
    o.http_method = "PATCH"
    o.http_request_uri = "/ledgers/{name}/permissions-mode"
    o.input = Shapes::ShapeRef.new(shape: UpdateLedgerPermissionsModeRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateLedgerPermissionsModeResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
  end)
end