lib/aws-sdk-servicediscovery/client.rb in aws-sdk-servicediscovery-1.32.0 vs lib/aws-sdk-servicediscovery/client.rb in aws-sdk-servicediscovery-1.33.0
- old
+ new
@@ -391,11 +391,11 @@
# }
#
# @example Request syntax with placeholder values
#
# resp = client.create_http_namespace({
- # name: "NamespaceName", # required
+ # name: "NamespaceNameHttp", # required
# creator_request_id: "ResourceId",
# description: "ResourceDescription",
# tags: [
# {
# key: "TagKey", # required
@@ -477,11 +477,11 @@
# }
#
# @example Request syntax with placeholder values
#
# resp = client.create_private_dns_namespace({
- # name: "NamespaceName", # required
+ # name: "NamespaceNamePrivate", # required
# creator_request_id: "ResourceId",
# description: "ResourceDescription",
# vpc: "ResourceId", # required
# tags: [
# {
@@ -558,11 +558,11 @@
# }
#
# @example Request syntax with placeholder values
#
# resp = client.create_public_dns_namespace({
- # name: "NamespaceName", # required
+ # name: "NamespaceNamePublic", # required
# creator_request_id: "ResourceId",
# description: "ResourceDescription",
# tags: [
# {
# key: "TagKey", # required
@@ -630,12 +630,20 @@
# and assigns a name to the record by concatenating the service name and
# the namespace name, for example:
#
# `_exampleservice._tcp.example.com`
#
+ # <note markdown="1"> For a single DNS namespace, you cannot create two services with names
+ # that differ only by case (such as EXAMPLE and example). Otherwise,
+ # these services will have the same DNS name. However, you can create
+ # multiple HTTP services with names that differ only by case because
+ # HTTP services are case sensitive.
#
+ # </note>
#
+ #
+ #
# [1]: http://www.haproxy.org/
#
# @option params [String] :namespace_id
# The ID of the namespace that you want to use to create the service.
#
@@ -686,10 +694,15 @@
# The tags to add to the service. Each tag consists of a key and an
# optional value, both of which you define. Tag keys can have a maximum
# character length of 128 characters, and tag values can have a maximum
# length of 256 characters.
#
+ # @option params [String] :type
+ # If present, specifies that the service instances are only discoverable
+ # using the `DiscoverInstances` API operation. No DNS records will be
+ # registered for the service instances. The only valid value is `HTTP`.
+ #
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateServiceResponse#service #service} => Types::Service
#
#
@@ -764,10 +777,11 @@
# {
# key: "TagKey", # required
# value: "TagValue", # required
# },
# ],
+ # type: "HTTP", # accepts HTTP
# })
#
# @example Response structure
#
# resp.service.id #=> String
@@ -779,10 +793,11 @@
# resp.service.dns_config.namespace_id #=> String
# resp.service.dns_config.routing_policy #=> String, one of "MULTIVALUE", "WEIGHTED"
# resp.service.dns_config.dns_records #=> Array
# resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
# resp.service.dns_config.dns_records[0].ttl #=> Integer
+ # resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
# resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.service.health_check_config.resource_path #=> String
# resp.service.health_check_config.failure_threshold #=> Integer
# resp.service.health_check_custom_config.failure_threshold #=> Integer
# resp.service.create_date #=> Time
@@ -1365,10 +1380,11 @@
# resp.service.dns_config.namespace_id #=> String
# resp.service.dns_config.routing_policy #=> String, one of "MULTIVALUE", "WEIGHTED"
# resp.service.dns_config.dns_records #=> Array
# resp.service.dns_config.dns_records[0].type #=> String, one of "SRV", "A", "AAAA", "CNAME"
# resp.service.dns_config.dns_records[0].ttl #=> Integer
+ # resp.service.type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
# resp.service.health_check_config.type #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.service.health_check_config.resource_path #=> String
# resp.service.health_check_config.failure_threshold #=> Integer
# resp.service.health_check_custom_config.failure_threshold #=> Integer
# resp.service.create_date #=> Time
@@ -1776,10 +1792,11 @@
#
# resp.services #=> Array
# resp.services[0].id #=> String
# resp.services[0].arn #=> String
# resp.services[0].name #=> String
+ # resp.services[0].type #=> String, one of "HTTP", "DNS_HTTP", "DNS"
# resp.services[0].description #=> String
# resp.services[0].instance_count #=> Integer
# resp.services[0].dns_config.namespace_id #=> String
# resp.services[0].dns_config.routing_policy #=> String, one of "MULTIVALUE", "WEIGHTED"
# resp.services[0].dns_config.dns_records #=> Array
@@ -2363,10 +2380,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-servicediscovery'
- context[:gem_version] = '1.32.0'
+ context[:gem_version] = '1.33.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated