Module: Aws::Schemas::ClientApi Private

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

BadRequestException =

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: 'BadRequestException')
Body =

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: 'Body')
CodeBindingOutput =

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: 'CodeBindingOutput')
CodeGenerationStatus =

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: 'CodeGenerationStatus')
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')
CreateDiscovererInput =

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: 'CreateDiscovererInput')
CreateDiscovererRequest =

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: 'CreateDiscovererRequest')
CreateDiscovererResponse =

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: 'CreateDiscovererResponse')
CreateRegistryInput =

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: 'CreateRegistryInput')
CreateRegistryRequest =

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: 'CreateRegistryRequest')
CreateRegistryResponse =

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: 'CreateRegistryResponse')
CreateSchemaInput =

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: 'CreateSchemaInput')
CreateSchemaRequest =

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: 'CreateSchemaRequest')
CreateSchemaResponse =

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: 'CreateSchemaResponse')
DeleteDiscovererRequest =

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: 'DeleteDiscovererRequest')
DeleteRegistryRequest =

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: 'DeleteRegistryRequest')
DeleteResourcePolicyRequest =

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: 'DeleteResourcePolicyRequest')
DeleteSchemaRequest =

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: 'DeleteSchemaRequest')
DeleteSchemaVersionRequest =

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: 'DeleteSchemaVersionRequest')
DescribeCodeBindingRequest =

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: 'DescribeCodeBindingRequest')
DescribeCodeBindingResponse =

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: 'DescribeCodeBindingResponse')
DescribeDiscovererRequest =

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: 'DescribeDiscovererRequest')
DescribeDiscovererResponse =

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: 'DescribeDiscovererResponse')
DescribeRegistryRequest =

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: 'DescribeRegistryRequest')
DescribeRegistryResponse =

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: 'DescribeRegistryResponse')
DescribeSchemaOutput =

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: 'DescribeSchemaOutput')
DescribeSchemaRequest =

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: 'DescribeSchemaRequest')
DescribeSchemaResponse =

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: 'DescribeSchemaResponse')
DiscovererOutput =

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: 'DiscovererOutput')
DiscovererState =

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: 'DiscovererState')
DiscovererStateOutput =

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: 'DiscovererStateOutput')
DiscovererSummary =

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: 'DiscovererSummary')
ErrorOutput =

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: 'ErrorOutput')
ExportSchemaOutput =

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: 'ExportSchemaOutput')
ExportSchemaRequest =

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: 'ExportSchemaRequest')
ExportSchemaResponse =

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: 'ExportSchemaResponse')
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')
GetCodeBindingSourceOutput =

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: 'GetCodeBindingSourceOutput')
GetCodeBindingSourceRequest =

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: 'GetCodeBindingSourceRequest')
GetCodeBindingSourceResponse =

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: 'GetCodeBindingSourceResponse')
GetDiscoveredSchemaInput =

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: 'GetDiscoveredSchemaInput')
GetDiscoveredSchemaOutput =

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: 'GetDiscoveredSchemaOutput')
GetDiscoveredSchemaRequest =

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: 'GetDiscoveredSchemaRequest')
GetDiscoveredSchemaResponse =

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: 'GetDiscoveredSchemaResponse')
GetDiscoveredSchemaVersionItemInput =

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: 'GetDiscoveredSchemaVersionItemInput')
GetResourcePolicyOutput =

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: 'GetResourcePolicyOutput')
GetResourcePolicyRequest =

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: 'GetResourcePolicyRequest')
GetResourcePolicyResponse =

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: 'GetResourcePolicyResponse')
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')
InternalServerErrorException =

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: 'InternalServerErrorException')
Limit =

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: 'Limit')
ListDiscoverersOutput =

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: 'ListDiscoverersOutput')
ListDiscoverersRequest =

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: 'ListDiscoverersRequest')
ListDiscoverersResponse =

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: 'ListDiscoverersResponse')
ListRegistriesOutput =

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: 'ListRegistriesOutput')
ListRegistriesRequest =

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: 'ListRegistriesRequest')
ListRegistriesResponse =

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: 'ListRegistriesResponse')
ListSchemaVersionsOutput =

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: 'ListSchemaVersionsOutput')
ListSchemaVersionsRequest =

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: 'ListSchemaVersionsRequest')
ListSchemaVersionsResponse =

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: 'ListSchemaVersionsResponse')
ListSchemasOutput =

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: 'ListSchemasOutput')
ListSchemasRequest =

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: 'ListSchemasRequest')
ListSchemasResponse =

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: 'ListSchemasResponse')
ListTagsForResourceOutput =

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: 'ListTagsForResourceOutput')
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')
NotFoundException =

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: 'NotFoundException')
PreconditionFailedException =

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: 'PreconditionFailedException')
PutCodeBindingRequest =

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: 'PutCodeBindingRequest')
PutCodeBindingResponse =

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: 'PutCodeBindingResponse')
PutResourcePolicyInput =

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: 'PutResourcePolicyInput')
PutResourcePolicyOutput =

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: 'PutResourcePolicyOutput')
PutResourcePolicyRequest =

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: 'PutResourcePolicyRequest')
PutResourcePolicyResponse =

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: 'PutResourcePolicyResponse')
RegistryOutput =

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: 'RegistryOutput')
RegistrySummary =

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: 'RegistrySummary')
SchemaOutput =

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: 'SchemaOutput')
SchemaSummary =

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: 'SchemaSummary')
SchemaVersionSummary =

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: 'SchemaVersionSummary')
SearchSchemaSummary =

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: 'SearchSchemaSummary')
SearchSchemaVersionSummary =

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: 'SearchSchemaVersionSummary')
SearchSchemasOutput =

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: 'SearchSchemasOutput')
SearchSchemasRequest =

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: 'SearchSchemasRequest')
SearchSchemasResponse =

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: 'SearchSchemasResponse')
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')
StartDiscovererRequest =

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: 'StartDiscovererRequest')
StartDiscovererResponse =

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: 'StartDiscovererResponse')
StopDiscovererRequest =

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: 'StopDiscovererRequest')
StopDiscovererResponse =

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: 'StopDiscovererResponse')
TagResourceInput =

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: 'TagResourceInput')
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')
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')
TooManyRequestsException =

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: 'TooManyRequestsException')
Type =

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: 'Type')
UnauthorizedException =

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: 'UnauthorizedException')
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')
UpdateDiscovererInput =

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: 'UpdateDiscovererInput')
UpdateDiscovererRequest =

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: 'UpdateDiscovererRequest')
UpdateDiscovererResponse =

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: 'UpdateDiscovererResponse')
UpdateRegistryInput =

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: 'UpdateRegistryInput')
UpdateRegistryRequest =

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: 'UpdateRegistryRequest')
UpdateRegistryResponse =

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: 'UpdateRegistryResponse')
UpdateSchemaInput =

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: 'UpdateSchemaInput')
UpdateSchemaRequest =

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: 'UpdateSchemaRequest')
UpdateSchemaResponse =

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: 'UpdateSchemaResponse')
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-12-02"

  api. = {
    "apiVersion" => "2019-12-02",
    "endpointPrefix" => "schemas",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "serviceFullName" => "Schemas",
    "serviceId" => "schemas",
    "signatureVersion" => "v4",
    "signingName" => "schemas",
    "uid" => "schemas-2019-12-02",
  }

  api.add_operation(:create_discoverer, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateDiscoverer"
    o.http_method = "POST"
    o.http_request_uri = "/v1/discoverers"
    o.input = Shapes::ShapeRef.new(shape: CreateDiscovererRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateDiscovererResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
  end)

  api.add_operation(:create_registry, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateRegistry"
    o.http_method = "POST"
    o.http_request_uri = "/v1/registries/name/{registryName}"
    o.input = Shapes::ShapeRef.new(shape: CreateRegistryRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateRegistryResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
  end)

  api.add_operation(:create_schema, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateSchema"
    o.http_method = "POST"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}"
    o.input = Shapes::ShapeRef.new(shape: CreateSchemaRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateSchemaResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:delete_discoverer, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteDiscoverer"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/discoverers/id/{discovererId}"
    o.input = Shapes::ShapeRef.new(shape: DeleteDiscovererRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:delete_registry, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteRegistry"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/registries/name/{registryName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteRegistryRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteResourcePolicy"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/policy"
    o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:delete_schema, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteSchema"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}"
    o.input = Shapes::ShapeRef.new(shape: DeleteSchemaRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:delete_schema_version, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteSchemaVersion"
    o.http_method = "DELETE"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}/version/{schemaVersion}"
    o.input = Shapes::ShapeRef.new(shape: DeleteSchemaVersionRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:describe_code_binding, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeCodeBinding"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}"
    o.input = Shapes::ShapeRef.new(shape: DescribeCodeBindingRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeCodeBindingResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
  end)

  api.add_operation(:describe_discoverer, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeDiscoverer"
    o.http_method = "GET"
    o.http_request_uri = "/v1/discoverers/id/{discovererId}"
    o.input = Shapes::ShapeRef.new(shape: DescribeDiscovererRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeDiscovererResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:describe_registry, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeRegistry"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}"
    o.input = Shapes::ShapeRef.new(shape: DescribeRegistryRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeRegistryResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:describe_schema, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeSchema"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}"
    o.input = Shapes::ShapeRef.new(shape: DescribeSchemaRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeSchemaResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:get_code_binding_source, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetCodeBindingSource"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}/source"
    o.input = Shapes::ShapeRef.new(shape: GetCodeBindingSourceRequest)
    o.output = Shapes::ShapeRef.new(shape: GetCodeBindingSourceResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
  end)

  api.add_operation(:get_discovered_schema, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetDiscoveredSchema"
    o.http_method = "POST"
    o.http_request_uri = "/v1/discover"
    o.input = Shapes::ShapeRef.new(shape: GetDiscoveredSchemaRequest)
    o.output = Shapes::ShapeRef.new(shape: GetDiscoveredSchemaResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetResourcePolicy"
    o.http_method = "GET"
    o.http_request_uri = "/v1/policy"
    o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:list_discoverers, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListDiscoverers"
    o.http_method = "GET"
    o.http_request_uri = "/v1/discoverers"
    o.input = Shapes::ShapeRef.new(shape: ListDiscoverersRequest)
    o.output = Shapes::ShapeRef.new(shape: ListDiscoverersResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o[:pager] = Aws::Pager.new(
      limit_key: "limit",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_registries, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListRegistries"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries"
    o.input = Shapes::ShapeRef.new(shape: ListRegistriesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListRegistriesResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o[:pager] = Aws::Pager.new(
      limit_key: "limit",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_schema_versions, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListSchemaVersions"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}/versions"
    o.input = Shapes::ShapeRef.new(shape: ListSchemaVersionsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListSchemaVersionsResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o[:pager] = Aws::Pager.new(
      limit_key: "limit",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_schemas, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListSchemas"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas"
    o.input = Shapes::ShapeRef.new(shape: ListSchemasRequest)
    o.output = Shapes::ShapeRef.new(shape: ListSchemasResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o[:pager] = Aws::Pager.new(
      limit_key: "limit",
      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/{resource-arn}"
    o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:put_code_binding, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutCodeBinding"
    o.http_method = "POST"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}"
    o.input = Shapes::ShapeRef.new(shape: PutCodeBindingRequest)
    o.output = Shapes::ShapeRef.new(shape: PutCodeBindingResponse)
    o.errors << Shapes::ShapeRef.new(shape: GoneException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
  end)

  api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
    o.name = "PutResourcePolicy"
    o.http_method = "PUT"
    o.http_request_uri = "/v1/policy"
    o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
    o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:search_schemas, Seahorse::Model::Operation.new.tap do |o|
    o.name = "SearchSchemas"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/search"
    o.input = Shapes::ShapeRef.new(shape: SearchSchemasRequest)
    o.output = Shapes::ShapeRef.new(shape: SearchSchemasResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o[:pager] = Aws::Pager.new(
      limit_key: "limit",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:start_discoverer, Seahorse::Model::Operation.new.tap do |o|
    o.name = "StartDiscoverer"
    o.http_method = "POST"
    o.http_request_uri = "/v1/discoverers/id/{discovererId}/start"
    o.input = Shapes::ShapeRef.new(shape: StartDiscovererRequest)
    o.output = Shapes::ShapeRef.new(shape: StartDiscovererResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:stop_discoverer, Seahorse::Model::Operation.new.tap do |o|
    o.name = "StopDiscoverer"
    o.http_method = "POST"
    o.http_request_uri = "/v1/discoverers/id/{discovererId}/stop"
    o.input = Shapes::ShapeRef.new(shape: StopDiscovererRequest)
    o.output = Shapes::ShapeRef.new(shape: StopDiscovererResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  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/{resource-arn}"
    o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  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/{resource-arn}"
    o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
  end)

  api.add_operation(:update_discoverer, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateDiscoverer"
    o.http_method = "PUT"
    o.http_request_uri = "/v1/discoverers/id/{discovererId}"
    o.input = Shapes::ShapeRef.new(shape: UpdateDiscovererRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateDiscovererResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:update_registry, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateRegistry"
    o.http_method = "PUT"
    o.http_request_uri = "/v1/registries/name/{registryName}"
    o.input = Shapes::ShapeRef.new(shape: UpdateRegistryRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateRegistryResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:update_schema, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateSchema"
    o.http_method = "PUT"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}"
    o.input = Shapes::ShapeRef.new(shape: UpdateSchemaRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateSchemaResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
  end)

  api.add_operation(:export_schema, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ExportSchema"
    o.http_method = "GET"
    o.http_request_uri = "/v1/registries/name/{registryName}/schemas/name/{schemaName}/export"
    o.input = Shapes::ShapeRef.new(shape: ExportSchemaRequest)
    o.output = Shapes::ShapeRef.new(shape: ExportSchemaResponse)
    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
    o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
    o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
    o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
  end)
end