Module: Aws::ServiceDiscovery::ClientApi Private

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

This constant is part 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: 'AttrKey')
AttrValue =

This constant is part 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: 'AttrValue')
Attributes =

This constant is part 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: 'Attributes')
Code =

This constant is part 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: 'Code')
CreateHttpNamespaceRequest =

This constant is part 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: 'CreateHttpNamespaceRequest')
CreateHttpNamespaceResponse =

This constant is part 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: 'CreateHttpNamespaceResponse')
CreatePrivateDnsNamespaceRequest =

This constant is part 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: 'CreatePrivateDnsNamespaceRequest')
CreatePrivateDnsNamespaceResponse =

This constant is part 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: 'CreatePrivateDnsNamespaceResponse')
CreatePublicDnsNamespaceRequest =

This constant is part 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: 'CreatePublicDnsNamespaceRequest')
CreatePublicDnsNamespaceResponse =

This constant is part 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: 'CreatePublicDnsNamespaceResponse')
CreateServiceRequest =

This constant is part 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: 'CreateServiceRequest')
CreateServiceResponse =

This constant is part 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: 'CreateServiceResponse')
CustomHealthNotFound =

This constant is part 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: 'CustomHealthNotFound')
CustomHealthStatus =

This constant is part 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: 'CustomHealthStatus')
DeleteNamespaceRequest =

This constant is part 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: 'DeleteNamespaceRequest')
DeleteNamespaceResponse =

This constant is part 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: 'DeleteNamespaceResponse')
DeleteServiceRequest =

This constant is part 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: 'DeleteServiceRequest')
DeleteServiceResponse =

This constant is part 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: 'DeleteServiceResponse')
DeregisterInstanceRequest =

This constant is part 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: 'DeregisterInstanceRequest')
DeregisterInstanceResponse =

This constant is part 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: 'DeregisterInstanceResponse')
DiscoverInstancesRequest =

This constant is part 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: 'DiscoverInstancesRequest')
DiscoverInstancesResponse =

This constant is part 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: 'DiscoverInstancesResponse')
DnsConfig =

This constant is part 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: 'DnsConfig')
DnsConfigChange =

This constant is part 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: 'DnsConfigChange')
DnsProperties =

This constant is part 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: 'DnsProperties')
DnsRecord =

This constant is part 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: 'DnsRecord')
DnsRecordList =

This constant is part 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: 'DnsRecordList')
DuplicateRequest =

This constant is part 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: 'DuplicateRequest')
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')
FailureThreshold =

This constant is part 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: 'FailureThreshold')
FilterCondition =

This constant is part 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: 'FilterCondition')
FilterValue =

This constant is part 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: 'FilterValue')
FilterValues =

This constant is part 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: 'FilterValues')
GetInstanceRequest =

This constant is part 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: 'GetInstanceRequest')
GetInstanceResponse =

This constant is part 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: 'GetInstanceResponse')
GetInstancesHealthStatusRequest =

This constant is part 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: 'GetInstancesHealthStatusRequest')
GetInstancesHealthStatusResponse =

This constant is part 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: 'GetInstancesHealthStatusResponse')
GetNamespaceRequest =

This constant is part 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: 'GetNamespaceRequest')
GetNamespaceResponse =

This constant is part 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: 'GetNamespaceResponse')
GetOperationRequest =

This constant is part 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: 'GetOperationRequest')
GetOperationResponse =

This constant is part 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: 'GetOperationResponse')
GetServiceRequest =

This constant is part 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: 'GetServiceRequest')
GetServiceResponse =

This constant is part 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: 'GetServiceResponse')
HealthCheckConfig =

This constant is part 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: 'HealthCheckConfig')
HealthCheckCustomConfig =

This constant is part 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: 'HealthCheckCustomConfig')
HealthCheckType =

This constant is part 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: 'HealthCheckType')
HealthStatus =

This constant is part 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: 'HealthStatus')
HealthStatusFilter =

This constant is part 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: 'HealthStatusFilter')
HttpInstanceSummary =

This constant is part 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: 'HttpInstanceSummary')
HttpInstanceSummaryList =

This constant is part 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: 'HttpInstanceSummaryList')
HttpProperties =

This constant is part 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: 'HttpProperties')
Instance =

This constant is part 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: 'Instance')
InstanceHealthStatusMap =

This constant is part 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: 'InstanceHealthStatusMap')
InstanceIdList =

