Module: Aws::ApiGatewayManagementApi::ClientApi Private

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

Data =

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: 'Data')
DeleteConnectionRequest =

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: 'DeleteConnectionRequest')
ForbiddenException =

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: 'ForbiddenException')
GetConnectionRequest =

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: 'GetConnectionRequest')
GetConnectionResponse =

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: 'GetConnectionResponse')
GoneException =

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: 'GoneException')
Identity =

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: 'Identity')
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')
PayloadTooLargeException =

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: 'PayloadTooLargeException')
PostToConnectionRequest =

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: 'PostToConnectionRequest')
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-11-29"

  api. = {
    "apiVersion" => "2018-11-29",
    "endpointPrefix" => "execute-api",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceFullName" => "AmazonApiGatewayManagementApi",
    "serviceId" => "ApiGatewayManagementApi",
    "signatureVersion" => "v4",
    "signingName" => "execute-api",
    "uid" => "apigatewaymanagementapi-2018-11-29",
  }

  api.add_operation(:delete_connection, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteConnection"
    o.http_method = "DELETE"
    o.http_request_uri = "/@connections/{connectionId}"
    o.input = Shapes::ShapeRef.new(shape: DeleteConnectionRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: GoneException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:get_connection, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetConnection"
    o.http_method = "GET"
    o.http_request_uri = "/@connections/{connectionId}"
    o.input = Shapes::ShapeRef.new(shape: GetConnectionRequest)
    o.output = Shapes::ShapeRef.new(shape: GetConnectionResponse)
    o.errors << Shapes::ShapeRef.new(shape: GoneException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:post_to_connection, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PostToConnection"
    o.http_method = "POST"
    o.http_request_uri = "/@connections/{connectionId}"
    o.input = Shapes::ShapeRef.new(shape: PostToConnectionRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: GoneException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)
end