aws-sdk-servicediscovery 1.51.0 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +63 -5
- data/lib/aws-sdk-servicediscovery/client_api.rb +26 -0
- data/lib/aws-sdk-servicediscovery/endpoint_provider.rb +9 -0
- data/lib/aws-sdk-servicediscovery/endpoints.rb +15 -0
- data/lib/aws-sdk-servicediscovery/plugins/endpoints.rb +5 -2
- data/lib/aws-sdk-servicediscovery/types.rb +45 -3
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bec6b8e9ff04e69564855438b3e33c987aaea2ea4107f32964330a3e587e0c4
|
4
|
+
data.tar.gz: 6b82bba4e83b8cb33c760f679f7ecd9a0d31b5d07d827535826d0f3962c59ae1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3621b189c4debb65e517b5f2bb2d357f6aefef97fa444de487343f109706d6970ac87c49951ebe725ebb62a7361b7176e498db5a1c2296978a1136e47c96d5c0
|
7
|
+
data.tar.gz: b3cd7e619fe159eab1c442a6780f05d77bfd827674b259b3b6cc4c5b11c99df3c2ebc79e94c7cb8bc9fb85aefd7c0a718395fb8a4baa2b69fd4da38c124a3ce2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,56 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.61.0 (2023-11-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.60.0 (2023-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.59.0 (2023-09-27)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.58.0 (2023-09-20)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Adds a new DiscoverInstancesRevision API and also adds InstanceRevision field to the DiscoverInstances API response.
|
23
|
+
|
24
|
+
1.57.0 (2023-09-19)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.56.0 (2023-07-11)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.55.0 (2023-07-06)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.54.0 (2023-06-28)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.53.0 (2023-06-15)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.52.0 (2023-05-31)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
4
54
|
1.51.0 (2023-03-23)
|
5
55
|
------------------
|
6
56
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::ServiceDiscovery
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::ServiceDiscovery
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -210,6 +216,10 @@ module Aws::ServiceDiscovery
|
|
210
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
211
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
212
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
213
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
214
224
|
# The log formatter.
|
215
225
|
#
|
@@ -230,6 +240,11 @@ module Aws::ServiceDiscovery
|
|
230
240
|
# Used when loading credentials from the shared credentials file
|
231
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
233
248
|
# @option options [Proc] :retry_backoff
|
234
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -275,6 +290,11 @@ module Aws::ServiceDiscovery
|
|
275
290
|
# in the future.
|
276
291
|
#
|
277
292
|
#
|
293
|
+
# @option options [String] :sdk_ua_app_id
|
294
|
+
# A unique and opaque application ID that is appended to the
|
295
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
296
|
+
# maximum length of 50.
|
297
|
+
#
|
278
298
|
# @option options [String] :secret_access_key
|
279
299
|
#
|
280
300
|
# @option options [String] :session_token
|
@@ -1024,8 +1044,10 @@ module Aws::ServiceDiscovery
|
|
1024
1044
|
|
1025
1045
|
# Discovers registered instances for a specified namespace and service.
|
1026
1046
|
# You can use `DiscoverInstances` to discover instances for any type of
|
1027
|
-
# namespace.
|
1028
|
-
#
|
1047
|
+
# namespace. `DiscoverInstances` returns a randomized list of instances
|
1048
|
+
# allowing customers to distribute traffic evenly across instances. For
|
1049
|
+
# public and private DNS namespaces, you can also use DNS queries to
|
1050
|
+
# discover instances.
|
1029
1051
|
#
|
1030
1052
|
# @option params [required, String] :namespace_name
|
1031
1053
|
# The `HttpName` name of the namespace. It's found in the
|
@@ -1079,6 +1101,7 @@ module Aws::ServiceDiscovery
|
|
1079
1101
|
# @return [Types::DiscoverInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1080
1102
|
#
|
1081
1103
|
# * {Types::DiscoverInstancesResponse#instances #instances} => Array<Types::HttpInstanceSummary>
|
1104
|
+
# * {Types::DiscoverInstancesResponse#instances_revision #instances_revision} => Integer
|
1082
1105
|
#
|
1083
1106
|
#
|
1084
1107
|
# @example Example: Example: Discover registered instances
|
@@ -1132,6 +1155,7 @@ module Aws::ServiceDiscovery
|
|
1132
1155
|
# resp.instances[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
|
1133
1156
|
# resp.instances[0].attributes #=> Hash
|
1134
1157
|
# resp.instances[0].attributes["AttrKey"] #=> String
|
1158
|
+
# resp.instances_revision #=> Integer
|
1135
1159
|
#
|
1136
1160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstances AWS API Documentation
|
1137
1161
|
#
|
@@ -1142,6 +1166,40 @@ module Aws::ServiceDiscovery
|
|
1142
1166
|
req.send_request(options)
|
1143
1167
|
end
|
1144
1168
|
|
1169
|
+
# Discovers the increasing revision associated with an instance.
|
1170
|
+
#
|
1171
|
+
# @option params [required, String] :namespace_name
|
1172
|
+
# The `HttpName` name of the namespace. It's found in the
|
1173
|
+
# `HttpProperties` member of the `Properties` member of the namespace.
|
1174
|
+
#
|
1175
|
+
# @option params [required, String] :service_name
|
1176
|
+
# The name of the service that you specified when you registered the
|
1177
|
+
# instance.
|
1178
|
+
#
|
1179
|
+
# @return [Types::DiscoverInstancesRevisionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1180
|
+
#
|
1181
|
+
# * {Types::DiscoverInstancesRevisionResponse#instances_revision #instances_revision} => Integer
|
1182
|
+
#
|
1183
|
+
# @example Request syntax with placeholder values
|
1184
|
+
#
|
1185
|
+
# resp = client.discover_instances_revision({
|
1186
|
+
# namespace_name: "NamespaceName", # required
|
1187
|
+
# service_name: "ServiceName", # required
|
1188
|
+
# })
|
1189
|
+
#
|
1190
|
+
# @example Response structure
|
1191
|
+
#
|
1192
|
+
# resp.instances_revision #=> Integer
|
1193
|
+
#
|
1194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesRevision AWS API Documentation
|
1195
|
+
#
|
1196
|
+
# @overload discover_instances_revision(params = {})
|
1197
|
+
# @param [Hash] params ({})
|
1198
|
+
def discover_instances_revision(params = {}, options = {})
|
1199
|
+
req = build_request(:discover_instances_revision, params)
|
1200
|
+
req.send_request(options)
|
1201
|
+
end
|
1202
|
+
|
1145
1203
|
# Gets information about a specified instance.
|
1146
1204
|
#
|
1147
1205
|
# @option params [required, String] :service_id
|
@@ -1358,7 +1416,7 @@ module Aws::ServiceDiscovery
|
|
1358
1416
|
end
|
1359
1417
|
|
1360
1418
|
# Gets information about any operation that returns an operation ID in
|
1361
|
-
# the response, such as a `
|
1419
|
+
# the response, such as a `CreateHttpNamespace` request.
|
1362
1420
|
#
|
1363
1421
|
# <note markdown="1"> To get a list of operations that match specified criteria, see
|
1364
1422
|
# [ListOperations][1].
|
@@ -2100,7 +2158,7 @@ module Aws::ServiceDiscovery
|
|
2100
2158
|
# health check, but it doesn't associate the health check with the
|
2101
2159
|
# alias record.
|
2102
2160
|
#
|
2103
|
-
# *
|
2161
|
+
# * Cloud Map currently doesn't support creating alias records that
|
2104
2162
|
# route traffic to Amazon Web Services resources other than Elastic
|
2105
2163
|
# Load Balancing load balancers.
|
2106
2164
|
#
|
@@ -2641,7 +2699,7 @@ module Aws::ServiceDiscovery
|
|
2641
2699
|
params: params,
|
2642
2700
|
config: config)
|
2643
2701
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2644
|
-
context[:gem_version] = '1.
|
2702
|
+
context[:gem_version] = '1.61.0'
|
2645
2703
|
Seahorse::Client::Request.new(handlers, context)
|
2646
2704
|
end
|
2647
2705
|
|
@@ -37,6 +37,8 @@ module Aws::ServiceDiscovery
|
|
37
37
|
DeregisterInstanceResponse = Shapes::StructureShape.new(name: 'DeregisterInstanceResponse')
|
38
38
|
DiscoverInstancesRequest = Shapes::StructureShape.new(name: 'DiscoverInstancesRequest')
|
39
39
|
DiscoverInstancesResponse = Shapes::StructureShape.new(name: 'DiscoverInstancesResponse')
|
40
|
+
DiscoverInstancesRevisionRequest = Shapes::StructureShape.new(name: 'DiscoverInstancesRevisionRequest')
|
41
|
+
DiscoverInstancesRevisionResponse = Shapes::StructureShape.new(name: 'DiscoverInstancesRevisionResponse')
|
40
42
|
DiscoverMaxResults = Shapes::IntegerShape.new(name: 'DiscoverMaxResults')
|
41
43
|
DnsConfig = Shapes::StructureShape.new(name: 'DnsConfig')
|
42
44
|
DnsConfigChange = Shapes::StructureShape.new(name: 'DnsConfigChange')
|
@@ -137,6 +139,7 @@ module Aws::ServiceDiscovery
|
|
137
139
|
ResourceLimitExceeded = Shapes::StructureShape.new(name: 'ResourceLimitExceeded')
|
138
140
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
139
141
|
ResourcePath = Shapes::StringShape.new(name: 'ResourcePath')
|
142
|
+
Revision = Shapes::IntegerShape.new(name: 'Revision')
|
140
143
|
RoutingPolicy = Shapes::StringShape.new(name: 'RoutingPolicy')
|
141
144
|
SOA = Shapes::StructureShape.new(name: 'SOA')
|
142
145
|
SOAChange = Shapes::StructureShape.new(name: 'SOAChange')
|
@@ -250,8 +253,16 @@ module Aws::ServiceDiscovery
|
|
250
253
|
DiscoverInstancesRequest.struct_class = Types::DiscoverInstancesRequest
|
251
254
|
|
252
255
|
DiscoverInstancesResponse.add_member(:instances, Shapes::ShapeRef.new(shape: HttpInstanceSummaryList, location_name: "Instances"))
|
256
|
+
DiscoverInstancesResponse.add_member(:instances_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "InstancesRevision"))
|
253
257
|
DiscoverInstancesResponse.struct_class = Types::DiscoverInstancesResponse
|
254
258
|
|
259
|
+
DiscoverInstancesRevisionRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "NamespaceName"))
|
260
|
+
DiscoverInstancesRevisionRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "ServiceName"))
|
261
|
+
DiscoverInstancesRevisionRequest.struct_class = Types::DiscoverInstancesRevisionRequest
|
262
|
+
|
263
|
+
DiscoverInstancesRevisionResponse.add_member(:instances_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "InstancesRevision"))
|
264
|
+
DiscoverInstancesRevisionResponse.struct_class = Types::DiscoverInstancesRevisionResponse
|
265
|
+
|
255
266
|
DnsConfig.add_member(:namespace_id, Shapes::ShapeRef.new(shape: ResourceId, deprecated: true, location_name: "NamespaceId", metadata: {"deprecatedMessage"=>"Top level attribute in request should be used to reference namespace-id"}))
|
256
267
|
DnsConfig.add_member(:routing_policy, Shapes::ShapeRef.new(shape: RoutingPolicy, location_name: "RoutingPolicy"))
|
257
268
|
DnsConfig.add_member(:dns_records, Shapes::ShapeRef.new(shape: DnsRecordList, required: true, location_name: "DnsRecords"))
|
@@ -758,6 +769,21 @@ module Aws::ServiceDiscovery
|
|
758
769
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
759
770
|
end)
|
760
771
|
|
772
|
+
api.add_operation(:discover_instances_revision, Seahorse::Model::Operation.new.tap do |o|
|
773
|
+
o.name = "DiscoverInstancesRevision"
|
774
|
+
o.http_method = "POST"
|
775
|
+
o.http_request_uri = "/"
|
776
|
+
o.endpoint_pattern = {
|
777
|
+
"hostPrefix" => "data-",
|
778
|
+
}
|
779
|
+
o.input = Shapes::ShapeRef.new(shape: DiscoverInstancesRevisionRequest)
|
780
|
+
o.output = Shapes::ShapeRef.new(shape: DiscoverInstancesRevisionResponse)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFound)
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFound)
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
785
|
+
end)
|
786
|
+
|
761
787
|
api.add_operation(:get_instance, Seahorse::Model::Operation.new.tap do |o|
|
762
788
|
o.name = "GetInstance"
|
763
789
|
o.http_method = "POST"
|
@@ -39,6 +39,15 @@ module Aws::ServiceDiscovery
|
|
39
39
|
end
|
40
40
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
41
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.amazonaws.com", headers: {}, properties: {})
|
44
|
+
end
|
45
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.amazonaws.com.cn", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.amazonaws.com", headers: {}, properties: {})
|
50
|
+
end
|
42
51
|
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
52
|
end
|
44
53
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
@@ -9,6 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
module Aws::ServiceDiscovery
|
12
|
+
# @api private
|
12
13
|
module Endpoints
|
13
14
|
|
14
15
|
class CreateHttpNamespace
|
@@ -123,6 +124,20 @@ module Aws::ServiceDiscovery
|
|
123
124
|
end
|
124
125
|
end
|
125
126
|
|
127
|
+
class DiscoverInstancesRevision
|
128
|
+
def self.build(context)
|
129
|
+
unless context.config.regional_endpoint
|
130
|
+
endpoint = context.config.endpoint.to_s
|
131
|
+
end
|
132
|
+
Aws::ServiceDiscovery::EndpointParameters.new(
|
133
|
+
region: context.config.region,
|
134
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
135
|
+
use_fips: context.config.use_fips_endpoint,
|
136
|
+
endpoint: endpoint,
|
137
|
+
)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
126
141
|
class GetInstance
|
127
142
|
def self.build(context)
|
128
143
|
unless context.config.regional_endpoint
|
@@ -25,16 +25,17 @@ module Aws::ServiceDiscovery
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -72,6 +73,8 @@ module Aws::ServiceDiscovery
|
|
72
73
|
Aws::ServiceDiscovery::Endpoints::DeregisterInstance.build(context)
|
73
74
|
when :discover_instances
|
74
75
|
Aws::ServiceDiscovery::Endpoints::DiscoverInstances.build(context)
|
76
|
+
when :discover_instances_revision
|
77
|
+
Aws::ServiceDiscovery::Endpoints::DiscoverInstancesRevision.build(context)
|
75
78
|
when :get_instance
|
76
79
|
Aws::ServiceDiscovery::Endpoints::GetInstance.build(context)
|
77
80
|
when :get_instances_health_status
|
@@ -501,10 +501,52 @@ module Aws::ServiceDiscovery
|
|
501
501
|
# registered instance.
|
502
502
|
# @return [Array<Types::HttpInstanceSummary>]
|
503
503
|
#
|
504
|
+
# @!attribute [rw] instances_revision
|
505
|
+
# The increasing revision associated to the response Instances list.
|
506
|
+
# If a new instance is registered or deregistered, the
|
507
|
+
# `InstancesRevision` updates. The health status updates don't update
|
508
|
+
# `InstancesRevision`.
|
509
|
+
# @return [Integer]
|
510
|
+
#
|
504
511
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesResponse AWS API Documentation
|
505
512
|
#
|
506
513
|
class DiscoverInstancesResponse < Struct.new(
|
507
|
-
:instances
|
514
|
+
:instances,
|
515
|
+
:instances_revision)
|
516
|
+
SENSITIVE = []
|
517
|
+
include Aws::Structure
|
518
|
+
end
|
519
|
+
|
520
|
+
# @!attribute [rw] namespace_name
|
521
|
+
# The `HttpName` name of the namespace. It's found in the
|
522
|
+
# `HttpProperties` member of the `Properties` member of the namespace.
|
523
|
+
# @return [String]
|
524
|
+
#
|
525
|
+
# @!attribute [rw] service_name
|
526
|
+
# The name of the service that you specified when you registered the
|
527
|
+
# instance.
|
528
|
+
# @return [String]
|
529
|
+
#
|
530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesRevisionRequest AWS API Documentation
|
531
|
+
#
|
532
|
+
class DiscoverInstancesRevisionRequest < Struct.new(
|
533
|
+
:namespace_name,
|
534
|
+
:service_name)
|
535
|
+
SENSITIVE = []
|
536
|
+
include Aws::Structure
|
537
|
+
end
|
538
|
+
|
539
|
+
# @!attribute [rw] instances_revision
|
540
|
+
# The increasing revision associated to the response Instances list.
|
541
|
+
# If a new instance is registered or deregistered, the
|
542
|
+
# `InstancesRevision` updates. The health status updates don't update
|
543
|
+
# `InstancesRevision`.
|
544
|
+
# @return [Integer]
|
545
|
+
#
|
546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstancesRevisionResponse AWS API Documentation
|
547
|
+
#
|
548
|
+
class DiscoverInstancesRevisionResponse < Struct.new(
|
549
|
+
:instances_revision)
|
508
550
|
SENSITIVE = []
|
509
551
|
include Aws::Structure
|
510
552
|
end
|
@@ -2494,8 +2536,8 @@ module Aws::ServiceDiscovery
|
|
2494
2536
|
# health check, but it doesn't associate the health check with
|
2495
2537
|
# the alias record.
|
2496
2538
|
#
|
2497
|
-
# *
|
2498
|
-
#
|
2539
|
+
# * Cloud Map currently doesn't support creating alias records that
|
2540
|
+
# route traffic to Amazon Web Services resources other than
|
2499
2541
|
# Elastic Load Balancing load balancers.
|
2500
2542
|
#
|
2501
2543
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-servicediscovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.61.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.188.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.188.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '2.
|
83
|
+
version: '2.5'
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - ">="
|