This constant is part 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: 'InstanceIdList')
InstanceNotFound =

This constant is part 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: 'InstanceNotFound')
InstanceSummary =

This constant is part 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: 'InstanceSummary')
InstanceSummaryList =

This constant is part 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: 'InstanceSummaryList')
InvalidInput =

This constant is part 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: 'InvalidInput')
ListInstancesRequest =

This constant is part 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: 'ListInstancesRequest')
ListInstancesResponse =

This constant is part 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: 'ListInstancesResponse')
ListNamespacesRequest =

This constant is part 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: 'ListNamespacesRequest')
ListNamespacesResponse =

This constant is part 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: 'ListNamespacesResponse')
ListOperationsRequest =

This constant is part 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: 'ListOperationsRequest')
ListOperationsResponse =

This constant is part 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: 'ListOperationsResponse')
ListServicesRequest =

This constant is part 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: 'ListServicesRequest')
ListServicesResponse =

This constant is part 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: 'ListServicesResponse')
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')
Message =

This constant is part 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: 'Message')
Namespace =

This constant is part 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: 'Namespace')
NamespaceAlreadyExists =

This constant is part 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: 'NamespaceAlreadyExists')
NamespaceFilter =

This constant is part 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: 'NamespaceFilter')
NamespaceFilterName =

This constant is part 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: 'NamespaceFilterName')
NamespaceFilters =

This constant is part 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: 'NamespaceFilters')
NamespaceName =

This constant is part 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: 'NamespaceName')
NamespaceNotFound =

This constant is part 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: 'NamespaceNotFound')
NamespaceProperties =

This constant is part 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: 'NamespaceProperties')
NamespaceSummariesList =

This constant is part 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: 'NamespaceSummariesList')
NamespaceSummary =

This constant is part 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: 'NamespaceSummary')
NamespaceType =

This constant is part 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: 'NamespaceType')
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')
Operation =

This constant is part 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: 'Operation')
OperationFilter =

This constant is part 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: 'OperationFilter')
OperationFilterName =

This constant is part 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: 'OperationFilterName')
OperationFilters =

This constant is part 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: 'OperationFilters')
OperationId =

This constant is part 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: 'OperationId')
OperationNotFound =

This constant is part 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: 'OperationNotFound')
OperationStatus =

This constant is part 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: 'OperationStatus')
OperationSummary =

This constant is part 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: 'OperationSummary')
OperationSummaryList =

This constant is part 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: 'OperationSummaryList')
OperationTargetType =

This constant is part 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: 'OperationTargetType')
OperationTargetsMap =

This constant is part 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: 'OperationTargetsMap')
OperationType =

This constant is part 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: 'OperationType')
RecordTTL =

This constant is part 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: 'RecordTTL')
RecordType =

This constant is part 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: 'RecordType')
RegisterInstanceRequest =

This constant is part 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: 'RegisterInstanceRequest')
RegisterInstanceResponse =

This constant is part 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: 'RegisterInstanceResponse')
ResourceCount =

This constant is part 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: 'ResourceCount')
ResourceDescription =

This constant is part 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: 'ResourceDescription')
ResourceId =

This constant is part 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: 'ResourceId')
ResourceInUse =

This constant is part 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: 'ResourceInUse')
ResourceLimitExceeded =

This constant is part 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: 'ResourceLimitExceeded')
ResourcePath =

This constant is part 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: 'ResourcePath')
RoutingPolicy =

This constant is part 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: 'RoutingPolicy')
Service =

This constant is part 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: 'Service')
ServiceAlreadyExists =

This constant is part 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: 'ServiceAlreadyExists')
ServiceChange =

This constant is part 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: 'ServiceChange')
ServiceFilter =

This constant is part 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: 'ServiceFilter')
ServiceFilterName =

This constant is part 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: 'ServiceFilterName')
ServiceFilters =

This constant is part 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: 'ServiceFilters')
ServiceName =

This constant is part 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: 'ServiceName')
ServiceNotFound =

This constant is part 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: 'ServiceNotFound')
ServiceSummariesList =

This constant is part 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: 'ServiceSummariesList')
ServiceSummary =

This constant is part 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: 'ServiceSummary')
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')
UpdateInstanceCustomHealthStatusRequest =

This constant is part 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: 'UpdateInstanceCustomHealthStatusRequest')
UpdateServiceRequest =

This constant is part 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: 'UpdateServiceRequest')
UpdateServiceResponse =

