Module: Aws::BackupStorage::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-backupstorage/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

AccessDeniedException =

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: 'AccessDeniedException')
BackupObject =

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: 'BackupObject')
Chunk =

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: 'Chunk')
ChunkList =

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: 'ChunkList')
DataAlreadyExistsException =

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: 'DataAlreadyExistsException')
DataChecksumAlgorithm =

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: 'DataChecksumAlgorithm')
DeleteObjectInput =

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: 'DeleteObjectInput')
GetChunkInput =

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: 'GetChunkInput')
GetChunkOutput =

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: 'GetChunkOutput')
GetObjectMetadataInput =

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: 'GetObjectMetadataInput')
GetObjectMetadataOutput =

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: 'GetObjectMetadataOutput')
IllegalArgumentException =

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: 'IllegalArgumentException')
KMSInvalidKeyUsageException =

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: 'KMSInvalidKeyUsageException')
ListChunksInput =

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: 'ListChunksInput')
ListChunksOutput =

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: 'ListChunksOutput')
ListObjectsInput =

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: 'ListObjectsInput')
ListObjectsOutput =

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: 'ListObjectsOutput')
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')
MetadataString =

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: 'MetadataString')
NotReadableInputStreamException =

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: 'NotReadableInputStreamException')
NotifyObjectCompleteInput =

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: 'NotifyObjectCompleteInput')
NotifyObjectCompleteOutput =

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: 'NotifyObjectCompleteOutput')
ObjectList =

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: 'ObjectList')
OptionalLong =

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: 'OptionalLong')
PayloadBlob =

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: 'PayloadBlob', streaming: true)
PutChunkInput =

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: 'PutChunkInput')
PutChunkOutput =

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: 'PutChunkOutput')
PutObjectInput =

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: 'PutObjectInput')
PutObjectOutput =

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: 'PutObjectOutput')
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')
RetryableException =

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: 'RetryableException')
ServiceErrorMessage =

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: 'ServiceErrorMessage')
ServiceInternalException =

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: 'ServiceInternalException')
ServiceUnavailableException =

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: 'ServiceUnavailableException')
StartObjectInput =

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: 'StartObjectInput')
StartObjectOutput =

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: 'StartObjectOutput')
SummaryChecksumAlgorithm =

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: 'SummaryChecksumAlgorithm')
ThrottlingException =

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: 'ThrottlingException')
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 = "2018-04-10"

  api. = {
    "apiVersion" => "2018-04-10",
    "endpointPrefix" => "backupstorage",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceFullName" => "AWS Backup Storage",
    "serviceId" => "BackupStorage",
    "signatureVersion" => "v4",
    "signingName" => "backup-storage",
    "uid" => "backupstorage-2018-04-10",
  }

  api.add_operation(:delete_object, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteObject"
    o.http_method = "DELETE"
    o.http_request_uri = "/backup-jobs/{jobId}/object/{objectName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteObjectInput)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:get_chunk, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetChunk"
    o.http_method = "GET"
    o.http_request_uri = "/restore-jobs/{jobId}/chunk/{chunkToken}"
    o.input = Shapes::ShapeRef.new(shape: GetChunkInput)
    o.output = Shapes::ShapeRef.new(shape: GetChunkOutput)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:get_object_metadata, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetObjectMetadata"
    o.http_method = "GET"
    o.http_request_uri = "/restore-jobs/{jobId}/object/{objectToken}/metadata"
    o.input = Shapes::ShapeRef.new(shape: GetObjectMetadataInput)
    o.output = Shapes::ShapeRef.new(shape: GetObjectMetadataOutput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:list_chunks, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListChunks"
    o.http_method = "GET"
    o.http_request_uri = "/restore-jobs/{jobId}/chunks/{objectToken}/list"
    o.input = Shapes::ShapeRef.new(shape: ListChunksInput)
    o.output = Shapes::ShapeRef.new(shape: ListChunksOutput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_objects, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListObjects"
    o.http_method = "GET"
    o.http_request_uri = "/restore-jobs/{jobId}/objects/list"
    o.input = Shapes::ShapeRef.new(shape: ListObjectsInput)
    o.output = Shapes::ShapeRef.new(shape: ListObjectsOutput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:notify_object_complete, Seahorse::Model::Operation.new.tap do |o|
    o.name = "NotifyObjectComplete"
    o.http_method = "PUT"
    o.http_request_uri = "/backup-jobs/{jobId}/object/{uploadId}/complete"
    o['authtype'] = "v4-unsigned-body"
    o.input = Shapes::ShapeRef.new(shape: NotifyObjectCompleteInput)
    o.output = Shapes::ShapeRef.new(shape: NotifyObjectCompleteOutput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: NotReadableInputStreamException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:put_chunk, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutChunk"
    o.http_method = "PUT"
    o.http_request_uri = "/backup-jobs/{jobId}/chunk/{uploadId}/{chunkIndex}"
    o['authtype'] = "v4-unsigned-body"
    o.input = Shapes::ShapeRef.new(shape: PutChunkInput)
    o.output = Shapes::ShapeRef.new(shape: PutChunkOutput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: NotReadableInputStreamException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:put_object, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutObject"
    o.http_method = "PUT"
    o.http_request_uri = "/backup-jobs/{jobId}/object/{objectName}/put-object"
    o['authtype'] = "v4-unsigned-body"
    o.input = Shapes::ShapeRef.new(shape: PutObjectInput)
    o.output = Shapes::ShapeRef.new(shape: PutObjectOutput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: NotReadableInputStreamException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: KMSInvalidKeyUsageException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:start_object, Seahorse::Model::Operation.new.tap do |o|
    o.name = "StartObject"
    o.http_method = "PUT"
    o.http_request_uri = "/backup-jobs/{jobId}/object/{objectName}"
    o.input = Shapes::ShapeRef.new(shape: StartObjectInput)
    o.output = Shapes::ShapeRef.new(shape: StartObjectOutput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceInternalException)
    o.errors << Shapes::ShapeRef.new(shape: RetryableException)
    o.errors << Shapes::ShapeRef.new(shape: IllegalArgumentException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: DataAlreadyExistsException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)
end