Module: Aws::CloudFrontKeyValueStore::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-cloudfrontkeyvaluestore/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')
ConflictException =

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: 'ConflictException')
DeleteKeyRequest =

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: 'DeleteKeyRequest')
DeleteKeyRequestListItem =

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: 'DeleteKeyRequestListItem')
DeleteKeyRequestsList =

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: 'DeleteKeyRequestsList')
DeleteKeyResponse =

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: 'DeleteKeyResponse')
DescribeKeyValueStoreRequest =

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: 'DescribeKeyValueStoreRequest')
DescribeKeyValueStoreResponse =

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: 'DescribeKeyValueStoreResponse')
Etag =

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: 'Etag')
GetKeyRequest =

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: 'GetKeyRequest')
GetKeyResponse =

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: 'GetKeyResponse')
Integer =

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: 'Integer')
InternalServerException =

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: 'InternalServerException')
Key =

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: 'Key')
KvsARN =

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: 'KvsARN')
ListKeysRequest =

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: 'ListKeysRequest')
ListKeysRequestMaxResultsInteger =

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: 'ListKeysRequestMaxResultsInteger')
ListKeysResponse =

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: 'ListKeysResponse')
ListKeysResponseList =

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: 'ListKeysResponseList')
ListKeysResponseListItem =

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: 'ListKeysResponseListItem')
Long =

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: 'Long')
PutKeyRequest =

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: 'PutKeyRequest')
PutKeyRequestListItem =

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: 'PutKeyRequestListItem')
PutKeyRequestsList =

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: 'PutKeyRequestsList')
PutKeyResponse =

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: 'PutKeyResponse')
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')
ServiceQuotaExceededException =

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: 'ServiceQuotaExceededException')
String =

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: 'String')
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')
UpdateKeysRequest =

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: 'UpdateKeysRequest')
UpdateKeysResponse =

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: 'UpdateKeysResponse')
ValidationException =

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: 'ValidationException')
Value =

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: 'Value')
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 = "2022-07-26"

  api. = {
    "apiVersion" => "2022-07-26",
    "endpointPrefix" => "cloudfront-keyvaluestore",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceFullName" => "Amazon CloudFront KeyValueStore",
    "serviceId" => "CloudFront KeyValueStore",
    "signatureVersion" => "v4",
    "signingName" => "cloudfront-keyvaluestore",
    "uid" => "cloudfront-keyvaluestore-2022-07-26",
  }

  api.add_operation(:delete_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteKey"
    o.http_method = "DELETE"
    o.http_request_uri = "/key-value-stores/{KvsARN}/keys/{Key}"
    o.input = Shapes::ShapeRef.new(shape: DeleteKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:describe_key_value_store, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeKeyValueStore"
    o.http_method = "GET"
    o.http_request_uri = "/key-value-stores/{KvsARN}"
    o.input = Shapes::ShapeRef.new(shape: DescribeKeyValueStoreRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeKeyValueStoreResponse)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:get_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetKey"
    o.http_method = "GET"
    o.http_request_uri = "/key-value-stores/{KvsARN}/keys/{Key}"
    o.input = Shapes::ShapeRef.new(shape: GetKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: GetKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:list_keys, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListKeys"
    o.http_method = "GET"
    o.http_request_uri = "/key-value-stores/{KvsARN}/keys"
    o.input = Shapes::ShapeRef.new(shape: ListKeysRequest)
    o.output = Shapes::ShapeRef.new(shape: ListKeysResponse)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    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(:put_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutKey"
    o.http_method = "PUT"
    o.http_request_uri = "/key-value-stores/{KvsARN}/keys/{Key}"
    o.input = Shapes::ShapeRef.new(shape: PutKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: PutKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:update_keys, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateKeys"
    o.http_method = "POST"
    o.http_request_uri = "/key-value-stores/{KvsARN}/keys"
    o.input = Shapes::ShapeRef.new(shape: UpdateKeysRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateKeysResponse)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)
end