This constant is part 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: 'UpdateServiceResponse')
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 = "2017-03-14"

  api. = {
    "apiVersion" => "2017-03-14",
    "endpointPrefix" => "servicediscovery",
    "jsonVersion" => "1.1",
    "protocol" => "json",
    "serviceAbbreviation" => "ServiceDiscovery",
    "serviceFullName" => "AWS Cloud Map",
    "serviceId" => "ServiceDiscovery",
    "signatureVersion" => "v4",
    "targetPrefix" => "Route53AutoNaming_v20170314",
    "uid" => "servicediscovery-2017-03-14",
  }

  api.add_operation(:create_http_namespace, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateHttpNamespace"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateHttpNamespaceRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateHttpNamespaceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: NamespaceAlreadyExists)
    o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
    o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
  end)

  api.add_operation(:create_private_dns_namespace, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreatePrivateDnsNamespace"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreatePrivateDnsNamespaceRequest)
    o.output = Shapes::ShapeRef.new(shape: CreatePrivateDnsNamespaceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: NamespaceAlreadyExists)
    o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
    o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
  end)

  api.add_operation(:create_public_dns_namespace, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreatePublicDnsNamespace"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreatePublicDnsNamespaceRequest)
    o.output = Shapes::ShapeRef.new(shape: CreatePublicDnsNamespaceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: NamespaceAlreadyExists)
    o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
    o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
  end)

  api.add_operation(:create_service, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateService"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: CreateServiceRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateServiceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
    o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: ServiceAlreadyExists)
  end)

  api.add_operation(:delete_namespace, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteNamespace"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteNamespaceRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteNamespaceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
    o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
  end)

  api.add_operation(:delete_service, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteService"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeleteServiceRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteServiceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
  end)

  api.add_operation(:deregister_instance, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeregisterInstance"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: DeregisterInstanceRequest)
    o.output = Shapes::ShapeRef.new(shape: DeregisterInstanceResponse)
    o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: InstanceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
  end)

  api.add_operation(:discover_instances, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DiscoverInstances"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.endpoint_pattern = {
      "hostPrefix" => "data-",
    }
    o.input = Shapes::ShapeRef.new(shape: DiscoverInstancesRequest)
    o.output = Shapes::ShapeRef.new(shape: DiscoverInstancesResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
  end)

  api.add_operation(:get_instance, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetInstance"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetInstanceRequest)
    o.output = Shapes::ShapeRef.new(shape: GetInstanceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InstanceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
  end)

  api.add_operation(:get_instances_health_status, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetInstancesHealthStatus"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetInstancesHealthStatusRequest)
    o.output = Shapes::ShapeRef.new(shape: GetInstancesHealthStatusResponse)
    o.errors << Shapes::ShapeRef.new(shape: InstanceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:get_namespace, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetNamespace"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetNamespaceRequest)
    o.output = Shapes::ShapeRef.new(shape: GetNamespaceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
  end)

  api.add_operation(:get_operation, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetOperation"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetOperationRequest)
    o.output = Shapes::ShapeRef.new(shape: GetOperationResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: OperationNotFound)
  end)

  api.add_operation(:get_service, Seahorse::Model::Operation.new.tap do |o|
    o.name = "GetService"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: GetServiceRequest)
    o.output = Shapes::ShapeRef.new(shape: GetServiceResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
  end)

  api.add_operation(:list_instances, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListInstances"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListInstancesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListInstancesResponse)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_namespaces, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListNamespaces"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListNamespacesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListNamespacesResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_operations, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListOperations"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListOperationsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListOperationsResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_services, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListServices"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: ListServicesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListServicesResponse)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:register_instance, Seahorse::Model::Operation.new.tap do |o|
    o.name = "RegisterInstance"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: RegisterInstanceRequest)
    o.output = Shapes::ShapeRef.new(shape: RegisterInstanceResponse)
    o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
    o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
  end)

  api.add_operation(:update_instance_custom_health_status, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateInstanceCustomHealthStatus"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: UpdateInstanceCustomHealthStatusRequest)
    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
    o.errors << Shapes::ShapeRef.new(shape: InstanceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
    o.errors << Shapes::ShapeRef.new(shape: CustomHealthNotFound)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
  end)

  api.add_operation(:update_service, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateService"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: UpdateServiceRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateServiceResponse)
    o.errors << Shapes::ShapeRef.new(shape: DuplicateRequest)
    o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
    o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
  end)
end