aws-sdk-servicediscovery 1.62.0 → 1.63.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +146 -51
- data/lib/aws-sdk-servicediscovery/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-servicediscovery/types.rb +8 -4
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b5445ce21b591b7e8cb59038338c9191f40ff40e7bad8cbcd0a17304c449531
|
4
|
+
data.tar.gz: 00e2ddf8bd547183c3c172feb5a971ab107962d8f91065882db256282d5c7a25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f7c3b6922d178d9ebcdf9c0d446446c2d337dcbbf32f5311af84afb6dd5e1127232978448ddc6ac74a0edf24f1378dd94a770526f910c28cca3c39b6b6d890
|
7
|
+
data.tar.gz: 58894514469a2c6f5128ea49caf476ea964d4243cbb5c57bee138f216d808315ed4bef396431904e11a6d127dc1ad33ee3229f2c913b22518e1322c88012dfc4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.63.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::ServiceDiscovery
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::ServiceDiscovery
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -347,50 +356,65 @@ module Aws::ServiceDiscovery
|
|
347
356
|
# @option options [Aws::ServiceDiscovery::EndpointProvider] :endpoint_provider
|
348
357
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ServiceDiscovery::EndpointParameters`
|
349
358
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
359
|
+
# @option options [Float] :http_continue_timeout (1)
|
360
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
361
|
+
# request body. This option has no effect unless the request has "Expect"
|
362
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
363
|
+
# behaviour. This value can safely be set per request on the session.
|
364
|
+
#
|
365
|
+
# @option options [Float] :http_idle_timeout (5)
|
366
|
+
# The number of seconds a connection is allowed to sit idle before it
|
367
|
+
# is considered stale. Stale connections are closed and removed from the
|
368
|
+
# pool before making a request.
|
369
|
+
#
|
370
|
+
# @option options [Float] :http_open_timeout (15)
|
371
|
+
# The default number of seconds to wait for response data.
|
372
|
+
# This value can safely be set per-request on the session.
|
373
|
+
#
|
374
|
+
# @option options [URI::HTTP,String] :http_proxy
|
375
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
376
|
+
#
|
377
|
+
# @option options [Float] :http_read_timeout (60)
|
378
|
+
# The default number of seconds to wait for response data.
|
379
|
+
# This value can safely be set per-request on the session.
|
380
|
+
#
|
381
|
+
# @option options [Boolean] :http_wire_trace (false)
|
382
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
383
|
+
#
|
384
|
+
# @option options [Proc] :on_chunk_received
|
385
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
386
|
+
# of the response body is received. It provides three arguments: the chunk,
|
387
|
+
# the number of bytes received, and the total number of
|
388
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
389
|
+
#
|
390
|
+
# @option options [Proc] :on_chunk_sent
|
391
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
392
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
393
|
+
# the number of bytes read from the body, and the total number of
|
394
|
+
# bytes in the body.
|
395
|
+
#
|
396
|
+
# @option options [Boolean] :raise_response_errors (true)
|
397
|
+
# When `true`, response errors are raised.
|
398
|
+
#
|
399
|
+
# @option options [String] :ssl_ca_bundle
|
400
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
401
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
402
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
403
|
+
#
|
404
|
+
# @option options [String] :ssl_ca_directory
|
405
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
406
|
+
# authority files for verifying peer certificates. If you do
|
407
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
408
|
+
# default will be used if available.
|
378
409
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
410
|
+
# @option options [String] :ssl_ca_store
|
411
|
+
# Sets the X509::Store to verify peer certificate.
|
382
412
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
385
|
-
# verifying peer certificates. If you do not pass
|
386
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
387
|
-
# will be used if available.
|
413
|
+
# @option options [Float] :ssl_timeout
|
414
|
+
# Sets the SSL timeout in seconds
|
388
415
|
#
|
389
|
-
# @option options [
|
390
|
-
#
|
391
|
-
# authority files for verifying peer certificates. If you do
|
392
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
393
|
-
# system default will be used if available.
|
416
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
417
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
418
|
#
|
395
419
|
def initialize(*args)
|
396
420
|
super
|
@@ -1052,6 +1076,9 @@ module Aws::ServiceDiscovery
|
|
1052
1076
|
# @option params [required, String] :namespace_name
|
1053
1077
|
# The `HttpName` name of the namespace. It's found in the
|
1054
1078
|
# `HttpProperties` member of the `Properties` member of the namespace.
|
1079
|
+
# In most cases, `Name` and `HttpName` match. However, if you reuse
|
1080
|
+
# `Name` for namespace creation, a generated hash is added to `HttpName`
|
1081
|
+
# to distinguish the two.
|
1055
1082
|
#
|
1056
1083
|
# @option params [required, String] :service_name
|
1057
1084
|
# The name of the service that you specified when you registered the
|
@@ -1180,6 +1207,21 @@ module Aws::ServiceDiscovery
|
|
1180
1207
|
#
|
1181
1208
|
# * {Types::DiscoverInstancesRevisionResponse#instances_revision #instances_revision} => Integer
|
1182
1209
|
#
|
1210
|
+
#
|
1211
|
+
# @example Example: To discover the revision for a registered instance
|
1212
|
+
#
|
1213
|
+
# # The following example discovers the revision ID for a registered instance.
|
1214
|
+
#
|
1215
|
+
# resp = client.discover_instances_revision({
|
1216
|
+
# namespace_name: "example-namespace",
|
1217
|
+
# service_name: "example-service",
|
1218
|
+
# })
|
1219
|
+
#
|
1220
|
+
# resp.to_h outputs the following:
|
1221
|
+
# {
|
1222
|
+
# instances_revision: 123456,
|
1223
|
+
# }
|
1224
|
+
#
|
1183
1225
|
# @example Request syntax with placeholder values
|
1184
1226
|
#
|
1185
1227
|
# resp = client.discover_instances_revision({
|
@@ -1867,7 +1909,7 @@ module Aws::ServiceDiscovery
|
|
1867
1909
|
end
|
1868
1910
|
|
1869
1911
|
# Lists summary information for all the services that are associated
|
1870
|
-
# with one or more
|
1912
|
+
# with one or more namespaces.
|
1871
1913
|
#
|
1872
1914
|
# @option params [String] :next_token
|
1873
1915
|
# For the first `ListServices` request, omit this value.
|
@@ -2129,12 +2171,10 @@ module Aws::ServiceDiscovery
|
|
2129
2171
|
#
|
2130
2172
|
# * For each attribute, the applicable value.
|
2131
2173
|
#
|
2132
|
-
#
|
2174
|
+
# Do not include sensitive information in the attributes if the
|
2133
2175
|
# namespace is discoverable by public DNS queries.
|
2134
2176
|
#
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
# Supported attribute keys include the following:
|
2177
|
+
# The following are the supported attribute keys.
|
2138
2178
|
#
|
2139
2179
|
# AWS\_ALIAS\_DNS\_NAME
|
2140
2180
|
#
|
@@ -2165,6 +2205,9 @@ module Aws::ServiceDiscovery
|
|
2165
2205
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2166
2206
|
# values for any of the `AWS_INSTANCE` attributes.
|
2167
2207
|
#
|
2208
|
+
# * The `AWS_ALIAS_DNS_NAME` is not supported in the GovCloud (US)
|
2209
|
+
# Regions.
|
2210
|
+
#
|
2168
2211
|
# AWS\_EC2\_INSTANCE\_ID
|
2169
2212
|
#
|
2170
2213
|
# : *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
@@ -2406,6 +2449,23 @@ module Aws::ServiceDiscovery
|
|
2406
2449
|
#
|
2407
2450
|
# * {Types::UpdateHttpNamespaceResponse#operation_id #operation_id} => String
|
2408
2451
|
#
|
2452
|
+
#
|
2453
|
+
# @example Example: To update a HTTP namespace
|
2454
|
+
#
|
2455
|
+
# # The following example updates the description of a HTTP namespace.
|
2456
|
+
#
|
2457
|
+
# resp = client.update_http_namespace({
|
2458
|
+
# id: "ns-vh4nbmEXAMPLE",
|
2459
|
+
# namespace: {
|
2460
|
+
# description: "The updated namespace description.",
|
2461
|
+
# },
|
2462
|
+
# })
|
2463
|
+
#
|
2464
|
+
# resp.to_h outputs the following:
|
2465
|
+
# {
|
2466
|
+
# operation_id: "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE",
|
2467
|
+
# }
|
2468
|
+
#
|
2409
2469
|
# @example Request syntax with placeholder values
|
2410
2470
|
#
|
2411
2471
|
# resp = client.update_http_namespace({
|
@@ -2506,6 +2566,41 @@ module Aws::ServiceDiscovery
|
|
2506
2566
|
#
|
2507
2567
|
# * {Types::UpdatePrivateDnsNamespaceResponse#operation_id #operation_id} => String
|
2508
2568
|
#
|
2569
|
+
#
|
2570
|
+
# @example Example: To update a private DNS namespace
|
2571
|
+
#
|
2572
|
+
# # The following example updates the description of a private DNS namespace.
|
2573
|
+
#
|
2574
|
+
# resp = client.update_private_dns_namespace({
|
2575
|
+
# id: "ns-bk3aEXAMPLE",
|
2576
|
+
# namespace: {
|
2577
|
+
# description: "The updated namespace description.",
|
2578
|
+
# },
|
2579
|
+
# updater_request_id: "",
|
2580
|
+
# })
|
2581
|
+
#
|
2582
|
+
# resp.to_h outputs the following:
|
2583
|
+
# {
|
2584
|
+
# operation_id: "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE",
|
2585
|
+
# }
|
2586
|
+
#
|
2587
|
+
# @example Example: To update a public DNS namespace
|
2588
|
+
#
|
2589
|
+
# # The following example updates the description of a public DNS namespace.
|
2590
|
+
#
|
2591
|
+
# resp = client.update_private_dns_namespace({
|
2592
|
+
# id: "ns-bk3aEXAMPLE",
|
2593
|
+
# namespace: {
|
2594
|
+
# description: "The updated namespace description.",
|
2595
|
+
# },
|
2596
|
+
# updater_request_id: "",
|
2597
|
+
# })
|
2598
|
+
#
|
2599
|
+
# resp.to_h outputs the following:
|
2600
|
+
# {
|
2601
|
+
# operation_id: "ft52xe2koxhoeormaceymagglsdjEXAMPLE",
|
2602
|
+
# }
|
2603
|
+
#
|
2509
2604
|
# @example Request syntax with placeholder values
|
2510
2605
|
#
|
2511
2606
|
# resp = client.update_private_dns_namespace({
|
@@ -2699,7 +2794,7 @@ module Aws::ServiceDiscovery
|
|
2699
2794
|
params: params,
|
2700
2795
|
config: config)
|
2701
2796
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2702
|
-
context[:gem_version] = '1.
|
2797
|
+
context[:gem_version] = '1.63.0'
|
2703
2798
|
Seahorse::Client::Request.new(handlers, context)
|
2704
2799
|
end
|
2705
2800
|
|
@@ -32,7 +32,7 @@ module Aws::ServiceDiscovery
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -431,6 +431,9 @@ module Aws::ServiceDiscovery
|
|
431
431
|
# @!attribute [rw] namespace_name
|
432
432
|
# The `HttpName` name of the namespace. It's found in the
|
433
433
|
# `HttpProperties` member of the `Properties` member of the namespace.
|
434
|
+
# In most cases, `Name` and `HttpName` match. However, if you reuse
|
435
|
+
# `Name` for namespace creation, a generated hash is added to
|
436
|
+
# `HttpName` to distinguish the two.
|
434
437
|
# @return [String]
|
435
438
|
#
|
436
439
|
# @!attribute [rw] service_name
|
@@ -2507,12 +2510,10 @@ module Aws::ServiceDiscovery
|
|
2507
2510
|
#
|
2508
2511
|
# * For each attribute, the applicable value.
|
2509
2512
|
#
|
2510
|
-
#
|
2513
|
+
# Do not include sensitive information in the attributes if the
|
2511
2514
|
# namespace is discoverable by public DNS queries.
|
2512
2515
|
#
|
2513
|
-
#
|
2514
|
-
#
|
2515
|
-
# Supported attribute keys include the following:
|
2516
|
+
# The following are the supported attribute keys.
|
2516
2517
|
#
|
2517
2518
|
# AWS\_ALIAS\_DNS\_NAME
|
2518
2519
|
#
|
@@ -2543,6 +2544,9 @@ module Aws::ServiceDiscovery
|
|
2543
2544
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2544
2545
|
# values for any of the `AWS_INSTANCE` attributes.
|
2545
2546
|
#
|
2547
|
+
# * The `AWS_ALIAS_DNS_NAME` is not supported in the GovCloud (US)
|
2548
|
+
# Regions.
|
2549
|
+
#
|
2546
2550
|
# AWS\_EC2\_INSTANCE\_ID
|
2547
2551
|
#
|
2548
2552
|
# : *HTTP namespaces only.* The Amazon EC2 instance ID for the
|
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.63.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: 2024-
|
11
|
+
date: 2024-04-25 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.193.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.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|